/*
 Theme Name:   CNE Premium Theme
 Theme URI:    https://cne-nantes.fr
 Description:  Thème premium unifié pour CNE - Centrale Nantes Études. Design moderne avec palette navy/gold.
 Author:       CNE - Centrale Nantes Études
 Author URI:   https://cne-nantes.fr
 Template:     hello-elementor
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  cne-premium
*/

/* ============================================
   CNE PREMIUM DESIGN SYSTEM
   ============================================ */

/* Fonts */
/* Google Fonts import removed for performance; relies on system stack/fallbacks */

/* CSS Variables */
:root {
    /* Brand Palette - CNE Branding */
    --navy-900: #0d0e30;
    --navy-800: #121338;
    --navy-700: #171840;
    --navy-600: #1c3a6e;
    --royal: #1c3a6e;
    --royal-light: #0e74ba;
    --sky: #456a8e;
    --gold: #fab600;
    --gold-light: #fccf4d;
    --gold-subtle: rgba(250, 182, 0, .13);

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F4F3EE;
    --gray-100: #E2E1DC;
    --gray-200: #B5B2AC;
    --gray-300: #8D8A88;
    --gray-400: #6B6866;
    --gray-500: #456a8e;
    --gray-600: #505864;
    --gray-700: #3b424d;
    --gray-800: #0d0e30;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --sp-1: .25rem;
    --sp-2: .5rem;
    --sp-3: .75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 100px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(11, 20, 38, .04);
    --shadow-sm: 0 2px 8px rgba(11, 20, 38, .06), 0 1px 2px rgba(11, 20, 38, .04);
    --shadow-md: 0 4px 16px rgba(11, 20, 38, .08), 0 2px 4px rgba(11, 20, 38, .04);
    --shadow-lg: 0 8px 32px rgba(11, 20, 38, .10), 0 4px 8px rgba(11, 20, 38, .04);
    --shadow-xl: 0 16px 48px rgba(11, 20, 38, .12), 0 8px 16px rgba(11, 20, 38, .06);
    --shadow-gold: 0 4px 20px rgba(250, 182, 0, .25);

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    /* Layout */
    --max-w: 1200px;
    --nav-h: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: var(--nav-h);
    margin: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color .2s var(--ease);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--navy-800);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

h4 {
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

p {
    margin-bottom: var(--sp-4);
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

/* ============================================
   ICONS
   ============================================ */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.stat-icon .icon {
    width: 32px;
    height: 32px;
    color: var(--royal);
}

.card-icon .icon {
    width: 28px;
    height: 28px;
    color: var(--royal);
}

.radio-card.selected .card-icon .icon {
    color: var(--white);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--sp-20) 0;
}

.section-alt {
    background: var(--white);
}

.section-dark {
    background: var(--navy-900);
    color: var(--gray-200);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.page-header {
    padding: var(--sp-12) 0;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.page-header h1 {
    margin-bottom: var(--sp-4);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
}

.page-header p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: .8rem 1.75rem;
    font-weight: 600;
    border-radius: var(--r-sm);
    /* Intercom 6px */
    border: none;
    cursor: pointer;
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
    letter-spacing: .01em;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--navy-600);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--navy-700);
    border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--royal);
    color: var(--royal);
    background: rgba(43, 94, 167, .04);
}

.btn-ghost {
    background: transparent;
    color: var(--royal);
    padding: .65rem 1rem;
}

.btn-ghost:hover {
    background: rgba(43, 94, 167, .06);
}

/* Navigation moved to end of file */

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
    overflow: hidden;
    padding: var(--sp-16) 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(43, 81, 150, .30) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 15% 80%, rgba(250, 182, 0, .10) 0%, transparent 65%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--sp-16);
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: .35rem 1rem;
    background: rgba(250, 182, 0, .12);
    border: 1px solid rgba(250, 182, 0, .30);
    border-radius: var(--r-sm);
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: var(--sp-6);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--sp-6);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .65);
    margin-bottom: var(--sp-8);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .85);
}

.hero-actions .btn-secondary:hover {
    border-color: rgba(255, 255, 255, .5);
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.hero-image {
    width: 440px;
    aspect-ratio: 4/3;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .02) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .3);
    font-size: .9rem;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-image {
        width: 100%;
        max-width: 480px;
    }
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}

.stat-card {
    text-align: center;
    padding: var(--sp-8) var(--sp-6);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all .3s var(--ease);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--sp-4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.75rem;
    color: var(--gold);
    font-weight: 700;
}

.stat-label {
    margin-top: var(--sp-3);
    color: var(--gray-500);
    font-weight: 500;
    font-size: .9rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-4);
    }

    .stat-card {
        padding: var(--sp-6) var(--sp-4);
    }

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

/* ============================================
   SERVICES TABS
   ============================================ */
.service-tabs {
    display: flex;
    gap: var(--sp-2);
    margin-bottom: var(--sp-8);
    flex-wrap: wrap;
}

.service-tab {
    padding: .6rem 1.25rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--gray-200);
    color: var(--royal);
    font-weight: 600;
    cursor: pointer;
    transition: all .25s var(--ease);
    font-size: .875rem;
    font-family: var(--font-body);
    background: var(--white);
}

