/* ===== GLOBAL.CSS ===== */
/* Fichier de styles principal – MRH Audit */
/* Basé sur la charte de la page cabinet.html */

/* ------------------------------------ */
/* 1. VARIABLES & RESET */
/* ------------------------------------ */
:root {
    --navy: #0A192F;
    --navy-light: #112240;
    --gold: #c19034;
    --gold-light: #e4bb69;
    --alert: #E11D48;
    --text-dark: #1A1A1A;
    --text-gray: #4A5568;
    --bg-light: #F7F9FC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --primary: #0A192F;
    --primary-dark: #152942;
    --primary-light: #2a4a73;
    --secondary: #6b7280;
    --gold-start: #c19034;
    --gold-mid: #e4bb69;
    --gold-end: #C5A059;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
        overflow-x: hidden; /* ← AJOUTER */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ------------------------------------ */
/* 2. UTILITAIRES */
/* ------------------------------------ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.bg-light {
    background: var(--bg-light);
}

.gold-gradient-text {
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ------------------------------------ */
/* 3. HEADER & NAVIGATION */
/* ------------------------------------ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 2px;
}

.logo span {
    color: var(--gold);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}

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

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* État ouvert du menu — déclenché par JS via header.classList.toggle('nav-open') */
.header.nav-open .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);        /* ← hauteur fixe = plein écran moins header */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 32px rgba(10, 25, 47, 0.12);
    padding: 1rem 0 1.5rem;
    z-index: 999;
    overflow-y: auto;                  /* ← défilement si contenu trop grand */
    -webkit-overflow-scrolling: touch; /* ← défilement fluide sur iOS */
}

.header.nav-open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.header.nav-open .nav-list li {
    border-bottom: 1px solid var(--border);
}

.header.nav-open .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.header.nav-open .nav-link.active::after {
    display: none;
}

.header.nav-open .nav-link.active {
    background: rgba(193, 144, 52, 0.08);
    border-left: 3px solid var(--gold);
    padding-left: calc(1.5rem - 3px);
}


