/* ============================================
   RESET & VARIABLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales - extraites pixel par pixel des captures */
    --color-blue-dark: #1E3A52;      /* Bleu principal (titres, textes importants) */
    --color-blue-header: #2B4F6F;    /* Bleu du header */
    --color-blue-hero: #2A5574;      /* Bleu du fond hero avec overlay */
    --color-gold: #D4A745;           /* Doré/jaune (accents, CTA, décorations) */
    --color-white: #FFFFFF;
    --color-beige-light: #F8F6F3;    /* Fond clair des sections */
    --color-text-dark: #2C3E50;
    --color-text-gray: #4A5568;
    --color-border-light: #E2E8F0;

    /* Typographies - Correspondance fidèle au design */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Tailles de police - mesurées sur les captures */
    --font-size-h1: 56px;
    --font-size-h2: 40px;
    --font-size-h3: 32px;
    --font-size-body: 17px;
    --font-size-small: 14px;

    /* Espacements - respectant le design Figma */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    --spacing-xxl: 96px;

    /* Container width */
    --container-max: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

body {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Améliore le rendu des fonts sur mobile */
    text-rendering: optimizeLegibility;
    /* Prévient le zoom sur les inputs iOS */
    -webkit-text-size-adjust: 100%;
}

/* Fix scroll sur iOS quand modale ouverte */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

/* Container global - utilisé partout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   HEADER / NAVIGATION
   Barre fixe en haut, fond bleu foncé
   ============================================ */

.header {
    background: var(--color-blue-header);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                background 0.4s ease;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    background: rgba(43, 79, 111, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo - icône SVG + texte */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    outline: none;
}

.logo:hover {
    opacity: 0.85;
}

.logo:focus {
    outline: none;
}

.logo:active {
    outline: none;
}

.logo-image {
    height: 70px;
    width: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

/* Navigation centrale */
.nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Dropdown navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 10px);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--color-blue-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(212, 167, 69, 0.1) 0%, rgba(30, 58, 82, 0.05) 100%);
    color: var(--color-gold);
    padding-left: 28px;
}

/* Contact section du header */
.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
}

.btn-contact {
    background: var(--color-gold);
    color: var(--color-blue-dark);
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background: #E6B84D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 167, 69, 0.4);
}

/* ============================================
   HERO HOME - Page d'accueil
   Fond bleu avec pattern buildings en transparence
   ============================================ */

.hero-home {
    /* Fond bleu avec dégradé et pattern */
    background: linear-gradient(135deg, #1E3A52 0%, #2A5574 50%, #1E3A52 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0 50px;
    overflow: hidden;
}

/* Pattern buildings en background avec image */
.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/hero-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
}

.hero-home-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Logo hero grand format */
.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.hero-logo-image {
    width: 300px;
    height: auto;
    margin-bottom: 16px;
}

.hero-logo-icon {
    width: 180px;
    height: 180px;
    margin-bottom: 16px;
}

.hero-logo-text {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 3px;
}

/* Titre principal hero */
.hero-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-h1);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 28px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Sous-titre avec traits décoratifs dorés */
.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.decorative-line {
    width: 80px;
    height: 2px;
    background: var(--color-gold);
}