.service-tab.active,
.service-tab:hover {
    border-color: var(--royal);
    color: var(--royal);
    background: rgba(43, 94, 167, .05);
}

.service-tab.active {
    background: var(--royal);
    color: var(--white);
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: block;
    animation: fadeIn .3s var(--ease);
}

.service-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: var(--sp-8);
    max-width: 700px;
    line-height: 1.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-3);
    overflow: hidden;
    transition: all .3s var(--ease);
    background: var(--white);
}

.accordion-item:hover {
    border-color: var(--gray-200);
}

.accordion-item.open {
    border-color: var(--royal);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: var(--sp-5) var(--sp-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color .2s var(--ease);
    gap: var(--sp-4);
}

.accordion-header:hover {
    color: var(--royal);
}

.accordion-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.accordion-icon {
    transition: transform .3s var(--ease);
    color: var(--gray-400);
    font-size: .75rem;
    flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
    color: var(--royal);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}

.accordion-body-inner {
    padding: 0 var(--sp-6) var(--sp-6);
    color: var(--gray-600);
    font-size: .9375rem;
    line-height: 1.75;
}

/* ============================================
   STUDY CARDS — Magazine Style (redesign)
   ============================================ */

/* Grille */
.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: var(--sp-8);
}

.studies-grid .study-card:first-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    .studies-grid .study-card:first-child {
        flex-direction: column;
    }
}

.study-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gray-300);
}

/* Flèche reveal au hover (Style Études) */
.study-card::after {
    content: '→';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 15px;
    z-index: 4;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.study-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.study-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.studies-grid .study-card:first-child .study-card-image {
    height: auto;
    width: 50%;
    min-height: 350px;
}

@media (max-width: 768px) {
    .studies-grid .study-card:first-child .study-card-image {
        width: 100%;
        min-height: 240px;
    }
}

.study-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.study-card-pole {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--navy-900);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.study-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.studies-grid .study-card:first-child .study-card-content {
    width: 50%;
    justify-content: center;
    padding: 48px;
}

@media (max-width: 768px) {
    .studies-grid .study-card:first-child .study-card-content {
        width: 100%;
        padding: 32px;
    }
}

.study-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 12px;
    line-height: 1.3;
}

.studies-grid .study-card:first-child .study-card-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.study-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 24px;
    flex: 1;
}

.studies-grid .study-card:first-child .study-card-excerpt {
    font-size: 1.1rem;
    flex: none;
    margin-bottom: 32px;
}

.study-card-quote {
    position: relative;
    margin-top: auto;
    padding: 14px 16px 14px 18px;
    border-left: 3px solid var(--navy-700);
    background: var(--gray-50);
    color: var(--gray-700);
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.study-card-quote::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--navy-700);
    opacity: 0.35;
    pointer-events: none;
}

.studies-grid .study-card:first-child .study-card-quote {
    font-size: 0.98rem;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}



/* Lien wrapper (si carte wrapped dans <a>) */
.study-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 640px) {
    .studies-grid .study-card:first-child .study-card-excerpt {
        display: none !important;
    }
}

/* Legacy .study-card-body et .study-card-meta (inutilisés dans le plugin mais conservés) */
.study-card-body h4 {
    color: white;
}

.study-card-meta {
    display: none !important;
}



/* ============================================
   ETUDES GRID (FILTERS)
   ============================================ */
.cne-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cne-filter {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 100px;
    color: var(--navy-900);
    cursor: pointer;
    transition: all .3s ease;
}

.cne-filter:hover {
    border-color: var(--navy-900);
    background: rgba(17, 24, 39, 0.05);
    /* very light navy */
}

.cne-filter.active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

/* =============================================
   ETUDES GRID — Magazine Style (redesign)
   ============================================= */
.cne-etudes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Première carte en vedette, pleine largeur */
.cne-etudes-grid .cne-etude-card:first-child {
    grid-column: 1 / -1;
}

.cne-etude-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background-color: #111;
    cursor: pointer;
    border: none;
    box-shadow: none;
    transition: none;
    text-decoration: none;
    color: inherit;
    display: block;
}

.cne-etude-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* Zone image plein format */
.cne-etude-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: none;
}

/* Carte vedette : image plus haute */
.cne-etudes-grid .cne-etude-card:first-child .cne-etude-image {
    height: 400px;
}

.cne-etude-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.6s ease;
}

.cne-etude-card:hover .cne-etude-image img {
    transform: scale(1.06);
    filter: brightness(0.55);
}

/* Overlay gradient permanent */
.cne-etude-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Badge de pôle — overlay glassmorphism */
.cne-etude-pole {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Couleurs par pôle */
.cne-etude-card[data-pole="digital"] .cne-etude-pole {
    background: rgba(139, 92, 246, 0.5);
    border-color: rgba(167, 139, 250, 0.4);
}

.cne-etude-card[data-pole="environnemental"] .cne-etude-pole {
    background: rgba(16, 185, 129, 0.45);
    border-color: rgba(52, 211, 153, 0.4);
}

.cne-etude-card[data-pole="ingenierie"] .cne-etude-pole {
    background: rgba(245, 158, 11, 0.45);
    border-color: rgba(251, 191, 36, 0.4);
}

/* Contenu positionné en overlay sur l'image */
.cne-etude-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    z-index: 2;
}