/* ------------------------------------ */
/* 4. BOUTONS */
/* ------------------------------------ */
.btn-primary {
    background-color: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--navy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-accent {
    background-color: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-gradient {
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gradient:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* ------------------------------------ */
/* 5. EN-TÊTE DE PAGE (PAGE HEADER) */
/* ------------------------------------ */
.page-header {
    background-color: var(--navy);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-light) 0%, transparent 100%);
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    color: var(--gold);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
}

.page-title {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-title-article {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
}

/* ------------------------------------ */
/* 6. GRILLES & CARDS */
/* ------------------------------------ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--navy);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-number {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* ------------------------------------ */
/* 7. ALERTES & NOTIFICATIONS */
/* ------------------------------------ */
.alert {
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-left: 4px solid;
    background-color: var(--bg-light);
}

.alert-warning {
    border-color: var(--gold);
    background-color: rgba(197, 160, 89, 0.1);
}

.alert-info {
    border-color: var(--navy);
    background-color: rgba(10, 25, 47, 0.05);
}

.alert strong {
    color: var(--navy);
}

/* ------------------------------------ */
/* 8. TABLEAUX */
/* ------------------------------------ */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border);
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th {
    background: var(--navy);
    color: var(--white);
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

tr:hover {
    background: var(--bg-light);
}

.status-ok { color: #059669; font-weight: 600; }
.status-warning { color: #d97706; font-weight: 600; }
.status-danger { color: #dc2626; font-weight: 600; }

/* ------------------------------------ */
/* 9. PROCESSUS & TIMELINE */
/* ------------------------------------ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--gold);
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 30px;
    height: 30px;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    font-family: 'Crimson Text', serif;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.process-step ul {
    list-style: none;
    padding: 0;
}

.process-step li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.process-step li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.2rem;
}

/* Timeline (cabinet) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.5rem;
    max-width: 350px;
    position: relative;
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 2rem;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-title {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

/* Amélioration du placeholder d'image */
/* Ajustement de l'image dans la section Impact mesurable */
.impact-image {
    width: 100%;
    max-width: 300px;      /* limite la taille de l'image */
    height: auto;
    display: block;
    margin-left: auto;     /* aligne l'image à droite de son conteneur */
    margin-right: 0;
    border-radius: 4px;    /* optionnel, pour adoucir les angles */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* légère ombre pour détacher l'image */
}

/* Pour que le conteneur s'adapte à la nouvelle taille */
.image-placeholder {
    background: none;       /* on enlève le fond et la bordure si on veut */
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* aligne l'image à droite dans le conteneur */
    padding: 0;
}

/* Process Timeline détaillé (methodologie) */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step-detail {
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.process-step-detail:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.process-step-header {
    background-color: var(--navy-light);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.process-step-number {
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(79, 77, 72, 0.1);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.process-step-header h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0;
    flex: 1;
}

.process-duration {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-gray);
    background: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.process-step-content {
    padding: 2rem;
}

.process-step-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-step-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.process-step-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1;
}

.process-step-content li strong {
    color: var(--navy);
    font-weight: 600;
}

/* ------------------------------------ */
/* 10. HIGHLIGHT BOX */
/* ------------------------------------ */
.highlight-box {
    background: var(--navy);
    color: var(--white);
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.highlight-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.highlight-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box .btn-accent {
    border: 2px solid var(--gold);
}

.highlight-box .btn-accent:hover {
    background: transparent;
    color: var(--gold);
}

/* ------------------------------------ */
/* 11. FEATURE LIST */
/* ------------------------------------ */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Variante avec bordure gauche (audit transparence) */
.feature-list-border li {
    padding: 1rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.feature-list-border li strong {
    color: var(--navy);
}

/* ------------------------------------ */
/* 12. HERO SECTION (index) */
/* ------------------------------------ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background-color: var(--navy);
    overflow: hidden;
    position: relative;
}

.hero-bg-element {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, var(--primary-light), var(--navy));
    opacity: 0.5;
}

.hero-blur {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--gold-start), var(--gold-mid));
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge span {
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
}

.hero-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.hero-footer i {
    color: var(--gold-start);
}

/* ------------------------------------ */
/* 13. SECTIONS SPÉCIFIQUES (méthodologie, expertises, etc.) */
/* ------------------------------------ */

.intro-visual {
    position: relative;
}

.intro-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--navy);
    color: white;
    padding: 2rem;
    max-width: 280px;
}



/* ===== AJOUTS POUR LA PAGE ACCUEIL ===== */

/* Style pour les images dans les cartes */
.card-icon-img {
    width: 100%;
    height: 150px; /* ou auto, mais pour uniformité */
    object-fit: cover; /* pour remplir sans déformation */
    display: block;
    /* margin-bottom: 1.5rem; à enlever ou ajuster */
}

/* Réduction du padding pour la section d'alerte */
.alert-section {
    padding: 2rem 0;  /* au lieu de 6rem */
}

/* Ajustement des interlignes dans la section Impact mesurable */
.impact-section p {
    line-height: 1.5;  /* valeur par défaut réduite */
    margin-bottom: 1rem;
}

.impact-section .feature-list li {
    line-height: 1.4;
}

/* Ajustement du CTA */
.cta-section p {
    line-height: 1.4;
    margin-bottom: 1.5rem;
}


/* Méthodologie */
.method-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.method-intro-text h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.method-intro-text p {
    color: var(--text-gray);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.pillar-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-top: 3px solid var(--gold);
}

.pillar-number {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
}

.pillar-label {
    font-size: 0.8125rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.method-detail:nth-child(even) .method-detail-content {
    order: 2;
}

.method-detail:nth-child(even) .method-detail-visual {
    order: 1;
}

.method-detail-visual {
    background: var(--bg-light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.method-detail-visual::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(197, 160, 89, 0.05) 10px,
        rgba(197, 160, 89, 0.05) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(-50%, -50%); }
    100% { transform: translate(0, 0); }
}

.method-icon-large {
    font-size: 4rem;
    color: var(--navy);
    z-index: 1;
    position: relative;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.method-detail-content h3 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.method-detail-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.method-features {
    list-style: none;
}

.method-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.method-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Data Flow (methodologie) */
.data-flow {
    background: var(--navy);
    color: var(--white);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.data-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle fill="rgba(197,160,89,0.1)" cx="50" cy="50" r="40"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.data-flow-content {
    position: relative;
    z-index: 1;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gold);
    opacity: 0.3;
}

.flow-step {
    text-align: center;
    width: 20%;
    position: relative;
}

.flow-step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.flow-step-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.flow-step-desc {
    font-size: 0.8125rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.standard-card {
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.3s ease;
}

.standard-card:hover {
    border-color: var(--gold);
    background: var(--bg-light);
}

.standard-icon {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.standard-title {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.standard-text {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Expertises */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.expertise-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.expertise-card:hover::before {
    transform: scaleY(1);
}

.expertise-number {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.expertise-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.expertise-features {
    list-style: none;
    margin-bottom: 2rem;
}

.expertise-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.expertise-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
}

/* Deliverables (expertises) */
.deliverable-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.deliverable-item:hover {
    background: var(--bg-light);
}

.deliverable-icon {
    width: 80px;
    height: 80px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.deliverable-content h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.deliverable-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Secteurs */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sector-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sector-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

.sector-icon {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.sector-card:hover .sector-icon {
    color: var(--gold);
}

.sector-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.sector-description {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sector-features {
    list-style: none;
    font-size: 0.875rem;
}

.sector-features li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    color: var(--text-gray);
}

.sector-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Challenges (secteurs) */
.challenge-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 3rem;
    background: var(--white);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    align-items: start;
}

.challenge-header {
    border-right: 2px solid var(--gold);
    padding-right: 2rem;
}

.challenge-sector {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.challenge-subtitle {
    color: var(--gold);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.challenge-content h4 {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.challenge-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Stats bar */
.stats-bar {
    background: var(--navy);
    padding: 4rem 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item-number {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-item-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Publications */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--bg-light);
    padding: 3rem;
}

.featured-image {
    background: var(--navy);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 3rem;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.featured-excerpt {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-meta {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--gold);
}

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

.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.article-image {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 2rem;
}

.article-content {
    padding: 1.5rem;
}

.article-tag {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.8125rem;
    color: var(--text-gray);
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Newsletter */
.newsletter-section {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-family: inherit;
}

.newsletter-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-btn:hover {
    background: var(--gold-light);
}

/* Whitepapers */
.whitepaper-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    align-items: center;
}

.whitepaper-icon {
    width: 80px;
    height: 80px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.whitepaper-content {
    flex: 1;
}

.whitepaper-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.whitepaper-description {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

.whitepaper-btn {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whitepaper-btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* References */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.case-header {
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem 2rem;
    position: relative;
}

.case-sector {
    color: var(--gold);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 400;
}

.case-body {
    padding: 2rem;
}

.case-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.case-meta-item {
    font-size: 0.875rem;
}

.case-meta-label {
    color: var(--text-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.case-meta-value {
    color: var(--navy);
    font-weight: 600;
}

.case-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-results {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
}

.case-results-title {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.case-results-list {
    list-style: none;
    font-size: 0.9375rem;
}

.case-results-list li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.case-results-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Crimson Text', serif;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--navy);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.testimonial-sector {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Clients logos */
.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    opacity: 0.4;
}

.client-logo {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--navy);
    filter: grayscale(100%);
}

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

.contact-info h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method-content h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.contact-method-content p {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

.contact-method-content a {
    color: var(--gold);
    text-decoration: none;
}

.contact-hours {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
}

.contact-hours h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact-hours p {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

/* Formulaire de contact */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 3rem;
}

.form-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}

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

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    background: var(--navy-light);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-gray);
    text-align: center;
}

.alert-box {
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: var(--alert);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
}

.alert-box i {
    font-size: 1.25rem;
}

/* Map placeholder */
.map-section {
    background: var(--bg-light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

/* Mentions légales */
.legal-section {
    margin-bottom: 4rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-title {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin: 2rem 0 1rem;
}

.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-gray);
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--navy);
}

.legal-box {
    background: var(--bg-light);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.legal-box p {
    margin: 0;
}

/* ------------------------------------ */
/* 14. FOOTER */
/* ------------------------------------ */
.footer {
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    font-size: 0.875rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-brand span {
    color: var(--gold);
}

.footer-description {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--gold);
}

/* ------------------------------------ */
/* 15. ANIMATIONS */
/* ------------------------------------ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------ */
/* 16. MEDIA QUERIES */
/* ------------------------------------ */
@media (max-width: 1024px) {
    .nav-list {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }

    .grid-3, .grid-2, .expertise-grid, .sectors-grid, .articles-grid, .testimonials-grid, .standards-grid {
        grid-template-columns: 1fr;
    }

    .method-intro, .method-detail, .featured-article, .contact-grid, .case-grid {
        grid-template-columns: 1fr;
    }

    .method-detail:nth-child(even) .method-detail-content,
    .method-detail:nth-child(even) .method-detail-visual {
        order: unset;
    }

    .method-pillars {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        gap: 2rem;
    }
    .flow-steps::before {
        display: none;
    }
    .flow-step {
        width: 100%;
    }

    .challenge-item {
        grid-template-columns: 1fr;
    }
    .challenge-header {
        border-right: none;
        border-bottom: 2px solid var(--gold);
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .whitepaper-card {
        flex-direction: column;
        text-align: center;
    }

    .case-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

        /* AJOUTER CES RÈGLES : menu ouvert en colonne */
    .header.nav-open .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.99);
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 8px 32px rgba(10, 25, 47, 0.12);
        padding: 1rem 0 1.5rem;
        z-index: 999;
        gap: 0;
    }

    .header.nav-open .nav-list li {
        border-bottom: 1px solid var(--border);
    }

    .header.nav-open .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .header.nav-open .nav-link.active::after {
        display: none;
    }

    .header.nav-open .nav-link.active {
        background: rgba(193, 144, 52, 0.08);
        border-left: 3px solid var(--gold);
        padding-left: calc(1.5rem - 3px);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Petits écrans */
@media (max-width: 640px) {
    .process-step-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .process-duration {
        align-self: flex-start;
    }
}
/* Grille compacte pour les valeurs */
.values-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Carte de valeur */
.value-card-compact {
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

/* Image en tête */
.value-image {
    height: 120px;
    overflow: hidden;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-card-compact:hover .value-image img {
    transform: scale(1.05);
}

/* Contenu texte */
.value-content {
    padding: 1.25rem;
}

.value-content h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
}

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

/* Responsive : une colonne sur mobile */
@media (max-width: 768px) {
    .values-grid-compact {
        grid-template-columns: 1fr;
    }
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* l'image couvre tout l'espace sans déformation */
    display: block;
    opacity: 1;          /* supprime la transparence (ou ajustez selon besoin) */
}

.hidden { display: none !important; }

/* ===== BANNIÈRE DE CONSENTEMENT COOKIES ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  padding: 1.5rem;
  border-top: 2px solid var(--color-accent, #e07b39);
  font-family: var(--font-primary, 'Inter', sans-serif);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gray-800, #1e293b);
  flex: 1 1 300px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  min-width: 140px;
}

.cookie-btn-accept {
  background-color: var(--color-accent, #e07b39);
  color: white;
  border-color: var(--color-accent, #e07b39);
}
.cookie-btn-accept:hover {
  background-color: var(--color-accent-hover, #c96a2d);
  border-color: var(--color-accent-hover, #c96a2d);
  transform: translateY(-2px);
}

.cookie-btn-refuse,
.cookie-btn-continue {
  background-color: transparent;
  color: var(--color-primary, #1e3a5f);
  border-color: var(--color-gray-400, #94a3b8);
}
.cookie-btn-refuse:hover,
.cookie-btn-continue:hover {
  background-color: var(--color-gray-200, #e2e8f0);
  border-color: var(--color-gray-600, #475569);
  transform: translateY(-2px);
}

/* Lien de gestion des cookies (dans le footer) */
.cookie-manage-link {
  text-align: center;
  margin: 1rem 0;
}
#manage-cookies {
  color: var(--color-accent, #e07b39);
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
#manage-cookies:hover {
  color: var(--color-accent-hover, #572d14);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-buttons {
    justify-content: center;
  }
  .cookie-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* ===== BANNIÈRE DE CONSENTEMENT COOKIES ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  padding: 1.5rem;
  border-top: 2px solid var(--color-accent, #e07b39);
  font-family: var(--font-primary, 'Inter', sans-serif);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gray-800, #1e293b);
  flex: 1 1 300px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  min-width: 140px;
}

.cookie-btn-accept {
  background-color: var(--color-accent, #e07b39);
  color: white;
  border-color: var(--color-accent, #e07b39);
}
.cookie-btn-accept:hover {
  background-color: var(--color-accent-hover, #c96a2d);
  border-color: var(--color-accent-hover, #c96a2d);
  transform: translateY(-2px);
}

.cookie-btn-refuse,
.cookie-btn-continue {
  background-color: transparent;
  color: var(--color-primary, #1e3a5f);
  border-color: var(--color-gray-400, #94a3b8);
}
.cookie-btn-refuse:hover,
.cookie-btn-continue:hover {
  background-color: var(--color-gray-200, #e2e8f0);
  border-color: var(--color-gray-600, #475569);
  transform: translateY(-2px);
}

/* Lien de gestion des cookies (dans le footer) */
.cookie-manage-link {
  text-align: center;
  margin: 1rem 0;
}
#manage-cookies {
  color: var(--color-accent, #e07b39);
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
#manage-cookies:hover {
  color: var(--color-accent-hover, #572d14);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-buttons {
    justify-content: center;
  }
  .cookie-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Lien de gestion des cookies dans le footer */
.footer-links a#manage-cookies {
    color: inherit; /* hérite de la couleur des autres liens */
    text-decoration: none; /* facultatif, selon le style du footer */
}
.footer-links a#manage-cookies:hover {
    color: inherit; /* même comportement au survol */
    opacity: 0.8;   /* ou laissez l'effet du footer */
}

/* Bannière flottante newsletter - version verticale */
.newsletter-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;                /* plus étroit pour format vertical */
    background-color: var(--navy);
    border: 3px solid transparent;  /* bordure plus épaisse */
    border-image: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    border-image-slice: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 10001;
    border-radius: 0;             /* angles droits comme le site */
    animation: slideInRight 0.3s ease-out;
}

.newsletter-floating-content {
    padding: 1.8rem 1.5rem;   /* plus de padding vertical */
    color: white;
    position: relative;
    text-align: center;       /* centre tout le texte */
}


.newsletter-floating h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: 'Crimson Text', serif;
    

    background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent; /* nécessaire pour Safari/iOS */
}


.newsletter-floating p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    
}

.newsletter-floating .form-control {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 0;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-floating .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-floating .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: var(--gold);
    outline: none;
    box-shadow: none;
}

.newsletter-floating .btn-light {
    background: white;
    color: var(--navy);
    border: none;
    padding: 0.7rem;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 0;
    width: 100%;
    cursor: pointer;
    margin-top: 0.8rem;
    display: inline-block;
    text-align: center;
}

.newsletter-floating .btn-light:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Bouton de fermeture */
.newsletter-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 5px;
    line-height: 1;
}

.newsletter-close:hover {
    color: white;
}

/* Animation d'apparition */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive : sur mobile, prendre presque toute la largeur */
@media (max-width: 576px) {
    .newsletter-floating {
        width: calc(100% - 40px);
        bottom: 15px;
        right: 20px;
        left: 20px;
    }
}
/* Message de confirmation dans la bannière */
.newsletter-confirmation {
    text-align: left;
}

.newsletter-confirmation h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: 'Crimson Text', serif;
}

.newsletter-confirmation p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.newsletter-confirmation i {
    color: var(--gold);
}

/* ------------------------------------ */
/* 3b. MENUS DÉROULANTS (DROPDOWN) */
/* ------------------------------------ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    border-top: 3px solid var(--gold);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--gold);
}

/* Adaptation pour mobile (quand le menu est ouvert) */
.header.nav-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold);
    margin-left: 1.5rem;
    background: transparent;
}

.header.nav-open .dropdown-toggle i {
    display: none; /* On cache la flèche en mobile pour plus de clarté */
}

.header.nav-open .dropdown-menu a {
    padding: 0.75rem 1rem;
    color: var(--text-gray);
}

.header.nav-open .dropdown-menu a:hover {
    background: rgba(193,144,52,0.1);
}
.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--gold);
}

/* Adaptation pour mobile (quand le menu est ouvert) */
.header.nav-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold);
    margin-left: 1.5rem;
    background: transparent;
}

.header.nav-open .dropdown-toggle i {
    display: none; /* On cache la flèche en mobile pour plus de clarté */
}

.header.nav-open .dropdown-menu a {
    padding: 0.75rem 1rem;
    color: var(--text-gray);
}

.header.nav-open .dropdown-menu a:hover {
    background: rgba(193,144,52,0.1);
}