.subtitle-text {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 1.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Description hero */
.hero-description {
    font-size: 18px;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    font-weight: 700;
    color: var(--color-gold);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 120px;
}

.btn {
    padding: 16px 36px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-blue-dark);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background: #E6B84D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 167, 69, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

/* Stats grid - 3 cartes avec bordures subtiles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.stat-card {
    background: rgba(48, 84, 113, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.95;
}

/* Scroll indicator - flèche vers le bas */
.scroll-indicator {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   SECTION ABOUT - Qui sommes-nous
   Fond beige clair
   ============================================ */

.section-about {
    background: var(--color-beige-light);
    padding: var(--spacing-xxl) 0;
}

/* Header de section - surtitle + title + decoration */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-surtitle {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
}

/* Traits décoratifs dorés sous les titres */
.title-decoration {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.decoration-line {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
}

.section-description {
    font-size: 17px;
    color: var(--color-text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* About content - 2 colonnes (40% image / 60% texte) */
.about-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    align-items: start;
}

/* Image avec badge "+20 ans" */
.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Badge — s'anime quand le parent reçoit la classe animated via JS */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-gold);
    border-radius: 8px;
    padding: 20px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(212, 167, 69, 0.4);
    opacity: 0;
    transform: scale(0.7) translateY(8px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s,
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}

.about-image-wrapper.animated .experience-badge {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.experience-badge:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(212, 167, 69, 0.5);
}

.badge-number {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

/* Colonne texte */
.about-text {
    padding-top: 20px;
}

.about-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: var(--color-blue-dark);
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.about-title-underline {
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin-bottom: 28px;
}

.about-paragraph {
    font-size: 17px;
    color: #3a3a3a;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.about-paragraph strong {
    color: var(--color-blue-dark);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Animation highlight sur les mots forts */
    background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(212, 167, 69, 0.15) 50%, rgba(212, 167, 69, 0.15) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    transition: background-position 0.4s ease;
    padding: 0 4px;
    border-radius: 2px;
}

.about-paragraph strong:hover {
    background-position: -100% 0%;
}

/* Citation avec bordure dorée à gauche */
.about-quote {
    background: rgba(212, 167, 69, 0.05);
    border-left: 4px solid var(--color-gold);
    padding: 24px 28px;
    margin-top: 32px;
    font-style: italic;
    font-size: 16px;
    color: #2a2a2a;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.about-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 167, 69, 0.15);
}

/* ============================================
   SECTION CERTIFICATION APSAD
   Fond bleu foncé
   ============================================ */

.section-certification {
    background: linear-gradient(135deg, #1E3A52 0%, #2A5574 50%, #1E3A52 100%);
    padding: var(--spacing-xxl) 0;
}

.certification-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
}

/* Colonne texte certification */
.certification-text {
    color: var(--color-white);
}

.certification-icon {
    margin-bottom: 24px;
}

.certification-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.certification-subtitle {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.certification-divider {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin-bottom: 32px;
}

.certification-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Texte en surbrillance doré */
.text-highlight {
    color: var(--color-gold);
    font-weight: 700;
}

/* Certificat APSAD */
.certification-certificate {
    position: relative;
}

.certificate-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.certificate-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--color-blue-header);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
}

/* Cadre du certificat avec bordure dorée */
.certificate-frame {
    background: var(--color-white);
    border: 6px solid var(--color-gold);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E2E8F0;
}

.certificate-number {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-gray);
}

.certificate-body {
    min-height: 350px;
}

.certificate-company {
    text-align: center;
    margin-bottom: 30px;
}

.certificate-details {
    margin: 30px 0;
    padding: 20px;
    background: rgba(212, 167, 69, 0.05);
    border-radius: 4px;
}

.certificate-footer {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
}

/* ============================================
   SECTION SERVICES - Nos Offres
   Fond blanc
   ============================================ */

.section-services {
    background: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

/* Grid 4 colonnes */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: var(--spacing-xl);
}

/* Carte service */
.service-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-image {
    transform: scale(1.06);
}

/* Checkmark badge en haut à droite de l'image */
.service-check {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.service-card:hover .service-check {
    transform: scale(1.05);
}

/* Contenu de la carte */
.service-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue-dark);
    line-height: 1.3;
    margin-bottom: 14px;
    min-height: 52px; /* Pour aligner toutes les cartes */
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--color-gold);
}

.service-description {
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    background: var(--color-blue-dark);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

.service-link:hover {
    background: var(--color-gold);
    color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 167, 69, 0.3);
}

/* ============================================
   SECTION RÉFÉRENCES
   Fond gris clair
   ============================================ */

.section-references {
    background: #F8F9FA;
    padding: var(--spacing-xxl) 0;
}

/* Grid des logos - 4 colonnes */
.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 60px 0;
}

/* Carte référence */
.reference-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--color-gold);
}

/* Logo référence */
.reference-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

/* Nom référence */
.reference-name {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-blue-dark);
    margin: 0;
}

/* Stats footer de la section références */
.references-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0 0;
    border-top: 2px solid rgba(30, 58, 82, 0.1);
}

.ref-stat {
    text-align: center;
}

.ref-stat-number {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.ref-stat-label {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-blue-dark);
}

/* ============================================
   SECTION CTA FINALE
   Fond bleu foncé
   ============================================ */

.section-cta {
    background: linear-gradient(135deg, #1E3A52 0%, #2A5574 50%, #1E3A52 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
}

.btn-large {
    padding: 18px 44px;
    font-size: 17px;
}

/* ============================================
   SECTION NOS RÉALISATIONS - Portfolio
   Fond blanc
   ============================================ */

.section-realisations {
    background: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

/* Grid des réalisations - 3 colonnes */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 60px 0;
}

/* Carte réalisation */
.realisation-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.realisation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Image wrapper avec badge location */
.realisation-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.realisation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.realisation-card:hover .realisation-image {
    transform: scale(1.06);
}

/* Badge location avec pin icon */
.realisation-location {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.realisation-location svg {
    flex-shrink: 0;
}

.realisation-location span {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-blue-dark);
    white-space: nowrap;
}

/* Contenu de la carte */
.realisation-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Titre du projet */
.realisation-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-blue-dark);
    line-height: 1.3;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    min-height: 48px;
}

.realisation-card:hover .realisation-title {
    color: var(--color-gold);
}

/* Labels des sections */
.realisation-label,
.realisation-missions,
.realisation-phases {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 20px;
}

.realisation-label {
    margin-top: 0;
}

/* Liste des projets */
.realisation-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    min-height: 100px;
}

.realisation-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.realisation-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
    font-size: 18px;
}

/* Badge mission */
.realisation-badge {
    display: inline-block;
    background: var(--color-blue-dark);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Container pour plusieurs badges */
.realisation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    min-height: 36px;
    align-items: flex-start;
}

/* Phase tags container */
.realisation-phases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 36px;
}