.cne-etude-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.cne-etudes-grid .cne-etude-card:first-child .cne-etude-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Extrait — visible uniquement sur la carte vedette */
.cne-etude-excerpt {
    display: none;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 0;
}

.cne-etudes-grid .cne-etude-card:first-child .cne-etude-excerpt {
    display: block;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Témoignage caché dans la version magazine */
.cne-etude-testimonial {
    display: none;
}

/* Flèche reveal au hover */
.cne-etude-card::after {
    content: '→';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    z-index: 3;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cne-etude-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.cne-etude-more {
    display: none;
}

/* =============================================
   NOS ETUDES PAGE — Harmonized with site style
   ============================================= */
.cne-etudes-page .section-intro-compact {
    max-width: 760px;
    margin: 0 auto 48px;
}

.cne-etudes-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto 34px;
}

.cne-etudes-proof-item {
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    padding: 16px 14px;
    text-align: center;
}

.cne-etudes-proof-item strong {
    display: block;
    color: var(--navy-900);
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.cne-etudes-proof-item span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    font-weight: 600;
}

.cne-etudes-page .cne-filters {
    margin-bottom: 28px;
}

.cne-etudes-page .cne-filter {
    border-radius: 0;
}

.cne-etudes-page .cne-etude-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cne-etudes-page .cne-etude-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
    border-color: var(--gray-300);
}

.cne-etudes-page .cne-etude-image {
    height: 230px;
}

.cne-etudes-page .cne-etudes-grid .cne-etude-card:first-child .cne-etude-image {
    height: 360px;
}

.cne-etudes-page .cne-etude-image img {
    filter: brightness(0.8);
}

.cne-etudes-page .cne-etude-card:hover .cne-etude-image img {
    transform: scale(1.03);
    filter: brightness(0.7);
}

.cne-etudes-page .cne-etude-content {
    position: relative;
    inset: auto;
    z-index: 2;
    background: #fff;
    padding: 24px 22px 22px;
}

.cne-etudes-page .cne-etude-title {
    font-size: 1.2rem;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.cne-etudes-page .cne-etude-excerpt {
    display: -webkit-box;
    display: box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.cne-etudes-page .cne-etudes-grid .cne-etude-card:first-child .cne-etude-excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.cne-etudes-page .cne-etude-testimonial {
    display: -webkit-box;
    display: box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background: var(--gray-50);
    border-left: 3px solid var(--navy-700);
    padding: 10px 12px;
    color: var(--gray-700);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-top: 10px;
}

.cne-etudes-page .cne-etude-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 12px;
    color: var(--navy-900);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-300);
    font-size: 0.83rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.cne-etudes-process {
    margin-top: 64px;
}

.cne-etudes-process-intro {
    max-width: 680px;
    margin: 0 auto 26px;
}

.cne-etudes-process-intro h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--navy-900);
    margin-bottom: 8px;
}

.cne-etudes-process-intro p {
    margin: 0;
    color: var(--gray-600);
}

.cne-etudes-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cne-etudes-process-step {
    background: #fff;
    border: 1px solid var(--gray-200);
    padding: 20px 18px;
}

.cne-etudes-process-num {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.cne-etudes-process-step h4 {
    margin: 0 0 8px;
    color: var(--navy-900);
    font-size: 1rem;
}

.cne-etudes-process-step p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.55;
    font-size: 0.92rem;
}

@media (max-width: 1024px) {
    .cne-etudes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cne-etudes-grid .cne-etude-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .cne-etudes-grid {
        grid-template-columns: 1fr;
    }

    .cne-etudes-grid .cne-etude-card:first-child {
        grid-column: 1;
    }

    .cne-etude-image,
    .cne-etudes-grid .cne-etude-card:first-child .cne-etude-image {
        height: 240px;
    }

    .cne-etudes-proof-strip,
    .cne-etudes-process-grid {
        grid-template-columns: 1fr;
    }

    .cne-etudes-page .cne-etude-content {
        padding: 20px 18px 18px;
    }

    .cne-etudes-page .cne-etude-title {
        font-size: 1.1rem;
    }

    .cne-etudes-process {
        margin-top: 46px;
    }
}



/* ============================================
   TEAM GRID
   ============================================ */
.team-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--royal);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-6);
    margin-bottom: var(--sp-12);
}

.team-card {
    text-align: center;
    padding: var(--sp-6) var(--sp-4);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    margin: 0 auto var(--sp-4);
    position: relative;
    overflow: hidden;
    transition: all .3s var(--ease);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-linkedin {
    position: absolute;
    inset: 0;
    background: rgba(43, 94, 167, .85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.team-card:hover .team-linkedin {
    opacity: 1;
}

.team-linkedin svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.team-card h4 {
    margin-bottom: var(--sp-1);
    font-size: 1rem;
}

.team-role {
    font-size: .8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-4);
    }
}

/* ============================================
   LINKEDIN FEED
   ============================================ */
.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--sp-6);
}

