/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Critical CSS for above-the-fold content */
.hero {
    contain: layout style paint;
}

.navbar {
    contain: layout style;
}

/* Optimisations de chargement - déclarations @font-face déplacées plus bas */

/* Mobile accessibility and touch targets */
@media (max-width: 768px) {
    .btn, .nav-link, .hamburger {
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .service-card, .team-member, .floating-card {
        min-height: 48px;
    }
    
    /* Amélioration des zones de toucher */
    .social-link, .member-social .social-link {
        min-height: 48px;
        min-width: 48px;
        padding: 12px;
    }
    
    /* Amélioration des boutons de formulaire */
    .btn-cookie {
        min-height: 48px;
        padding: 12px 20px;
    }
}

/* Focus management for accessibility */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

:root {
    --primary-color: #1d3763;
    --primary-dark: #152a4f;
    --primary-light: #2a4a7a;
    --secondary-color: #6b7280;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
    --bg-dark: #1f2937;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(29 55 99 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(29 55 99 / 0.1), 0 2px 4px -2px rgb(29 55 99 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(29 55 99 / 0.1), 0 4px 6px -4px rgb(29 55 99 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(29 55 99 / 0.1), 0 8px 10px -6px rgb(29 55 99 / 0.1);
    --gradient-primary: linear-gradient(135deg, #1d3763 0%, #2a4a7a 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-accent: linear-gradient(135deg, #1d3763 0%, #10b981 100%);
    --gradient-hero: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    /* Optimisations de performance */
    font-display: optional;
    text-rendering: optimizeSpeed;
    /* Métriques de police pour éviter CLS */
    font-size-adjust: 0.5;
    font-synthesis: none;
    /* Métriques spécifiques pour les polices système */
    font-variant-ligatures: none;
    font-feature-settings: "kern" 1, "liga" 0;
}

/* Chargement progressif des polices avec métriques optimisées */
@font-face {
    font-family: 'Inter';
    font-display: optional;
    font-weight: 400;
    src: local('Inter Regular'), local('Inter-Regular');
    /* Métriques précises pour éviter CLS - basées sur les polices système */
    ascent-override: 88.2%;
    descent-override: 21.3%;
    line-gap-override: 0%;
    size-adjust: 100%;
}

@font-face {
    font-family: 'Inter';
    font-display: optional;
    font-weight: 500;
    src: local('Inter Medium'), local('Inter-Medium');
    ascent-override: 88.2%;
    descent-override: 21.3%;
    line-gap-override: 0%;
    size-adjust: 100%;
}

@font-face {
    font-family: 'Inter';
    font-display: optional;
    font-weight: 600;
    src: local('Inter SemiBold'), local('Inter-SemiBold');
    ascent-override: 88.2%;
    descent-override: 21.3%;
    line-gap-override: 0%;
    size-adjust: 100%;
}

@font-face {
    font-family: 'Inter';
    font-display: optional;
    font-weight: 700;
    src: local('Inter Bold'), local('Inter-Bold');
    ascent-override: 88.2%;
    descent-override: 21.3%;
    line-gap-override: 0%;
    size-adjust: 100%;
}

/* Application des polices Inter une fois chargées */
.fonts-loaded body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Métriques de police pour les éléments critiques */
.hero-title, .section-header h2, .service-card h3, .member-info h3 {
    font-size-adjust: 0.5;
    font-synthesis: none;
    /* Prévention des décalages de mise en page */
    contain: layout style;
    /* Métriques de police optimisées */
    font-variant-ligatures: none;
    font-feature-settings: "kern" 1, "liga" 0;
    /* Prévention des décalages de mise en page */
    will-change: auto;
    transform: translateZ(0);
}

/* Optimisation pour les titres principaux */
.hero-title {
    /* Métriques spécifiques pour éviter CLS */
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    /* Métriques de police précises */
    font-size-adjust: 0.52;
    /* Prévention des décalages */
    min-height: 1.2em;
    contain: layout style paint;
}

/* Optimisation pour les sous-titres */
.section-header h2 {
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 600;
    /* Métriques de police précises */
    font-size-adjust: 0.51;
    /* Prévention des décalages */
    min-height: 1.3em;
    contain: layout style paint;
}

/* Optimisation pour les cartes de service */
.service-card h3 {
    line-height: 1.4;
    font-weight: 600;
    font-size-adjust: 0.5;
    min-height: 1.4em;
    contain: layout style paint;
}

/* Optimisation pour les informations des membres */
.member-info h3 {
    line-height: 1.3;
    font-weight: 500;
    font-size-adjust: 0.5;
    min-height: 1.3em;
    contain: layout style paint;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    /* Optimisations LCP */
    content-visibility: auto;
    contain-intrinsic-size: 120px 40px;
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: var(--bg-accent);
}

.hamburger:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    /* Optimisations LCP */
    contain: layout style paint;
    content-visibility: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    /* Optimisations LCP */
    content-visibility: auto;
    contain-intrinsic-size: 80px 80px;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-slogan {
    margin-bottom: 2rem;
    text-align: center;
}

.slogan-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.slogan-text::before,
.slogan-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.slogan-text::before {
    margin-right: 0.5rem;
}

.slogan-text::after {
    margin-left: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
    min-width: 140px;
    text-align: center;
}

.card-1 {
    top: 5%;
    left: 0%;
    animation-delay: 0s;
}

.card-2 {
    top: 15%;
    right: 0%;
    animation-delay: 0.5s;
}

.card-3 {
    top: 35%;
    left: 10%;
    animation-delay: 1s;
}

.card-4 {
    top: 55%;
    right: 10%;
    animation-delay: 1.5s;
}

.card-5 {
    bottom: 20%;
    left: 0%;
    animation-delay: 2s;
}

.card-6 {
    bottom: 5%;
    right: 0%;
    animation-delay: 2.5s;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.floating-card span {
    font-weight: 600;
    color: var(--text-primary);
}

.floating-card:hover .card-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Sections communes */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.service-card:hover .service-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-slogan {
    margin-bottom: 2rem;
    text-align: center;
}

.main-slogan {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    position: relative;
}

.main-slogan::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.excellence-quote {
    margin: 2rem 0;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    top: -10px;
}

.quote-text::before {
    left: -20px;
}

.quote-text::after {
    right: -20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

.video-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-accent);
    aspect-ratio: 16/9;
    cursor: pointer;
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    display: block;
}

.about-video:hover {
    transform: scale(1.02);
}

.video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
}

.video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 4px; /* Ajustement visuel pour centrer l'icône */
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.team-section {
    margin-bottom: 4rem;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.support-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.support-member {
    padding: 1.5rem;
}

.member-photo {
    margin-bottom: 1rem;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 3px solid var(--primary-color);
}

.support-member .member-avatar {
    width: 100px;
    height: 100px;
}

.team-member:hover .member-avatar {
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.support-member .member-info h3 {
    font-size: 1.1rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.support-member .member-role {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.support-member .member-description {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.member-social {
    margin-top: 1rem;
}

.member-social .social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.member-social .social-link:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.linkedin-icon svg {
    transition: transform 0.3s ease;
}

.member-social .social-link:hover .linkedin-icon svg {
    transform: scale(1.1);
}

/* Commitments Section */
.commitments {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.commitment-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.commitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.planet-card::before {
    background: var(--gradient-accent);
}

.workplace-card::before {
    background: var(--gradient-secondary);
}

.commitment-card:hover::before {
    transform: scaleX(1);
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.commitment-icon {
    text-align: center;
    margin-bottom: 2rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.certification-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.planet-card .certification-logo {
    width: 220px;
}

.planet-card .icon-wrapper {
    background: var(--gradient-accent);
}

.workplace-card .icon-wrapper {
    background: var(--gradient-secondary);
}

.commitment-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.commitment-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.commitment-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

.commitment-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-accent);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.detail-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.detail-item span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

/* Values Section */
.values-section {
    margin-top: 4rem;
    text-align: center;
}

.values-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
}

.values-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-card:hover .value-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Form styles */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 55, 99, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

/* Améliorations spécifiques pour mobile */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Évite le zoom automatique sur iOS */
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .form-group textarea {
        min-height: 140px;
    }
    
    .form-label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-form {
        gap: 2rem;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-slogan {
    color: var(--accent-color) !important;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem !important;
}

.footer-quote {
    color: var(--text-light) !important;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
}

.social-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Masquer le texte sur mobile pour économiser l'espace */
@media (max-width: 768px) {
    .social-text {
        display: none;
    }
    
    .social-link {
        padding: 0.75rem;
        justify-content: center;
        min-width: 48px;
        min-height: 48px;
    }
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation float optimisée supprimée - remplacée par la version translate3d ci-dessus */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo .logo {
        height: 35px;
    }
    
    .hero-logo-img {
        height: 60px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        padding: 3rem 0;
        z-index: 1000;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 8px;
        margin: 0 1rem;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: var(--bg-accent);
        transform: translateX(5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: relative;
        margin: 0.5rem;
        animation: none;
        min-width: 120px;
        padding: 1rem;
    }

    .hero-visual {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .card-1, .card-2, .card-3, .card-4, .card-5, .card-6 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .nav-logo .logo {
        height: 30px;
    }
    
    .hero-logo-img {
        height: 50px;
    }
    
    .footer-logo {
        height: 35px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Amélioration de la typographie des cartes */
    .service-card h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .team-member h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .member-role {
        font-size: 0.95rem;
    }

    /* Améliorations spécifiques pour la section À propos */
    .about {
        padding: 4rem 0;
    }

    .about-content {
        gap: 3rem;
        padding: 0 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .main-slogan {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .stats {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    /* Améliorations spécifiques pour la section Nos engagements */
    .commitments {
        padding: 4rem 0;
    }

    .commitments-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .commitment-card {
        padding: 2rem;
        border-radius: 1rem;
    }

    .commitment-content h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .commitment-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .values-section h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .values-grid {
        gap: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-card h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .value-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Améliorations spécifiques pour la section Contact */
    .contact {
        padding: 4rem 0;
    }

    .contact-content {
        gap: 3rem;
        padding: 0 1rem;
    }

    .contact-info {
        gap: 2rem;
    }

    .contact-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .contact-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .contact-icon {
        font-size: 1.3rem;
    }
}

/* Performance optimizations */
.service-card,
.floating-card,
.contact-item {
    will-change: transform;
    transform: translateZ(0); /* Force l'accélération GPU */
}

/* Optimisations pour les performances */
.about-video {
    will-change: transform;
    transform: translateZ(0);
}

.video-container {
    contain: layout style paint;
    transform: translateZ(0);
}

/* Optimisations pour réduire les recalculs de layout */
.navbar {
    contain: layout style;
    transform: translateZ(0);
}

.hero-visual {
    contain: layout style paint;
    transform: translateZ(0);
}

/* Optimisation des animations */
@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0px, 0);
    }
    50% {
        transform: translate3d(0, -20px, 0);
    }
}

/* Optimisation du chargement des images - propriétés loading gérées en HTML */

/* Optimisation des animations pour les performances */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimisations pour mobile - réduction des animations lourdes */
@media (max-width: 768px) {
    /* Désactiver les animations de parallaxe sur mobile */
    .floating-card {
        animation: none !important;
        transform: none !important;
    }
    
    /* Réduire les effets de hover sur mobile */
    .service-card:hover,
    .team-member:hover,
    .commitment-card:hover,
    .value-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    /* Simplifier les transitions */
    * {
        transition-duration: 0.2s !important;
    }
    
    /* Optimiser les animations de scroll */
    .hero-visual {
        animation: none;
    }
    
    /* Réduire les effets de blur pour les performances */
    .navbar {
        backdrop-filter: blur(5px);
    }
    
    .nav-menu {
        backdrop-filter: blur(10px);
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-primary);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-accept {
    background: #047857; /* Vert plus foncé pour meilleur contraste */
    color: white;
    border: 2px solid #047857;
}

.btn-accept:hover {
    background: #065f46; /* Vert encore plus foncé au hover */
    border-color: #065f46;
    transform: translateY(-2px);
}

.btn-reject {
    background: #374151; /* Fond gris foncé pour visibilité sur bannière sombre */
    color: white; /* Texte blanc pour contraste */
    border: 2px solid #374151;
    font-weight: 600;
}

.btn-reject:hover {
    background: #1f2937; /* Gris encore plus foncé au hover */
    color: white;
    border-color: #1f2937;
}

.btn-settings {
    background: #374151; /* Même couleur que le bouton Refuser */
    color: white;
    border: 2px solid #374151;
    font-weight: 600;
}

.btn-settings:hover {
    background: #1f2937; /* Même couleur hover que le bouton Refuser */
    border-color: #1f2937;
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-body > p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.cookie-category p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--success-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: var(--primary-color);
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Amélioration du contraste pour les boutons du modal */
.cookie-modal-footer .btn-accept {
    background: #047857;
    color: white;
    border: 2px solid #047857;
    font-weight: 600;
}

.cookie-modal-footer .btn-accept:hover {
    background: #065f46;
    border-color: #065f46;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .btn-cookie {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}

/* Modal ElePHPant */
.elephant-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.elephant-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elephant-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.elephant-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 1rem 1rem 0 0;
}

.elephant-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.elephant-modal-body {
    padding: 2rem;
}

.elephant-modal .close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elephant-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Styles pour les boutons Stripe dans la modal */
.elephant-modal stripe-buy-button {
    width: 100%;
    margin-bottom: 1rem;
}

.elephant-modal .row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.elephant-modal .col-md-4 {
    flex: 1;
    min-width: 200px;
}

/* Responsive pour la modal ElePHPant */
@media (max-width: 768px) {
    .elephant-modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }
    
    .elephant-modal-header {
        padding: 1rem;
    }
    
    .elephant-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .elephant-modal-body {
        padding: 1rem;
    }
    
    .elephant-modal .row {
        flex-direction: column;
    }
    
    .elephant-modal .col-md-4 {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .btn-cookie {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