/* Tags de phases */
.phase-tag {
    display: inline-block;
    background: transparent;
    color: var(--color-blue-dark);
    border: 2px solid var(--color-blue-dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.realisation-card:hover .phase-tag {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Footer de la section réalisations */
.realisations-footer {
    text-align: center;
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 50%, #E8E8E8 100%);
    border-radius: 16px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.realisations-footer-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 16px;
}

.realisations-footer-text {
    font-size: 17px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

/* ============================================
   SECTION CERTIFICATIONS & ACCRÉDITATIONS
   Fond beige clair
   ============================================ */

.section-certifications {
    background: var(--color-beige-light);
    padding: var(--spacing-xxl) 0;
}

/* Grid des certifications - 5 colonnes */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin: 60px 0;
}

/* Carte certification */
.certification-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(212, 167, 69, 0.4);
    border: 2px solid var(--color-gold);
}

.certification-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.certification-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 8px;
}

.certification-desc {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.5;
}

/* Bottom section avec 2 colonnes */
.certifications-bottom {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 60px;
    background: linear-gradient(135deg, #1E3A52 0%, #2A5574 50%, #1E3A52 100%);
    padding: 50px 60px;
    border-radius: 16px;
    margin: 60px auto;
    max-width: 1400px;
}

.certifications-members {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.members-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
}

.members-description {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn-secondary-gold {
    display: inline-block;
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
    align-self: center;
}

.btn-secondary-gold:hover {
    background: transparent;
    color: var(--color-gold);
    transform: none;
    box-shadow: none;
}

.certifications-participations {
    background: rgba(255, 255, 255, 0.08);
    padding: 24px 24px 20px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-self: start;
}

.participations-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 16px;
    text-align: left;
}

.participations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.participations-list li {
    position: relative;
    padding: 9px 12px 9px 32px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--color-white);
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    text-align: left;
}

.participations-list li:last-child {
    margin-bottom: 0;
}

.participations-list li::before {
    content: '◆';
    position: absolute;
    left: 12px;
    color: var(--color-gold);
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* CTA Button */
.certifications-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-certifications {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--color-white);
    color: var(--color-blue-dark);
    padding: 18px 40px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--color-gold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-certifications:hover::before {
    left: 100%;
}

.btn-certifications:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(212, 167, 69, 0.4);
    border-color: var(--color-gold);
}

.btn-certifications-text {
    position: relative;
    z-index: 1;
}

.btn-certifications-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-certifications:hover .btn-certifications-arrow {
    transform: translateX(6px);
}

.btn-certifications:active {
    transform: translateY(-2px) scale(0.98);
}

/* ============================================
   SECTION ENGAGEMENT RSE
   Fond blanc
   ============================================ */

.section-rse {
    background: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

.section-rse .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-rse .section-surtitle {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-rse .section-surtitle::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.section-rse .section-title {
    font-size: 36px;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
}

/* Container principal RSE */
.rse-container {
    background: var(--color-white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

/* Header de la carte principale */
.rse-main-header {
    text-align: center;
    margin-bottom: 40px;
}

.rse-main-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 16px;
}

.rse-main-description {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* Grid RSE - 2 colonnes */
.rse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Carte RSE verte */
.rse-card {
    background: #E8F5E9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rse-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

/* Icône RSE */
.rse-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.rse-icon svg {
    width: 48px;
    height: 48px;
}

/* Titre RSE */
.rse-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 12px;
}

/* Description RSE */
.rse-description {
    font-size: 15px;
    color: var(--color-text-dark);
    line-height: 1.7;
}

/* ============================================
   SECTION CONTACT
   Fond beige clair
   ============================================ */

.section-contact {
    background: var(--color-beige-light);
    padding: var(--spacing-xxl) 0;
}

/* CTA Cards Grid */
.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 60px 0 80px 0;
}

.contact-cta-card {
    background: var(--color-white);
    padding: 48px 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid #E8E8E8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.contact-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-blue-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-cta-card:hover::before {
    transform: scaleX(1);
}

.contact-cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(212, 167, 69, 0.25);
    border-color: var(--color-gold);
}

/* Icon styling */
.contact-cta-icon {
    transition: transform 0.4s ease;
}

.contact-cta-card:hover .contact-cta-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Content styling */
.contact-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-cta-label {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.contact-cta-value {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 0;
    line-height: 1.2;
}

.contact-cta-info {
    font-size: 14px;
    color: var(--color-text-gray);
    margin: 0;
}

/* Formulaire de contact */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 56px 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #F0F0F0;
}

/* Form header */
.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid #F5F5F5;
}

.form-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Ligne de formulaire - 2 colonnes */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Groupe de champ */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-blue-dark);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #D4D4D4;
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 167, 69, 0.1);
    background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0B0B0;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Submit button alignment */
.contact-form button[type="submit"] {
    margin-top: 12px;
    align-self: center;
    min-width: 280px;
}

/* ============================================
   FOOTER / BAS DE SITE
   Fond bleu foncé
   ============================================ */

.footer {
    background: var(--color-blue-dark);
    color: var(--color-white);
    padding: 80px 0 0 0;
}