.linkedin-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    border: 1px solid var(--gray-100);
    transition: all .3s var(--ease);
}

.linkedin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.linkedin-header {
    display: flex;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.linkedin-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--royal) 0%, var(--royal-light) 100%);
    flex-shrink: 0;
}

.linkedin-meta h4 {
    font-size: .9rem;
    font-weight: 600;
}

.linkedin-meta p {
    font-size: .8rem;
    color: var(--gray-400);
    margin: 0;
}

.linkedin-body {
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--sp-4);
}

.linkedin-media {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--r-md);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: .85rem;
    margin-bottom: var(--sp-4);
    overflow: hidden;
}

.linkedin-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.linkedin-stats {
    display: flex;
    gap: var(--sp-6);
    font-size: .8rem;
    color: var(--gray-400);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--gray-100);
}

/* ============================================
   CTA BANNERS
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-600) 100%);
    padding: var(--sp-16) var(--sp-6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, .1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: var(--sp-4);
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, .65);
    font-size: 1.1rem;
    margin-bottom: var(--sp-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-8);
    background: var(--gray-50);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-100);
    flex-wrap: wrap;
    gap: var(--sp-4);
}

.cta-strip-text h3 {
    margin-bottom: var(--sp-2);
}

.cta-strip-text p {
    color: var(--gray-500);
    font-size: .9375rem;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--navy-900);
    color: var(--gray-400);
    padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-10);
    margin-bottom: var(--sp-10);
}

footer h4 {
    color: var(--white);
    font-size: .9375rem;
    margin-bottom: var(--sp-5);
    letter-spacing: .02em;
}

footer ul li {
    margin-bottom: var(--sp-2);
}

footer a {
    color: var(--gray-400);
    font-size: .875rem;
    transition: color .2s var(--ease);
}

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

.footer-description {
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: var(--sp-5);
    color: var(--gray-400);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--sp-3);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .06);
    transition: all .2s var(--ease);
}

.footer-social a:hover {
    background: var(--royal);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--gray-400);
    transition: fill .2s var(--ease);
}

.footer-social a:hover svg {
    fill: var(--white);
}

.copyright {
    text-align: center;
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .8125rem;
    color: var(--gray-500);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-8);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
    }
}

/* ============================================
   SIMULATOR (Contact Page)
   ============================================ */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - var(--nav-h));
    width: 100%;
}

@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

.simulator-container {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.booking-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--sp-8);
    position: relative;
    padding: 0 var(--sp-4);
}

.step-track {
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gray-200);
    transform: translateY(-50%);
}

.step-progress {
    position: absolute;
    top: 50%;
    left: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--royal) 0%, var(--gold) 100%);
    transform: translateY(-50%);
    transition: width .4s var(--ease);
    width: 0;
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-400);
    position: relative;
    z-index: 2;
    transition: all .3s var(--ease);
    flex: 0 0 auto;
    margin: 0 auto;
}

.step-badge.active {
    border-color: var(--royal);
    background: var(--royal);
    color: var(--white);
}

.step-badge.completed {
    border-color: var(--success);
    background: var(--success);
    color: var(--white);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn .3s var(--ease);
}

.form-title {
    font-size: 1.25rem;
    margin-bottom: var(--sp-2);
    color: var(--navy-800);
}

.form-sublabel {
    font-size: .9rem;
    color: var(--gray-500);
    margin-bottom: var(--sp-6);
}

.form-group {
    margin-bottom: var(--sp-6);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: var(--sp-2);
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font-body);
    font-size: .9375rem;
    color: var(--gray-700);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    transition: all .2s var(--ease);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--royal);
    box-shadow: 0 0 0 3px rgba(43, 94, 167, .1);
}

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

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--sp-3);
}

.radio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-5) var(--sp-4);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-600);
    text-align: center;
    transition: all .25s var(--ease);
    background: var(--white);
}

.radio-card:hover {
    border-color: var(--royal-light);
    background: rgba(43, 94, 167, .02);
}

.radio-card.selected {
    border-color: var(--royal);
    background: rgba(43, 94, 167, .06);
    color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(43, 94, 167, .1);
}

.step-nav {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-top: var(--sp-8);
}

/* ============================================
   CALENDAR / BOOKING
   ============================================ */
.split-layout-page .booking-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.booking-panel {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-sm);
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-6);
    gap: var(--sp-4);
}

.calendar-nav button {
    padding: .5rem 1rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: .8125rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--gray-600);
    transition: all .2s var(--ease);
}

.calendar-nav button:hover {
    border-color: var(--royal);
    color: var(--royal);
}

.calendar-nav .week-label {
    font-weight: 700;
    font-size: .9375rem;
    color: var(--navy-900);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
}

.calendar-day-header {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding-bottom: var(--sp-2);
}

.slot-btn {
    padding: .6rem .5rem;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--gray-600);
    transition: all .2s var(--ease);
}

.slot-btn:hover:not(.unavailable) {
    border-color: var(--royal);
    color: var(--royal);
    background: rgba(43, 94, 167, .04);
}

.slot-btn.selected {
    border-color: var(--royal);
    background: var(--royal);
    color: var(--white);
}

.slot-btn.unavailable {
    background: var(--gray-50);
    color: var(--gray-300);
    cursor: not-allowed;
    border-color: var(--gray-100);
}

.slot-status {
    text-align: center;
    font-size: .8125rem;
    color: var(--gray-500);
    margin-bottom: var(--sp-6);
}

/* ============================================
   SUCCESS MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 20, 38, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
    max-width: 440px;
    width: 90%;
    transform: scale(.9);
    transition: transform .3s var(--ease-spring);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-6);
    font-size: 1.75rem;
    color: var(--white);
}

.modal-content h3 {
    margin-bottom: var(--sp-3);
}

.modal-content p {
    color: var(--gray-500);
    margin-bottom: var(--sp-6);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .hero {
        min-height: 75vh;
        padding: var(--sp-12) 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .service-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: var(--sp-2);
        -webkit-overflow-scrolling: touch;
    }

    .service-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* .cne-etudes-grid { grid-template-columns: 1fr; } */
    .linkedin-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-strip {
        flex-direction: column;
        text-align: center;
    }

    .step-nav {
        flex-direction: column;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 65vh;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

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

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: var(--sp-4);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.section-intro-compact {
    max-width: 600px;
    margin: 0 auto 48px;
}

.service-tab-inline {
    display: inline-block;
    margin-bottom: 16px;
}

.section-intro-muted {
    color: var(--gray-500);
}

.grid-empty-text {
    grid-column: 1/-1;
    text-align: center;
    color: var(--gray-500);
}

.team-photo-fallback {
    font-size: 48px;
}


/* ============================================
   UNIFIED HEADER & FOOTER OVERRIDES
   ============================================ */
/* Padding handles by var(--nav-h) in main body declaration */



/* Base Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}



/* Solid Navbar */
.navbar-solid {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 48px;
    margin: 0 auto;
}

.nav-logo-inline {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--navy-700);
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
}

.nav-link-with-icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar .nav-logo-text {
    color: var(--navy-800);
}




.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Link Colors */
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-700);
    position: relative;
    padding: 8px 0;
    cursor: pointer;
    text-decoration: none;
}



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

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

/* Dropdown */
.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin: 0;
    z-index: 1001;
}

/* Trigger dropdown on hover */
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-700);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--navy-900);
}

/* CTA Button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--navy-700);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: var(--navy-800);
    color: var(--white);
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* RDV Dropdown - E-commerce style */
.rdv-dropdown {
    position: relative;
}

.nav-cta-dropdown {
    background: var(--royal);
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta-dropdown:hover {
    background: var(--navy-800);
    color: var(--white);
}

.nav-cta-dropdown[aria-expanded="true"] {
    background: var(--navy-800);
}

.rdv-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 80vh;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1001;
    overflow: hidden;
}

.rdv-dropdown:hover .rdv-dropdown-panel,
.rdv-dropdown.open .rdv-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rdv-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
    transform: rotate(45deg);
}

.rdv-dropdown-content {
    padding: 16px;
    max-height: calc(80vh - 32px);
    overflow-y: auto;
}

/* RDV Dropdown - booking widget style imports */
.cne-booking--redesign {
    display: grid;
    gap: 16px;
}

.cne-booking--redesign .sim-title {
    margin: 0;
    text-align: left;
    color: #0f0e0d;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.cne-booking--redesign .sim-subtitle {
    margin: 8px 0 0;
    text-align: left;
    color: #514c47;
    line-height: 1.5;
}

.cne-booking--redesign .booking-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.cne-booking--redesign .booking-step {
    border: 1px solid rgba(0,0,0,0.12);
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #5f5b57;
    text-align: center;
}

.cne-booking--redesign .booking-step.is-active {
    border-color: #111;
    color: #111;
    background: rgba(17, 17, 17, 0.04);
}

.cne-booking--redesign .booking-step.is-done {
    border-color: rgba(17,17,17,0.22);
    color: #2f2c29;
}

.cne-booking--redesign .booking-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin: 2px 0 0;
}

.cne-booking--redesign .booking-nav-btn {
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 0;
    background: #fff;
    padding: 10px 12px;
    font-size: 0.88rem;
    cursor: pointer;
}

.cne-booking--redesign .booking-week-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1f1c19;
    text-align: center;
}

.cne-booking--redesign .booking-days,
.cne-booking--redesign .booking-dates {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.cne-booking--redesign .booking-day-header {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #75706a;
    padding-top: 2px;
}

.cne-booking--redesign .booking-date-btn {
    border: 1px solid rgba(0,0,0,0.14);
    background: #fff;
    border-radius: 0;
    display: grid;
    place-items: center;
    min-height: 60px;
    padding: 6px;
    cursor: pointer;
}

.cne-booking--redesign .booking-date-btn .booking-date-num {
    font-size: 1.45rem;
    font-weight: 700;
    color: #12100f;
    line-height: 1;
}

.cne-booking--redesign .booking-date-btn .booking-date-day {
    font-size: 0.72rem;
    color: #66615c;
    text-transform: uppercase;
}

.cne-booking--redesign .booking-date-btn.selected {
    background: #111;
    border-color: #111;
}

.cne-booking--redesign .booking-date-btn.selected .booking-date-num,
.cne-booking--redesign .booking-date-btn.selected .booking-date-day {
    color: #fff;
}

.cne-booking--redesign .booking-date-btn.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}