/* Main footer content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Colonne footer */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* About column */
.footer-about {
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 24px;
    max-width: 180px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* Footer social */
.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

.social-link svg {
    fill: var(--color-white);
}

/* Footer title */
.footer-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-gold);
}

.footer-links li a:hover::after {
    width: 100%;
}

/* Footer bottom */
.footer-bottom {
    padding: 32px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   HOVER ANIMATIONS - SECTIONS
   ============================================ */

/* Animation pour les cartes de services */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Animation pour les cartes RSE */
.rse-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rse-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Animation pour les cartes de réalisations */
.realization-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.realization-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.realization-card:hover .realization-image {
    transform: scale(1.08);
}

.realization-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation pour les stats cards */
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(212, 167, 69, 0.15);
}

/* ============================================
   MENTIONS LÉGALES - Styles
   ============================================ */

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(30, 58, 82, 0.1);
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section-title svg {
    flex-shrink: 0;
}

.legal-content {
    background: var(--color-beige-light);
    border-radius: 12px;
    padding: 24px;
}

.legal-content p {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text-dark);
    line-height: 1.7;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content strong {
    color: var(--color-blue-dark);
    font-weight: 600;
}

.legal-subtitle {
    color: var(--color-text-gray);
    font-size: 14px;
    margin-top: 8px;
}

.legal-text {
    line-height: 1.8;
}

.legal-text p {
    font-size: 15px;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-text p:last-child {
    margin-bottom: 0;
}

.legal-cta {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, #2A5574 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 48px;
}

.legal-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 20px;
}

.legal-cta .btn {
    background: var(--color-gold);
    color: var(--color-blue-dark);
    border: none;
    min-width: 200px;
}

.legal-cta .btn:hover {
    background: #E6B84D;
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS SCROLL
   Easing : expo.out — fluide, propre, premium
   ============================================ */

:root {
    --ease-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Base */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    animation-duration: 0.9s;
    animation-fill-mode: both;
    animation-timing-function: var(--ease-expo);
}

.fade-in-up.animated    { animation-name: fadeInUp; }
.fade-in-left.animated  { animation-name: fadeInLeft; }
.fade-in-right.animated { animation-name: fadeInRight; }
.fade-in.animated       { animation-name: fadeIn; animation-duration: 0.7s; }
.scale-in.animated      { animation-name: scaleIn; }
.slide-up.animated      { animation-name: slideUp; animation-duration: 0.7s; }
.float-in.animated      { animation-name: floatIn; }

/* Stagger resserré — effet cascade naturel */
.animate-on-scroll.delay-1 { animation-delay: 0.05s; }
.animate-on-scroll.delay-2 { animation-delay: 0.12s; }
.animate-on-scroll.delay-3 { animation-delay: 0.19s; }
.animate-on-scroll.delay-4 { animation-delay: 0.26s; }
.animate-on-scroll.delay-5 { animation-delay: 0.33s; }
.animate-on-scroll.delay-6 { animation-delay: 0.40s; }
.animate-on-scroll.delay-7 { animation-delay: 0.47s; }
.animate-on-scroll.delay-8 { animation-delay: 0.54s; }

/* Section headers — cascade séquentielle */
.section-header { opacity: 1; }
.section-header > * { opacity: 0; }

.section-header.animated > * {
    animation: fadeInUp 0.9s var(--ease-expo) forwards;
}
.section-header.animated .section-surtitle    { animation-delay: 0s; }
.section-header.animated .section-title       { animation-delay: 0.10s; }
.section-header.animated .title-decoration    { animation-delay: 0.22s; }
.section-header.animated .section-description { animation-delay: 0.32s; }

/* Hero — entrée propre et rythmée */
.hero-logo-image {
    opacity: 0;
    animation: fadeIn 0.7s var(--ease-expo) 0.05s both;
}

.hero-title {
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease-expo) 0.20s both;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease-expo) 0.35s both;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease-expo) 0.48s both;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease-expo) 0.60s both;
}


/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .animate-on-scroll.animated,
    .about-image-wrapper.animated .experience-badge {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .section-header > *,
    .hero-logo-image,
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .hero-cta {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .animate-on-scroll.animated {
        animation-duration: 0.55s;
    }

    .animate-on-scroll.delay-1,
    .animate-on-scroll.delay-2,
    .animate-on-scroll.delay-3,
    .animate-on-scroll.delay-4,
    .animate-on-scroll.delay-5,
    .animate-on-scroll.delay-6,
    .animate-on-scroll.delay-7,
    .animate-on-scroll.delay-8 {
        animation-delay: 0s;
    }

    .hero-cta {
        animation-delay: 0.30s;
    }
}

/* ============================================
   RESPONSIVE - Mobile
   Breakpoint principal : 768px
   ============================================ */

/* ============================================
   BURGER MENU - Mobile Navigation
   ============================================ */

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    /* Container mobile */
    .container {
        padding: 0 20px;
    }

    /* Header mobile */
    .header {
        padding: 16px 0;
    }

    .header-content {
        position: relative;
    }

    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--color-blue-dark);
        flex-direction: column;
        padding: 80px 24px 160px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }

    .nav-dropdown {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown .nav-link {
        border-bottom: none;
    }

    .dropdown-menu {
        display: none;
        margin-top: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        background: rgba(30, 58, 95, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 8px;
        padding: 12px 0;
    }

    .dropdown-item {
        padding: 12px 16px;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.95);
        transition: all 0.2s ease;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        padding-left: 20px;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .header-contact {
        position: fixed;
        bottom: 24px;
        right: -100%;
        width: 280px;
        padding: 0 24px;
        flex-direction: column;
        gap: 12px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
    }

    .header-contact.active {
        right: 0;
    }

    .phone-link, .btn-contact {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Overlay pour fermer le menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
    }

    /* Hero home mobile */
    .hero-home {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hero-logo-image {
        width: 200px;
        height: auto;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 12px;
    }

    .decorative-line {
        width: 60px;
    }

    .subtitle-text {
        font-size: 14px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
        max-width: 100%;
    }

    .hero-description br {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin-bottom: 40px;
    }

    .btn, .btn-primary, .btn-secondary {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
        text-align: center;
        justify-content: center;
    }

    /* Stats grid mobile - 1 colonne */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* About content mobile - 1 colonne */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
    }

    /* Certification mobile - 1 colonne */
    .certification-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .certificate-frame {
        padding: 24px;
    }

    /* Services grid mobile - 1 colonne */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-title {
        min-height: auto;
    }

    /* References grid mobile - 2 colonnes */
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .references-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Réalisations grid mobile - 1 colonne */
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .realisation-image-wrapper {
        height: 200px;
    }

    .realisation-content {
        padding: 24px 20px;
    }

    .realisations-footer {
        padding: 40px 24px;
    }

    .realisations-footer-title {
        font-size: 24px;
    }

    .realisations-footer-text {
        font-size: 15px;
    }

    /* Certifications grid mobile - 2 colonnes */
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .certifications-bottom {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
    }

    .members-title {
        font-size: 22px;
    }

    .members-description {
        font-size: 15px;
    }

    .participations-title {
        font-size: 18px;
    }

    /* RSE grid mobile - 1 colonne */
    .rse-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rse-card {
        padding: 40px 28px;
    }

    /* Contact CTA grid mobile - 1 colonne */
    .contact-cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 40px 0 60px 0;
    }

    .contact-cta-card {
        padding: 36px 28px;
    }

    .contact-cta-icon svg {
        width: 50px;
        height: 50px;
    }

    .contact-cta-value {
        font-size: 24px;
    }

    .contact-cta-info {
        font-size: 13px;
    }

    /* Contact form mobile */
    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer mobile - 1 colonne */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-about {
        padding-right: 0;
    }

    /* Titres mobile */
    .section-title {
        font-size: 32px;
    }

    .about-title {
        font-size: 26px;
    }

    .certification-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    /* Ajustements pour très petits écrans */
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* ============================================
   OPTIMISATIONS & POLISH
   ============================================ */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus states pour accessibilité */
a:focus,
button:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Transitions globales */
a, button {
    transition: all 0.3s ease;
}

/* Selection couleur */
::selection {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ============================================
   MODALES DE SERVICES
   Popup détaillant chaque service
   ============================================ */

/* Modal overlay - fond semi-transparent */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

/* Conteneur de la modale */
.modal-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    background: var(--color-white);
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    -webkit-overflow-scrolling: touch;
}

/* Pas d'animation d'ouverture - apparition instantanée */

/* Header de la modale avec couleur par service */
.modal-header {
    position: relative;
    padding: 40px 50px;
    color: var(--color-white);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.modal-header-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

/* Images des headers selon le service */
.modal-header-red {
    background: url('assets/incendie.jpg') center/cover no-repeat;
    position: relative;
}

.modal-header-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 82, 0.85);
    z-index: 1;
}

.modal-header-red > * {
    position: relative;
    z-index: 2;
}

.modal-header-blue {
    background: url('assets/surete.jpg') center/cover no-repeat;
    position: relative;
}

.modal-header-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 82, 0.85);
    z-index: 1;
}

.modal-header-blue > * {
    position: relative;
    z-index: 2;
}

.modal-header-purple {
    background: url('assets/accessibilite.jpg') center/cover no-repeat;
    position: relative;
}

.modal-header-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 82, 0.85);
    z-index: 1;
}

.modal-header-purple > * {
    position: relative;
    z-index: 2;
}

.modal-header-orange {
    background: url('assets/environnement.jpg') center/cover no-repeat;
    position: relative;
}

.modal-header-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 82, 0.85);
    z-index: 1;
}

.modal-header-orange > * {
    position: relative;
    z-index: 2;
}

.modal-header-gold {
    background: url('assets/formation.jpg') center/cover no-repeat;
    position: relative;
}

.modal-header-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 82, 0.85);
    z-index: 1;
}

.modal-header-gold > * {
    position: relative;
    z-index: 2;
}