.cne-booking--redesign .booking-selected {
    border: 1px solid rgba(0,0,0,0.14);
    background: rgba(0,0,0,0.03);
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #22201d;
}

.cne-booking--redesign .booking-slots h4 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: #1d1a17;
}

.cne-booking--redesign .booking-slot-help {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: #6b6660;
}

.cne-booking--redesign .booking-slot-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cne-booking--redesign .booking-slot-btn {
    border: 1px solid rgba(0,0,0,0.14);
    background: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 11px 12px;
    cursor: pointer;
}

.cne-booking--redesign .booking-slot-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cne-booking--redesign .booking-slot-copy strong {
    font-size: 0.95rem;
    color: #191613;
    line-height: 1.2;
}

.cne-booking--redesign .booking-slot-copy small {
    font-size: 0.78rem;
    color: #68635d;
}

.cne-booking--redesign .slot-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #4b4641;
}

.cne-booking--redesign .booking-slot-btn.selected {
    background: #111;
    border-color: #111;
}

.cne-booking--redesign .booking-slot-btn.selected .slot-pill,
.cne-booking--redesign .booking-slot-btn.selected .booking-slot-copy strong,
.cne-booking--redesign .booking-slot-btn.selected .booking-slot-copy small {
    color: #fff;
}

.cne-booking--redesign .booking-slot-btn.is-busy {
    opacity: 0.45;
    cursor: not-allowed;
}

.cne-booking--redesign .booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.cne-booking--redesign .sim-form-group input,
.cne-booking--redesign .sim-form-group textarea {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.16);
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}

.cne-booking--redesign .sim-form-group input:focus,
.cne-booking--redesign .sim-form-group textarea:focus {
    border-bottom-color: #111;
    box-shadow: none;
}

.cne-booking--redesign .booking-actions {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cne-booking--redesign .sim-submit {
    border-radius: 0;
    background: #111;
}

.cne-booking--redesign .booking-error {
    margin-top: 10px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    font-size: 0.86rem;
    padding: 10px 12px;
}

.cne-booking--redesign .booking-success {
    border: 1px solid rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.08);
    padding: 14px;
}

.cne-booking--redesign .booking-success h4 {
    margin: 8px 0 6px;
    color: #14532d;
}

.cne-booking--redesign .booking-success p {
    margin: 0;
    color: #166534;
    font-size: 0.9rem;
}

.cne-booking--redesign .booking-note {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 12px;
    margin: 0;
    font-size: 0.84rem;
    color: #66615c;
}

@media (max-width: 1024px) {
    .cne-contact-grid { grid-template-columns: 1fr; }
    .cne-contact-left, .cne-contact-right { min-height: auto; }

    .cne-booking--redesign .booking-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cne-contact-left, .cne-contact-right { padding: 40px 16px; }
    .cne-contact-left .cne-contact-hero-card { padding: 28px 16px; }
    .cne-rdv-card-overlay { padding: 24px 16px; }
    .cne-simulator { padding: 20px 16px; }
    
    .cne-contact-intro h1 { font-size: 2rem; }
    
    .cne-booking--redesign .booking-dates,
    .cne-booking--redesign .booking-days { gap: 4px; }
    
    .cne-booking--redesign .booking-date-btn { min-height: 52px; padding: 4px; }
    .cne-booking--redesign .booking-date-btn .booking-date-num { font-size: 1.25rem; }
    .cne-booking--redesign .booking-date-btn .booking-date-day { font-size: 0.65rem; }
    
    .cne-booking--redesign .booking-step { padding: 6px 4px; font-size: 0.72rem; }
    .cne-booking--redesign .sim-title { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .cne-booking--redesign .booking-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .cne-booking--redesign .booking-week-label {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }

    .cne-booking--redesign .booking-nav-btn {
        flex: 0 1 auto;
        min-width: auto;
        padding: 8px 12px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .cne-booking--redesign .booking-slot-options {
        grid-template-columns: 1fr;
    }

    .cne-booking--redesign .booking-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cne-booking--redesign .sim-back,
    .cne-booking--redesign .sim-submit {
        width: 100%;
        text-align: center;
    }
}

.rdv-dropdown-content .cne-booking.cne-booking--redesign {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

/* Cache uniquement le titre puisque le dropdown a déjà un label visuel, mais garde le reste du design */
.rdv-dropdown-content .cne-booking.cne-booking--redesign .booking-head {
    display: none;
}

/* Force les grilles en 1 colonne car 380px est trop étroit pour 2 colonnes */
.rdv-dropdown-content .booking-form-grid,
.rdv-dropdown-content .booking-slot-options {
    grid-template-columns: 1fr;
}



/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: transparent;
    border: 0;
    position: relative;
    width: 32px;
    height: 32px;
}

.mobile-toggle:focus-visible {
    outline: 2px solid var(--navy-700);
    outline-offset: 2px;
}

.mobile-toggle .burger-icon,
.mobile-toggle .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--navy-800);
}