.modal-icon {
    flex-shrink: 0;
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.modal-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

/* Bouton de fermeture */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Body de la modale - scrollable */
.modal-body {
    padding: 50px;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

/* Custom scrollbar pour la modale */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Titre de section dans la modale */
.modal-section-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 32px;
    text-align: center;
}

/* Grille des services détaillés - 2x2 */
.modal-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* Carte de service dans la modale */
.modal-service-card {
    background: #F8F9FA;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.modal-service-card:hover {
    background: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.modal-service-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.modal-service-card:hover .modal-service-title {
    color: var(--color-gold);
}

.modal-service-subtitle {
    font-size: 14px;
    font-style: italic;
    color: var(--color-text-gray);
    margin-bottom: 18px;
}

/* Liste à puces avec checkmarks dorés */
.modal-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-service-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* Checkmark doré avant chaque item */
.modal-service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* CTA en bas de la modale */
.modal-cta {
    background: var(--color-blue-dark);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: var(--color-white);
}

.modal-cta-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.modal-cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.modal-cta .btn {
    background: var(--color-gold);
    color: var(--color-blue-dark);
    border: none;
}

.modal-cta .btn:hover {
    background: #E6B84D;
}

/* Styles spécifiques pour la modale des certifications */
.modal-certifications-container {
    max-width: 900px;
}

/* Banner héro avec badge d'excellence */
.certif-hero-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue-hero) 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.2);
}

.certif-hero-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: rgba(212, 167, 69, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gold);
}

.certif-hero-content {
    flex: 1;
}

.certif-hero-label {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-blue-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.certif-hero-title {
    color: white;
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Grille des cartes de certification */
.certif-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.certif-card {
    position: relative;
    background: var(--color-beige-light);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.certif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.15);
    border-color: var(--color-gold);
}

.certif-card-featured {
    background: linear-gradient(135deg, rgba(212, 167, 69, 0.08) 0%, rgba(212, 167, 69, 0.16) 100%);
    border-color: var(--color-gold);
}

.certif-card-ribbon {
    position: absolute;
    top: -8px;
    right: 16px;
    background: var(--color-gold);
    color: var(--color-blue-dark);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(212, 167, 69, 0.4);
}

.certif-card-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.certif-card-logo {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.certif-card-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 0 0 4px;
}

.certif-card-subtitle {
    font-size: 13px;
    color: var(--color-gold);
    font-weight: 600;
    margin: 0 0 16px;
}

.certif-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.certif-card-features li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--color-text-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.certif-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 700;
}

/* Section Fédérations */
.certif-federations {
    background: var(--color-beige-light);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.certif-federations-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 0 0 20px;
}

.certif-federation-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.certif-federation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.certif-federation-item:hover {
    border-color: var(--color-gold);
    box-shadow: 0 4px 16px rgba(212, 167, 69, 0.15);
}

.certif-federation-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.certif-federation-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-blue-dark);
}

/* Section Engagements */
.certif-engagements {
    margin-bottom: 32px;
}

.certif-engagements-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 0 0 24px;
    text-align: center;
}

.certif-engagements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.certif-engagement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.certif-engagement-item:hover {
    border-color: var(--color-gold);
    background: rgba(212, 167, 69, 0.08);
}

.certif-engagement-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue-hero) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certif-engagement-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.4;
}

/* Legacy styles conservés pour compatibilité */
.certification-modal-section {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(30, 58, 82, 0.1);
}

.certification-modal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.certification-modal-subtitle {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.certification-modal-subtitle::before {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--color-gold);
}

.certification-modal-text {
    font-size: 15px;
    color: var(--color-text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.certification-modal-highlight {
    font-weight: 700;
    color: var(--color-blue-dark);
}

.certification-modal-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.certification-modal-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--color-text-dark);
    line-height: 1.7;
}

.certification-modal-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 16px;
    top: 2px;
}

.federation-highlight {
    display: inline-block;
    background: rgba(212, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--color-blue-dark);
}

/* CTA en bas de la modale certifications */
.certification-modal-cta {
    background: var(--color-blue-dark);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: var(--color-white);
    margin-top: 48px;
}

.certification-modal-cta-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.certification-modal-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    line-height: 1.6;
}

.certification-modal-cta .btn {
    background: var(--color-gold);
    color: var(--color-blue-dark);
    border: none;
}

.certification-modal-cta .btn:hover {
    background: #E6B84D;
}

/* ============================================
   RESPONSIVE MODALES
   ============================================ */