.mobile-toggle.active .burger-icon {
    display: none;
}

.mobile-toggle.active .close-icon {
    display: block !important;
}


@media (max-width: 768px) {

    .navbar-container .nav-links,
    .navbar-container .nav-cta,
    .navbar-container .nav-actions,
    .nav-links,
    .nav-cta,
    .nav-actions,
    .rdv-dropdown {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .mobile-toggle {
        display: flex !important;
    }
    
    .navbar {
        height: 50px !important;
    }
    
    .nav-logo {
        display: block !important;
    }
    
    body.mobile-nav-open .nav-logo {
        display: none !important;
    }
    
    .mobile-nav {
        top: 50px !important;
        padding: 8px 20px !important;
    }
    
    .navbar-container {
        padding: 0 20px !important;
    }
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 20px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Devis & Rendez-vous Pages */
.cne-devis-grid,
.cne-rdv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    min-height: calc(100vh - var(--nav-h) - 200px);
    align-items: start;
    padding: 48px 0;
}

@media (max-width: 1024px) {
    .cne-devis-grid,
    .cne-rdv-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.cne-devis-info,
.cne-rdv-info {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cne-devis-info h3,
.cne-rdv-info h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--navy-900);
}

.cne-devis-benefits,
.cne-rdv-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cne-devis-benefits li,
.cne-rdv-benefits li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cne-devis-benefits li:last-child,
.cne-rdv-benefits li:last-child {
    border-bottom: none;
}

.cne-devis-benefits .benefit-icon,
.cne-rdv-benefits .benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cne-devis-benefits strong,
.cne-rdv-benefits strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.cne-devis-benefits p,
.cne-rdv-benefits p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.cne-rdv-contact-alt {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.cne-rdv-contact-alt h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.cne-rdv-contact-alt p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.cne-rdv-contact-alt a {
    color: var(--royal);
    font-weight: 600;
}

.cne-rdv-contact-alt a:hover {
    text-decoration: underline;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

body.mobile-nav-open {
    overflow: hidden;
}

body.mobile-nav-open footer {
    display: none !important;
}

.mobile-dropdown {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-900);
    cursor: pointer;
    text-align: left;
}

.mobile-dropdown-arrow {
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.2s;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(45deg);
}

.mobile-dropdown-content {
    display: none;
    padding-bottom: 8px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 8px 0;
    font-weight: 500;
    color: var(--navy-900);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    margin: 0;
}

.mobile-sub-link {
    font-size: 0.85rem;
    color: var(--gray-500);
    padding: 6px 0;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .btn-primary {
    margin-top: 0;
    text-align: center;
    justify-content: center;
}

.mobile-cta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 16px 0;
    padding: 0;
}

.mobile-cta-row .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    width: 100% !important;
    margin: 0;
}

.mobile-rdv-cta,
.mobile-devis-cta {
    background: var(--navy-900) !important;
    color: #fff !important;
    border: none !important;
    height: 52px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.mobile-devis-cta {
    background: transparent !important;
    color: var(--navy-900) !important;
    border: 2px solid var(--navy-900) !important;
    height: 52px !important;
    margin: 0 !important;
}

.mobile-devis-cta:hover {
    background: var(--gray-100) !important;
}

.mobile-devis-cta:hover {
    background: var(--gray-100) !important;
}

.mobile-contact-cta {
    margin-top: 16px;
}

.mobile-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.mobile-rdv-cta {
    text-align: center;
    justify-content: center;
    border: 1.5px solid var(--royal);
    color: var(--royal);
}

.mobile-rdv-cta:hover {
    background: rgba(43, 94, 167, .06);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer layout fixes */
.footer {
    padding: 80px 48px 40px;
    background: var(--navy-900);
    color: var(--white);
}

.footer-cta-strip {
    max-width: 1200px;
    margin: 0 auto 44px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-cta-text h3 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
}

.footer-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.footer-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-cta-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.48);
    transform: translateY(-1px);
}

.footer-cta-link:focus-visible,
.footer ul a:focus-visible,
.footer-social a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-links-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group li {
    margin-bottom: 10px;
}

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

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

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 340px;
}

.footer-logo-link {
    margin-bottom: 24px;
}

.footer-logo-text {
    color: var(--white);
}

.footer h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.actualites-intro-wide {
    max-width: 640px;
    margin: 0 auto 64px;
}

.actualites-intro-medium {
    max-width: 600px;
    margin: 0 auto 48px;
}

.actualites-intro-text {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
}

.actualites-linkedin-text {
    color: var(--gray-600);
}

.actualites-grid-spacing {
    margin-bottom: 64px;
}

.actualites-thumb-fallback {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.actualites-fallback-icon {
    opacity: 0.3;
}

.actualites-date {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gray-400);
    margin-bottom: 10px;
    display: block;
}