@media (max-width: 768px) {
    .modal {
        align-items: flex-start;
        padding: 10px 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-container {
        width: 95%;
        max-height: none;
        min-height: auto;
        margin: 10px auto;
        border-radius: 16px;
    }

    .modal-header {
        padding: 60px 20px 30px 20px;
        flex-direction: column;
    }

    .modal-header-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-description {
        font-size: 14px;
    }

    .modal-body {
        padding: 30px 20px;
        max-height: none;
        overflow-y: visible;
    }

    /* Grid 1 colonne sur mobile */
    .modal-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-service-card {
        padding: 20px;
    }

    .modal-service-title {
        font-size: 18px;
    }

    .modal-service-subtitle {
        font-size: 13px;
    }

    .modal-service-list li {
        font-size: 14px;
    }

    .modal-cta {
        padding: 30px 20px;
    }

    .modal-cta-title {
        font-size: 20px;
    }

    .modal-cta-description {
        font-size: 14px;
    }

    /* Touch optimizations pour mobile */
    .modal-close {
        position: absolute;
        width: 48px;
        height: 48px;
        font-size: 32px;
        top: 10px;
        right: 10px;
        z-index: 100;
    }

    /* Sections mobile - espacement optimisé */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-surtitle {
        font-size: 12px;
    }

    .section-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .section-description {
        font-size: 15px;
        max-width: 100%;
    }

    .section-description br {
        display: none;
    }

    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }

    .service-image, .realisation-image {
        object-fit: cover;
        width: 100%;
    }

    /* Certifications mobile */
    .certification-image {
        max-width: 100px;
    }

    /* Modal Certifications responsive */
    .certif-hero-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .certif-hero-title {
        font-size: 18px;
    }

    .certif-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .certif-card {
        padding: 20px 16px;
    }

    .certif-federation-badges {
        flex-direction: column;
        gap: 16px;
    }

    .certif-federation-item {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .certif-engagements-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .certif-engagement-item {
        padding: 16px;
    }

    .certif-engagement-icon {
        width: 44px;
        height: 44px;
    }

    .certif-engagement-icon svg {
        width: 22px;
        height: 22px;
    }

    .certifications-grid {
        gap: 16px;
    }

    .certification-card {
        padding: 20px 16px;
    }

    .btn-certifications {
        width: 100%;
        max-width: none;
        padding: 16px 32px;
        font-size: 16px;
    }

    /* Formulaire contact mobile */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Évite le zoom automatique sur iOS */
    }

    /* Footer mobile optimisé */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-logo {
        max-width: 140px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    /* Réalisations mobile */
    .realisation-list {
        min-height: auto;
    }

    .realisation-title {
        min-height: auto;
        font-size: 17px;
    }

    .realisation-badges {
        min-height: auto;
    }

    .realisation-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .phase-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* About section mobile */
    .about-image-wrapper {
        height: 280px;
        margin-bottom: 30px;
    }

    .about-card {
        padding: 32px 24px;
    }

    .about-card-title {
        font-size: 18px;
    }

    .about-card-description {
        font-size: 14px;
    }

    /* References mobile */
    .reference-logo {
        max-width: 80px;
    }

    /* RSE section mobile */
    .rse-card-title {
        font-size: 18px;
    }

    .rse-card-description {
        font-size: 14px;
    }
}

/* ============================================
   TRÈS PETITS ÉCRANS (< 480px)
   ============================================ */

@media (max-width: 480px) {
    /* Typography encore plus petite */
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .btn, .btn-primary, .btn-secondary {
        padding: 14px 20px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Container plus serré */
    .container {
        padding: 0 16px;
    }

    /* Header ultra compact */
    .logo-image {
        height: 32px;
    }

    /* Hero ultra compact */
    .hero-logo-image {
        width: 150px;
    }

    .hero-home {
        padding: 50px 0 60px;
    }

    /* Modals plein écran sur très petit mobile */
    .modal-container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-body {
        max-height: calc(100vh - 180px);
    }

    /* Services grid 1 colonne stricte */
    .references-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    /* Navigation burger plus large pour touch */
    .burger-menu {
        width: 36px;
        height: 28px;
    }

    .nav {
        width: 100%;
    }

    .header-contact {
        width: 100%;
    }
}

/* ============================================
   PAGES FAQ & GLOSSAIRE
   Héro, fil d'Ariane, accordéon, liste de définitions
   ============================================ */

.breadcrumb {
    background: var(--color-beige-light);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-gray);
}

.breadcrumb-list a {
    color: var(--color-blue-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--color-gold);
}

.breadcrumb-sep {
    color: #C0C0C0;
}

/* Héro de page - même identité que le hero d'accueil, format compact */
.page-hero {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue-hero) 50%, var(--color-blue-dark) 100%);
    padding: 72px 0 60px;
    text-align: center;
}

.page-hero .section-surtitle {
    color: var(--color-gold);
}

.page-hero-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero .title-decoration {
    justify-content: center;
    margin-bottom: 24px;
}

.page-hero-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* Section support pour ces pages */
.section-support {
    background: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

/* Cartes d'accès rapide (catégories FAQ) */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.quick-nav-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.quick-nav-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.quick-nav-title {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-blue-dark);
    font-size: 16px;
    margin-bottom: 6px;
}

.quick-nav-desc {
    font-size: 13.5px;
    color: var(--color-text-gray);
}

/* Groupes de questions / lettres */
.faq-group,
.glossary-group {
    margin-bottom: 56px;
}

.faq-group-title {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 8px;
}

.faq-group-underline,
.glossary-group-title {
    width: 50px;
    height: 3px;
    background: var(--color-gold);
    margin-bottom: 28px;
}