.actualites-empty-state {
    text-align: center;
    padding: 80px 0;
    color: var(--gray-500);
}

.actualites-empty-icon {
    opacity: 0.3;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 14px;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-contact-list {
    margin-bottom: 30px;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-contact-item-address span {
    display: block;
}

.footer-social-wrap h4 {
    margin-bottom: 14px;
}

.footer-social {
    display: grid;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
}

.footer-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 24px;
    }

    .footer {
        padding: 64px 20px 32px;
    }

    .footer-cta-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        margin-bottom: 34px;
    }

    .footer-cta-link {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-social a {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   POLE EXPERTISE PAGES (Sidebar Etudes)
   ============================================ */
.pole-etudes-section .cne-etudes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: var(--sp-8);
}

.pole-etudes-section .cne-etudes-grid .cne-etude-card,
.pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child {
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid var(--gray-200) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    padding: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer !important;
    text-decoration: none;
    color: inherit;
}

.pole-etudes-section .cne-etudes-grid .cne-etude-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    color: inherit;
}

.pole-etudes-section .cne-etude-image,
.pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child .cne-etude-image {
    position: relative;
    width: 200px;
    height: auto;
    min-height: 100%;
    flex-shrink: 0;
}

.pole-etudes-section .cne-etude-image img,
.pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child .cne-etude-image img {
    filter: none !important;
    transform: none !important;
}

.pole-etudes-section .cne-etude-card:hover .cne-etude-image img {
    transform: scale(1.03) !important;
}

.pole-etudes-section .cne-etude-image::after {
    display: none !important;
}

.pole-etudes-section .cne-etude-content {
    position: relative !important;
    padding: 24px !important;
    background: #fff !important;
    color: var(--navy-900) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.pole-etudes-section .cne-etude-content .cne-etude-title,
.pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child .cne-etude-content .cne-etude-title {
    color: var(--navy-900) !important;
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
}

.pole-etudes-section .cne-etude-excerpt,
.pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child .cne-etude-excerpt {
    display: -webkit-box !important;
    color: var(--gray-600) !important;
    font-size: 0.9rem !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    margin: 0 !important;
}

.pole-etudes-section .cne-etude-card::after {
    display: none !important;
}

@media (max-width: 1300px) {

    .pole-etudes-section .cne-etudes-grid .cne-etude-card,
    .pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child {
        flex-direction: column;
    }

    .pole-etudes-section .cne-etude-image,
    .pole-etudes-section .cne-etudes-grid .cne-etude-card:first-child .cne-etude-image {
        width: 100%;
        height: 180px;
        min-height: 180px;
    }

    /* ============================================
   METHODOLOGY SECTION (Service Pages)
   ============================================ */
    .pole-methodology-section {
        margin: var(--sp-12) 0;
        padding-top: var(--sp-8);
        border-top: 1px solid var(--gray-100);
    }

    .pole-methodology-steps {
        display: flex;
        flex-direction: column;
        gap: var(--sp-6);
        position: relative;
    }

    /* Connecting line */
    .pole-methodology-steps::before {
        content: '';
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 20px;
        width: 2px;
        background: var(--gray-100);
        z-index: 1;
    }

    .methodology-step {
        position: relative;
        padding-left: calc(40px + var(--sp-6));
        z-index: 2;
    }

    .methodology-step .step-num {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--white);
        border: 2px solid var(--royal);
        color: var(--royal);
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        box-shadow: 0 0 0 4px var(--white);
    }

    .methodology-step h4 {
        margin-bottom: var(--sp-2);
        font-size: 1.125rem;
        color: var(--navy-800);
        padding-top: 8px;
        /* Align text with the circle */
    }

    .methodology-step p {
        color: var(--gray-600);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    /* ============================================
   AJC PARTNER SECTION (Service Pages)
   ============================================ */
    .pole-ajc-partner-section {
        margin: var(--sp-12) 0;
    }

    .pole-ajc-card {
        background: linear-gradient(135deg, rgba(43, 81, 150, 0.03) 0%, rgba(43, 81, 150, 0.08) 100%);
        border: 1px solid rgba(43, 81, 150, 0.1);
        border-radius: var(--r-lg);
        padding: var(--sp-8);
        border-left: 4px solid var(--royal);
    }

    .pole-ajc-content p {
        color: var(--gray-700);
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 0;
    }

    @media (max-width: 768px) {
        .pole-methodology-section {
            margin: var(--sp-8) 0;
        }

        .pole-ajc-partner-section {
            margin: var(--sp-8) 0;
        }

        .pole-ajc-card {
            padding: var(--sp-6);
        }
    }
}

@media (max-width: 768px) {
    .booking-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .booking-week-label {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }

    .booking-nav-btn {
        flex: 0 1 auto;
        min-width: auto;
        padding: 8px 12px;
        text-align: center;
    }
}

/* Header Logo responsive resize */
.header-main-logo {
    height: 64px !important;
    width: auto;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .header-main-logo {
        height: 48px !important;
    }
}

/* Équipe Page - Group Photo Header */
.equipe-header-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.equipe-group-photo {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .equipe-group-photo {
        max-height: 300px;
    }
}