/* Accordéon FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--color-blue-dark);
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 26px 26px;
    font-size: 15.5px;
    color: var(--color-text-gray);
    line-height: 1.75;
}

.faq-answer-inner p {
    margin-bottom: 14px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    margin: 0 0 14px 20px;
}

.faq-answer-inner li {
    margin-bottom: 8px;
}

.faq-answer-inner h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 18px 0 10px;
}

.faq-answer-inner strong {
    color: var(--color-blue-dark);
}

/* Encadré de mise en avant - même traitement que .about-quote */
.info-callout {
    background: rgba(212, 167, 69, 0.06);
    border-left: 3px solid var(--color-gold);
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--color-text-gray);
    margin-top: 14px;
}

.info-callout strong {
    color: var(--color-blue-dark);
}

/* Navigation alphabétique du glossaire */
.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 60px;
    padding: 20px;
    background: var(--color-beige-light);
    border-radius: 12px;
}

.glossary-nav a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    color: var(--color-blue-dark);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.glossary-nav a:hover {
    background: var(--color-blue-dark);
    color: var(--color-white);
    border-color: var(--color-blue-dark);
}

.glossary-item {
    padding: 26px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.glossary-item:last-child {
    border-bottom: none;
}

.glossary-term {
    font-family: var(--font-primary);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 6px;
}

.glossary-term-alt {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-gray);
}

.glossary-description p {
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.75;
    margin-bottom: 10px;
}

.glossary-description p:last-child {
    margin-bottom: 0;
}

.glossary-description ul {
    margin: 0 0 10px 20px;
}

.glossary-description li {
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.glossary-description strong {
    color: var(--color-blue-dark);
}

/* CTA de bas de page (FAQ / Glossaire) */
.page-cta {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue-hero) 50%, var(--color-blue-dark) 100%);
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
}

.page-cta-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.page-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

.page-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 56px 0 44px;
    }

    .page-hero-title {
        font-size: 30px;
    }

    .page-hero-description {
        font-size: 15px;
    }

    .quick-nav-grid {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .faq-group-title {
        font-size: 22px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15.5px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .page-cta {
        padding: 40px 24px;
    }

    .page-cta-title {
        font-size: 22px;
    }

    .glossary-term {
        font-size: 17px;
    }
}

/* ============================================
   PAGE CERTIFICATIONS
   Présentation encadrée des certificats officiels scannés
   ============================================ */

.cert-frame {
    background: var(--color-white);
    padding: 18px;
    border-radius: 10px;
    border-top: 4px solid var(--color-gold);
    box-shadow: 0 16px 44px rgba(30, 58, 82, 0.22);
}

.cert-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

/* Deux colonnes d'information équilibrées (AFNOR / Fédérations) */
.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 64px;
}

.info-column-card {
    background: var(--color-beige-light);
    border: 1.5px solid var(--color-border-light);
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.3s ease;
}

.info-column-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.info-column-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.info-column-badge img {
    max-width: 68%;
    max-height: 68%;
    object-fit: contain;
}

.info-column-badge-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.info-column-badge-group .info-column-badge {
    margin-bottom: 0;
}

.info-column-eyebrow {
    display: block;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.info-columns h3 {
    font-family: var(--font-primary);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 14px;
}

.info-columns p {
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.75;
    margin-bottom: 14px;
}

.info-columns p:last-of-type {
    margin-bottom: 0;
}

.info-columns ul {
    list-style: none;
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--color-border-light);
}

.info-columns li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.9;
}

.info-columns li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .info-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   PAGES LÉGALES (mentions, confidentialité, cookies)
   ============================================ */

/* Grille "vos droits" */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 8px;
}

.right-item {
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: 10px;
    padding: 18px 20px;
    transition: all 0.3s ease;
}

.right-item:hover {
    border-color: var(--color-gold);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.right-item h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 4px;
}

.right-item p {
    font-size: 13px;
    color: var(--color-text-gray);
    margin: 0;
}

/* Types de cookies */
.cookie-type {
    background: var(--color-beige-light);
    border: 1.5px solid var(--color-border-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.cookie-type:last-child {
    margin-bottom: 0;
}

.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.cookie-type-header h4 {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 0;
}

.cookie-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-badge-required {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

.cookie-badge-optional {
    background: rgba(212, 167, 69, 0.15);
    color: var(--color-blue-dark);
    border: 1px solid var(--color-gold);
}

.cookie-type p {
    font-size: 14.5px;
    color: var(--color-text-gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

.cookie-type ul {
    margin: 0 0 10px 20px;
}

.cookie-type li {
    font-size: 13.5px;
    color: var(--color-text-gray);
    line-height: 1.8;
}

.cookie-type-duration {
    font-size: 12.5px;
    color: var(--color-text-gray);
    font-style: italic;
}

/* Guide navigateurs */
.browser-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 12px;
}

.browser-guide-item {
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: 10px;
    padding: 18px 20px;
}

.browser-guide-item h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 6px;
}

.browser-guide-item a {
    color: var(--color-gold);
    text-decoration: underline;
    font-size: 14px;
}

@media (max-width: 768px) {
    .rights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .browser-guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .rights-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BANDEAU ENGAGEMENTS CHIFFRÉS
   Réutilise .ref-stat / .ref-stat-number / .ref-stat-label
   ============================================ */

.engagement-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 48px auto 0;
}

@media (max-width: 768px) {
    .engagement-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

