/* ============================================
   YOUVANNA STARTER v2.6.0 — Design System
   Architecture : 1 seul fichier CSS, tout via variables
   Changer --color-primary change TOUT le site
   ============================================ */

/* --- Indivisa (fonts officielles La Salle, self-hosted, font-display: swap) --- */
/* Indivisa Display Serif — titres institutionnels */
@font-face {
    font-family: 'Indivisa Display Serif';
    src: url('../fonts/indivisa/indivisa_display_serif_thin.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Display Serif';
    src: url('../fonts/indivisa/indivisa_display_serif_thin_italic.woff2') format('woff2');
    font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Display Serif';
    src: url('../fonts/indivisa/indivisa_display_serif_regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Display Serif';
    src: url('../fonts/indivisa/indivisa_display_serif_regular_italic.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Display Serif';
    src: url('../fonts/indivisa/indivisa_display_serif_heavy.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Display Serif';
    src: url('../fonts/indivisa/indivisa_display_serif_heavy_italic.woff2') format('woff2');
    font-weight: 800; font-style: italic; font-display: swap;
}

/* Indivisa Display Sans — alternatif titre */
@font-face {
    font-family: 'Indivisa Display Sans';
    src: url('../fonts/indivisa/indivisa_display_sans-regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Display Sans';
    src: url('../fonts/indivisa/indivisa_display_sans-heavy.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}

/* Indivisa Text Sans — corps de texte */
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-light.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-light_italic.woff2') format('woff2');
    font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-regular_italic.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-bold_italic.woff2') format('woff2');
    font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Sans';
    src: url('../fonts/indivisa/indivisa_text_sans-black.woff2') format('woff2');
    font-weight: 900; font-style: normal; font-display: swap;
}

/* Indivisa Text Serif — lead, citations */
@font-face {
    font-family: 'Indivisa Text Serif';
    src: url('../fonts/indivisa/indivisa_text_serif_regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Indivisa Text Serif';
    src: url('../fonts/indivisa/indivisa_text_serif_bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* --- DESIGN TOKENS — Campus La Salle France (bleu marine institutionnel) --- */
:root {
    /* Bleu marine profond inspiré lasalle.org + accent or pour l'aspect institutionnel */
    --color-primary: #0A2540;
    --color-primary-rgb: 10, 37, 64;
    --color-primary-dark: #051729;
    --color-primary-light: rgba(var(--color-primary-rgb), .08);
    --color-secondary: #1E4D8C;
    --color-secondary-rgb: 30, 77, 140;
    --color-accent: #C8A15A;
    --color-accent-rgb: 200, 161, 90;
    --color-tertiary: #3B6EB0;
    --color-tertiary-rgb: 59, 110, 176;
    --color-tertiary-dark: #2a5285;
    --color-text: #0A2540;
    --color-text-light: #3d4d62;
    --color-text-muted: #6b7a90;
    --color-bg: #ffffff;
    --color-bg-alt: #F4F7FB;
    --color-border: #dce4ee;

    --color-highlight: #C8A15A;
    --color-red: #b91c1c;
    --color-turquoise: #3B6EB0;

    --color-error: #b91c1c;
    --color-error-dark: #7f1d1d;
    --color-error-bg: #fef2f2;
    --color-success: #15803d;
    --color-success-dark: #14532d;
    --color-success-bg: #ecfdf5;

    /* Degrades bleu marine (signature Campus La Salle) */
    --gradient-brand: linear-gradient(135deg, #0A2540 0%, #1E4D8C 55%, #3B6EB0 100%);
    --gradient-brand-reverse: linear-gradient(135deg, #3B6EB0 0%, #1E4D8C 55%, #0A2540 100%);
    --gradient-brand-warm: linear-gradient(135deg, #1E4D8C 0%, #C8A15A 100%);
    --gradient-brand-cool: linear-gradient(135deg, #0A2540 0%, #3B6EB0 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(10,37,64,.05) 0%, rgba(30,77,140,.04) 50%, rgba(59,110,176,.06) 100%);
    --gradient-brand-vivid: linear-gradient(120deg, #0A2540 0%, #1E4D8C 45%, #3B6EB0 100%);
    --gradient-text: linear-gradient(90deg, #0A2540 0%, #1E4D8C 50%, #C8A15A 100%);
    --gradient-hero-overlay: linear-gradient(135deg, rgba(10,37,64,.88) 0%, rgba(30,77,140,.78) 55%, rgba(10,37,64,.82) 100%);
    --gradient-hero-overlay-strong: linear-gradient(135deg, rgba(10,37,64,.94) 0%, rgba(30,77,140,.88) 55%, rgba(10,37,64,.92) 100%);

    /* Typo officielle La Salle : Indivisa Display Serif (titres) + Indivisa Text Sans (body) */
    --font-heading: 'Indivisa Display Serif', 'Georgia', serif;
    --font-heading-sans: 'Indivisa Display Sans', 'Inter', sans-serif;
    --font-body: 'Indivisa Text Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-serif: 'Indivisa Text Serif', 'Georgia', serif;

    /* Layout */
    --max-width: 1320px;
    --max-width-narrow: 860px;
    --max-width-wide: 1440px;
    --radius: 12px;
    --radius-sm: 8px;

    /* Ombres */
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,.04), 0 10px 15px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,.06), 0 20px 50px rgba(0,0,0,.08);

    /* Animation */
    --transition: .3s cubic-bezier(.4,0,.2,1);

    /* Header */
    --header-height: 72px;

    /* Premium design tokens */
    --color-dark: #0A2540;
    --color-dark-rgb: 10, 37, 64;
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(10,37,64,.12) 0px, transparent 55%), radial-gradient(at 82% 0%, rgba(30,77,140,.1) 0px, transparent 50%), radial-gradient(at 10% 70%, rgba(200,161,90,.08) 0px, transparent 55%), radial-gradient(at 80% 90%, rgba(59,110,176,.1) 0px, transparent 50%);
    --gradient-mesh-hero: radial-gradient(at 20% 25%, rgba(10,37,64,.42) 0px, transparent 55%), radial-gradient(at 85% 15%, rgba(30,77,140,.35) 0px, transparent 55%), radial-gradient(at 50% 85%, rgba(200,161,90,.18) 0px, transparent 55%);
    --gradient-blob: conic-gradient(from 140deg at 50% 50%, #0A2540 0%, #1E4D8C 35%, #3B6EB0 70%, #0A2540 100%);
    --noise-url: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    --ease-premium: cubic-bezier(.22,1,.36,1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: var(--header-height); overflow-x: hidden; }
[id] { scroll-margin-top: var(--header-height); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}
#main-content { flex: 1; }
img { max-width: 100%; height: auto; display: block; }

/* Skip link — accessibility */
.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--color-primary); color: #fff; padding: 8px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px; font-weight: 600; z-index: 10000;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--color-secondary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; }
h6 { font-size: 0.9rem; font-weight: 700; }

/* Colored highlight — mots surlignés dans les titres (style m5) */
.highlight {
    color: var(--color-primary);
    font-weight: inherit;
}
/* Hero h1 + CTA banner h2 stay fully white — highlight inherits color */
.hero-content h1 .highlight,
.page-hero .hero-content h1 .highlight,
.cta-banner .cta-content h2 .highlight,
.cta-content h2 .highlight { color: inherit; }

/* ============================================
   LAYOUT — Réutilisable partout
   ============================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-width-narrow); }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section:nth-child(even) { background: var(--color-bg-alt); }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* ============================================
   BUTTONS — Tous basés sur --color-primary
   ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-size: 15px; font-weight: 600;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .4s var(--ease-premium), opacity .4s var(--ease-premium), background-color .4s var(--ease-premium), border-color .4s var(--ease-premium), color .4s var(--ease-premium), box-shadow .4s var(--ease-premium);
    text-decoration: none;
    letter-spacing: -.01em;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: #fff; color: var(--color-secondary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-secondary-light { background: transparent; color: var(--color-secondary); border-color: var(--color-border); }
.btn-secondary-light:hover { background: var(--color-secondary); color: #fff; transform: translateY(-2px); }

/* ============================================
   HEADER / NAV
   ============================================ */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.96);
    /* NB : PAS de backdrop-filter ici - il cree un nouveau containing block CSS
       qui casse le position:fixed des enfants (.nav-mobile-cta menu burger mobile).
       Le bug se manifeste par un bouton Contact mobile invisible au-dessus du viewport.
       Si tu veux du blur, applique-le sur un pseudo-element ::before en position absolute. */
}
/* Composited box-shadow via ::before (opacity transition — no layout, GPU) */
#site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: opacity .2s ease;
    will-change: opacity;
    z-index: -1;
}
#site-header.scrolled::before { opacity: 1; }
.nav-container {
    max-width: var(--max-width-wide); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; height: var(--header-height);
}
.nav-logo img, .nav-logo .custom-logo { height: 40px; max-height: 40px; max-width: 180px; width: auto; object-fit: contain; }
@media (max-width: 960px) {
    .nav-logo img, .nav-logo .custom-logo { height: 34px; max-height: 34px; max-width: 150px; }
}
.nav-logo .site-name { font-size: 1.4rem; font-weight: 800; color: var(--color-secondary); }
.nav-menu { display: flex; gap: 4px; list-style: none; }
.nav-menu li a {
    display: block; padding: 8px 16px;
    font-size: 14px; font-weight: 500;
    color: var(--color-text); border-radius: var(--radius-sm);
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.nav-menu li a { position: relative; }
.nav-menu li a::after { content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px; height: 2px; background: var(--color-primary); transform: scaleX(0); transition: transform var(--transition); transform-origin: center; }
.nav-menu li a:hover::after, .nav-menu li.current-menu-item a::after { transform: scaleX(1); }
.nav-menu li a:hover,
.nav-menu li.current-menu-item a { color: var(--color-primary); background: var(--color-primary-light); }
/* Dropdown sub-menu */
.nav-menu li { position: relative; }
.nav-menu li .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: var(--radius-md, 8px); box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: transform .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; z-index: 100; }
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu li .sub-menu li a { padding: 10px 20px; font-size: 13px; white-space: nowrap; border-radius: 0; }
.nav-menu li .sub-menu li:not(.menu-item-has-children) a::after { display: none; }
.nav-menu li .sub-menu li a:hover { background: var(--color-primary-light, #f0f9ff); color: var(--color-primary); }
/* Chevron dropdown indicator */
.nav-menu li.menu-item-has-children > a { padding-right: 28px; } .nav-menu li.menu-item-has-children > a::after { content: ''; position: absolute; right: 10px; top: 50%; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); background: none; left: auto; bottom: auto; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--color-text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; }
.nav-mobile-cta { display: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-secondary); margin: 5px 0; transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); transform-origin: center; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO — Composant réutilisable (homepage + pages)
   ============================================ */
.hero, .page-hero {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background-color: var(--color-secondary);
    margin-top: var(--header-height);
    overflow: hidden;
}
.hero-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    z-index: 0;
    /* Initial scale matches the JS parallax transform to avoid jump on first scroll */
    transform: translateY(0) scale(1.1);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(var(--color-secondary-rgb),.55) 0%, rgba(var(--color-secondary-rgb),.75) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 24px; }
.hero-content h1 { color: #fff; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.hero-subtitle { color: rgba(255,255,255,.9); font-size: clamp(1rem, 2.5vw, 1.25rem); margin-bottom: 32px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CARDS — Composant réutilisable
   ============================================ */
.card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
a.card-clickable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--color-text-light); font-size: 15px; }
.card-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--color-primary); }
.card-link:hover { color: var(--color-primary-dark); }
.card-link:hover::after { transform: translateX(4px); }
.card-link::after { content: ''; display: inline-block; transition: transform var(--transition); }
.card-date { display: block; font-size: 13px; color: var(--color-text-light); margin-bottom: 8px; }

/* ============================================
   SECTION TITLES — Réutilisable
   ============================================ */
/* Section header — Framer-style badge + title with highlight */
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid rgba(var(--color-primary-rgb), .15);
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-badge + .section-title { margin-top: 0; }
.section-header { text-align: center; }
.section-title { text-align: center; margin-bottom: 12px; }
/* NOTE : pas de <mark> dans les titres — rule #17 */
.section-subtitle { text-align: center; color: var(--color-text-light); max-width: 640px; margin: 0 auto 48px; font-size: 17px; }

/* ============================================
   ABOUT / TEXT+IMAGE — Même layout
   ============================================ */
.about-section .grid-2 { align-items: start; }
.text-image-section .grid-2 { align-items: center; }
.about-image, .ti-image { overflow: visible; position: relative; }
.about-image { display: flex; flex-direction: column; gap: 24px; }
.about-image img, .ti-image img {
    display: block;
    width: 100%;
    border-radius: inherit;
}
.about-image .stats-grid { margin-top: 0; }
.about-content h2, .ti-content h2 { margin-bottom: 16px; }
.about-content p, .about-content div, .ti-content p, .ti-content div { color: var(--color-text-light); margin-bottom: 24px; }
.text-image-section.reverse .ti-image { order: -1; }

/* ============================================
   STATS — Premium number cards
   ============================================ */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.stats-grid-wide { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 0; gap: 24px; }
.stat {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 36px 24px 32px;
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    box-shadow: 0 4px 24px rgba(0,0,0,.04);
    position: relative;
    overflow: hidden;
    transition: transform .45s var(--ease-premium, cubic-bezier(.22,1,.36,1)), opacity .45s var(--ease-premium, cubic-bezier(.22,1,.36,1)), background-color .45s var(--ease-premium, cubic-bezier(.22,1,.36,1)), border-color .45s var(--ease-premium, cubic-bezier(.22,1,.36,1)), color .45s var(--ease-premium, cubic-bezier(.22,1,.36,1)), box-shadow .45s var(--ease-premium, cubic-bezier(.22,1,.36,1));
}
.stat::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 48px; height: 3px;
    background: var(--color-primary);
    border-radius: 0 0 3px 3px;
    transition: width .4s var(--ease-premium, ease);
}
.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.stat:hover::before { width: 100%; left: 0; transform: none; }
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-secondary);
    letter-spacing: -.03em;
}
.stat-label {
    color: var(--color-text);
    opacity: .65;
    font-size: 14.5px;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.45;
}

/* --- Variant: primary background --- */
.numbers-primary { background: var(--color-secondary) !important; }
.numbers-primary .stat {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.numbers-primary .stat::before { background: var(--color-primary); }
.numbers-primary .stat:hover { background: rgba(255,255,255,.12); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.numbers-primary .stat-number { color: #fff; }
.numbers-primary .stat-label { color: rgba(255,255,255,.65); }
.numbers-primary .section-title { color: #fff; }
.numbers-primary .section-subtitle { color: rgba(255,255,255,.7); }
.numbers-primary .section-badge { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.15); }

/* --- Variant: dark background --- */
.numbers-dark { background: var(--color-secondary) !important; }
.numbers-dark .stat {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.06);
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.numbers-dark .stat::before { background: var(--color-primary); }
.numbers-dark .stat:hover { background: rgba(255,255,255,.1); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.numbers-dark .stat-number { color: var(--color-primary); }
.numbers-dark .stat-label { color: rgba(255,255,255,.6); }
.numbers-dark .section-title { color: #fff; }
.numbers-dark .section-subtitle { color: rgba(255,255,255,.7); }
.numbers-dark .section-badge { color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }

/* ============================================
   TESTIMONIALS — Basé sur --color-primary
   ============================================ */
.testimonial-card {
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--color-accent); font-size: 18px; margin-bottom: 16px; }
.testimonial-card blockquote { font-style: italic; color: var(--color-text-light); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; color: var(--color-secondary); }
.testimonial-author span { font-size: 13px; color: var(--color-text-light); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.faq-item summary {
    padding: 20px 24px;
    font-weight: 600; font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--color-primary); transition: transform var(--transition); }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--color-primary); }
.faq-item summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; border-radius: var(--radius); }
.faq-answer { padding: 0 24px 20px; color: var(--color-text-light); line-height: 1.7; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   CTA BANNER — Overlay basé sur --color-primary
   ============================================ */
.cta-banner {
    position: relative; padding: 80px 24px;
    text-align: center;
    background-color: var(--color-secondary);
    overflow: hidden;
}
.cta-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 18% 12%, rgba(255,255,255,.09) 0%, transparent 60%),
        linear-gradient(120deg,
            rgba(var(--color-primary-rgb), .92) 0%,
            rgba(var(--color-primary-rgb), .90) 38%,
            rgba(var(--color-secondary-rgb), .90) 72%,
            rgba(var(--color-secondary-rgb), .88) 100%);
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: #fff; margin-bottom: 16px; }
.cta-content p,
.cta-content .cta-text { color: #fff; margin-bottom: 48px; font-size: 17px; line-height: 1.7; }
.cta-content .cta-text p { margin-bottom: 0; }
.cta-banner .btn-primary { background: #fff; color: var(--color-primary); }
.cta-banner .btn-primary:hover { background: var(--color-bg-alt); }

/* ============================================
   CONTACT FORM (CF7) — Basé sur --color-primary
   ============================================ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%; padding: 14px 18px;
    font-size: 15px; font-family: var(--font-body);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
    background: #fff;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
    outline: none; border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input[type="submit"] {
    background: var(--color-primary); color: #fff;
    padding: 14px 32px; border: none;
    border-radius: var(--radius); font-size: 15px; font-weight: 600;
    cursor: pointer; transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.wpcf7 input[type="submit"]:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-info h3 { margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.contact-info-item .icon {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Font Awesome icons — inherit theme colors */
.card-icon i, .contact-info-item .icon i {
    font-size: inherit;
    color: inherit;
}
/* ============================================
   FOOTER — Basé sur --color-secondary
   ============================================ */
#site-footer { background: var(--color-secondary); color: rgba(255,255,255,.7); }
.footer-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 64px;
}
.footer-links {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.footer-brand .footer-logo img,
.footer-brand .footer-logo .custom-logo { height: 48px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 16px; }
/* Si le logo est monochrome (noir), l'inverser pour fond sombre. Marquer le logo via theme_mod yv_footer_invert_logo */
.footer-brand.logo-invert .footer-logo img,
.footer-brand.logo-invert .footer-logo .custom-logo { filter: brightness(0) invert(1); }
.footer-brand .footer-logo span { font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-description { font-size: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a { font-size: 13px; color: rgba(255,255,255,.5); padding: 4px 8px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); }
.footer-social a:hover { color: #fff; border-color: var(--color-primary); transform: translateY(-2px); }
.footer-social a { transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); }
#site-footer h3 { color: rgba(255,255,255,.4); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.footer-menu { list-style: none; }
.footer-menu li a { display: block; padding: 4px 0; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-menu li a:hover { color: #fff; }
.footer-contact a, .footer-contact p { display: block; margin-bottom: 8px; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
    max-width: var(--max-width); margin: 48px auto 0; padding: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px;
}
.footer-bottom a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   BLOG — Article single (see enhanced styles below)
   ============================================ */
.pagination { text-align: center; margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span { padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid var(--color-border); font-size: 14px; }
.pagination a:hover { background: var(--color-bg-alt); border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============================================
   PAGE CONTENT (WP editor)
   ============================================ */
.page-content-section p { margin-bottom: 16px; color: var(--color-text-light); }
.page-content-section h2 { margin: 32px 0 16px; }
.page-content-section ul, .page-content-section ol { margin: 16px 0; padding-left: 24px; }
.page-content-section li { margin-bottom: 8px; color: var(--color-text-light); }

/* ============================================
   BLOG CARDS — Listing articles
   ============================================ */
.blog-card-link { display: block; color: inherit; text-decoration: none; }
.blog-card-link:hover { color: inherit; }
.blog-card-placeholder { height: 240px; display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt, #f8fafc); color: var(--color-text-light); }
/* Defensive: blog-card images use contain on a soft neutral background so small/banner source images are never stretched. Proper 16:10 images still look great since contain fills the ratio when source matches. */
.blog-card img {
    object-fit: contain !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #eaf0f4 100%);
    padding: 8px;
}
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 13px; color: var(--color-text-light); }
.blog-card-meta time { display: inline; }
.blog-card-cat { background: var(--color-primary); color: #fff; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.blog-card .card-body h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.blog-card .card-body p { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Article single — meilleur design */
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; font-size: 14px; color: var(--color-text-light); }
.article-cat { background: var(--color-primary); color: #fff; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.article-content { font-size: 17px; line-height: 1.8; color: var(--color-text); }
.article-content p { margin-bottom: 20px; }
.article-content h2 { margin: 40px 0 16px; font-size: 28px; }
.article-content h3 { margin: 32px 0 12px; font-size: 22px; }
.article-content img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; height: auto; }
.article-content blockquote { border-left: 4px solid var(--color-primary); padding: 16px 24px; margin: 24px 0; background: var(--color-bg-alt, #f8fafc); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--color-text-light); }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.article-cta { margin-top: 48px; padding: 32px; background: var(--color-bg-alt); border-radius: var(--radius); border-left: 4px solid var(--color-primary); text-align: center; }
.article-cta p { margin-bottom: 12px; color: var(--color-text-light); }
.article-cta p strong { color: var(--color-text); font-size: 18px; }
.article-cta .btn { margin-top: 8px; }

/* ============================================
   ANIMATIONS — Scroll reveal + stagger + parallax
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children (cards, stats, faq items) — Framer-style fade-in-up */
.reveal .card,
.reveal .faq-item,
.reveal .stat,
.reveal .testimonial-card,
.reveal .team-member,
.reveal .card-minimal,
.reveal .card-steps {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal.visible .card,
.reveal.visible .faq-item,
.reveal.visible .stat,
.reveal.visible .testimonial-card,
.reveal.visible .team-member,
.reveal.visible .card-minimal,
.reveal.visible .card-steps {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle content parallax on images inside about / text+image sections */
.about-image img,
.ti-image img,
.text-image-section img {
    transition: transform 1.2s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}
.reveal .about-image img,
.reveal .ti-image img,
.reveal.text-image-section img {
    transform: scale(1.06);
}
.reveal.visible .about-image img,
.reveal.visible .ti-image img,
.reveal.visible.text-image-section img {
    transform: scale(1);
}

/* Counter animation — numbers start invisible until JS kicks in */
.stat-number {
    transition: none;
}

/* Parallax — prevent background clipping */
.hero, .page-hero, .cta-banner {
    background-attachment: scroll;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal .card, .reveal .faq-item, .reveal .stat, .reveal .testimonial-card, .reveal .team-member,
    .reveal .card-minimal, .reveal .card-steps,
    .reveal .about-image img, .reveal .ti-image img, .reveal.text-image-section img,
    .reveal .image-stat-badge, .reveal.visible .image-stat-badge {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    .marquee-track { animation: none !important; }
    .stat-number { transition: none !important; }
    .image-frame::before { transform: translate(10px, 10px) !important; transition: none !important; }
    .image-frame.is-right::before { transform: translate(-10px, 10px) !important; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .services-grid-tall .card img { height: 170px; }
}
@media (max-width: 960px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .services-section { padding: 64px 0; }
    .services-section .section-subtitle { margin-bottom: 36px; }
    .services-grid-tall .card img { height: 160px; }
    .nav-menu, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-menu.active {
        display: flex; flex-direction: column;
        position: absolute; top: var(--header-height); left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--color-border);
        padding: 16px; box-shadow: var(--shadow-lg); z-index: 999;
        max-height: calc(100vh - var(--header-height)); overflow-y: auto;
    }
    .nav-cta { display: none !important; }
    .nav-mobile-cta {
        display: none; flex-direction: column; gap: 12px;
        padding: 16px; border-top: 1px solid var(--color-border);
    }
    .nav-menu.active ~ .nav-mobile-cta {
        display: flex;
    }
    /* Mobile sub-menus : inline au lieu d'absolute/hover */
    .nav-menu.active li { width: 100%; }
    .nav-menu.active > li > a { min-height: 48px; padding: 12px 16px; }
    .nav-menu.active li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--color-bg-alt);
        border-radius: var(--radius-sm);
        margin: 4px 0 8px;
        padding: 8px 0;
        display: none;
    }
    .nav-menu.active li.submenu-open > .sub-menu { display: block; }
    .nav-menu.active li .sub-menu .sub-menu { margin-left: 16px; }
    .nav-menu.active li .sub-menu li a { min-height: 44px; padding: 10px 20px; }
    .nav-menu.active li.menu-item-has-children > a::after {
        transition: transform .2s ease;
    }
    .nav-menu.active li.submenu-open.menu-item-has-children > a::after {
        transform: translateY(-50%) rotate(-135deg);
    }
    .section { padding: 64px 0; }
    .hero { min-height: 70vh; }
    .text-image-section .grid-2 { gap: 32px; }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .services-grid-tall .card img { height: 180px; }
    .card-icon-badge { width: 56px; height: 56px; font-size: 1.4rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .about-section .grid-2 { gap: 24px; }
    .gallery-item img { height: 200px; }
    .section { padding: 56px 0; }
    .stat-number { font-size: 2.2rem; }
    .stat { padding: 20px 16px; }
    .cta-banner { padding: 64px 24px; }
    .stats-grid-wide { grid-template-columns: 1fr 1fr; }
    .testimonial-card { padding: 24px; }
    .marquee-track .testimonial-card { min-width: 280px; max-width: 320px; }
    .marquee-track { gap: 16px; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    .page-hero {
        aspect-ratio: auto !important;
        min-height: 208px;
        padding: 45px 0 38px;
        width: 100%;
        max-width: 100vw;
    }
    .page-hero .hero-content { padding: 16px 20px; max-width: 100%; }
    .page-hero .hero-content h1 { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.25; word-wrap: break-word; }
    .page-hero .hero-subtitle { font-size: 15px; line-height: 1.55; }
    .hero { min-height: 60vh; width: 100%; max-width: 100vw; }
    .hero-content { padding: 16px 20px; max-width: 100%; }
    .hero-bg-img { width: 100%; max-width: 100%; }
    .article-nav { flex-direction: column; gap: 12px; }
    .article-nav .btn { width: 100%; justify-content: center; }
    .article-cta { padding: 24px 20px; }
    .contact-info-item { align-items: center; }
}

/* ============================================
   DESIGN UPGRADE — Premium touches
   ============================================ */

/* Smooth gradient accent line under header */
#site-header { border-bottom: none; }
#site-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    opacity: .7;
}

/* Hero improvements — bigger impact */
.hero { min-height: 85vh; }
.hero-content { max-width: 880px; }
.hero-content h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: -.02em; }
.hero-subtitle { font-size: clamp(1.05rem, 2.5vw, 1.2rem); max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-buttons .btn-primary { font-size: 16px; padding: 16px 36px; }
.hero-buttons .btn-secondary { font-size: 16px; padding: 16px 36px; }

/* Section spacing improvements */
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.01em; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; line-height: 1.7; }

/* Cards — more polished */
.card { border: 1px solid var(--color-border); box-shadow: none; }
a.card-clickable:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card img { height: 240px; object-fit: cover; }
.card-body { padding: 28px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card-body p { font-size: 15px; line-height: 1.7; }

/* Card icon — fallback when no image (rendered at top of card) */
.card > .card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 28px 0 0 28px;
    color: #fff;
}

/* Card icon badge — rounded square, overlapping image/body boundary */
.card-icon-badge {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 18px;
    box-shadow: 0 10px 24px -10px rgba(15,23,42,.25);
}
.card-icon-badge i { line-height: 1; }

/* Services section — compact portrait cards */
.services-section { padding: 96px 0; }
.services-section .section-title { margin-bottom: 14px; }
.services-section .section-subtitle { max-width: 760px; margin: 0 auto 56px; }

.services-grid-tall .card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 18px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 4px 28px -10px rgba(15,23,42,.12);
    transition: box-shadow var(--transition), transform var(--transition);
}
.services-grid-tall a.card-clickable:hover {
    box-shadow: 0 18px 48px -18px rgba(15,23,42,.22);
    border-color: transparent;
    transform: translateY(-4px);
}
.services-grid-tall .card img {
    width: 100%;
    height: 196px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
}
.services-grid-tall .card-body {
    position: relative;
    padding: 32px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}
.services-grid-tall .card-body .card-icon-badge {
    position: absolute;
    top: -22px;
    left: 22px;
    margin: 0;
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
    background: var(--gradient-brand);
}
.services-grid-tall .card-body h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0 0 8px;
    letter-spacing: -.01em;
    color: var(--color-text, #0f172a);
}
.services-grid-tall .card-body .card-text,
.services-grid-tall .card-body p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text-muted, #5b6472);
    margin: 0 0 10px;
}
.services-grid-tall .card-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
}

/* ============================================
   CARDS VARIANTS — mises en page alternatives
   ============================================ */

/* Shared: remove default .card border on all variants */
.cards-layout-featured .card,
.cards-layout-horizontal .card,
.cards-layout-steps .card,
.cards-layout-minimal .card { border: none; }

/* ---- Variant: featured ---- */
/* 1 big feature card (spans 2 cols + 2 rows) + smaller cards auto-placing around */
.cards-layout-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cards-layout-featured .card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 28px -10px rgba(15,23,42,.12);
    display: flex; flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}
.cards-layout-featured a.card-clickable:hover {
    box-shadow: 0 18px 48px -18px rgba(15,23,42,.22);
    transform: translateY(-3px);
}
.cards-layout-featured .card img {
    width: 100%; height: 220px; object-fit: cover; display: block;
}
.cards-layout-featured .card-body {
    padding: 24px 26px 28px;
    display: flex; flex-direction: column; flex: 1;
}
.cards-layout-featured .card-body h3 {
    font-size: 1.15rem; margin: 0 0 10px; line-height: 1.3;
}
.cards-layout-featured .card-body .card-text,
.cards-layout-featured .card-body p {
    font-size: 14.5px; line-height: 1.65; color: var(--color-text-muted, #5b6472); margin: 0 0 16px;
}
.cards-layout-featured .card-link {
    margin-top: auto; font-weight: 600; font-size: 14px; color: var(--color-primary);
}
.cards-layout-featured .card:first-child { grid-column: span 2; grid-row: span 2; }
.cards-layout-featured .card:first-child img { height: 420px; }
.cards-layout-featured .card:first-child .card-body { padding: 32px 36px 36px; }
.cards-layout-featured .card:first-child .card-body h3 { font-size: 1.6rem; margin-bottom: 14px; }
.cards-layout-featured .card:first-child .card-body .card-text,
.cards-layout-featured .card:first-child .card-body p { font-size: 16px; }

/* ---- Variant: horizontal ---- */
/* Vertical stack of horizontal list-item cards: image left, text right */
.cards-layout-horizontal {
    display: flex; flex-direction: column; gap: 24px;
    max-width: 1040px; margin: 0 auto;
}
.cards-layout-horizontal .card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px -10px rgba(15,23,42,.1);
    transition: box-shadow var(--transition), transform var(--transition);
}
.cards-layout-horizontal a.card-clickable:hover {
    box-shadow: 0 16px 40px -16px rgba(15,23,42,.2);
    transform: translateX(4px);
}
.cards-layout-horizontal .card img {
    width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: 0;
}
.cards-layout-horizontal .card-body {
    padding: 28px 32px;
    display: flex; flex-direction: column; justify-content: center; flex: 1;
}
.cards-layout-horizontal .card-body h3 {
    font-size: 1.3rem; margin: 0 0 10px;
}
.cards-layout-horizontal .card-body .card-text,
.cards-layout-horizontal .card-body p {
    font-size: 15px; line-height: 1.7; color: var(--color-text-muted, #5b6472); margin: 0 0 14px;
}
.cards-layout-horizontal .card-link {
    font-weight: 600; font-size: 14px; color: var(--color-primary);
}

/* ---- Variant: steps ---- */
/* Horizontal row of numbered step cards with big number in corner */
.cards-layout-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.cards-layout-steps .card-steps {
    position: relative;
    padding: 48px 28px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px -10px rgba(15,23,42,.08);
    transition: box-shadow var(--transition), transform var(--transition);
}
.cards-layout-steps a.card-clickable.card-steps:hover {
    box-shadow: 0 16px 40px -16px rgba(15,23,42,.18);
    transform: translateY(-4px);
}
.cards-layout-steps .card-number {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    opacity: .25;
    letter-spacing: -.02em;
}
.cards-layout-steps .card-body { padding: 0; text-align: left; }
.cards-layout-steps .card-body h3 {
    font-size: 1.15rem; margin: 0 0 10px; line-height: 1.35;
}
.cards-layout-steps .card-body .card-text,
.cards-layout-steps .card-body p {
    font-size: 14.5px; line-height: 1.65; color: var(--color-text-muted, #5b6472); margin: 0 0 14px;
}
.cards-layout-steps .card-link {
    font-weight: 600; font-size: 14px; color: var(--color-primary);
}

/* ---- Variant: minimal ---- */
/* No image, large numbers, minimal text — for "Reasons to choose" type sections */
.cards-layout-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 44px 40px;
    max-width: 1160px; margin: 0 auto;
}
.cards-layout-minimal .card-minimal {
    position: relative;
    padding: 28px 28px 32px 96px;
    background: transparent;
    box-shadow: none;
    border-radius: 14px;
    transition: background 0.5s ease;
}
.cards-layout-minimal .card-minimal::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.045), rgba(var(--color-primary-rgb), 0) 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}
.cards-layout-minimal .card-minimal:hover::before {
    opacity: 1;
}
.cards-layout-minimal .card-minimal::after {
    content: '';
    position: absolute;
    left: 96px; bottom: 18px;
    width: 40px; height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}
.cards-layout-minimal .card-minimal:hover::after {
    transform: scaleX(1);
}
.cards-layout-minimal .card-number {
    position: absolute;
    top: 22px; left: 12px;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.03em;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}
.cards-layout-minimal .card-minimal:hover .card-number {
    transform: translateY(-3px) scale(1.05);
}
.cards-layout-minimal .card-body { padding: 0; text-align: left; position: relative; z-index: 1; }
.cards-layout-minimal .card-body h3 {
    font-size: 1.25rem; margin: 0 0 12px; line-height: 1.3;
    transition: color 0.4s ease;
}
.cards-layout-minimal .card-minimal:hover .card-body h3 {
    color: var(--color-primary);
}
.cards-layout-minimal .card-body .card-text,
.cards-layout-minimal .card-body p {
    font-size: 15px; line-height: 1.75; color: var(--color-text-muted, #5b6472); margin: 0;
}
.cards-layout-minimal .card-link { display: none; }

/* Responsive for variants */
@media (max-width: 1100px) {
    .cards-layout-featured { grid-template-columns: repeat(2, 1fr); }
    .cards-layout-featured .card:first-child { grid-column: span 2; grid-row: auto; }
    .cards-layout-featured .card:first-child img { height: 320px; }
}
@media (max-width: 768px) {
    .cards-layout-featured { grid-template-columns: 1fr; }
    .cards-layout-featured .card:first-child { grid-column: auto; }
    .cards-layout-featured .card:first-child img { height: 240px; }
    .cards-layout-featured .card:first-child .card-body h3 { font-size: 1.3rem; }
    .cards-layout-horizontal .card {
        grid-template-columns: 1fr;
    }
    .cards-layout-horizontal .card img { height: 220px; min-height: auto; }
    .cards-layout-horizontal a.card-clickable:hover { transform: none; }
    .cards-layout-minimal { gap: 32px; }
    .cards-layout-minimal .card-minimal { padding-left: 70px; }
    .cards-layout-minimal .card-number { font-size: 2.6rem; }
}

/* About / Text+Image — upgraded styling */
.about-image, .ti-image { border-radius: 16px; position: relative; }
.about-image img, .ti-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    width: 100%;
}
.about-content h2, .ti-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.about-content p, .ti-content p { font-size: 16px; line-height: 1.8; }

/* ============================================
   IMAGE FRAME + FLOATING STAT BADGES — Framer style
   ============================================ */
.image-frame {
    position: relative;
    display: block;
    width: calc(100% - 22px);
    max-width: calc(100% - 22px);
    margin: 0 22px 26px 0;
    border-radius: 18px;
    overflow: visible;
}
.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid rgba(var(--color-accent-rgb), .4);
    pointer-events: none;
    z-index: 0;
    transform: translate(14px, 14px);
    transition: transform .7s cubic-bezier(.22,1,.36,1), border-color .4s ease;
}
.image-frame:hover::before {
    transform: translate(8px, 8px);
    border-color: rgba(var(--color-primary-rgb), .55);
}
.image-frame > img,
.image-frame picture > img {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    width: 100%;
    display: block;
}
/* When image is in the right column of a grid: flip offset to the left so
   the decorative border stays in the gutter, not on top of the text. */
.image-frame.is-right {
    margin: 0 0 26px 22px;
}
.image-frame.is-right::before {
    transform: translate(-14px, 14px);
}
.image-frame.is-right:hover::before {
    transform: translate(-8px, 8px);
}

/* Floating stat badge overlay */
.image-stat-badge {
    position: absolute;
    bottom: -22px;
    right: -18px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 18px 40px -14px rgba(15,23,42,.25), 0 6px 16px -8px rgba(15,23,42,.15);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    min-width: 170px;
    animation: yvFloatBob 4.2s ease-in-out infinite;
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.image-stat-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -14px rgba(15,23,42,.30), 0 10px 20px -8px rgba(15,23,42,.18);
}
.image-stat-badge.is-top-left    { top: -22px; left: -18px; bottom: auto; right: auto; animation-delay: -2s; }
.image-stat-badge.is-top-right   { top: -22px; right: -18px; bottom: auto; left: auto; animation-delay: -1s; }
.image-stat-badge.is-bottom-left { bottom: -22px; left: -18px; top: auto; right: auto; animation-delay: -3s; }
.image-stat-badge.is-bottom-right{ bottom: -22px; right: -18px; top: auto; left: auto; }

.image-stat-badge__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    background: var(--gradient-brand);
    flex-shrink: 0;
    box-shadow: 0 6px 14px -6px rgba(var(--color-primary-rgb), .5);
}
.image-stat-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.image-stat-badge__number {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.image-stat-badge__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-light, #64748b);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 4px;
    white-space: nowrap;
}

@keyframes yvFloatBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Entry animation: badge comes in after image reveals */
.reveal .image-stat-badge { opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); transition-delay: .5s; animation: none; }
.reveal.visible .image-stat-badge { opacity: 1; transform: translateY(0) scale(1); animation: yvFloatBob 4.2s ease-in-out infinite 1.3s; }

@media (max-width: 768px) {
    .image-frame, .image-frame.is-right {
        width: 100%;
        max-width: 100%;
        margin: 0 0 24px 0;
    }
    .image-frame::before { transform: translate(10px, 10px); }
    .image-frame.is-right::before { transform: translate(-10px, 10px); }
    .image-stat-badge {
        right: 8px !important;
        left: auto !important;
        top: auto !important;
        bottom: 8px !important;
        min-width: 140px;
        padding: 10px 14px;
    }
    .image-stat-badge__number { font-size: 1.35rem; }
    .image-stat-badge__icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
    .image-stat-badge__label { font-size: 10px; }
}

/* Stats — sizing handled by base .stat rules above */

/* Testimonials - premium card style with gradient accent */
.testimonial-card {
    border-left: none;
    border-radius: 20px;
    padding: 36px 36px 32px;
}
.marquee-track .testimonial-card {
    min-width: 340px;
    max-width: 420px;
    flex-shrink: 0;
}
.testimonial-card blockquote { font-size: 16px; line-height: 1.8; }
.testimonial-author img { width: 52px; height: 52px; border: 2px solid var(--color-primary-light); }

/* Testimonials marquee — horizontal infinite scroll */
.testimonials-marquee {
    overflow: hidden;
    padding: 8px 0 16px;
}
.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    padding: 8px 0;
    will-change: transform;
}
.marquee-track[data-direction="right"] {
    animation-name: marquee-scroll-reverse;
}
.testimonials-marquee:hover .marquee-track {
    animation-play-state: paused;
}
/* Two rows: add gap between */
.marquee-track + .marquee-track {
    margin-top: 24px;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
/* (consolidated into main 768px block) */

/* CTA — more dramatic gradient */
.cta-banner { padding: 96px 24px; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-content p { font-size: 18px; line-height: 1.7; }

/* FAQ — better interactions */
.faq-item { border-radius: 12px; }
.faq-item summary { font-size: 17px; padding: 22px 28px; }
.faq-answer { padding: 0 28px 24px; font-size: 16px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease; }
.faq-answer p { margin-bottom: 12px; }

/* Page hero — more dramatic for interior pages (desktop/tablet only) */
@media (min-width: 769px) {
    .page-hero { min-height: 28vh; aspect-ratio: 16 / 4; }
    .page-hero .hero-content h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
}

/* Numbers section — better grid on desktop */
.numbers-primary, .numbers-dark { border-radius: 0; }
.numbers-primary .stats-grid-wide,
.numbers-dark .stats-grid-wide {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Text+Image — better spacing */
.text-image-section { padding: 96px 0; }
.text-image-section .grid-2 { gap: 48px; }
.ti-content { padding: 16px 0; }

/* Contact improvements */
.contact-grid { gap: 64px; }
.contact-info-item { margin-bottom: 28px; }
.contact-info-item .icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
}

/* Maps */
.contact-map iframe { border-radius: var(--radius); }

/* Footer refinement */
#site-footer { padding: 80px 0 0; }
.footer-container { gap: 64px; }
.footer-brand .footer-logo span { font-size: 1.5rem; }
.footer-description { font-size: 15px; margin-top: 12px; }

/* Blog cards enhancement */
.blog-card .card-body { padding: 24px 28px; }
.blog-card .card-body h3 { font-size: 1.15rem; }

/* Print styles */
@media print {
    #site-header, #site-footer, .cta-banner, .nav-toggle { display: none !important; }
    .hero, .page-hero { min-height: auto; padding: 32px 0; }
    .hero-overlay, .cta-overlay { display: none; }
    .section { padding: 24px 0; }
}

/* (consolidated into main 960px block above) */
/* (consolidated into main 768px block) */

/* Badge + title centering for all sections */
.cards-section .container, .services-section .container, .testimonials-section .container, .faq-section .container, .numbers-section .container, .team-section .container, .gallery-section .container, .video-section .container { text-align: center; }
.cards-section .grid, .services-section .grid, .faq-section .faq-list, .team-section .grid, .gallery-section .grid { text-align: left; }

/* 404 page */
.error-404-section { min-height: 60vh; display: flex; align-items: center; margin-top: var(--header-height); }
.error-404 { text-align: center; }
.error-404-code { font-size: 6rem; color: var(--color-primary); line-height: 1; margin-bottom: 8px; }
.error-404-text { font-size: 1.2rem; color: var(--color-text-light); margin: 16px 0 32px; }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 44px; height: 44px;
    background: var(--color-primary); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; box-shadow: var(--shadow-md);
    opacity: 0; pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); color: #fff; }
.back-to-top:active { transform: scale(.92); }
/* (consolidated into main 768px block) */

/* Video section */
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Team section — cards statiques (rule #18 : pas de transform sur non-cliquable) */
.team-member { text-align: center; transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); border-radius: var(--radius); overflow: hidden; padding-bottom: 24px; }
.team-member img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.team-member-info h3 { margin-bottom: 4px; }
.team-role { display: block; color: var(--color-primary); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.team-member-info p { font-size: 14px; color: var(--color-text-light); }

/* Text section (WYSIWYG) */
.text-section-content { line-height: 1.8; font-size: 17px; }
.text-section-content p { margin-bottom: 16px; }
.text-section-content h2 { margin: 32px 0 16px; }
.text-section-content h3 { margin: 24px 0 12px; }
.text-section-content ul, .text-section-content ol { margin: 16px 0; padding-left: 24px; }
.text-section-content li { margin-bottom: 8px; }
.text-section-content img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; height: auto; }
.text-section-content blockquote { border-left: 4px solid var(--color-primary); padding: 16px 24px; margin: 24px 0; background: var(--color-bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }

/* Footer social icons */
.footer-social a i { font-size: 15px; }
.footer-social .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Search no results */
.search-no-results { text-align: center; padding: 48px 0; }
.search-no-results p { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 24px; }

/* Body scroll lock (mobile menu) */
body.overflow-hidden { overflow: hidden; }

/* Focus-visible — WCAG 2.1 AA compliance */
a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 2px; }
.gallery-item:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.back-to-top:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.card-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.blog-card-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius); }

/* Gallery hover overlay */
.gallery-item { position: relative; }
.gallery-item::after {
    content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(var(--color-secondary-rgb), .4);
    color: #fff; font-size: 24px;
    opacity: 0; transition: opacity var(--transition);
    border-radius: var(--radius);
}
.gallery-item:hover::after { opacity: 1; }

/* Map section (flex content) */
.map-section .container { text-align: center; }
.map-wrapper iframe { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* CF7 form states */
.wpcf7 .wpcf7-not-valid { border-color: var(--color-error) !important; }
.wpcf7 .wpcf7-not-valid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.15); }
.wpcf7 .wpcf7-response-output { border-radius: var(--radius); padding: 16px 20px; font-size: 14px; margin-top: 16px; }
.wpcf7 .wpcf7-mail-sent-ok, .wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok { border-color: var(--color-success); color: var(--color-success-dark); background: var(--color-success-bg); }
.wpcf7 .wpcf7-validation-errors { border-color: var(--color-error); color: var(--color-error-dark); background: var(--color-error-bg); }
.wpcf7 label { display: block; font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
/* Webhook sync test — 2026-04-08T15:31:50Z */

/* Card clickable — toute la carte est un lien */
a.card-clickable {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.card-clickable:hover { text-decoration: none; color: inherit; }
a.card-clickable .card-link { color: var(--color-primary); }
a.card-clickable:hover .card-link { color: var(--color-primary-dark); }

/* Nested sub-menus — open to the right */
.nav-menu li .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(8px);
    margin-top: -8px;
}
.nav-menu li .sub-menu li:hover > .sub-menu {
    opacity: 1; visibility: visible; transform: translateX(0);
}
/* Chevron right for nested dropdown parent */
.nav-menu .sub-menu li.menu-item-has-children > a::after {
    display: block !important;
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    background: none;
    left: auto;
    bottom: auto;
}
/* Header items vertical alignment */
.nav-menu > li > a {
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 60px;
}

/* ============================================
   SFSCMFCO DESIGN ENHANCEMENTS
   ============================================ */

/* Hero — overlay teinté primaire + touche d'accent */
.hero-overlay { background: linear-gradient(135deg, rgba(var(--color-secondary-rgb),0.82) 0%, rgba(var(--color-primary-rgb),0.55) 55%, rgba(var(--color-accent-rgb),0.42) 100%); }

/* Section badges - refined pill style */
.section-badge {
    background: rgba(var(--color-primary-rgb), .06);
    color: var(--color-primary);
    border: 1px solid rgba(var(--color-primary-rgb),.12);
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 11.5px;
    letter-spacing: .14em;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 18px;
}

/* Cards — refined hover */
.card { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
a.card-clickable:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* About section — gradient accent line */
.about-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    margin-top: 16px;
    border-radius: 2px;
}

/* Stats counter — dark/primary variants get gradient numbers */
.numbers-dark .stat-number,
.numbers-primary .stat-number {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA banner — dégradé primaire + accent */
.cta-banner { position: relative; overflow: hidden; }
.cta-overlay { background: linear-gradient(135deg, rgba(var(--color-secondary-rgb),0.90) 0%, rgba(var(--color-primary-rgb),0.82) 45%, rgba(var(--color-accent-rgb),0.72) 100%); }
.cta-banner .btn-primary { background: #fff; color: var(--color-primary); position: relative; z-index: 1; }
.cta-banner .btn-primary:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* Section text_image — better layout */
.text-image-section .container { gap: 48px; }

/* Team members grid */
.team-member { text-align: center; }
.team-member img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; border: 3px solid var(--color-primary-light); }

/* FAQ — refined accordion */
.faq-item { border-left: 3px solid var(--color-primary); }
.faq-item[open] { border-left-color: var(--color-accent); }

/* Page hero — gradient overlay (CSS vars only) */
.page-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(var(--color-secondary-rgb),0.80) 0%, rgba(var(--color-primary-rgb),0.55) 100%);
}

/* Congress section on homepage */
.congres-section .card img { height: 200px; object-fit: cover; }
.videos-section .card img { height: 180px; object-fit: cover; }

/* --- Partners grid (flex layout "partners_grid") — source unique CPT partenaire --- */
.partners-grid-section { background: var(--color-bg-alt); padding: 80px 0; }
.partners-grid { display: grid; gap: 20px; margin-top: 40px; }
.partners-grid.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.partners-grid.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.partners-grid.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.partners-grid.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.partner-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 24px 16px; background: #fff;
    border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(var(--color-secondary-rgb),.06);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none; color: var(--color-text);
    min-height: 160px;
}
a.partner-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(var(--color-secondary-rgb),.14); }
.partner-card-logo { max-width: 100%; max-height: 80px; width: auto; object-fit: contain; filter: grayscale(30%); transition: filter var(--transition); }
.partner-card:hover .partner-card-logo { filter: grayscale(0%); }
.partner-card-name { font-size: .85rem; font-weight: 600; text-align: center; color: var(--color-text-muted); line-height: 1.3; }
@media (max-width: 960px) {
    .partners-grid.grid-cols-5, .partners-grid.grid-cols-6 { grid-template-columns: repeat(3, 1fr); }
    .partners-grid.grid-cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .partners-grid.grid-cols-3, .partners-grid.grid-cols-4,
    .partners-grid.grid-cols-5, .partners-grid.grid-cols-6 { grid-template-columns: repeat(2, 1fr); }
    .partner-card { padding: 16px 10px; min-height: 120px; }
    .partner-card-logo { max-height: 56px; }
}

/* ============================================
   YOUVANNA.COM — Framer/Figma-inspired design
   Modern, bold, trust-inspiring agency look
   ============================================ */

/* --- Hero: dramatic gradient overlay, no image dependency --- */
.hero .hero-overlay {
    background:
        linear-gradient(180deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.75) 40%, rgba(15,23,42,.95) 100%),
        linear-gradient(135deg, rgba(236,106,6,.15) 0%, transparent 50%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,106,6,.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,106,6,.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.75);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}
.hero-buttons .btn { border-radius: 100px; padding: 16px 32px; font-size: 15px; font-weight: 600; }
.hero-buttons .btn-primary { box-shadow: 0 4px 24px rgba(236,106,6,.35); }
.hero-buttons .btn-primary:hover { box-shadow: 0 8px 32px rgba(236,106,6,.45); }
.hero-buttons .btn-secondary { backdrop-filter: blur(8px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.hero-buttons .btn-secondary:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }

/* --- Section badges (eyebrow labels above titles) --- */
.section-badge,
.section-header .section-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), .06);
    border: 1px solid rgba(var(--color-primary-rgb),.12);
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
}

/* --- Cards: glass morphism effect --- */
.card {
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    border-radius: 16px;
    transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .4s cubic-bezier(.22,1,.36,1), background-color .4s cubic-bezier(.22,1,.36,1), border-color .4s cubic-bezier(.22,1,.36,1), color .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
a.card-clickable:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    border-color: rgba(var(--color-primary-rgb), .15);
}
.card-body { padding: 32px; }
.card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.card-body p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-text-light);
}
.card-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    transition: gap .3s ease;
}
a.card-clickable:hover .card-link { gap: 10px; }

/* --- Stats section: styling handled by base .stat rules --- */

/* --- Testimonials: premium card style --- */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 36px 32px;
    border: 1px solid rgba(var(--color-secondary-rgb), .05);
    transition: transform .45s var(--ease-premium), opacity .45s var(--ease-premium), background-color .45s var(--ease-premium), border-color .45s var(--ease-premium), color .45s var(--ease-premium), box-shadow .45s var(--ease-premium);
}
.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.testimonial-stars {
    color: var(--color-accent);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}
.testimonial-card blockquote {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--color-text);
    font-style: normal;
    margin-bottom: 24px;
    font-weight: 400;
    position: relative;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--color-secondary-rgb),.06);
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--color-primary-rgb),.12);
}
.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -.01em;
}
.testimonial-author span {
    display: block;
    font-size: 12.5px;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* --- CTA Banner: dramatic dark section with depth --- */
.cta-banner {
    background: var(--color-secondary);
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb),.2) 0%, transparent 60%);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}
.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}
.cta-content .btn {
    border-radius: 100px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb),.35);
    transition: transform .4s var(--ease-premium), opacity .4s var(--ease-premium), background-color .4s var(--ease-premium), border-color .4s var(--ease-premium), color .4s var(--ease-premium), box-shadow .4s var(--ease-premium);
}
.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(var(--color-primary-rgb),.45);
}

/* --- About section: modern layout with depth --- */
.about-section .image-frame {
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 24px 64px rgba(0,0,0,.1);
}
.about-section .image-frame img {
    border-radius: 24px;
}
.about-section .image-frame::before {
    border-radius: 24px;
    border-color: rgba(var(--color-accent-rgb),.3);
}
.about-content h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
    letter-spacing: -.02em;
}

/* --- FAQ: cleaner accordion style --- */
.faq-item {
    border: 1px solid rgba(var(--color-secondary-rgb), .08);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.faq-item:hover {
    border-color: rgba(var(--color-primary-rgb), .2);
}
.faq-question {
    font-weight: 600;
    font-size: 16px;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* --- Services grid: taller cards for homepage --- */
.services-grid-tall .card img {
    height: 200px;
    object-fit: cover;
}

/* --- Footer: modern dark footer --- */
#site-footer {
    background: var(--color-secondary);
    color: rgba(255,255,255,.7);
}
#site-footer a {
    color: rgba(255,255,255,.7);
    transition: color .2s ease;
}
#site-footer a:hover {
    color: var(--color-primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

/* --- Text-image sections: balanced spacing --- */
.section .grid-2 {
    gap: 48px;
    align-items: center;
}
.text-image-text h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    margin-bottom: 16px;
    line-height: 1.2;
}
.text-image-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
}
.text-image-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.text-image-img img {
    border-radius: 16px;
}

/* --- Image stat badge: glassmorphism --- */
.image-stat-badge {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* --- Selection color --- */
::selection { background: rgba(var(--color-primary-rgb), .15); color: var(--color-text); }

/* --- Page hero for inner pages: dramatic gradient with brand warmth --- */
.page-hero .hero-overlay {
    background:
        linear-gradient(180deg, rgba(var(--color-secondary-rgb),.9) 0%, rgba(var(--color-secondary-rgb),.65) 40%, rgba(var(--color-secondary-rgb),.92) 100%),
        linear-gradient(135deg, rgba(var(--color-primary-rgb),.12) 0%, transparent 50%);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb),.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb),.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Responsive Framer adjustments --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    .hero-buttons .btn { padding: 14px 24px; font-size: 14px; }
    .card-body { padding: 24px; }
    .section { padding: 64px 0; }
    .cta-content .btn { padding: 14px 28px; }
}

/* ============================================
   YOUVANNA.COM — Audit UX Agent 9 (2026-04-10)
   Corrections et ameliorations design
   ============================================ */

/* --- Section titles: better visual hierarchy --- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-title {
    letter-spacing: -.03em;
}
.section-subtitle {
    font-size: 16px;
    line-height: 1.75;
}

/* --- Services grid: dramatic card styling + interactions --- */
.services-section {
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-primary-rgb),.15), transparent);
}
.services-grid-tall {
    gap: 28px;
}
.services-grid-tall .card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--color-secondary-rgb),.04);
    background: #fff;
}
.services-grid-tall .card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px;
}
.services-grid-tall .card .card-body p {
    flex: 1;
}
.services-grid-tall .card img {
    transition: transform .7s cubic-bezier(.22,1,.36,1);
    height: 210px;
    object-fit: cover;
}
.services-grid-tall a.card-clickable:hover img {
    transform: scale(1.08);
}
.services-grid-tall a.card-clickable {
    border-radius: 20px;
    overflow: hidden;
}
.services-grid-tall a.card-clickable:hover {
    box-shadow: 0 24px 56px -12px rgba(var(--color-secondary-rgb),.18);
    transform: translateY(-8px);
}
.services-grid-tall .card-body .card-icon-badge {
    transition: transform .4s var(--ease-premium), box-shadow .4s ease;
}
.services-grid-tall a.card-clickable:hover .card-icon-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 14px 28px -8px rgba(var(--color-primary-rgb),.4);
}

/* --- About section: editorial feel with depth --- */
.about-section {
    position: relative;
    padding: 112px 0;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--color-primary-rgb),.12), transparent);
    pointer-events: none;
}
.about-section .grid-2 {
    gap: 64px;
}
.about-content {
    padding-left: 16px;
}
.about-content div {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 28px;
}
.about-content .btn {
    margin-bottom: 36px;
    border-radius: 100px;
    padding: 14px 32px;
}

/* --- Stats: premium card styling handled above --- */

/* --- Testimonials: decorative quote mark --- */
.testimonials-section {
    position: relative;
}
.testimonial-card {
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 56px;
    line-height: 1;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb),.15), rgba(var(--color-accent-rgb),.08));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

/* --- CTA Banner: enhanced gradient and text contrast --- */
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb),.12) 0%, transparent 60%);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite reverse;
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.cta-content p,
.cta-content .cta-text {
    color: rgba(255,255,255,.7);
    font-size: 18px;
    line-height: 1.75;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* --- Contact form: modern input styling --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    border: 1px solid rgba(var(--color-secondary-rgb), .1);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(8px);
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .1);
    outline: none;
    background: #fff;
}
.wpcf7 input[type="submit"] {
    border-radius: 100px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
}

/* --- Footer: improved visual structure --- */
#site-footer .footer-container {
    gap: 48px;
}
.footer-brand .footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}
.footer-social {
    margin-top: 20px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    font-size: 16px;
}
.footer-social a:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-nav h3,
.footer-contact h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
    margin-bottom: 20px;
}
.footer-menu li {
    margin-bottom: 10px;
}
.footer-menu li a {
    font-size: 14px;
}
.footer-contact a,
.footer-contact p {
    font-size: 14px;
    line-height: 1.7;
}
.footer-bottom {
    padding: 20px 0;
    margin-top: 48px;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.75);
}

/* --- Page hero inner: dramatic agency feel --- */
.page-hero {
    min-height: 320px;
}
.page-hero .hero-content {
    padding: 56px 24px 40px;
}
.page-hero .hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    letter-spacing: -.03em;
    margin-bottom: 16px;
    line-height: 1.08;
}
.page-hero .hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 580px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services page: improved grid layout --- */
.page-content-section .grid-3 .card,
.page-content-section .grid-4 .card {
    height: 100%;
}

/* --- Mobile responsive fine-tuning --- */
@media (max-width: 768px) {
    .about-content {
        padding-left: 0;
    }
    .stat + .stat::before {
        display: none;
    }
    .stats-grid {
        gap: 16px;
    }
    .testimonial-card {
        padding: 24px;
    }
    .testimonial-card::before {
        font-size: 36px;
        top: 16px;
        right: 16px;
    }
    .page-hero {
        min-height: 220px;
    }
    .page-hero .hero-content {
        padding: 32px 16px 24px;
    }
    #site-footer .footer-container {
        gap: 32px;
    }
    .footer-brand .footer-description {
        max-width: 100%;
    }
    .cta-content p,
    .cta-content .cta-text {
        font-size: 15px;
    }
}

/* --- Back to top button: refined style --- */
.back-to-top {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.back-to-top:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), .3);
}

/* --- Breadcrumb: subtle path indicator --- */
.yoast-breadcrumbs {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 12px 0;
}
.yoast-breadcrumbs a {
    color: var(--color-text-muted);
}
.yoast-breadcrumbs a:hover {
    color: var(--color-primary);
}

/* ============================================
   YOUVANNA.COM — Premium Framer Animations
   Scroll reveals, micro-interactions, polish
   ============================================ */

/* --- Reveal variants: directional fade-ins --- */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal-scale {
    opacity: 0;
    transform: scale(.92);
    transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* --- Enhanced stagger: longer cascade for grids --- */
.reveal.visible .card:nth-child(1),
.reveal.visible .faq-item:nth-child(1) { transition-delay: 0s; }
.reveal.visible .card:nth-child(2),
.reveal.visible .faq-item:nth-child(2) { transition-delay: .08s; }
.reveal.visible .card:nth-child(3),
.reveal.visible .faq-item:nth-child(3) { transition-delay: .16s; }
.reveal.visible .card:nth-child(4),
.reveal.visible .faq-item:nth-child(4) { transition-delay: .24s; }
.reveal.visible .card:nth-child(5),
.reveal.visible .faq-item:nth-child(5) { transition-delay: .32s; }
.reveal.visible .card:nth-child(6),
.reveal.visible .faq-item:nth-child(6) { transition-delay: .4s; }
.reveal.visible .card:nth-child(7) { transition-delay: .48s; }
.reveal.visible .card:nth-child(8) { transition-delay: .56s; }

/* --- Hero entrance: dramatic fade + scale --- */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-content h1 {
    animation: heroFadeIn 1.2s cubic-bezier(.22,1,.36,1) .2s both;
}
.hero-subtitle {
    animation: heroFadeIn 1.2s cubic-bezier(.22,1,.36,1) .4s both;
}
.hero-buttons {
    animation: heroFadeIn 1.2s cubic-bezier(.22,1,.36,1) .6s both;
}

/* --- Animated gradient orb on hero (subtle floating glow) --- */
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(.95); }
}
.hero::before {
    animation: orbFloat 8s ease-in-out infinite;
}
.hero::after {
    animation: orbFloat 10s ease-in-out infinite reverse;
}

/* --- Card hover: enhanced micro-interactions --- */
a.card-clickable {
    position: relative;
    overflow: hidden;
}
a.card-clickable::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), .03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 0;
    pointer-events: none;
}
a.card-clickable:hover::before {
    opacity: 1;
}
a.card-clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,.1), 0 0 0 1px rgba(var(--color-primary-rgb), .08);
}
a.card-clickable:hover .card-link {
    gap: 12px;
    color: var(--color-primary-dark);
}

/* --- Button hover: glow pulse --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), .4), transparent);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1;
    filter: blur(12px);
}
.btn-primary:hover::after {
    opacity: 1;
}
.btn-primary:active {
    transform: translateY(0) scale(.98);
}

/* --- Section divider: subtle diagonal cut --- */
.section-divider {
    position: relative;
}
.section-divider::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--color-bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    pointer-events: none;
}

/* --- Image reveal: clip-path slide --- */
.image-reveal {
    overflow: hidden;
    position: relative;
}
.image-reveal img {
    transition: transform 1.2s cubic-bezier(.22,1,.36,1), clip-path 1.2s cubic-bezier(.22,1,.36,1);
    clip-path: inset(0 0 0 100%);
}
.image-reveal.visible img {
    clip-path: inset(0 0 0 0%);
    transform: scale(1);
}

/* --- Floating badge animation (GPU-composited via opacity on ::after) --- */
@keyframes badgePulseOpacity {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
.image-stat-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    opacity: 0;
    animation: badgePulseOpacity 4s ease-in-out infinite;
    will-change: opacity;
    z-index: -1;
}

/* --- Testimonial cards: subtle slide-in from sides --- */
.testimonials-grid .testimonial-card:nth-child(1) {
    transform: translateX(-20px);
}
.testimonials-grid .testimonial-card:nth-child(3) {
    transform: translateX(20px);
}
.reveal.visible .testimonials-grid .testimonial-card:nth-child(1),
.reveal.visible .testimonials-grid .testimonial-card:nth-child(3) {
    transform: translateX(0);
}

/* --- Link hover underline animation --- */
.text-image-text a:not(.btn),
.about-content a:not(.btn) {
    position: relative;
    text-decoration: none;
}
.text-image-text a:not(.btn)::after,
.about-content a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width .3s cubic-bezier(.22,1,.36,1);
}
.text-image-text a:not(.btn):hover::after,
.about-content a:not(.btn):hover::after {
    width: 100%;
}

/* --- Section badge: subtle entrance --- */
@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateY(10px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal.visible .section-badge {
    animation: badgeSlideIn .6s cubic-bezier(.22,1,.36,1) both;
}

/* --- Number counter: bold pop effect --- */
@keyframes numberPop {
    0% { transform: scale(.5); opacity: 0; }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}
.reveal.visible .stat-number {
    animation: numberPop .8s cubic-bezier(.22,1,.36,1) both;
}

/* --- CTA banner: animated gradient sweep --- */
@keyframes gradientSweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}
.cta-banner {
    overflow: hidden;
}

/* --- Footer social icons: stagger entrance --- */
.footer-social a:nth-child(1) { transition-delay: 0s; }
.footer-social a:nth-child(2) { transition-delay: .05s; }
.footer-social a:nth-child(3) { transition-delay: .1s; }
.footer-social a:nth-child(4) { transition-delay: .15s; }
.footer-social a:nth-child(5) { transition-delay: .2s; }

/* --- Smooth page entrance --- */
@keyframes pageEnter {
    from { opacity: 0; }
    to { opacity: 1; }
}
body {
    animation: pageEnter .4s ease both;
}

/* --- Nav active indicator: animated underline --- */
.nav-menu li a::after {
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}

/* --- FAQ: smooth open/close --- */
.faq-answer {
    transition: max-height .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
    overflow: hidden;
}
.faq-item[open] .faq-question {
    color: var(--color-primary);
}
.faq-item[open] {
    border-color: rgba(var(--color-primary-rgb), .15);
    background: rgba(var(--color-primary-rgb), .02);
}

/* ============================================
   YOUVANNA.COM — Premium Agency Design v2
   Clean, bold, Framer/kelcible-inspired
   ============================================ */

/* --- Marquee text band: bold agency showcase --- */
.marquee-band {
    overflow: hidden;
    padding: 24px 0;
    background: var(--color-secondary);
    position: relative;
}
.marquee-band::before,
.marquee-band::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-band::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-secondary), transparent);
}
.marquee-band::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-secondary), transparent);
}
.marquee-band-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
    gap: 56px;
}
.marquee-band-item {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    color: rgba(255,255,255,.1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .08em;
    display: flex;
    align-items: center;
    gap: 56px;
    font-weight: 600;
    transition: color .3s ease;
}
.marquee-band:hover .marquee-band-item {
    color: rgba(255,255,255,.18);
}
.marquee-band-item::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: .6;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(var(--color-primary-rgb),.4);
}

/* --- Hero badge (eyebrow above title) --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    letter-spacing: .04em;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: heroFadeIn 1s var(--ease-premium) .1s both;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: heroBadgePulse 2s ease-in-out infinite;
}
@keyframes heroBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

/* --- Hero wave edge --- */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* --- Cursor glow (desktop only, JS sets --cursor-x/y) --- */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb),.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    left: var(--cursor-x, -1000px);
    top: var(--cursor-y, -1000px);
    transition: left .15s ease-out, top .15s ease-out, opacity .3s ease;
    opacity: 0;
    will-change: left, top;
    mix-blend-mode: screen;
}
body:hover .cursor-glow { opacity: 1; }
@media (max-width: 960px) { .cursor-glow { display: none; } }
@media (hover: none) { .cursor-glow { display: none; } }

/* --- Testimonials: premium light background with subtle pattern --- */
.testimonials-section {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
    padding: 112px 0;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb),.07) 0%, transparent 60%);
    pointer-events: none;
}
.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -120px; left: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb),.05) 0%, transparent 60%);
    pointer-events: none;
}
.testimonials-section .section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(var(--color-secondary-rgb),.05);
    border-left: none;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.02);
    transition: transform .45s var(--ease-premium), opacity .45s var(--ease-premium), background-color .45s var(--ease-premium), border-color .45s var(--ease-premium), color .45s var(--ease-premium), box-shadow .45s var(--ease-premium);
    position: relative;
    overflow: hidden;
}
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 4px 0 0 4px;
}
.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
    transform: translateY(-6px);
    border-color: rgba(var(--color-primary-rgb),.1);
}

/* --- Footer: gradient top border --- */
#site-footer {
    position: relative;
}
#site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    z-index: 2;
}

/* --- About h2: gradient underline with animation --- */
.about-content h2::after {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width .6s var(--ease-premium);
}
.about-section.visible .about-content h2::after,
.about-section:hover .about-content h2::after {
    width: 120px;
}

/* --- Responsive for new elements --- */
@media (max-width: 768px) {
    .marquee-band { padding: 14px 0; }
    .marquee-band-item { font-size: clamp(1rem, 3vw, 1.3rem); gap: 24px; }
    .marquee-band-track { gap: 24px; }
    .hero-badge { font-size: 11px; padding: 6px 14px; }
    .hero-wave svg { height: 30px; }
}

/* ============================================
   YOUVANNA.COM - Premium Polish v3
   Kelcible-inspired refinements
   ============================================ */

/* --- Section rhythm: consistent generous spacing --- */
.services-section,
.about-section,
.testimonials-section {
    padding: 112px 0;
}

/* --- Alternating sections: subtle background variation with soft gradient --- */
.section:nth-child(even) {
    background: var(--color-bg-alt);
    position: relative;
}
.section:nth-child(even)::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(var(--color-primary-rgb),.03), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(var(--color-accent-rgb),.02), transparent 50%);
    pointer-events: none;
}

/* --- Section separator lines (kelcible-style) --- */
.services-section::after,
.about-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-secondary-rgb),.08), transparent);
    pointer-events: none;
}

/* --- Cards on inner pages: more refined --- */
.page-content-section .card {
    border-radius: 20px;
    border: 1px solid rgba(var(--color-secondary-rgb),.04);
    overflow: hidden;
    transition: transform .45s var(--ease-premium), opacity .45s var(--ease-premium), background-color .45s var(--ease-premium), border-color .45s var(--ease-premium), color .45s var(--ease-premium), box-shadow .45s var(--ease-premium);
}
.page-content-section a.card-clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px -12px rgba(var(--color-secondary-rgb),.16);
}
.page-content-section .card img {
    height: 220px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform .7s var(--ease-premium);
}
.page-content-section a.card-clickable:hover img {
    transform: scale(1.06);
}

/* --- Inner page content sections: editorial spacing --- */
.page-content-section {
    padding: 96px 0;
}
.page-content-section .section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.page-content-section .section-subtitle {
    font-size: 17px;
    line-height: 1.75;
    max-width: 680px;
}

/* --- Text content on inner pages: better readability --- */
.page-content-section p,
.ti-content p,
.text-image-text p {
    font-size: 16.5px;
    line-height: 1.85;
}

/* --- Smooth gradient lines between grid rows --- */
.grid-3::after,
.grid-4::after {
    content: none;
}

/* --- Card link arrow animation: more premium --- */
.card-link::after {
    content: '\2192';
    display: inline-block;
    transition: transform .4s var(--ease-premium);
    font-size: 16px;
}
a.card-clickable:hover .card-link::after {
    transform: translateX(6px);
}

/* --- Image border-radius: 20px everywhere (kelcible style) --- */
.about-image img,
.ti-image img,
.text-image-section img,
.text-image-img img {
    border-radius: 20px;
}

/* --- Subtle noise texture on sections for depth --- */
.services-section,
.testimonials-section {
    background-image: var(--noise-url);
    background-repeat: repeat;
    background-size: 200px;
}

/* --- Premium section headers: better badge + title combo --- */
.section-header .section-badge {
    font-size: 11.5px;
    letter-spacing: .14em;
    padding: 7px 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--color-primary-rgb),.12);
    backdrop-filter: blur(4px);
}

/* --- Smooth scroll behavior for all interactive elements --- */
a, .btn, .card, .faq-item, .testimonial-card, .stat {
    transition-timing-function: var(--ease-premium);
}

/* --- Contact form on inner pages: cleaner --- */
.contact-grid {
    gap: 56px;
}
.contact-info-item .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px -6px rgba(var(--color-primary-rgb),.35);
}

/* --- Blog cards: more magazine feel --- */
.blog-card {
    border-radius: 20px;
    overflow: hidden;
}
.blog-card img {
    transition: transform .7s var(--ease-premium);
}
.blog-card:hover img {
    transform: scale(1.06);
}
.blog-card .card-body h3 {
    font-size: 1.15rem;
    letter-spacing: -.01em;
}

/* --- Testimonials marquee: better flow --- */
.marquee-track .testimonial-card {
    min-width: 360px;
    max-width: 440px;
}

/* --- FAQ section on inner pages: cleaner --- */
.faq-section {
    background: var(--color-bg);
}
.faq-item {
    border-radius: 16px;
    border: 1px solid rgba(var(--color-secondary-rgb),.06);
    background: #fff;
    margin-bottom: 0;
}
.faq-item:hover {
    border-color: rgba(var(--color-primary-rgb),.15);
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.faq-item[open] {
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border-color: rgba(var(--color-primary-rgb),.2);
}
.faq-list {
    gap: 16px;
}

/* --- Text+Image sections: staggered elegant layout --- */
.text-image-section {
    position: relative;
}
.text-image-section .grid-2 {
    gap: 56px;
    align-items: center;
}
.text-image-section .ti-image,
.text-image-section .text-image-img {
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 56px rgba(0,0,0,.1);
}
.text-image-section .ti-image img,
.text-image-section .text-image-img img {
    border-radius: 20px;
    display: block;
}
/* Extra space for floating badge to not get clipped */
.ti-image:has(.image-stat-badge) {
    margin-bottom: 30px;
}

/* --- Mobile responsive for new premium styles --- */
@media (max-width: 768px) {
    .services-section,
    .about-section,
    .testimonials-section {
        padding: 72px 0;
    }
    .about-section .grid-2 {
        gap: 32px;
    }
    .services-grid-tall {
        gap: 20px;
    }
    .services-grid-tall .card img {
        height: 180px;
    }
    .marquee-track .testimonial-card {
        min-width: 280px;
        max-width: 340px;
    }
    .cta-banner {
        padding: 80px 20px;
    }
    .cta-content h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-hero {
        min-height: 240px;
    }
    .page-hero .hero-content {
        padding: 36px 16px 28px;
    }
    .page-hero::before,
    .page-hero::after {
        display: none;
    }
    .page-content-section .card img {
        height: 180px;
    }
    .section:nth-child(even)::before {
        display: none;
    }
    .marquee-band::before,
    .marquee-band::after {
        width: 40px;
    }
    .about-section::before {
        display: none;
    }
    .about-section::after,
    .services-section::after {
        display: none;
    }
}

/* ============================================
   HOMEPAGE V3 — New Section Styles
   Tech Band, Featured Services, Process, Portfolio
   ============================================ */

/* --- TECH LOGO BAND --- */
.tech-band {
    background: var(--color-secondary);
    padding: 28px 0;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}
.tech-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: .3;
    pointer-events: none;
}
.tech-band__track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.tech-band__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.4);
    transition: color var(--transition);
    cursor: default;
}
.tech-band__item:hover {
    color: var(--color-primary);
}
.tech-band__item i {
    font-size: 28px;
    transition: transform var(--transition);
}
.tech-band__item:hover i {
    transform: scale(1.15);
}
.tech-band__item span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

/* --- FEATURED SERVICES (alternating text+image) --- */
.featured-services {
    padding-bottom: 0;
}
.featured-services > .container {
    padding-bottom: 24px;
}
.fs-block {
    padding: 64px 0;
    position: relative;
}
.fs-block:nth-child(even) {
    background: var(--color-bg-alt);
}
.fs-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.fs-block--reversed .fs-block__inner {
    direction: rtl;
}
.fs-block--reversed .fs-block__inner > * {
    direction: ltr;
}
.fs-block__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.fs-block__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s var(--ease-premium);
}
.fs-block__image:hover img {
    transform: scale(1.03);
}
.fs-block__number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-primary);
    opacity: .15;
    line-height: 1;
    margin-bottom: 8px;
}
.fs-block__content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}
.fs-block__content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 28px;
    max-width: 480px;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--color-primary-dark);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: .9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform var(--transition), background-color var(--transition), color var(--transition), box-shadow var(--transition);
    background: transparent;
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), .25);
}
.btn-outline i {
    font-size: .75rem;
    transition: transform var(--transition);
}
.btn-outline:hover i {
    transform: translateX(4px);
}
.fs-cta-wrap {
    text-align: center;
    padding: 56px 0 64px;
}
.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* --- PROCESS / METHODOLOGY SECTION --- */
.process-section {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), .06) 0%, transparent 70%);
    pointer-events: none;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 48px;
}
/* Connecting line between steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: .2;
    z-index: 0;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.process-step__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), .2);
}
.process-step__icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-brand);
    opacity: .15;
    z-index: -1;
}
.process-step__icon i {
    font-size: 24px;
    color: #fff;
}
.process-step__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: .12;
    line-height: 1;
    margin-bottom: 8px;
}
.process-step__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 10px;
}
.process-step__text {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 240px;
    margin: 0 auto;
}

/* --- PORTFOLIO / RÉALISATIONS PREVIEW --- */
.portfolio-preview {
    position: relative;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.portfolio-card {
    position: relative;
}
.portfolio-card__link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
}
.portfolio-card__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease-premium);
}
.portfolio-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.1), transparent 50%);
    pointer-events: none;
}
.portfolio-card__monogram {
    position: relative;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: rgba(255,255,255,.92);
    letter-spacing: 0.02em;
    line-height: 1;
    font-family: var(--font-heading, inherit);
    text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-secondary-rgb), .7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s var(--ease-premium);
    border-radius: 20px;
}
.portfolio-card__link:hover .portfolio-card__overlay {
    opacity: 1;
}
.portfolio-card__link:hover .portfolio-card__image img {
    transform: scale(1.08);
}
.portfolio-card__view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50px;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.portfolio-card__link:hover .portfolio-card__view {
    border-color: #fff;
    background: rgba(255,255,255,.1);
}
.portfolio-card__info {
    padding: 20px 4px 0;
}
.portfolio-card__tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 10px;
}
.portfolio-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 0;
}
.portfolio-cta-wrap {
    text-align: center;
    padding-top: 48px;
}

/* --- HOMEPAGE V3: Mobile Responsive --- */
@media (max-width: 768px) {
    /* Tech band */
    .tech-band__track {
        gap: 24px;
        justify-content: center;
    }
    .tech-band__item i {
        font-size: 22px;
    }
    .tech-band__item span {
        font-size: 10px;
    }

    /* Featured services */
    .fs-block {
        padding: 48px 0;
    }
    .fs-block__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .fs-block--reversed .fs-block__inner {
        direction: ltr;
    }
    .fs-block__content p {
        max-width: none;
    }
    .fs-block__number {
        font-size: 2rem;
    }
    .fs-cta-wrap {
        padding: 40px 20px 0;
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }
    .process-steps::before {
        display: none;
    }
    .process-step__icon {
        width: 60px;
        height: 60px;
    }
    .process-step__icon i {
        font-size: 20px;
    }
    .process-step__number {
        font-size: 2rem;
    }
    .process-step__text {
        max-width: none;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .portfolio-card__overlay {
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .tech-band__track {
        gap: 16px;
    }
    .tech-band__item i {
        font-size: 20px;
    }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ═══════════════════════════════════════════════════
   BLOG PREMIUM
   ═══════════════════════════════════════════════════ */

/* Category filter pills */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.blog-filter-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    background: #fff;
    border: 1px solid rgba(var(--color-secondary-rgb), .1);
    text-decoration: none;
    transition: transform .3s var(--ease-premium), opacity .3s var(--ease-premium), background-color .3s var(--ease-premium), border-color .3s var(--ease-premium), color .3s var(--ease-premium), box-shadow .3s var(--ease-premium);
}
.blog-filter-pill:hover,
.blog-filter-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), .3);
}

/* Featured post (large) */
.blog-featured {
    margin-bottom: 56px;
}
.blog-featured-link {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    transition: box-shadow .4s var(--ease-premium), transform .4s var(--ease-premium);
}
.blog-featured-link:hover {
    box-shadow: 0 24px 64px rgba(0, 0, 0, .08);
    transform: translateY(-4px);
}
.blog-featured-image {
    overflow: hidden;
    border-radius: 24px 0 0 24px;
}
.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 340px;
    transition: transform .7s var(--ease-premium);
}
.blog-featured-link:hover .blog-featured-image img {
    transform: scale(1.05);
}
.blog-featured-content {
    padding: 40px 40px 40px 0;
}
.blog-featured-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.blog-featured-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 20px;
}
.blog-featured-content .card-link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
}

/* Blog grid header */
.blog-grid-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(var(--color-secondary-rgb), .08);
}
.blog-grid-header .section-title {
    font-size: 1.5rem;
    text-align: left;
}

/* Blog empty state */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
}
.blog-empty h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.blog-empty p {
    color: var(--color-text-light);
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* Blog CTA section */
.blog-cta-section {
    padding: 0 0 var(--section-padding);
}
.blog-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 24px;
    padding: 56px 64px;
    position: relative;
    overflow: hidden;
}
.blog-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), .2) 0%, transparent 70%);
    pointer-events: none;
}
.blog-cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 12px;
    color: #fff;
}
.blog-cta-content p {
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
}
.blog-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.blog-cta-stats {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
}
.blog-cta-stat {
    text-align: center;
}
.blog-cta-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -.03em;
}
.blog-cta-stat span:last-child {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin-top: 6px;
}

@media (max-width: 768px) {
    .blog-featured-link {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .blog-featured-image {
        border-radius: 24px 24px 0 0;
    }
    .blog-featured-image img {
        min-height: 220px;
    }
    .blog-featured-content {
        padding: 24px;
    }
    .blog-cta-card {
        flex-direction: column;
        padding: 40px 28px;
        text-align: center;
    }
    .blog-cta-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .blog-cta-buttons {
        justify-content: center;
    }
    .blog-grid-header .section-title {
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE PREMIUM
   ═══════════════════════════════════════════════════ */

/* Trust signals bar */
.contact-trust-section {
    padding-top: 48px;
    padding-bottom: 16px;
    background: var(--color-bg);
}
.contact-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    transition: box-shadow .3s var(--ease-premium);
}
.contact-trust-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.contact-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent, var(--color-primary)));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-trust-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}
.contact-trust-text span {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Contact form section */
.contact-form-section {
    padding-top: 56px;
    background: var(--color-bg);
}
.contact-form-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Premium contact form styling */
.contact-form-section .contact-form {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .06);
}
.contact-form-section .wpcf7-form p {
    margin-bottom: 20px;
}
.contact-form-section .wpcf7 label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-text);
    margin-bottom: 8px;
}
.contact-form-section .wpcf7 input[type="text"],
.contact-form-section .wpcf7 input[type="email"],
.contact-form-section .wpcf7 input[type="tel"],
.contact-form-section .wpcf7 textarea,
.contact-form-section .wpcf7 select {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: var(--font-body);
    border: 2px solid rgba(var(--color-secondary-rgb), .08);
    border-radius: 14px;
    background: var(--color-bg);
    transition: transform .3s var(--ease-premium), opacity .3s var(--ease-premium), background-color .3s var(--ease-premium), border-color .3s var(--ease-premium), color .3s var(--ease-premium), box-shadow .3s var(--ease-premium);
    color: var(--color-text);
}
.contact-form-section .wpcf7 input:focus,
.contact-form-section .wpcf7 textarea:focus,
.contact-form-section .wpcf7 select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), .1);
    background: #fff;
    outline: none;
}
.contact-form-section .wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}
.contact-form-section .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .3s var(--ease-premium), opacity .3s var(--ease-premium), background-color .3s var(--ease-premium), border-color .3s var(--ease-premium), color .3s var(--ease-premium), box-shadow .3s var(--ease-premium);
    letter-spacing: .3px;
}
.contact-form-section .wpcf7 input[type="submit"]:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), .3);
}
.contact-form-section .wpcf7 ::placeholder {
    color: rgba(var(--color-secondary-rgb), .35);
    font-style: italic;
}

/* Contact info card */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .03);
    margin-bottom: 24px;
}
.contact-info-card h3 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

/* Mini FAQ on contact */
.contact-mini-faq {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(var(--color-secondary-rgb), .06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .03);
}
.contact-mini-faq h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.contact-faq-item {
    border: 1px solid rgba(var(--color-secondary-rgb), .08);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color .3s;
}
.contact-faq-item:last-child {
    margin-bottom: 0;
}
.contact-faq-item[open] {
    border-color: rgba(var(--color-primary-rgb), .2);
}
.contact-faq-item summary {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-faq-item summary::-webkit-details-marker { display: none; }
.contact-faq-item summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform .3s;
}
.contact-faq-item[open] summary::after {
    transform: rotate(45deg);
}
.contact-faq-item p {
    padding: 0 18px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}

/* Final CTA */
.contact-final-cta {
    background: var(--color-bg);
}
.contact-final-cta-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.contact-final-cta-inner h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 12px;
}
.contact-final-cta-inner p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .contact-trust-item {
        padding: 18px 20px;
    }
    .contact-mini-faq,
    .contact-info-card {
        padding: 24px;
    }
}

/* ====================================================================
   PREMIUM ICON CARDS — "Next.js" style with gradient accents
   ==================================================================== */

/* Icon-bearing grid cards get enhanced treatment */
.cards-section--grid .card .card-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent, var(--color-primary-dark)));
    position: relative;
    transition: transform .4s var(--ease-premium), box-shadow .4s ease;
}

/* Glow ring behind icon on hover */
.cards-section--grid a.card-clickable:hover .card-icon-badge {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 32px -8px rgba(var(--color-primary-rgb), .35);
}

/* Decorative gradient line at card top */
.cards-section--grid .card {
    position: relative;
    overflow: hidden;
}
.cards-section--grid .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent, var(--color-primary-dark)));
    opacity: 0;
    transition: opacity .4s ease;
}
.cards-section--grid a.card-clickable:hover::before {
    opacity: 1;
}

/* Card body when icon present: more generous spacing */
.cards-section--grid .card .card-icon-badge + h3 {
    margin-top: 4px;
}

/* Subtle gradient dot decoration in bottom-right corner */
.cards-section--grid .card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), .06) 0%, transparent 70%);
    transition: transform .5s var(--ease-premium), opacity .5s ease;
    opacity: 0;
    pointer-events: none;
}
.cards-section--grid a.card-clickable:hover::after {
    opacity: 1;
    transform: translate(-10px, -10px);
}

/* Card title gets better weight + tracking */
.cards-section--grid .card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
}

/* Card description: tighter line height */
.cards-section--grid .card-body .card-text p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--color-text-light);
}

/* Card link with animated arrow */
.cards-section--grid .card-link {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    transition: gap .3s ease, color .3s ease;
}
.cards-section--grid a.card-clickable:hover .card-link {
    gap: 10px;
    color: var(--color-primary-dark);
}

/* Grid gap refinement for 3-col icon cards */
.cards-section--grid .grid-3 {
    gap: 28px;
}

/* Stagger reveal animation for cards */
.cards-section--grid .card:nth-child(1) { transition-delay: 0s; }
.cards-section--grid .card:nth-child(2) { transition-delay: .06s; }
.cards-section--grid .card:nth-child(3) { transition-delay: .12s; }
.cards-section--grid .card:nth-child(4) { transition-delay: .18s; }
.cards-section--grid .card:nth-child(5) { transition-delay: .24s; }
.cards-section--grid .card:nth-child(6) { transition-delay: .3s; }

/* ====================================================================
   PREMIUM CARDS — Mobile responsive
   ==================================================================== */
@media (max-width: 768px) {
    .cards-section--grid .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cards-section--grid .card .card-icon-badge {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

/* --- Reduced motion for new elements --- */
@media (prefers-reduced-motion: reduce) {
    .marquee-band-track { animation: none !important; }
    .cursor-glow { display: none !important; }
    .hero-badge::before { animation: none !important; }
    .cta-banner::before, .cta-banner::after { animation: none !important; }
    .stat:hover { transform: none !important; }
    .about-content h2::after { transition: none !important; }
    .fs-block__image:hover img { transform: none !important; }
    .portfolio-card__link:hover .portfolio-card__image img { transform: none !important; }
    .process-step__icon::before { animation: none !important; }
    .cards-section--grid .card .card-icon-badge { transition: none !important; }
    .cards-section--grid .card::before, .cards-section--grid .card::after { transition: none !important; }
}

/* ============================================
   VIEW TRANSITIONS API — smooth cross-document page transitions
   Enabled for same-origin navigations via @view-transition{navigation:auto}
   in critical.css. Supported: Chrome 126+, Edge 126+, Safari 18.2+ (progressive).
   Unsupported browsers: fall back to instant navigation (no-op).
   ============================================ */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .35s;
    animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
::view-transition-old(root) {
    animation-name: yv-vt-fade-out;
}
::view-transition-new(root) {
    animation-name: yv-vt-fade-in;
}
@keyframes yv-vt-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}
@keyframes yv-vt-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }
}

/* ============================================================
   RÉALISATIONS — Archive grid (page-realisations.php)
   ============================================================ */
.realisations-archive { padding-top: 64px; padding-bottom: 96px; }

.realisations-filters {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; margin-bottom: 56px;
}
.realisations-filters__item {
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--color-bg-light, #f8f9fb);
    color: var(--color-text, #1a1a1a);
    font-size: 0.92rem; font-weight: 500;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.realisations-filters__item.is-active {
    background: var(--color-primary, #0f172a);
    color: #fff;
    border-color: var(--color-primary, #0f172a);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 1024px) { .realisations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .realisations-grid { grid-template-columns: 1fr; gap: 24px; } }

.realisation-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 8px 24px -8px rgba(15,23,42,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s ease;
    border: 1px solid rgba(15,23,42,0.05);
}
.realisation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 8px rgba(15,23,42,0.08), 0 24px 48px -12px rgba(15,23,42,0.2);
}
.realisation-card__visual {
    position: relative;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.95);
    overflow: hidden;
}
.realisation-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}
.realisation-card__category {
    position: absolute;
    top: 20px; left: 20px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255,255,255,0.25);
    z-index: 2;
}
.realisation-card__initials {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    opacity: 0.55;
    z-index: 1;
    font-family: Inter, system-ui, sans-serif;
}
.realisation-card__body { padding: 28px 28px 32px; }
.realisation-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--color-text-muted, #6b7280);
    margin-bottom: 12px;
}
.realisation-card__meta .dot { opacity: 0.6; }
.realisation-card__title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--color-text, #1a1a1a);
    line-height: 1.2;
}
.realisation-card__excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted, #6b7280);
    line-height: 1.55;
    margin: 0 0 20px;
}
.realisation-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary, #0f172a);
}
.realisation-card__cta i { transition: transform 0.3s ease; }
.realisation-card:hover .realisation-card__cta i { transform: translateX(4px); }

/* ============================================================
   RÉALISATION — Page détail (single-realisation.php)
   ============================================================ */
.realisation-single { }

.realisation-hero {
    position: relative;
    padding: 100px 0 120px;
    color: #fff;
    overflow: hidden;
}
.realisation-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.12), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255,255,255,0.08), transparent 45%);
    pointer-events: none;
}
.realisation-hero__inner { position: relative; z-index: 1; }
.realisation-hero__breadcrumb { margin-bottom: 40px; }
.realisation-hero__breadcrumb a {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}
.realisation-hero__breadcrumb a:hover {
    color: #fff;
    transform: translateX(-4px);
}
.realisation-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.realisation-hero__category {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}
.realisation-hero__tag {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.realisation-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 24px;
    color: #fff;
    max-width: 900px;
}
.realisation-hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    max-width: 720px;
    margin: 0;
}

.realisation-context,
.realisation-scope { padding: 80px 0; }
.realisation-scope { background: var(--color-bg-light, #f8f9fb); }
.realisation-context__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 768px) {
    .realisation-context__grid { grid-template-columns: 1fr; gap: 24px; }
}
.realisation-context__label .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary, #0f172a);
    margin-bottom: 8px;
}
.realisation-context__label h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}
.realisation-context__text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text, #1a1a1a);
    margin: 0;
}

.realisation-services { padding: 80px 0; }
.realisation-services .section-header .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary, #0f172a);
    margin-bottom: 8px;
}
.realisation-services__list {
    list-style: none;
    padding: 0;
    margin: 48px auto 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.realisation-services__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--color-bg-light, #f8f9fb);
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.06);
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--color-text, #1a1a1a);
}
.realisation-services__item i {
    color: var(--color-primary, #0f172a);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.realisation-visual { padding: 40px 0 96px; }
.realisation-visual__frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/8;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 64px -16px rgba(15,23,42,0.3);
}
.realisation-visual__frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 55%);
    pointer-events: none;
}
.realisation-visual__watermark {
    color: rgba(255,255,255,0.95);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    padding: 0 32px;
    font-family: Inter, system-ui, sans-serif;
    position: relative;
    z-index: 1;
}

.realisation-nav { padding: 0 0 80px; }
.realisation-nav__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 48px;
    border-top: 1px solid rgba(15,23,42,0.08);
}
@media (max-width: 640px) {
    .realisation-nav__grid { grid-template-columns: 1fr; }
}
.realisation-nav__link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 32px;
    background: var(--color-bg-light, #f8f9fb);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(15,23,42,0.06);
}
.realisation-nav__link:hover {
    background: #fff;
    border-color: rgba(15,23,42,0.15);
    box-shadow: 0 8px 24px -8px rgba(15,23,42,0.12);
    transform: translateY(-2px);
}
.realisation-nav__link--next { text-align: right; align-items: flex-end; }
.realisation-nav__label {
    font-size: 0.82rem;
    color: var(--color-text-muted, #6b7280);
    font-weight: 500;
}
.realisation-nav__link strong {
    font-size: 1.15rem;
    color: var(--color-text, #1a1a1a);
    font-weight: 700;
}

/* Eyebrow utility used in realisation single blocks — centered variant */
.section-header.text-center { text-align: center; }
.section-header.text-center h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ============================================
   SF SECURITY - FRAMER/FIGMA GRADIENT ENHANCEMENTS
   Dégradé orange foncé #CF5603 > orange clair #E68D39 > bleu-vert #68A093
   ============================================ */

/* --- Utility : gradient text (orange vers bleu-vert) --- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* --- Hero : overlay dégradé orange/bleu-vert par dessus image --- */
.hero-overlay {
    background: linear-gradient(135deg, rgba(207,86,3,.72) 0%, rgba(230,141,57,.58) 40%, rgba(15,23,42,.75) 100%) !important;
}

/* Hero mesh animé (blob en arrière-plan) */
.hero::before, .page-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 65%;
    aspect-ratio: 1;
    background: var(--gradient-blob);
    border-radius: 50%;
    filter: blur(100px);
    opacity: .55;
    z-index: 1;
    animation: sfBlobFloat 18s ease-in-out infinite;
    pointer-events: none;
}
.hero::after, .page-hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 55%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(104,160,147,.7) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(90px);
    opacity: .6;
    z-index: 1;
    animation: sfBlobFloat2 22s ease-in-out infinite;
    pointer-events: none;
}
@keyframes sfBlobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.08); }
    66% { transform: translate(30px, -20px) scale(.95); }
}
@keyframes sfBlobFloat2 {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(50px, -40px) scale(1.12); }
}

/* --- Hero h1 : accent gradient sur sub-span --- */
.hero-content h1 em, .hero-content h1 .accent,
.page-hero-content h1 em, .page-hero-content h1 .accent {
    background: linear-gradient(90deg, #F7A85E 0%, #FFE5BF 50%, #9DD5C8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-style: normal;
}

/* --- Buttons : gradient CTA premium --- */
.btn-primary {
    background: var(--gradient-brand-warm) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 24px -8px rgba(207,86,3,.45), inset 0 1px 0 rgba(255,255,255,.2);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E68D39 0%, #68A093 100%);
    opacity: 0;
    transition: opacity .4s var(--ease-premium);
    z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
    box-shadow: 0 12px 36px -8px rgba(104,160,147,.55);
    transform: translateY(-3px);
}

/* --- Section-badge : gradient subtil --- */
.section-badge {
    background: linear-gradient(135deg, rgba(207,86,3,.1) 0%, rgba(104,160,147,.1) 100%);
    border: 1px solid rgba(230,141,57,.25);
    color: #a34301;
    backdrop-filter: blur(8px);
}

/* --- Cards : gradient border hover (Framer style) --- */
.services-grid .service-card,
.cards-layout-minimal .card,
.cards-layout-grid .card,
.cards-layout-featured .card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    transition: transform .4s var(--ease-premium), box-shadow .4s var(--ease-premium), border-color .3s;
}
.services-grid .service-card::before,
.cards-layout-minimal .card::before,
.cards-layout-grid .card::before,
.cards-layout-featured .card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: var(--gradient-brand);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
a.card-clickable:hover::before,
.services-grid a.service-card:hover::before {
    opacity: 1;
}

/* --- Services homepage : numéros et accent gradient --- */
.services-grid .service-card .service-icon {
    background: var(--gradient-brand-warm);
    color: #fff;
}

/* --- Cards layout minimal : numérotation gradient --- */
.cards-layout-minimal .card-number,
.cards-layout-minimal .card::before[data-number] {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Section-title : underline gradient centré --- */
.section-title {
    position: relative;
    padding-bottom: 8px;
}

/* --- CTA section : gradient de fond premium --- */
.cta-section, section.cta-section {
    background: linear-gradient(135deg, #CF5603 0%, #E68D39 40%, #68A093 100%) !important;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; right: -20%;
    width: 60%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 50%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(15,23,42,.2) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-section h2, .cta-section p { color: #fff !important; position: relative; z-index: 1; }
.cta-section .btn-primary {
    background: #fff !important;
    color: var(--color-primary) !important;
}
.cta-section .btn-primary:hover {
    background: #0f172a !important;
    color: #fff !important;
}
.cta-section .btn-secondary {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,.5) !important;
    color: #fff !important;
}
.cta-section .btn-secondary:hover {
    background: #fff !important;
    color: var(--color-primary) !important;
    border-color: #fff !important;
}

/* --- Numbers section : gradient sur les chiffres --- */
.numbers-section .stat-number {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat::before {
    background: var(--gradient-brand-warm) !important;
}

/* --- FAQ : accent gradient sur hover --- */
.faq-item[open] {
    border-image: var(--gradient-brand) 1;
    box-shadow: 0 8px 24px -8px rgba(207,86,3,.2);
}
.faq-item summary::after {
    color: var(--color-primary);
}

/* --- Partenaires : carrousel défilé infini (marquee) --- */
.partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 32px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.partners-marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: partnersMarquee 30s linear infinite;
}
.partners-marquee:hover .partners-marquee-track { animation-play-state: paused; }
.partners-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 16px;
    min-width: 220px;
    height: 110px;
    transition: transform .3s var(--ease-premium), box-shadow .3s;
}
.partners-marquee-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(207,86,3,.25);
    border-color: rgba(230,141,57,.35);
}
.partners-marquee-item img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .3s, opacity .3s;
}
.partners-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.partners-marquee-item .partner-name {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 18px;
}
@keyframes partnersMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Page hero : titre plus impactant --- */
.page-hero {
    min-height: 336px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
}
@media (min-width: 769px) {
    .page-hero { min-height: 384px; }
}
.page-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* --- Sections alt : légère teinte gradient --- */
section.section:nth-child(even):not(.cta-section):not(.hero):not(.page-hero) {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8f5 100%);
}

/* --- Scroll reveal renforcé --- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease-premium), transform .8s var(--ease-premium); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- Nav top bar : gradient accent subtle --- */
.site-header { border-bottom: 1px solid rgba(15,23,42,.06); }
.site-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity .4s;
}
.site-header.scrolled::after { opacity: .5; }

/* --- Agence cards (pour page Nos agences) --- */
.agences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.agence-card {
    position: relative;
    padding: 40px 32px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    overflow: hidden;
    transition: transform .4s var(--ease-premium), box-shadow .4s;
}
.agence-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-brand-warm);
}
.agence-card:nth-child(2)::before { background: var(--gradient-brand-cool); }
.agence-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -15px rgba(207,86,3,.25);
    border-color: rgba(230,141,57,.3);
}
.agence-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.agence-card .agence-address { color: var(--color-text-light); margin-bottom: 16px; font-size: 15px; }
.agence-card .agence-phone { font-weight: 700; color: var(--color-secondary); display: inline-block; margin-right: 16px; }
.agence-card .agence-zones { margin-top: 20px; padding-top: 20px; border-top: 1px dashed rgba(15,23,42,.1); font-size: 14px; color: var(--color-text-light); }

/* --- Floating shapes pour les sections --- */
.section-with-blob { position: relative; overflow: hidden; }
.section-with-blob::before {
    content: '';
    position: absolute;
    top: 20%; right: -15%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(207,86,3,.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.section-with-blob > .container { position: relative; z-index: 1; }

/* --- Gradient divider ligne --- */
.gradient-divider {
    height: 4px;
    width: 80px;
    margin: 0 auto 32px;
    background: var(--gradient-brand);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero::before, .page-hero::before,
    .hero::after, .page-hero::after { opacity: .35; }
    .partners-marquee-item { min-width: 160px; height: 90px; padding: 12px 20px; }
    .partners-marquee-item img { max-height: 40px; max-width: 120px; }
    .partners-marquee-track { gap: 32px; }
    .agences-grid { grid-template-columns: 1fr; }
    .agence-card { padding: 32px 24px; }
}

/* ============================================
   === FIX LUCILE 2026-04-15 ===
   Bugs critiques reportes par le client sfsecurity :
   1. Boutons CTA primaires : texte toujours blanc, jamais orange-sur-orange
   2. Hero overlays : assombrir de 15 pour meilleure lisibilite du texte blanc
   3. Hero home mobile : centrer l image de l agent
   4. Cards numerotees (01, 02, 03) : fix overflow horizontal mobile 375px
   5. Navbar mobile : cacher le CTA du header hors menu deroule
   ============================================ */

/* --- 1. BOUTONS : texte blanc force sur tous les CTA primaires --- */
/* Le bouton .btn-primary a un background gradient orange (ligne 4566).
   Sur .cta-banner, une regle plus ancienne tentait de le rendre blanc
   avec texte orange, mais le !important ligne 4566/4567 gagne et on
   se retrouve avec texte orange sur fond orange = invisible.
   On harmonise : tous les boutons primaires ont un fond orange gradient
   et un texte BLANC. Le "secondary" blanc-sur-fond-image reste gere
   separement (hero-buttons .btn-secondary). */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.cta-banner .btn-primary,
.cta-banner .btn,
.hero-buttons .btn-primary,
.hero-cta,
.header-cta,
.nav-cta .btn-primary,
.nav-mobile-cta .btn-primary,
section.cta-section .btn,
section.cta-section .btn-primary {
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.cta-banner .btn-primary:hover,
.cta-banner .btn-primary:focus,
.cta-banner .btn:hover,
.hero-buttons .btn-primary:hover,
.nav-cta .btn-primary:hover,
.nav-mobile-cta .btn-primary:hover,
section.cta-section .btn:hover,
section.cta-section .btn-primary:hover {
    color: #fff !important;
}
/* Override explicite : le CTA dans .cta-banner doit garder le fond
   gradient orange (pas de fond blanc) pour que le texte blanc soit
   lisible. On force le background gradient brand warm. */
.cta-banner .btn-primary,
.cta-banner .btn.btn-primary {
    background: var(--gradient-brand-warm) !important;
    border-color: transparent !important;
}
.cta-banner .btn-primary:hover,
.cta-banner .btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-tertiary) 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}
/* Secondary dans le hero reste transparent avec texte blanc */
.hero-buttons .btn-secondary,
.hero-buttons .btn-secondary:hover { color: #fff !important; }

/* --- 2. HEROES : assombrir overlays de 0.15 --- */
/* Hero global sfsecurity (override ligne 4509, selector egal -> on force
   avec une specificite plus elevee via .hero-section, .hero et .page-hero) :
   rgba(207,86,3,.72) -> .87, rgba(230,141,57,.58) -> .73, rgba(15,23,42,.75) -> .90 */
.hero .hero-overlay,
.hero-section .hero-overlay,
section.hero .hero-overlay {
    background: linear-gradient(135deg, rgba(207,86,3,.87) 0%, rgba(230,141,57,.73) 40%, rgba(15,23,42,.90) 100%) !important;
}
/* Page hero (inner pages) : overlay dark-blue + orange touch, +0.15 */
.page-hero .hero-overlay {
    background:
        linear-gradient(180deg, rgba(var(--color-secondary-rgb), 1) 0%, rgba(var(--color-secondary-rgb), .80) 40%, rgba(var(--color-secondary-rgb), 1) 100%),
        linear-gradient(135deg, rgba(var(--color-primary-rgb), .27) 0%, transparent 50%) !important;
}
/* CTA banner overlay : +0.15 sur chaque stop */
.cta-banner .cta-overlay,
.cta-banner > .cta-overlay {
    background: linear-gradient(135deg, rgba(var(--color-secondary-rgb),1) 0%, rgba(var(--color-primary-rgb),.97) 45%, rgba(var(--color-accent-rgb),.87) 100%) !important;
}

/* --- 3. HERO HOME : centrer l image sur mobile --- */
@media (max-width: 768px) {
    .hero-bg-img,
    .hero .hero-bg-img,
    .hero-section img.hero-bg-img,
    .hero-section .hero-bg,
    .hero-image img {
        object-position: center center !important;
    }
}

/* --- 4. CARDS NUMEROTEES : fix overflow mobile --- */
/* Le grid `cards-layout-minimal` force minmax(440px,1fr) ce qui fait
   deborder sur 375px. On passe en 1 colonne < 768px et on compacte
   le padding-left + la taille du numero pour liberer de la place au
   texte du titre. Le card-body recoit un min-width:0 pour permettre
   le wrap correct des titres longs. */
@media (max-width: 768px) {
    .cards-layout-minimal {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 100% !important;
    }
    .cards-layout-minimal .card-minimal {
        padding: 20px 20px 24px 64px !important;
    }
    .cards-layout-minimal .card-number {
        font-size: 2.2rem !important;
        top: 18px !important;
        left: 14px !important;
    }
    .cards-layout-minimal .card-body {
        min-width: 0;
    }
    .cards-layout-minimal .card-body h3 {
        font-size: 1.05rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .cards-layout-minimal .card-body .card-text,
    .cards-layout-minimal .card-body p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .cards-layout-minimal .card-minimal::after {
        left: 64px !important;
    }
    /* Meme traitement pour card-steps (memes classes de base) */
    .cards-layout-steps {
        grid-template-columns: 1fr !important;
    }
    .cards-layout-steps .card-steps {
        padding: 40px 20px 28px !important;
    }
    .cards-layout-steps .card-number {
        font-size: 2.4rem !important;
    }
    .cards-layout-steps .card-body {
        min-width: 0;
    }
    .cards-layout-steps .card-body h3,
    .cards-layout-steps .card-body p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    /* Filet de securite : jamais de scroll horizontal dans une card */
    .cards-wrap, .cards-section .container {
        overflow-x: hidden;
    }
    .cards-wrap .card {
        max-width: 100%;
    }
}

/* --- 5. NAVBAR MOBILE : cacher le CTA du header hors menu ouvert --- */
/* Sur mobile, le bouton "Demander un devis" doit etre dans le menu
   deroule (.nav-mobile-cta) uniquement, jamais a cote du logo. */
@media (max-width: 960px) {
    .nav-cta {
        display: none !important;
    }
    header#site-header .nav-container > .nav-cta,
    header#site-header .nav-cta {
        display: none !important;
    }
    /* Les elements nav-mobile-cta restent affiches quand le menu est ouvert */
    .nav-menu.active ~ .nav-mobile-cta {
        display: flex !important;
    }
}
/* Pour les breakpoints intermediaires (768-960), forcer aussi le meme
   comportement sur d eventuelles regles fluides qui leak. */
@media (max-width: 768px) {
    #site-header .nav-cta { display: none !important; }
    /* Le burger reste seul visible a cote du logo */
    #site-header .nav-toggle { display: block !important; }
}


/* ============================================
   === SF SECURITY V3 - 2026-04-15 ===
   1. Gradient orange -> turquoise signature sur tous les overlays
   2. Bloc avis Google marquee 2 lignes
   3. Page recrutement framer-style
   4. Contact form framer-style
   ============================================ */

/* --- 1. OVERLAYS SIGNATURE (orange -> turquoise) -------------- */
/* On override toutes les variantes d'overlay (home, page, cta).
   Les FIX LUCILE plus haut utilisent la couleur --color-secondary
   (bleu foncé) : on re-override ici avec le gradient turquoise pour
   matcher le vrai site sfsecurity.fr. Specificite + ordre de
   cascade gagne. */

.hero .hero-overlay,
.hero-section .hero-overlay,
section.hero .hero-overlay {
    background: var(--gradient-hero-overlay-strong) !important;
}
.page-hero .hero-overlay {
    background: var(--gradient-hero-overlay) !important;
}
.cta-banner .cta-overlay,
.cta-banner > .cta-overlay,
section.cta-section::before {
    background: var(--gradient-hero-overlay-strong) !important;
}
section.cta-section {
    position: relative;
    overflow: hidden;
}
section.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
section.cta-section > * {
    position: relative;
    z-index: 2;
}

/* --- 1b. BTN-PRIMARY : gradient brand + hover inversion ------- */
.btn-primary,
.btn.btn-primary,
a.btn-primary {
    background: var(--gradient-brand) !important;
    border-color: transparent !important;
    color: #fff !important;
    background-size: 200% 100%;
    background-position: 0% 50%;
    transition: background-position .5s var(--ease-premium), transform var(--transition), box-shadow var(--transition), color var(--transition) !important;
}
.btn-primary:hover,
.btn.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--gradient-brand-reverse) !important;
    background-size: 200% 100%;
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px rgba(207,86,3,.45), 0 4px 14px -4px rgba(104,160,147,.35);
    color: #fff !important;
}

/* Accents / barres / badges gradient brand */
.section-divider,
.gradient-bar,
.accent-bar {
    height: 4px;
    background: var(--gradient-brand);
    border-radius: 999px;
}

/* --- 2. REVIEWS MARQUEE (framer-style 2 rows) ----------------- */
.reviews-marquee {
    position: relative;
    padding: 90px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #faf7f3 100%);
    overflow: hidden;
}
.reviews-marquee::before,
.reviews-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}
.reviews-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}
.reviews-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}
.reviews-marquee__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.reviews-marquee__header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 14px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.reviews-marquee__header p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.reviews-marquee__google-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    font-size: 0.9rem;
    font-weight: 600;
    color: #3c4043;
}
.reviews-marquee__google-pill .g-stars { color: #fbbc04; letter-spacing: 1px; }
.reviews-marquee__row {
    display: flex;
    width: 100%;
    margin-bottom: 28px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.reviews-marquee__row:last-child { margin-bottom: 0; }
.reviews-marquee__track {
    display: flex;
    gap: 24px;
    width: max-content;
    flex-shrink: 0;
    animation: revMarqueeLeft 80s linear infinite;
    will-change: transform;
}
.reviews-marquee__row--ltr .reviews-marquee__track {
    animation-name: revMarqueeRight;
    animation-duration: 90s;
}
.reviews-marquee__row:hover .reviews-marquee__track,
.reviews-marquee.is-paused .reviews-marquee__track {
    animation-play-state: paused;
}
@keyframes revMarqueeLeft {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes revMarqueeRight {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

.review-card {
    flex: 0 0 340px;
    max-width: 340px;
    min-height: 210px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04), 0 10px 30px -12px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), border-color .35s var(--ease-premium);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(15,23,42,.05), 0 20px 45px -14px rgba(207, 86, 3, 0.22);
    border-color: rgba(230, 141, 57, 0.25);
}
.review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.review-card__google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3c4043;
    letter-spacing: -0.01em;
}
.review-card__google-logo {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}
.review-card__stars {
    display: inline-flex;
    gap: 2px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1;
    color: #fbbc04;
}
.review-card__stars .star-empty { color: #e3e5e8; }
.review-card__text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #1f2937;
    flex: 1 1 auto;
    margin: 0;
    /* max 5 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.review-card__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.review-card__name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.review-card__time {
    font-size: 0.78rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .reviews-marquee { padding: 64px 0 56px; }
    .review-card { flex: 0 0 280px; max-width: 280px; padding: 20px 22px; }
    .reviews-marquee__header { margin-bottom: 36px; }
    .reviews-marquee::before,
    .reviews-marquee::after { width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
    .reviews-marquee__track { animation: none !important; }
}

/* --- 3. PAGE RECRUTEMENT (framer / figma style) --------------- */
.recrut-offer {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf7f3 100%);
}
.recrut-offer__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.recrut-offer__head h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 14px;
}
.recrut-offer__head p { color: var(--color-text-light); font-size: 1.05rem; }
.recrut-offer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.recrut-card {
    position: relative;
    padding: 36px 28px 28px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), border-color .35s var(--ease-premium);
}
.recrut-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-brand);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .5s var(--ease-premium);
}
.recrut-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -18px rgba(207,86,3,.28);
    border-color: rgba(230,141,57,.3);
}
.recrut-card:hover::before { transform: scaleX(1); }
.recrut-card__num {
    display: inline-block;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 18px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}
.recrut-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(207,86,3,.08);
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
    margin-left: 12px;
    vertical-align: top;
}
.recrut-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
}

.recrut-values {
    padding: 90px 0;
    background: #ffffff;
}
.recrut-values__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}
.recrut-values__text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}
.recrut-values__text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 16px;
}
.recrut-values__visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--gradient-brand);
    box-shadow: 0 40px 80px -30px rgba(207,86,3,.35);
}
.recrut-values__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    mix-blend-mode: normal;
}
.recrut-values__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.45) 100%);
}
.recrut-values__badge {
    position: absolute;
    bottom: 20px; left: 20px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.recrut-form {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(207,86,3,.04) 0%, rgba(230,141,57,.03) 50%, rgba(104,160,147,.05) 100%);
    position: relative;
    overflow: hidden;
}
.recrut-form::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(207,86,3,.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.recrut-form::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(104,160,147,.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.recrut-form__container {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}
.recrut-form__head {
    text-align: center;
    margin-bottom: 48px;
}
.recrut-form__head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 12px;
}
.recrut-form__head p { color: var(--color-text-light); font-size: 1.05rem; }
.recrut-form__card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 30px 70px -30px rgba(15,23,42,.18);
}
.recrut-form__grid,
.contact-form-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.recrut-form__field,
.contact-form-card__field {
    display: flex;
    flex-direction: column;
}
.recrut-form__field--full,
.contact-form-card__field--full { grid-column: 1 / -1; }
.recrut-form__field label,
.contact-form-card__field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.recrut-form__field label .req,
.contact-form-card__field label .req {
    color: var(--color-primary);
    margin-left: 2px;
}
.recrut-form__field input,
.recrut-form__field select,
.recrut-form__field textarea,
.contact-form-card__field input,
.contact-form-card__field select,
.contact-form-card__field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 12px;
    background: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #0f172a;
    transition: border-color .2s, box-shadow .2s, background .2s;
    appearance: none;
    -webkit-appearance: none;
}
.recrut-form__field select,
.contact-form-card__field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23CF5603' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.recrut-form__field input:focus,
.recrut-form__field select:focus,
.recrut-form__field textarea:focus,
.contact-form-card__field input:focus,
.contact-form-card__field select:focus,
.contact-form-card__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(207,86,3,.12);
    background: #fff;
}
.recrut-form__field textarea,
.contact-form-card__field textarea {
    min-height: 140px;
    resize: vertical;
}
.recrut-form__field input[type="file"],
.contact-form-card__field input[type="file"] {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.85rem;
}
.recrut-form__field input[type="file"]::file-selector-button {
    padding: 8px 14px;
    margin-right: 12px;
    border: 0;
    border-radius: 8px;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}
.recrut-form__submit,
.contact-form-card__submit {
    margin-top: 28px;
    text-align: center;
}
.recrut-form__submit button,
.contact-form-card__submit button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    background: var(--gradient-brand);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-position .5s var(--ease-premium), transform .3s, box-shadow .3s;
    box-shadow: 0 10px 28px -8px rgba(207,86,3,.4);
}
.recrut-form__submit button:hover,
.contact-form-card__submit button:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(207,86,3,.5), 0 6px 18px -6px rgba(104,160,147,.35);
}
.recrut-form__notice,
.contact-form-card__notice {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}
.recrut-form__notice.is-success,
.contact-form-card__notice.is-success {
    background: var(--color-success-bg);
    color: var(--color-success-dark);
    border: 1px solid rgba(16,185,129,.25);
}
.recrut-form__notice.is-error,
.contact-form-card__notice.is-error {
    background: var(--color-error-bg);
    color: var(--color-error-dark);
    border: 1px solid rgba(239,68,68,.25);
}

/* Contact form carte dedie (page /contact/) */
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 30px 70px -30px rgba(15,23,42,.18);
}
.contact-form-card h2 { margin-bottom: 24px; font-size: 1.5rem; }

@media (max-width: 768px) {
    .recrut-offer,
    .recrut-values,
    .recrut-form { padding: 60px 0; }
    .recrut-values__grid { grid-template-columns: 1fr; gap: 40px; }
    .recrut-form__card,
    .contact-form-card { padding: 28px 22px; }
    .recrut-form__grid,
    .contact-form-card__grid { grid-template-columns: 1fr; gap: 16px; }
    .recrut-card { padding: 28px 22px 22px; }
    .recrut-values__visual { aspect-ratio: 4/3; }
}

/* === FIN SF SECURITY V3 === */

/* --- 4b. Contact Form 7 integration - style framer --- */
.contact-form-card .wpcf7 .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-form-card .wpcf7 .form-group { display: flex; flex-direction: column; }
.contact-form-card .wpcf7 .form-group--full { grid-column: 1 / -1; }
.contact-form-card .wpcf7 label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contact-form-card .wpcf7 input[type="tel"],
.contact-form-card .wpcf7 textarea,
.contact-form-card .wpcf7 select {
    padding: 13px 16px;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 12px;
    background: #ffffff;
    font-size: 0.95rem;
    color: #0f172a;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}
.contact-form-card .wpcf7 select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23CF5603' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.contact-form-card .wpcf7 input:focus,
.contact-form-card .wpcf7 textarea:focus,
.contact-form-card .wpcf7 select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px rgba(207,86,3,.12) !important;
    outline: none;
}
.contact-form-card .wpcf7 input[type="submit"],
.contact-form-card .wpcf7 button[type="submit"] {
    margin-top: 20px;
    padding: 16px 42px;
    background: var(--gradient-brand) !important;
    background-size: 200% 100% !important;
    background-position: 0% 50% !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-position .5s var(--ease-premium), transform .3s, box-shadow .3s !important;
    box-shadow: 0 10px 28px -8px rgba(207,86,3,.4);
    display: inline-block;
}
.contact-form-card .wpcf7 input[type="submit"]:hover,
.contact-form-card .wpcf7 button[type="submit"]:hover {
    background-position: 100% 50% !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(207,86,3,.5), 0 6px 18px -6px rgba(104,160,147,.35);
}
.contact-form-card .wpcf7 .wpcf7-submit-wrap,
.contact-form-card .wpcf7 form .wpcf7-submit {
    text-align: center;
}
.contact-form-card .wpcf7 form > p:last-of-type { text-align: center; }

/* Contact grid : harmoniser la dispo */
.contact-grid { gap: 48px; }
@media (max-width: 960px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-card .wpcf7 .form-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   === FIX LUCILE 2026-04-15 v2 ===
   1. Boutons : zero bordure partout
   2. Texte boutons toujours lisible (white-space, opacite, fill-color)
   3. Bouton header mobile "Demander un devis" : forcer affichage texte
   ============================================ */

/* 1. Toutes les bordures sur boutons -> transparent */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-secondary-light,
.btn:link, .btn:visited, .btn:hover, .btn:focus, .btn:active,
.btn-primary:link, .btn-primary:visited, .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.cta-banner .btn, .cta-banner .btn-primary,
.cta-banner .btn:hover, .cta-banner .btn-primary:hover,
.hero-buttons .btn, .hero-buttons .btn-primary, .hero-buttons .btn-secondary,
.hero-buttons .btn:hover, .hero-buttons .btn-primary:hover, .hero-buttons .btn-secondary:hover,
.nav-cta .btn, .nav-cta .btn-primary, .nav-cta .btn-primary:hover,
.nav-mobile-cta .btn, .nav-mobile-cta .btn-primary, .nav-mobile-cta .btn-primary:hover,
section.cta-section .btn, section.cta-section .btn-primary,
.recrut-form .btn, .recrut-form button,
.contact-form-card .btn, .contact-form-card button,
form .btn, form button[type="submit"], form input[type="submit"] {
    border: 0 !important;
    border-color: transparent !important;
    outline: 0;
    box-shadow: 0 6px 18px rgba(207,86,3,.18);
}

/* Hover : ombre plus marquee, pas de bordure */
.btn-primary:hover,
.btn:hover {
    box-shadow: 0 10px 26px rgba(207,86,3,.28) !important;
    border: 0 !important;
}

/* Focus visible : halo doux orange (a11y) au lieu de border */
.btn:focus-visible,
.btn-primary:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(230,141,57,.45), 0 6px 18px rgba(207,86,3,.18) !important;
}

/* 2. Sécurité texte boutons : empêcher tout text-fill transparent qui leak depuis .gradient-text
      (regle definie ailleurs dans la CSS pour les titres) ne touche jamais les .btn */
.btn,
.btn *,
.btn-primary,
.btn-primary *,
.nav-cta .btn,
.nav-cta .btn *,
.nav-mobile-cta .btn,
.nav-mobile-cta .btn * {
    -webkit-text-fill-color: currentColor !important;
    background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    color: #fff !important;
    text-shadow: none;
    opacity: 1;
}

/* Re-appliquer le fond gradient APRES le reset background-clip */
.btn-primary,
.btn.btn-primary,
.nav-cta .btn-primary,
.nav-mobile-cta .btn-primary,
a.btn-primary {
    background-image: var(--gradient-brand) !important;
    background-color: #CF5603 !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
}

/* Variante secondaire (ghost) : texte blanc sur fond translucide, pas de bordure */
.btn-secondary,
.hero-buttons .btn-secondary {
    background: rgba(255,255,255,.10) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border: 0 !important;
}
.btn-secondary:hover,
.hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
}

/* 3. Header mobile : forcer .nav-mobile-cta à sortir du flow header
      et à s'afficher EN BAS du menu déroulant (position: absolute).
      Sinon il apparaît à côté du burger et le texte est invisible. */
@media (max-width: 960px) {
    /* Par défaut caché, même quand menu closed */
    .nav-mobile-cta {
        display: none !important;
    }
    /* Quand menu actif : ancre l'élément au bas du drawer (absolute) */
    .nav-menu.active ~ .nav-mobile-cta {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        /* Placé juste en dessous du menu (menu = top:header-height, height auto) */
        /* On utilise top:header-height + scroll du menu, donc on positionne
           avec margin-top via un wrapper impossible -> on utilise sticky-bottom
           du drawer via un padding-bottom dans le menu à la place */
    }
    /* Astuce : au lieu de gérer la position absolute, on met .nav-mobile-cta
       en static mais forcé en bas du header-drawer en utilisant `order` inversé.
       Plus fiable : on recrée la zone CTA DANS le .nav-menu.active via une
       margin-top négative d'alignement + on empile visuellement. */
    .nav-menu.active ~ .nav-mobile-cta {
        position: absolute;
        top: var(--header-height);
        left: 0; right: 0;
        margin-top: 0;
        transform: translateY(0);
        /* Le drawer menu est aussi absolute avec top:header-height. On le
           pousse DANS le drawer via z-index + padding bas du menu. */
    }
    /* Solution finale : plutôt que absolute (qui empile par dessus menu),
       on laisse static MAIS on positionne via flex-order impossible.
       Simplement : le menu drawer contient déjà scroll, et le .nav-mobile-cta
       en sibling-selector flotte. Réel fix : lui donner un display:flex
       block dans le flow, mais masquer le premier bouton au top via :first-of-type.
       → Plus simple : masquer .nav-mobile-cta si elle est DANS le header (top)
       et l'afficher UNIQUEMENT dans une copie placée dans le menu.
       Puisqu'il n'y en a qu'une copie, on force son affichage en fin de menu
       via position:fixed en bas de viewport quand menu ouvert. */
    .nav-menu.active ~ .nav-mobile-cta {
        position: fixed !important;
        top: auto !important;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 24px 28px;
        z-index: 1000;
        border-top: 1px solid rgba(15,23,42,.08);
        box-shadow: 0 -8px 24px rgba(15,23,42,.06);
    }
    .nav-mobile-cta .nav-phone {
        font-size: 16px;
        font-weight: 700;
        color: var(--color-primary);
        text-align: center;
    }
    .nav-mobile-cta .btn-primary {
        min-width: 240px;
        padding: 14px 32px;
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
        overflow: visible;
        text-align: center;
    }
    /* Header bar : aucun CTA visible (ni .nav-cta ni .nav-mobile-cta) */
    #site-header > .nav-container > .nav-cta,
    #site-header .nav-cta {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        opacity: 0 !important;
    }
    /* Le menu drawer remplit toute la hauteur visible (sinon la zone vide
       entre les items et le CTA fixe laisse voir le hero derrière) */
    .nav-menu.active {
        min-height: calc(100vh - var(--header-height));
        padding-bottom: 140px;
        background: #fff;
    }
}

/* 4. Mobile menu : items menu propres */
@media (max-width: 960px) {
    .nav-menu.active {
        padding: 24px 0 8px;
    }
    .nav-menu.active > li > a {
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
    }
    /* Item actif : background tres leger plutot que bordure */
    .nav-menu.active > li.current-menu-item > a,
    .nav-menu.active > li.current_page_item > a {
        background: linear-gradient(90deg, rgba(207,86,3,.08) 0%, transparent 100%);
        color: var(--color-primary);
    }
}

/* 5. Cards : harmoniser le no-border (pour matcher l'esthetique Lucile)
      sauf pour les cards-clickable au hover qui ont besoin d'un signal visuel */
.card,
.card-minimal,
.card-numbered {
    border: 0 !important;
}
a.card-clickable {
    border: 0 !important;
    box-shadow: 0 4px 16px rgba(15,23,42,.06);
    transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium);
}
a.card-clickable:hover {
    box-shadow: 0 12px 32px rgba(207,86,3,.18) !important;
    border: 0 !important;
    transform: translateY(-4px);
}

/* ============================================
   === FIX LUCILE 2026-04-16 ===
   Hero "À propos" : cadrer sur le visage de l'agent.
   Image 16:9 avec l'agent centré horizontalement, son visage étant dans le
   tiers supérieur. Sur un hero large/court, on remonte l'ancrage pour le voir.
   ============================================ */
.page-id-5433 .hero-bg-img,
body.page-id-5433 .hero-bg-img {
    object-position: center 30% !important;
}
@media (max-width: 768px) {
    .page-id-5433 .hero-bg-img,
    body.page-id-5433 .hero-bg-img {
        object-position: center 25% !important;
    }
}

/* ============================================
   === ENGAGEMENTS CARDS LAYOUT (framer/figma style) ===
   Layout "engagements" dédié. 3 cols desktop, 2 tablette, 1 mobile.
   Card : icône gradient circle + numéro en superposition, titre bold,
   description lisible, liseré gradient en bas qui s'anime au hover.
   ============================================ */
.cards-section--engagements { padding: 88px 0; }
.cards-wrap.grid-engagements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.engagement-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 32px 44px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.03);
    transition: transform .4s var(--ease-premium), box-shadow .4s var(--ease-premium);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    isolation: isolate;
}
.engagement-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at 0% 0%, rgba(230,141,57,.05), transparent 50%);
    opacity: 0;
    transition: opacity .4s var(--ease-premium);
    pointer-events: none;
    z-index: -1;
}
.engagement-card:hover::before { opacity: 1; }
a.engagement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15,23,42,.08), 0 4px 12px rgba(207,86,3,.08);
}
.engagement-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.engagement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(207,86,3,.22);
    transition: transform .4s var(--ease-premium);
}
a.engagement-card:hover .engagement-icon {
    transform: rotate(-4deg) scale(1.05);
}
.engagement-num {
    font-family: var(--font-heading, var(--font-sans));
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: .25;
    transition: opacity .4s var(--ease-premium);
}
a.engagement-card:hover .engagement-num { opacity: .55; }
.engagement-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.engagement-title {
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-secondary, #0F172A);
    margin: 0;
    letter-spacing: -0.01em;
}
.engagement-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted, #5a6677);
}
.engagement-text p { margin: 0; }
.engagement-text p + p { margin-top: 8px; }
.engagement-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
}
.engagement-accent {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--gradient-brand);
    transform: scaleX(.18);
    transform-origin: left center;
    transition: transform .5s var(--ease-premium);
}
a.engagement-card:hover .engagement-accent { transform: scaleX(1); }

@media (max-width: 1024px) {
    .cards-wrap.grid-engagements { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
    .cards-wrap.grid-engagements { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .engagement-card { padding: 32px 24px 36px; }
    .engagement-icon { width: 56px; height: 56px; font-size: 20px; }
    .engagement-num { font-size: 36px; }
}

/* ============================================
   === CARDS PARTENAIRES : logo en bas de la card ===
   Ajoute un logo brand en pied de card (wp_render_card standard).
   ============================================ */
.card-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    margin-top: 16px;
    border-top: 1px solid rgba(15,23,42,.08);
    min-height: 56px;
}
.card-partner-logo img {
    max-width: 140px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: .92;
    transition: opacity .3s ease;
}
.card-partner-logo:hover img { opacity: 1; }

/* ============================================
   === HOME SERVICES GRID (7 cards avec photo) ===
   Utilisée sur front-page.php. 4 colonnes desktop (4+3),
   2 colonnes tablette, 1 colonne mobile.
   ============================================ */
.home-services { background: var(--color-background, #fafafa); }
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.home-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15,23,42,.05);
    text-decoration: none;
    color: inherit;
    transition: transform .35s var(--ease-premium, cubic-bezier(.2,.7,.2,1)), box-shadow .35s ease;
    will-change: transform;
}
a.home-service-card.card-clickable:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15,23,42,.12);
}
.home-service-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #334155);
}
.home-service-card__img,
.home-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-premium, cubic-bezier(.2,.7,.2,1));
}
a.home-service-card.card-clickable:hover .home-service-card__img {
    transform: scale(1.06);
}
.home-service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,.55) 100%);
    pointer-events: none;
}
.home-service-card__icon {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-brand, linear-gradient(135deg,#f97316,#06b6d4));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(15,23,42,.25);
}
.home-service-card__num {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    color: var(--color-secondary, #0f172a);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}
.home-service-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.home-service-card__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--color-secondary, #0f172a) !important;
}
a.home-service-card .home-service-card__title,
a.home-service-card h3 { color: var(--color-secondary, #0f172a); }
.home-service-card__desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-text-muted, #475569);
    margin: 0;
    flex: 1;
}
.home-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent, #f97316);
}
.home-service-card__link i {
    transition: transform .3s ease;
}
a.home-service-card.card-clickable:hover .home-service-card__link i {
    transform: translateX(4px);
}
.home-services-cta {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}
@media (max-width: 1200px) {
    .home-services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .home-services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
    .home-services-grid { grid-template-columns: 1fr; }
    .home-service-card__body { padding: 18px; }
}

/* ============================================
   === CARDS MINIMAL AVEC ICÔNE (style Framer) ===
   Ajoute une icône gradient en haut de la card, le numéro devient
   plus discret en coin, layout plus élégant et cohérent.
   ============================================ */
.cards-layout-minimal .card-minimal--with-icon {
    padding: 36px 28px 36px 28px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15,23,42,.04);
    transition: transform .35s var(--ease-premium, cubic-bezier(.2,.7,.2,1)), box-shadow .35s ease;
}
.cards-layout-minimal a.card-clickable.card-minimal--with-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,23,42,.1);
}
.cards-layout-minimal .card-minimal--with-icon::before,
.cards-layout-minimal .card-minimal--with-icon::after { display: none; }

.cards-layout-minimal .card-minimal--with-icon .card-icon-gradient {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(var(--color-primary-rgb), .28);
    margin-bottom: 22px;
    transition: transform .35s var(--ease-premium, cubic-bezier(.2,.7,.2,1));
}
.cards-layout-minimal a.card-clickable.card-minimal--with-icon:hover .card-icon-gradient {
    transform: scale(1.06) rotate(-3deg);
}
.cards-layout-minimal .card-minimal--with-icon .card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    left: auto;
    font-size: 1.25rem;
    font-weight: 700;
    opacity: .35;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cards-layout-minimal .card-minimal--with-icon .card-body {
    padding: 0;
}
.cards-layout-minimal .card-minimal--with-icon h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--color-secondary);
}
.cards-layout-minimal .card-minimal--with-icon .card-text {
    color: #475569;
    font-size: .95rem;
    line-height: 1.55;
}
.cards-layout-minimal .card-minimal--with-icon .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-primary);
}
@media (max-width: 768px) {
    .cards-layout-minimal .card-minimal--with-icon {
        padding: 28px 22px !important;
    }
    .cards-layout-minimal .card-minimal--with-icon .card-icon-gradient {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 18px;
    }
    .cards-layout-minimal .card-minimal--with-icon .card-number {
        top: 16px;
        right: 18px;
        left: auto !important;
        font-size: 1.1rem !important;
    }
}

/* ============================================
   CAMPUS LA SALLE — Moteur de recherche + carte
   ============================================ */

.campus-search-app {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 24px 120px;
}
.search-panel {
    background: linear-gradient(180deg, rgba(10,37,64,.02) 0%, rgba(30,77,140,.04) 100%);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 36px 32px;
    margin: 48px 0 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.search-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: .4;
    pointer-events: none;
    z-index: 0;
}
.search-panel > * { position: relative; z-index: 1; }
.search-panel__head {
    text-align: center;
    margin-bottom: 28px;
}
.search-panel__head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: -.01em;
}
.search-panel__head p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}
.search-filters {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr) auto;
    gap: 14px;
    align-items: end;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.filter-group input,
.filter-group select {
    height: 46px;
    padding: 0 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}
.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(30,77,140,.12);
}
.filter-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 38px;
    -webkit-appearance: none;
    appearance: none;
}
.btn-reset {
    height: 46px;
    padding: 0 22px;
    border: 1.5px solid var(--color-border);
    background: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-reset:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}
.search-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--color-border);
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}
#results-count {
    color: var(--color-primary);
    font-weight: 700;
}

.search-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    min-height: 70vh;
}
.campus-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    min-height: 640px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: calc(100vh - var(--header-height) - 40px);
    max-height: 800px;
}
.campus-map .leaflet-tile-pane {
    filter: saturate(0.95) contrast(1.02);
}
.campus-marker__pin {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
    transition: transform .25s var(--ease-premium);
}
.campus-marker__pin:hover {
    transform: translateY(-3px) scale(1.1);
}
.map-popup {
    padding: 4px 4px 0;
    min-width: 220px;
}
.map-popup h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary);
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.3;
}
.map-popup__addr {
    color: var(--color-text-light);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 8px;
}
.map-popup__delegation {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.map-popup__formations {
    font-size: 13px;
    color: var(--color-secondary);
    margin: 0 0 10px;
}
.map-popup__btn {
    display: inline-block;
    padding: 7px 16px;
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}
.map-popup__btn:hover {
    background: var(--color-secondary);
    color: #fff !important;
}

.results-panel {
    max-height: calc(100vh - var(--header-height) - 40px);
    overflow-y: auto;
    padding-right: 8px;
}
.results-panel::-webkit-scrollbar { width: 6px; }
.results-panel::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 10px; }
.results-panel::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.result-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px 24px 20px;
    transition: border-color .25s ease, transform .25s var(--ease-premium), box-shadow .25s ease;
}
.result-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.result-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.result-card__head h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin: 0 0 6px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.005em;
}
.result-card__addr {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.result-card__addr i {
    color: var(--color-accent);
    font-size: 12px;
}
.result-card__count {
    background: var(--color-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .03em;
}
.result-card__formations {
    list-style: none;
    padding: 0;
    margin: 16px 0 14px;
    border-top: 1px dashed var(--color-border);
    padding-top: 14px;
}
.result-card__formations li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text);
    border-bottom: 1px dotted rgba(220,228,238,.6);
    flex-wrap: wrap;
}
.result-card__formations li:last-child {
    border-bottom: none;
}
.niveau-badge {
    background: var(--color-secondary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    flex-shrink: 0;
    text-transform: uppercase;
}
.secteur-pill {
    margin-left: auto;
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}
.result-card__foot {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}
.btn-locate {
    background: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-light);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-locate:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}
.btn-locate i {
    font-size: 11px;
}
.no-results {
    background: #fff;
    border: 1px dashed var(--color-border);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    color: var(--color-text-light);
}

/* Cluster custom */
.marker-cluster-small {
    background-color: rgba(10,37,64,.18) !important;
}
.marker-cluster-small div {
    background-color: rgba(10,37,64,.85) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
}
.marker-cluster-medium {
    background-color: rgba(30,77,140,.18) !important;
}
.marker-cluster-medium div {
    background-color: rgba(30,77,140,.85) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
}
.marker-cluster-large {
    background-color: rgba(200,161,90,.2) !important;
}
.marker-cluster-large div {
    background-color: rgba(200,161,90,.92) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
}

/* Responsive moteur de recherche */
@media (max-width: 1100px) {
    .search-filters {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .filter-search {
        grid-column: 1 / -1;
    }
    .btn-reset {
        grid-column: -2 / -1;
        margin-left: auto;
    }
    .search-layout {
        grid-template-columns: 1fr;
    }
    .campus-map {
        position: static;
        height: 480px;
        min-height: 480px;
    }
    .results-panel {
        max-height: none;
    }
}
@media (max-width: 720px) {
    .search-panel {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }
    .search-filters {
        grid-template-columns: 1fr 1fr;
    }
    .filter-search, .btn-reset {
        grid-column: 1 / -1;
    }
    .btn-reset { margin-left: 0; }
    .campus-map { height: 380px; min-height: 380px; border-radius: 14px; }
    .result-card { padding: 20px 18px 16px; }
    .result-card__head {
        flex-direction: column;
    }
    .result-card__count { align-self: flex-start; }
}

/* ============================================
   CAMPUS — Page single
   ============================================ */
.campus-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: calc(var(--header-height) + 80px) 0 80px;
    position: relative;
    overflow: hidden;
}
.campus-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh-hero);
    opacity: .35;
    pointer-events: none;
}
.campus-hero .container {
    position: relative;
    z-index: 2;
}
.campus-hero__delegation {
    display: inline-block;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.2);
}
.campus-hero h1 {
    color: #fff !important;
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    margin-bottom: 16px;
    letter-spacing: -.01em;
}
.campus-hero__address {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.campus-hero__address i {
    color: var(--color-accent);
}
.campus-hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.campus-hero__stat {
    border-left: 2px solid var(--color-accent);
    padding-left: 16px;
}
.campus-hero__stat strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.campus-hero__stat span {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.campus-single {
    padding: 80px 0 120px;
    background: var(--color-bg-alt);
}
.campus-single .container {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 48px;
}
.campus-main .campus-section {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 28px;
    border: 1px solid var(--color-border);
}
.campus-main h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin: 0 0 20px;
    letter-spacing: -.01em;
}
.campus-main h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin: 28px 0 12px;
}
.campus-main p { line-height: 1.8; color: var(--color-text); }

.formations-by-secteur {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.secteur-block {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 20px 22px;
    background: var(--color-bg-alt);
}
.secteur-block__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-primary);
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    font-weight: 700;
}
.secteur-block__title .count {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    background: #fff;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--color-border);
}
.formation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}
.formation-item .niveau-badge {
    margin-top: 2px;
}
.campus-aside {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}
.campus-aside__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 28px 26px;
    margin-bottom: 20px;
}
.campus-aside__card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    font-weight: 700;
}
.campus-aside__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 14px;
}
.campus-aside__item:last-child { border-bottom: none; }
.campus-aside__item i {
    color: var(--color-secondary);
    width: 18px;
    margin-top: 3px;
}
.campus-aside__item a {
    color: var(--color-secondary);
    word-break: break-word;
}
.campus-aside__item a:hover { color: var(--color-primary); }

.campus-minimap {
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--color-border);
}

@media (max-width: 960px) {
    .campus-single .container {
        grid-template-columns: 1fr;
    }
    .campus-aside {
        position: static;
    }
    .campus-hero__stats {
        gap: 24px;
    }
}


/* ============================================
   CAMPUS LA SALLE — Home page custom
   ============================================ */

.home-hero {
    position: relative;
    padding: calc(var(--header-height) + 100px) 0 120px;
    background: linear-gradient(135deg, #0A2540 0%, #0f2e52 55%, #1a3a6b 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.home-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.home-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh-hero);
    opacity: .5;
}
.home-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .32;
    will-change: transform;
}
.home-hero__shape--1 {
    width: 520px; height: 520px;
    background: #1E4D8C;
    top: -120px; left: -60px;
    animation: heroShape 14s ease-in-out infinite;
}
.home-hero__shape--2 {
    width: 460px; height: 460px;
    background: #C8A15A;
    opacity: .22;
    top: 30%; right: -120px;
    animation: heroShape 18s ease-in-out infinite reverse;
}
.home-hero__shape--3 {
    width: 380px; height: 380px;
    background: #3B6EB0;
    bottom: -120px; left: 40%;
    animation: heroShape 20s ease-in-out infinite;
}
@keyframes heroShape {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px,-30px) scale(1.05); }
    66% { transform: translate(-30px,20px) scale(.95); }
}
.home-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
}
.home-hero__eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(200,161,90,.18);
    border: 1px solid rgba(200,161,90,.35);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    animation: heroFadeIn 1s var(--ease-premium) .1s both;
}
.home-hero h1 {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem) !important;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 24px;
    animation: heroFadeIn 1.1s var(--ease-premium) .2s both;
}
.home-hero h1 em {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 500;
    position: relative;
    display: inline-block;
}
.home-hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 10px;
    background: rgba(200,161,90,.25);
    z-index: -1;
    border-radius: 6px;
}
.home-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 640px;
    animation: heroFadeIn 1.1s var(--ease-premium) .35s both;
}
.home-hero__subtitle strong {
    color: #fff;
    font-weight: 600;
}
.home-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: heroFadeIn 1.1s var(--ease-premium) .5s both;
}
.btn-lg {
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 600;
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.35);
    backdrop-filter: blur(12px);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn-ghost-dark {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-ghost-dark:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}
.home-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    animation: heroFadeIn 1.2s var(--ease-premium) .65s both;
}
.home-hero__stat {
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease-premium), background .3s ease;
}
.home-hero__stat:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.12);
}
.home-hero__stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 0 0 6px 0;
}
.home-hero__stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -.02em;
}
.home-hero__stat span {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    letter-spacing: .02em;
}
@media (max-width: 960px) {
    .home-hero {
        padding: calc(var(--header-height) + 60px) 0 80px;
    }
    .home-hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .home-hero__stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   HOME — Section commun
   ============================================ */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 56px;
}
.section-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -.01em;
    font-weight: 700;
}
.section-head .lead,
.home-intro .lead,
.home-map-teaser .lead,
.home-heritage .lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--color-text-light);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================
   HOME INTRO
   ============================================ */
.home-intro {
    background: #fff;
}
.home-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}
.home-intro__text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--color-primary);
    margin-bottom: 24px;
    letter-spacing: -.01em;
}
.home-intro__text p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 18px;
}
.home-intro__actions {
    margin-top: 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-link {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .25s ease, color .2s ease;
}
.btn-link:hover {
    color: var(--color-primary);
    gap: 12px;
}
.home-intro__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pillar {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 28px 24px;
    transition: transform .3s var(--ease-premium), border-color .3s ease, background .3s ease;
    position: relative;
}
.pillar:nth-child(even) {
    margin-top: 32px;
}
.pillar:hover {
    transform: translateY(-4px);
    border-color: var(--color-secondary);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.pillar__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}
.pillar h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: -.005em;
}
.pillar p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 960px) {
    .home-intro__grid { grid-template-columns: 1fr; gap: 48px; }
    .pillar:nth-child(even) { margin-top: 0; }
}
@media (max-width: 560px) {
    .home-intro__pillars { grid-template-columns: 1fr; }
}

/* ============================================
   HOME SECTEURS
   ============================================ */
.home-secteurs {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}
.home-secteurs::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: .4;
    pointer-events: none;
}
.home-secteurs .container { position: relative; z-index: 1; }
.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.secteur-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 0;
    text-decoration: none;
    color: var(--color-text);
    transition: transform .35s var(--ease-premium), border-color .3s ease, box-shadow .3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 320px;
}
.secteur-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
}
.secteur-card__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--color-primary);
}
.secteur-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-premium), filter .3s ease;
    display: block;
}
.secteur-card:hover .secteur-card__media img {
    transform: scale(1.07);
    filter: saturate(1.1);
}
.secteur-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,37,64,0) 45%, rgba(10,37,64,.35) 100%);
    pointer-events: none;
}
.secteur-card__icon {
    position: absolute;
    bottom: -22px;
    left: 22px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(10,37,64,.20);
    border: 1px solid var(--color-border);
    z-index: 2;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.secteur-card:hover .secteur-card__icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.05);
}
.secteur-card__icon--noimg {
    position: static;
    margin: 28px 0 0 28px;
    bottom: auto; left: auto;
}
.secteur-card__body {
    padding: 34px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.secteur-card__body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.005em;
}
.secteur-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
}
.secteur-card__count {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.secteur-card__arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
    flex-shrink: 0;
}
.secteur-card:hover .secteur-card__arrow {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translate(2px, -2px);
}
@media (max-width: 1100px) {
    .secteurs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .secteurs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .secteurs-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HOME NIVEAUX
   ============================================ */
.home-niveaux {
    background: #fff;
}
.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}
.niveau-card {
    color: #fff;
    padding: 32px 20px;
    border-radius: 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    font-weight: 700;
    transition: transform .35s var(--ease-premium), box-shadow .3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    box-shadow: 0 6px 16px rgba(10,37,64,.08);
}
/* Palette plus vivante et variée : chaque niveau a son propre dégradé */
.niveau-card:nth-child(1) { background: linear-gradient(140deg, #0A2540 0%, #1E4D8C 100%); }
.niveau-card:nth-child(2) { background: linear-gradient(140deg, #1E4D8C 0%, #3B6EB0 100%); }
.niveau-card:nth-child(3) { background: linear-gradient(140deg, #3B6EB0 0%, #5A8FD1 100%); }
.niveau-card:nth-child(4) { background: linear-gradient(140deg, #8B6E3C 0%, #C8A15A 100%); }
.niveau-card:nth-child(5) { background: linear-gradient(140deg, #7A4A2E 0%, #C8A15A 100%); color: #fff; }
.niveau-card:nth-child(6) { background: linear-gradient(140deg, #1E4D8C 0%, #0A2540 50%, #C8A15A 100%); }

.niveau-card:hover {
    transform: translateY(-6px);
    color: #fff;
    box-shadow: 0 16px 32px rgba(10,37,64,.22);
}
.niveau-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
    transition: transform .5s var(--ease-premium);
}
.niveau-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    pointer-events: none;
    transition: transform .5s var(--ease-premium);
}
.niveau-card:hover::after { transform: scale(1.4); }
.niveau-card:hover::before { transform: translate(15px, 15px) scale(.9); }
.niveau-card__label {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.01em;
    position: relative;
    z-index: 1;
}
.niveau-card__arrow {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background .3s ease, transform .3s ease;
}
.niveau-card:hover .niveau-card__arrow {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translate(2px,-2px);
}
@media (max-width: 960px) {
    .niveaux-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .niveaux-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   HOME MAP TEASER
   ============================================ */
.home-map-teaser {
    background: var(--color-bg-alt);
}
.home-map-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.delegations-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.delegations-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    transition: border-color .2s ease, transform .2s ease;
}
.delegations-list li:hover {
    border-color: var(--color-secondary);
    transform: translateX(3px);
}
.delegations-list li i {
    color: var(--color-accent);
    font-size: 14px;
}
.delegations-list li strong {
    color: var(--color-primary);
    font-weight: 600;
    flex: 1;
}
.delegations-list li span {
    font-size: 11px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
}
.home-map-teaser__visual {
    position: relative;
}
.home-map-teaser__card {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    position: relative;
}
.home-preview-map {
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
}
@media (max-width: 960px) {
    .home-map-teaser__grid { grid-template-columns: 1fr; gap: 48px; }
    .home-preview-map { height: 380px; }
}
@media (max-width: 560px) {
    .delegations-list { grid-template-columns: 1fr; }
}

/* ============================================
   HOME HERITAGE
   ============================================ */
.home-heritage {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2e52 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.home-heritage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh-hero);
    opacity: .35;
    pointer-events: none;
}
.home-heritage .container { position: relative; z-index: 1; }
.home-heritage__inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}
.home-heritage h2 {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    margin-bottom: 20px;
    letter-spacing: -.01em;
}
.home-heritage .lead {
    color: rgba(255,255,255,.82);
    margin-bottom: 48px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.heritage-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}
.heritage-feature {
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    position: relative;
    transition: transform .3s var(--ease-premium), background .3s ease;
}
.heritage-feature:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.1);
}
.heritage-feature__num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.heritage-feature h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.heritage-feature p {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 860px) {
    .heritage-features { grid-template-columns: 1fr; }
}

/* ============================================
   HOME CTA FINAL
   ============================================ */
.home-cta { background: #fff; padding-bottom: 120px; }
.home-cta__box {
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-alt) 100%);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.home-cta__box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: var(--color-primary-light);
    border-radius: 50%;
    pointer-events: none;
}
.home-cta__box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(200,161,90,.1);
    border-radius: 50%;
    pointer-events: none;
}
.home-cta__box > * { position: relative; z-index: 1; }
.home-cta__box h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    margin-bottom: 14px;
    letter-spacing: -.01em;
}
.home-cta__box p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.home-cta__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 560px) {
    .home-cta__box { padding: 40px 24px; }
}


/* ============================================
   GUIDE FAMILLES — Page
   ============================================ */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.guide-step {
    background: var(--color-bg-alt);
    border-radius: 18px;
    padding: 32px 28px;
    border: 1px solid var(--color-border);
    position: relative;
    transition: transform .3s var(--ease-premium), border-color .3s ease;
}
.guide-step:hover {
    transform: translateY(-4px);
    border-color: var(--color-secondary);
}
.guide-step__num {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--color-primary);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(10,37,64,.25);
}
.guide-step h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 14px;
    margin-bottom: 12px;
    font-weight: 700;
}
.guide-step p {
    color: var(--color-text);
    line-height: 1.65;
    margin: 0;
    font-size: 14px;
}
@media (max-width: 720px) {
    .guide-steps { grid-template-columns: 1fr; }
}

.guide-tips {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0;
}
.guide-tips li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--color-bg-alt);
    border-radius: 14px;
    border: 1px solid var(--color-border);
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text);
}
.guide-tips li i {
    color: var(--color-primary);
    font-size: 20px;
    margin-top: 4px;
    width: 24px;
    flex-shrink: 0;
}
.guide-tips li strong {
    color: var(--color-primary);
}

.guide-faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}
.guide-faq details {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 20px 24px;
    transition: border-color .25s ease;
}
.guide-faq details[open] {
    border-color: var(--color-secondary);
    background: var(--color-primary-light);
}
.guide-faq summary {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    list-style: none;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--color-secondary);
    transition: transform .25s ease;
}
.guide-faq details[open] summary::after {
    content: '-';
    color: var(--color-primary);
}
.guide-faq details p {
    margin-top: 14px;
    color: var(--color-text);
    line-height: 1.7;
}

.guide-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 48px 40px;
    border-radius: 24px;
    margin-top: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.guide-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-mesh-hero);
    opacity: .3;
    pointer-events: none;
}
.guide-cta > * { position: relative; z-index: 1; }
.guide-cta h2 {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin-bottom: 16px;
}
.guide-cta p {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.guide-cta .btn {
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 16px 32px;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.guide-cta .btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
@media (max-width: 560px) {
    .guide-cta { padding: 36px 24px; }
}


/* ============================================
   HERO VIDÉO YOUTUBE — variante home
   ============================================ */
.home-hero--video {
    min-height: 88vh;
    padding: calc(var(--header-height) + 60px) 0 90px;
    display: flex;
    align-items: center;
    background: #0A2540;
}
.home-hero--video .home-hero__bg { display: none; }
.home-hero__video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.home-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 pour fill width */
    min-height: 100%;
    min-width: 177.78vh; /* 16:9 pour fill height */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
    filter: saturate(0.9) brightness(0.92);
}
.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10,37,64,.88) 0%, rgba(30,77,140,.78) 55%, rgba(10,37,64,.88) 100%);
    pointer-events: none;
}
.home-hero__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh-hero);
    opacity: .45;
    pointer-events: none;
}
.home-hero__container--centered {
    display: flex !important;
    justify-content: center;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    text-align: center;
    position: relative;
    z-index: 2;
}
.home-hero__container--centered .home-hero__content {
    max-width: 880px;
    margin: 0 auto;
}
.home-hero__container--centered .home-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}
.home-hero__container--centered .home-hero__ctas {
    justify-content: center;
}
@media (max-width: 960px) {
    .home-hero--video {
        min-height: 76vh;
        padding: calc(var(--header-height) + 40px) 0 64px;
    }
}

/* ============================================
   CHIFFRES CLÉS sous le hero - une seule ligne
   ============================================ */
.home-keyfigures {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 36px 0;
}
.home-keyfigures__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: center;
}
.home-keyfigure {
    position: relative;
    text-align: center;
    padding: 12px 24px;
}
.home-keyfigure + .home-keyfigure::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--color-border) 25%, var(--color-border) 75%, transparent);
}
.home-keyfigure strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -.02em;
}
.home-keyfigure span {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
}
@media (max-width: 760px) {
    .home-keyfigures__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 0;
    }
    .home-keyfigure:nth-child(3)::before { display: none; }
    .home-keyfigure { padding: 16px 16px; }
}
@media (max-width: 420px) {
    .home-keyfigures__grid {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }
    .home-keyfigure::before { display: none !important; }
}


/* ============================================
   CAMPUS LA SALLE — Overrides hover unifié (doré)
   Ces règles sont en fin de fichier pour override les styles existants.
   ============================================ */

:root {
    --gradient-gold: linear-gradient(135deg, #D4B176 0%, #C8A15A 45%, #A88445 100%);
    --gradient-gold-vivid: linear-gradient(135deg, #E4C488 0%, #C8A15A 50%, #8B6E3C 100%);
    --shadow-gold: 0 10px 28px -8px rgba(200,161,90,.55), 0 4px 14px -4px rgba(200,161,90,.35);
}

/* Hover unifié pour TOUS les boutons : fond doré dégradé + texte blanc */
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-outline-light:hover,
.btn-secondary-light:hover,
.btn-ghost-dark:hover,
.btn-link:hover,
.btn-reset:hover,
.btn-locate:hover,
.hero-buttons .btn:hover,
.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover,
.nav-cta .btn:hover,
.nav-cta .btn-primary:hover,
.nav-mobile-cta .btn-primary:hover,
.cta-banner .btn:hover,
.cta-banner .btn-primary:hover,
.cta-banner .btn.btn-primary:hover,
.cta-content .btn:hover,
section.cta-section .btn:hover,
section.cta-section .btn-primary:hover,
.home-cta .btn:hover,
.home-cta__box .btn:hover,
.guide-cta .btn:hover,
.home-hero .btn:hover,
.home-hero__ctas .btn:hover,
.home-hero__ctas .btn-primary:hover,
.home-hero__ctas .btn-outline-light:hover,
.campus-aside__card .btn:hover,
.map-popup__btn:hover,
.home-intro__actions .btn:hover,
.home-heritage .btn:hover,
.campus-hero .btn:hover,
.btn-primary:focus-visible,
.btn:focus-visible {
    background: var(--gradient-gold) !important;
    background-image: var(--gradient-gold) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: var(--shadow-gold) !important;
    transform: translateY(-2px);
    transition: transform .3s var(--ease-premium), box-shadow .3s ease, background .35s ease, color .3s ease !important;
}

/* Variante pour texte d'icone dans boutons */
.btn:hover i,
.btn-primary:hover i,
.btn-outline:hover i,
.btn-outline-light:hover i,
.btn-ghost-dark:hover i,
.btn-locate:hover i,
.btn-reset:hover i {
    color: #fff !important;
}

/* Map popup button - plus petit */
.map-popup__btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px -2px rgba(200,161,90,.6) !important;
}

/* Lien simple (btn-link) : hover gold text only (pas de fond car c'est un lien inline) */
.btn-link:hover {
    background: transparent !important;
    background-image: none !important;
    color: #C8A15A !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Reset button (form) : garder le comportement plus doux */
.btn-reset:hover {
    transform: none !important;
}

/* Forcer les boutons "dorés" au hover même si le :before/:after existe */
.btn-primary:hover::before,
.btn-primary:hover::after {
    opacity: 0 !important;
}

/* Nettoyage : remplacer tous les rgba(207,86,3 / 236,106,6 / 230,141,57) résiduels
   par du navy/or La Salle sur les éléments qui en gardent */
.hero .hero-overlay,
.hero-section .hero-overlay,
section.hero .hero-overlay {
    background: linear-gradient(135deg, rgba(10,37,64,.88) 0%, rgba(30,77,140,.78) 55%, rgba(10,37,64,.88) 100%) !important;
}
.hero-buttons .btn-primary {
    box-shadow: 0 4px 24px rgba(10,37,64,.3) !important;
}


/* ============================================
   CAMPUS LA SALLE — Logo overrides
   ============================================ */
/* Header : logo officiel La Salle - grand mais navbar compacte (marge 5px) */
.nav-logo img,
.nav-logo .custom-logo {
    height: 80px !important;
    max-height: 80px !important;
    max-width: 280px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
}
@media (max-width: 960px) {
    .nav-logo img,
    .nav-logo .custom-logo {
        height: 58px !important;
        max-height: 58px !important;
        max-width: 220px !important;
    }
}
:root {
    --header-height: 90px;
}
@media (max-width: 960px) {
    :root { --header-height: 68px; }
}
/* Header : aucune séparation avec le hero, bords du logo proches du hero */
#site-header {
    border-bottom: none !important;
    box-shadow: none !important;
}
#site-header::after { display: none !important; }
.nav-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.nav-logo { align-self: stretch; display: flex; align-items: center; }

/* Footer : gradient bleu Framer-style avec touche subtile rose/mauve, logo blanc */
#site-footer {
    background: linear-gradient(135deg, #051729 0%, #0A2540 30%, #1E4D8C 65%, #3a5a9e 100%) !important;
    position: relative;
    overflow: hidden;
    color: #fff !important;
}
#site-footer::before {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 520px; height: 520px;
    background: radial-gradient(closest-side, rgba(236,72,153,.32) 0%, rgba(236,72,153,.08) 50%, transparent 80%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
#site-footer::after {
    content: '';
    position: absolute;
    bottom: -120px; left: -100px;
    width: 560px; height: 560px;
    background: radial-gradient(closest-side, rgba(200,161,90,.22) 0%, rgba(200,161,90,.05) 55%, transparent 85%);
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}
#site-footer .footer-container,
#site-footer .footer-bottom,
#site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-brand .footer-logo {
    display: inline-flex !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 20px;
}
.footer-brand .footer-logo img,
.footer-brand .footer-logo .custom-logo {
    height: 100px !important;
    max-width: 240px !important;
    filter: none !important;
    margin-bottom: 0 !important;
}
.footer-brand.logo-invert .footer-logo img,
.footer-brand.logo-invert .footer-logo .custom-logo {
    filter: none !important;
}

#site-footer h4, #site-footer h5, #site-footer .footer-title,
#site-footer .footer-col-title,
#site-footer .footer-links-title {
    color: var(--color-accent) !important;
}
#site-footer a {
    color: rgba(255,255,255,.85) !important;
    transition: color .2s ease;
}
#site-footer a:hover {
    color: var(--color-accent) !important;
}
#site-footer .footer-description,
#site-footer p {
    color: rgba(255,255,255,.78) !important;
}
#site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.55);
}
#site-footer .footer-social a {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff !important;
}
#site-footer .footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-primary) !important;
    border-color: transparent;
}


/* Hero avec photo en fond */
.page-hero--photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero--photo .hero-overlay {
    background: linear-gradient(135deg, rgba(10,37,64,.82) 0%, rgba(30,77,140,.72) 45%, rgba(10,37,64,.82) 100%) !important;
}
.campus-hero--photo {
    position: relative;
    isolation: isolate;
}
.campus-hero--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh-hero);
    opacity: .3;
    pointer-events: none;
    z-index: 0;
}
.campus-hero--photo > .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   CAMPUS LA SALLE v2 — Recherche refondue
   ============================================ */

/* La page recherche elle-même passe en fond bleu marine clair */
body.page-template-page-recherche {
    background: #EEF2F8;
}
body.page-template-page-recherche #main-content {
    background: #EEF2F8;
}

.cls-app {
    max-width: 1520px;
    margin: 0 auto;
    padding: 36px 24px 100px;
}

/* === Filter panel === */
.cls-panel {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px 24px;
    box-shadow: 0 4px 28px rgba(10,37,64,.06);
    margin-bottom: 20px;
    border: 1px solid rgba(10,37,64,.06);
}
.cls-panel__head {
    margin-bottom: 20px;
}
.cls-panel__head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    color: var(--color-primary);
    margin: 0 0 4px;
    font-weight: 500;
    letter-spacing: -.005em;
}
.cls-panel__head p {
    color: var(--color-text-light);
    font-size: .95rem;
    margin: 0;
}
.cls-filters {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr 1.2fr auto;
    gap: 12px;
    align-items: end;
}
.cls-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.cls-filter label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cls-filter input,
.cls-filter select {
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
    min-width: 0;
}
.cls-filter input:focus,
.cls-filter select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(30,77,140,.14);
}
.cls-filter select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 34px;
    -webkit-appearance: none;
    appearance: none;
}
.cls-reset {
    height: 44px;
    padding: 0 18px;
    border: 1.5px solid #dbe3ee;
    background: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.cls-reset:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* === Meta band === */
.cls-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px 18px;
    flex-wrap: wrap;
    gap: 8px;
}
#results-count {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
}
#results-count::before {
    content: attr(data-count);
    color: var(--color-accent);
    margin-right: 8px;
}
#results-count[data-count="0"]::before,
#results-count[data-count=""]::before {
    content: '';
    margin: 0;
}
.cls-meta__hint {
    color: var(--color-text-muted);
    font-size: 13px;
    font-style: italic;
}
.cls-meta__hint::before {
    content: '\f111';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-accent);
    font-size: 8px;
    margin-right: 6px;
    vertical-align: middle;
}

/* === Layout : liste GAUCHE + carte DROITE === */
.cls-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    min-height: 70vh;
}
.cls-list-wrap {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}
.cls-list-wrap::-webkit-scrollbar { width: 6px; }
.cls-list-wrap::-webkit-scrollbar-thumb { background: #c5d2e3; border-radius: 10px; }
.cls-list-wrap::-webkit-scrollbar-thumb:hover { background: #9fb0c8; }
.cls-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* === Card layout : vignette à gauche + infos à droite === */
.cls-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: #fff;
    border: 1px solid rgba(10,37,64,.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s var(--ease-premium), box-shadow .25s ease, border-color .2s ease;
}
.cls-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(10,37,64,.18);
    border-color: var(--color-secondary);
}
.cls-card:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}
.cls-card__media {
    position: relative;
    background: linear-gradient(135deg, #0A2540, #1E4D8C);
}
.cls-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cls-card__body {
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.cls-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -.005em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cls-card__loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}
.cls-card__loc i {
    color: var(--color-accent);
    font-size: 12px;
}
.cls-card__dot {
    color: var(--color-text-muted);
    font-weight: 700;
}
.cls-card__badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.cls-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;
}
.cls-badge__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cls-badge--more {
    background: #eef2f8;
    color: var(--color-text-muted);
}
.cls-card__stats {
    display: flex;
    gap: 18px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-text-light);
}
.cls-card__stats strong {
    color: var(--color-primary);
    font-weight: 700;
}
.cls-card__stats i {
    color: var(--color-accent);
    margin-right: 4px;
}

.cls-noresult {
    background: #fff;
    border: 1px dashed #c5d2e3;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    color: var(--color-text-light);
}
.cls-noresult i {
    font-size: 32px;
    color: #c5d2e3;
    margin-bottom: 12px;
    display: block;
}

/* === Carte === */
.cls-map-wrap {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    height: calc(100vh - var(--header-height) - 32px);
    max-height: 820px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cls-map {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px -10px rgba(10,37,64,.2);
    border: 1px solid rgba(10,37,64,.08);
    min-height: 480px;
    background: #fff;
}
.cls-map .leaflet-tile-pane {
    filter: saturate(.92);
}
.cls-legend {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    border: 1px solid rgba(10,37,64,.08);
    box-shadow: 0 2px 12px rgba(10,37,64,.06);
    font-size: 12px;
}
.cls-legend strong {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.cls-legend__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 18px;
}
.cls-legend__grid span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 12px;
}

/* === Marker style === */
.cls-marker__pin {
    transition: transform .25s var(--ease-premium);
    cursor: pointer;
}
.cls-marker__pin:hover {
    transform: translateY(-3px) scale(1.08);
}
.cls-cluster-wrap {
    background: transparent;
    border: none;
}
.cls-cluster {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(10,37,64,.35);
}
.cls-cluster span { display: inline-block; }

/* === Drawer latéral === */
.cls-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10,37,64,.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1500;
}
.cls-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}
.cls-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(560px, 100%);
    height: 100vh;
    background: #fff;
    z-index: 1600;
    transform: translateX(100%);
    transition: transform .35s var(--ease-premium);
    box-shadow: -20px 0 50px rgba(10,37,64,.25);
    display: flex;
    flex-direction: column;
}
.cls-drawer.is-open {
    transform: translateX(0);
}
.cls-drawer__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.35);
    color: var(--color-primary);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform .2s ease, background .2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.cls-drawer__close:hover {
    transform: scale(1.08);
    background: var(--color-accent);
    color: var(--color-primary);
}
.cls-drawer__scroll {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.cls-drawer__scroll::-webkit-scrollbar { width: 6px; }
.cls-drawer__scroll::-webkit-scrollbar-thumb { background: #c5d2e3; border-radius: 10px; }
.cls-drawer__hero {
    background-size: cover;
    background-position: center;
    padding: 48px 36px 32px;
    color: #fff;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.cls-drawer__delegation {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(255,255,255,.1);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    width: fit-content;
    border: 1px solid rgba(255,255,255,.2);
}
.cls-drawer__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
}
.cls-drawer__loc {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.cls-drawer__loc i {
    color: var(--color-accent);
}
.cls-drawer__content {
    padding: 24px 32px 120px;
    flex: 1;
}
.cls-drawer__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.cls-drawer__stats div {
    background: var(--color-primary-light);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
}
.cls-drawer__stats strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.cls-drawer__stats span {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.cls-drawer__badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.cls-drawer__info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.7;
}
.cls-drawer__info p {
    margin: 0 0 8px;
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.cls-drawer__info p:last-child { margin-bottom: 0; }
.cls-drawer__info i {
    color: var(--color-secondary);
    margin-top: 4px;
    width: 16px;
}
.cls-drawer__sect-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -.005em;
}
.cls-drawer-secteur {
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
}
.cls-drawer-secteur__title {
    font-family: var(--font-heading);
    font-size: .95rem;
    color: var(--color-primary);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.cls-drawer-secteur__count {
    margin-left: auto;
    background: #f1f5f9;
    color: var(--color-text-muted);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-body);
}
.cls-drawer-formations {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cls-drawer-formations li {
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text);
    padding: 6px 0;
    border-bottom: 1px dotted #e2e8f0;
    align-items: flex-start;
}
.cls-drawer-formations li:last-child { border-bottom: none; padding-bottom: 0; }
.cls-drawer-level {
    background: var(--color-secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    letter-spacing: .04em;
    margin-top: 1px;
    flex-shrink: 0;
}
.cls-drawer__footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px 32px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 20px rgba(10,37,64,.08);
}
.cls-drawer__cta {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    padding: 16px 24px;
}

/* === Responsive === */
@media (max-width: 1200px) {
    .cls-filters {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .cls-filter--search {
        grid-column: 1 / -1;
    }
    .cls-reset {
        grid-column: -2 / -1;
        margin-left: auto;
    }
}
@media (max-width: 960px) {
    .cls-layout {
        grid-template-columns: 1fr;
    }
    .cls-list-wrap {
        max-height: none;
    }
    .cls-map-wrap {
        position: static;
        height: 420px;
        max-height: 420px;
    }
    .cls-map { min-height: 360px; }
}
@media (max-width: 680px) {
    .cls-panel { padding: 22px 20px 18px; }
    .cls-filters { grid-template-columns: 1fr 1fr; }
    .cls-filter--search, .cls-reset { grid-column: 1 / -1; }
    .cls-reset { margin-left: 0; }
    .cls-card {
        grid-template-columns: 110px 1fr;
    }
    .cls-card__title { font-size: 1rem; }
    .cls-card__stats { gap: 12px; }
    .cls-drawer {
        width: 100%;
    }
    .cls-drawer__content { padding: 20px 22px 120px; }
    .cls-drawer__hero { padding: 40px 22px 28px; }
    .cls-drawer__title { font-size: 1.3rem; }
    .cls-drawer__footer { padding: 14px 22px; }
    .cls-legend__grid { grid-template-columns: repeat(2, 1fr); }
}


/* Hero de la page recherche - aligné sur le style des autres pages */
.page-recherche-head {
    padding: calc(var(--header-height) + 80px) 0 80px;
    color: #fff;
    text-align: center;
    margin-top: 0;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-recherche-head .container {
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-align: center;
}
.page-recherche-head h1 {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    margin: 0 0 14px;
    letter-spacing: -.01em;
    font-weight: 700;
}
.page-recherche-head .hero-subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 680px;
}
.page-recherche-head .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(200,161,90,.2);
    border: 1px solid rgba(200,161,90,.4);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
}

/* Centrer les contenus des heros sur toutes les pages */
.page-hero .hero-content {
    max-width: 880px !important;
    margin: 0 auto !important;
    text-align: center;
    padding: 24px;
}
.campus-hero > .container {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}
.campus-hero__stats,
.campus-hero__address {
    justify-content: center !important;
}

/* ============================================
   GUIDE QUIZ INTERACTIF — version compacte, palette rose
   ============================================ */
.guide-quiz {
    --pink-deep: #9D174D;
    --pink: #EC4899;
    --pink-soft: #F9A8D4;
    --pink-gradient: linear-gradient(135deg, var(--pink-deep) 0%, var(--pink) 55%, var(--pink-soft) 100%);
    --pink-gradient-h: linear-gradient(90deg, var(--pink-deep) 0%, var(--pink) 50%, var(--pink-soft) 100%);

    background: #fff;
    border-radius: 20px;
    padding: 28px 32px 32px;
    box-shadow: 0 16px 40px -18px rgba(10,37,64,.15);
    border: 1px solid rgba(10,37,64,.06);
    max-width: 760px;
    margin: 0 auto;
}
.quiz-screen {
    animation: quizSlide .35s var(--ease-premium) both;
}
@keyframes quizSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.quiz-intro {
    text-align: center;
    padding: 20px 10px;
}
.quiz-intro__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--pink-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 20px -6px rgba(157,23,77,.35);
}
.quiz-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0 0 8px;
    text-transform: none;
    letter-spacing: 0;
}
.quiz-intro p {
    color: var(--color-text-light);
    margin: 0 0 20px;
    font-size: .95rem;
}
.quiz-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}
.quiz-progress span {
    flex: 1;
    height: 5px;
    background: #e2e8f0;
    border-radius: 100px;
    transition: background .3s ease;
}
.quiz-progress span.is-filled,
.quiz-progress span[data-step] {
    background: var(--pink-gradient-h);
}
.quiz-screen h3 {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-text-muted);
    margin: 0 0 8px;
    font-weight: 700;
}
.quiz-question {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    color: var(--color-primary);
    margin: 0 0 20px;
    line-height: 1.25;
    font-weight: 700;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quiz-options--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 8px;
}
.quiz-options button {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--color-primary);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, color .2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.quiz-options--grid button {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 14px 10px;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    min-height: 78px;
    justify-content: center;
    line-height: 1.25;
}
.quiz-options--grid button i {
    font-size: 18px;
    color: var(--pink);
}
.quiz-options button:hover {
    border-color: var(--pink);
    background: #fdf2f8;
    transform: translateY(-1px);
}
.quiz-options button:hover i {
    color: var(--pink-deep);
}
.quiz-options button.is-selected {
    border-color: transparent !important;
    background: var(--pink-gradient) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px -6px rgba(236,72,153,.45);
}
.quiz-options button.is-selected i,
.quiz-options button.is-selected strong,
.quiz-options button.is-selected span {
    color: #fff !important;
}
.quiz-options button strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
}
.quiz-options button span {
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
    font-weight: 500;
}

.quiz-result {
    padding: 8px 4px;
}
.quiz-result__head {
    text-align: center;
    margin-bottom: 20px;
}
.quiz-result__icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: var(--pink-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 18px -6px rgba(157,23,77,.35);
}
.quiz-result__head h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin: 0 0 10px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}
.quiz-result__head p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 1rem;
}
.quiz-results-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.quiz-result-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    transition: transform .25s var(--ease-premium), box-shadow .25s ease, border-color .2s ease;
}
.quiz-result-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 24px -8px rgba(10,37,64,.15);
}
.quiz-result-card__media {
    background: linear-gradient(135deg, #0A2540, #1E4D8C);
    overflow: hidden;
}
.quiz-result-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.quiz-result-card__body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quiz-result-card__body h4 {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quiz-result-card__body p {
    font-size: 12px;
    color: var(--color-text-light);
    margin: 0;
}
.quiz-result-card__body p i { color: var(--color-accent); }
.quiz-result-card__count {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
    width: fit-content;
    margin-top: 4px;
}
.quiz-result__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}
.quiz-restart {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 14px;
    text-decoration: underline;
    font-family: var(--font-body);
}
.quiz-restart:hover {
    color: var(--color-primary);
}

@media (max-width: 760px) {
    .guide-quiz { padding: 28px 22px 34px; }
    .quiz-options--grid { grid-template-columns: 1fr 1fr; }
    .quiz-results-list { grid-template-columns: 1fr; }
}

/* ============================================
   4 ÉTAPES — gradients La Salle
   ============================================ */
.guide-steps--gradients .guide-step {
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}
.guide-steps--gradients .guide-step::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .85;
    z-index: 0;
    transition: opacity .3s ease;
}
.guide-steps--gradients .guide-step > * {
    position: relative;
    z-index: 1;
}
.guide-steps--gradients .guide-step h3 {
    color: #fff;
}
.guide-steps--gradients .guide-step p {
    color: rgba(255,255,255,.9);
}
.guide-steps--gradients .guide-step__num {
    background: rgba(255,255,255,.18);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,.3);
}
.guide-steps--gradients .guide-step:hover {
    transform: translateY(-5px);
}
.guide-steps--gradients .guide-step:hover::before { opacity: 1; }

/* Gradients La Salle (couleurs du logo) */
.guide-step--pink { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #EC4899 100%); }
.guide-step--yellow { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #F59E0B 100%); }
.guide-step--blue { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #3B82F6 100%); }
.guide-step--green { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #10B981 100%); }

/* Subtle mesh over the gradients for depth */
.guide-steps--gradients .guide-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(at 120% -20%, rgba(255,255,255,.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}


/* ============================================
   CONTACT — icônes gradient La Salle
   ============================================ */
/* Trust icons (top row) */
.contact-trust-grid--lasalle .contact-trust-icon {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}
.contact-trust-grid--lasalle .contact-trust-icon i {
    color: #fff;
    position: relative;
    z-index: 1;
}
.trust-icon--pink { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #EC4899 100%) !important; color: #fff !important; }
.trust-icon--blue { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #3B82F6 100%) !important; color: #fff !important; }
.trust-icon--green { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #10B981 100%) !important; color: #fff !important; }
.trust-icon--pink i, .trust-icon--blue i, .trust-icon--green i { color: #fff !important; }

/* Contact info card icons */
.contact-info-card--lasalle .icon {
    border-radius: 12px;
    color: #fff !important;
    position: relative;
}
.contact-info-card--lasalle .icon i { color: #fff !important; }
.icon--pink { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #EC4899 100%) !important; }
.icon--blue { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #3B82F6 100%) !important; }
.icon--green { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #10B981 100%) !important; }
.icon--yellow { background: linear-gradient(135deg, #0A2540 0%, #1E4D8C 50%, #F59E0B 100%) !important; }

/* Interlocuteur block */
.contact-interlocutor {
    background: #fff;
    border: 1px solid rgba(10,37,64,.08);
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 4px 18px rgba(10,37,64,.06);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.contact-interlocutor::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #EC4899 0%, #F59E0B 35%, #3B82F6 70%, #10B981 100%);
}
.contact-interlocutor__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.contact-interlocutor__row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}
.contact-interlocutor__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    flex-shrink: 0;
}
.contact-interlocutor__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.contact-interlocutor__info strong {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.005em;
}
.contact-interlocutor__role {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.4;
}
.contact-interlocutor__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed rgba(10,37,64,.08);
}
.contact-interlocutor__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    padding: 6px 0;
    transition: color .2s ease;
    word-break: break-word;
}
.contact-interlocutor__link i {
    color: var(--color-accent);
    width: 16px;
    font-size: 12px;
}
.contact-interlocutor__link:hover {
    color: var(--color-secondary);
}


/* ============================================
   ACCUEIL V2 — Design éditorial
   ============================================ */
.v2-home {
    --v2-blue: #0A2540;
    --v2-blue-dark: #051729;
    --v2-blue-soft: #F0F4FA;
    --v2-gold: #C8A15A;
    --v2-gold-hover: #d4b176;
    --v2-cream: #FAF8F3;
    --v2-text: #1a1a1a;
    --v2-text-soft: #555;
    --v2-border: #e5e5e5;
}
.v2-home,
.v2-home * {
    -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.v2-hero {
    position: relative;
    min-height: 720px;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
}
.v2-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,23,41,.92) 0%, rgba(10,37,64,.78) 50%, rgba(5,23,41,.65) 100%);
    z-index: 1;
}
.v2-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 140px;
}
.v2-hero__kicker {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--v2-gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.v2-hero__kicker::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--v2-gold);
}
.v2-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    color: #fff !important;
    max-width: 900px;
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.v2-hero h1 em {
    font-style: italic;
    color: var(--v2-gold);
    font-weight: 400;
}
.v2-hero__sub {
    font-size: 1.1rem;
    max-width: 620px;
    margin-bottom: 40px;
    color: rgba(255,255,255,.88);
    font-weight: 400;
    line-height: 1.6;
}
.v2-hero__sub strong {
    font-weight: 600;
    color: #fff;
}
.v2-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.v2-btn {
    padding: 15px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: transform .3s var(--ease-premium), background .3s ease, border-color .3s ease, color .3s ease;
    display: inline-block;
    border: 1px solid transparent;
    cursor: pointer;
}
.v2-btn--primary {
    background: var(--v2-gold);
    color: var(--v2-blue-dark) !important;
}
.v2-btn--primary:hover {
    background: var(--v2-gold-hover);
    color: var(--v2-blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px rgba(200,161,90,.5);
}
.v2-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,.45);
}
.v2-btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-2px);
}
.v2-btn--dark {
    background: var(--v2-blue-dark);
    color: #fff !important;
    border-color: var(--v2-blue-dark);
}
.v2-btn--dark:hover {
    background: var(--v2-gold);
    border-color: var(--v2-gold);
    color: var(--v2-blue-dark) !important;
    transform: translateY(-2px);
}
.v2-btn--outline-dark {
    background: transparent;
    color: var(--v2-blue-dark) !important;
    border-color: var(--v2-blue-dark);
}
.v2-btn--outline-dark:hover {
    background: var(--v2-blue-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Stats band en bas du hero */
.v2-hero__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(5,23,41,.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.12);
}
.v2-hero__stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 28px;
    padding-bottom: 28px;
}
.v2-stat {
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.12);
    padding: 0 20px;
}
.v2-stat:last-child { border-right: none; }
.v2-stat__num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    color: var(--v2-gold);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -.01em;
}
.v2-stat__label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
    font-weight: 500;
}

/* === SECTIONS === */
.v2-section {
    padding: 120px 0;
    background: #fff;
}
.v2-kicker {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--v2-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.v2-kicker::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--v2-gold);
}
.v2-kicker--center {
    justify-content: center;
}
.v2-kicker--center::after {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--v2-gold);
}
.v2-kicker--gold {
    color: var(--v2-gold);
}
.v2-section h2,
.v2-sectors__head h2,
.v2-heritage h2,
.v2-final-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--v2-blue-dark);
}

/* === MISSION === */
.v2-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.v2-mission__text p {
    color: var(--v2-text-soft);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.7;
}
.v2-mission__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.v2-mission__img-wrap {
    position: relative;
}
.v2-mission__img-wrap::before {
    content: "";
    position: absolute;
    top: 24px;
    left: -24px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--v2-gold);
    z-index: 0;
    border-radius: 2px;
}
.v2-mission__img {
    position: relative;
    z-index: 1;
    height: 520px;
    border-radius: 2px;
    overflow: hidden;
}
.v2-mission__img::after {
    content: "";
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 140px;
    height: 140px;
    border: 2px solid var(--v2-gold);
    z-index: -1;
    border-radius: 2px;
}
.v2-mission__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === PILLARS === */
.v2-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid var(--v2-border);
}
.v2-pillar__num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--v2-gold);
    font-style: italic;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: -.01em;
}
.v2-pillar h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--v2-blue-dark);
    letter-spacing: -.005em;
}
.v2-pillar p {
    color: var(--v2-text-soft);
    font-size: .95rem;
    line-height: 1.65;
}

/* === SECTEURS === */
.v2-sectors {
    background: var(--v2-blue-soft);
}
.v2-sectors__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.v2-sectors__head h2 {
    margin-bottom: 16px;
    text-align: center;
}
.v2-sectors__head p {
    color: var(--v2-text-soft);
    font-size: 1rem;
    line-height: 1.65;
}
.v2-sectors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.v2-sector-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform .4s var(--ease-premium);
    background: var(--v2-blue);
}
.v2-sector-card:hover { transform: translateY(-6px); }
.v2-sector-card:hover img { transform: scale(1.08); }
.v2-sector-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-premium);
}
.v2-sector-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,23,41,.1) 0%, rgba(5,23,41,.4) 50%, rgba(5,23,41,.92) 100%);
    z-index: 1;
}
.v2-sector-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    z-index: 2;
}
.v2-sector-card__count {
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--v2-gold);
    font-weight: 500;
    margin-bottom: 6px;
}
.v2-sector-card__name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.005em;
    color: #fff;
}

/* === PHOTO STRIP === */
.v2-photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    height: 360px;
}
.v2-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .4s;
    filter: saturate(.9);
}
.v2-photo-strip img:hover { filter: saturate(1.15); }

/* === NIVEAUX === */
.v2-levels {
    background: var(--v2-cream);
}
.v2-levels-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.v2-level-btn {
    background: #fff;
    border: 1px solid var(--v2-border);
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--v2-blue-dark);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    letter-spacing: -.005em;
}
.v2-level-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--v2-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.v2-level-btn:hover {
    background: var(--v2-blue-dark);
    color: #fff;
    border-color: var(--v2-blue-dark);
}
.v2-level-btn:hover::before { transform: scaleX(1); }

/* === DÉLÉGATIONS === */
.v2-delegations {
    background: #fff;
}
.v2-delegations__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.v2-delegations__visual {
    position: relative;
    height: 560px;
    border-radius: 2px;
    overflow: hidden;
}
.v2-delegations__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v2-lead {
    color: var(--v2-text-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.v2-delegations__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.v2-delegations__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--v2-border);
    transition: padding-left .3s;
}
.v2-delegations__list li:first-child { border-top: 1px solid var(--v2-border); }
.v2-delegations__list li:hover { padding-left: 12px; }
.v2-deleg__name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--v2-blue-dark);
    font-weight: 500;
    letter-spacing: -.005em;
}
.v2-deleg__count {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--v2-gold);
    font-weight: 600;
}

/* === HERITAGE === */
.v2-heritage {
    background: var(--v2-blue-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}
.v2-heritage__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .15;
    z-index: 0;
}
.v2-heritage .container {
    position: relative;
    z-index: 1;
}
.v2-heritage h2 { color: #fff; }
.v2-heritage__intro {
    max-width: 700px;
    margin-bottom: 70px;
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    line-height: 1.7;
}
.v2-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}
.v2-value {
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 28px;
}
.v2-value__num {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: .2em;
    color: var(--v2-gold);
    margin-bottom: 16px;
    font-weight: 500;
}
.v2-value h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 14px;
    font-weight: 500;
    letter-spacing: -.005em;
}
.v2-value p {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.7;
}

/* === CTA FINAL === */
.v2-final-cta {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}
.v2-final-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,23,41,.75) 0%, rgba(5,23,41,.9) 100%);
    z-index: 1;
}
.v2-final-cta__inner {
    position: relative;
    z-index: 2;
}
.v2-final-cta h2 {
    color: #fff !important;
    max-width: 800px;
    margin: 0 auto 24px;
    text-align: center;
}
.v2-final-cta p {
    max-width: 560px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,.9);
    font-size: 1.1rem;
    line-height: 1.6;
}
.v2-final-cta .v2-hero__ctas {
    justify-content: center;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .v2-hero { min-height: 640px; }
    .v2-section { padding: 70px 0; }
    .v2-mission, .v2-delegations__layout { grid-template-columns: 1fr; gap: 40px; }
    .v2-mission__img { height: 380px; }
    .v2-pillars, .v2-sectors__grid, .v2-photo-strip { grid-template-columns: repeat(2, 1fr); }
    .v2-levels-grid { grid-template-columns: repeat(3, 1fr); }
    .v2-values { grid-template-columns: 1fr; gap: 30px; }
    .v2-hero__stats .container { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .v2-stat { border-right: none; padding: 8px 10px; }
    .v2-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
    .v2-photo-strip { height: auto; }
    .v2-photo-strip img { height: 200px; }
    .v2-delegations__visual { height: 380px; }
    .v2-heritage { padding: 70px 0; }
}
@media (max-width: 560px) {
    .v2-sectors__grid, .v2-pillars, .v2-photo-strip { grid-template-columns: 1fr; }
    .v2-levels-grid { grid-template-columns: repeat(2, 1fr); }
    .v2-hero__container { padding-bottom: 180px; }
    .v2-hero__stats .container { padding-top: 18px; padding-bottom: 18px; }
}


/* Fix : WordPress wpautop insère des <br /> entre les buttons - hide them dans le grid */
.quiz-options br,
.quiz-options > br { display: none !important; }


/* ============================================
   V2 HOME — updates : video hero, parallax, FAQ, animations
   ============================================ */

/* === HERO VIDÉO === */
.v2-hero--video {
    background-image: none !important;
}
.v2-hero--video .v2-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.v2-hero__video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

/* Hero inner layout : texte à gauche + bouton play à droite */
.v2-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.v2-hero__text {
    min-width: 0;
}
.v2-hero__play {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff !important;
    padding: 18px 22px;
    border-radius: 100px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .3s var(--ease-premium), background .25s ease, border-color .25s ease;
    flex-shrink: 0;
}
.v2-hero__play:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.32);
    transform: translateY(-2px);
    color: #fff !important;
}
.v2-hero__play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--v2-gold, #C8A15A);
    color: var(--v2-blue-dark, #051729) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 18px -4px rgba(200,161,90,.6);
    position: relative;
    flex-shrink: 0;
}
.v2-hero__play-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--v2-gold, #C8A15A);
    opacity: 0;
    animation: playPulse 2.2s ease-out infinite;
}
@keyframes playPulse {
    0% { transform: scale(.95); opacity: .5; }
    100% { transform: scale(1.35); opacity: 0; }
}
.v2-hero__play-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .02em;
    white-space: nowrap;
}
.v2-hero__play-label small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,.65);
    margin-top: 2px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
@media (max-width: 960px) {
    .v2-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .v2-hero__play {
        justify-self: start;
    }
}

/* === FIX secteur titles overflow === */
.v2-sector-card__name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    hyphens: auto;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.22;
}
.v2-sector-card__content {
    padding: 20px 20px;
}

/* === ANIMATIONS D'ENTRÉE === */
.v2-anim {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium);
}
.v2-anim[data-anim="fade-up"] {
    transform: translateY(40px);
}
.v2-anim[data-anim="fade-left"] {
    transform: translateX(40px);
}
.v2-anim[data-anim="fade-right"] {
    transform: translateX(-40px);
}
.v2-anim[data-anim="fade-scale"] {
    transform: scale(.96);
}
.v2-anim.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .v2-anim {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* === PARALLAX === */
.v2-parallax {
    transform: translate3d(0, var(--parallax-y, 0), 0);
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .v2-parallax { transform: none !important; }
}

/* Photo strip avec parallax individuel par item */
.v2-photo-strip {
    position: relative;
    overflow: hidden;
}
.v2-photo-strip__item {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: block;
}
.v2-photo-strip__item img {
    transition: filter .4s, transform .6s var(--ease-premium);
}
.v2-photo-strip__item:hover img {
    filter: saturate(1.2);
    transform: scale(1.05);
}

/* Parallax sur le heritage bg */
.v2-heritage {
    isolation: isolate;
}
.v2-heritage__bg {
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.15);
    transform-origin: center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* Parallax sur la mission image */
.v2-mission__img .v2-parallax,
.v2-mission__img.v2-parallax {
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
}

/* === FAQ SECTION === */
.v2-faq {
    background: #fff;
}
.v2-faq__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v2-faq__item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 22px 28px;
    transition: border-color .25s ease, box-shadow .25s ease;
    cursor: pointer;
}
.v2-faq__item:hover {
    border-color: var(--v2-gold, #C8A15A);
}
.v2-faq__item[open] {
    border-color: var(--v2-blue-dark, #051729);
    box-shadow: 0 8px 24px -12px rgba(10,37,64,.15);
}
.v2-faq__item summary {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--v2-blue-dark, #051729);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 36px;
    letter-spacing: -.005em;
}
.v2-faq__item summary::-webkit-details-marker { display: none; }
.v2-faq__item summary::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C8A15A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .25s ease;
}
.v2-faq__item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}
.v2-faq__item p {
    margin-top: 16px;
    color: var(--v2-text-soft, #555);
    font-size: 1rem;
    line-height: 1.7;
    padding-right: 30px;
}
.v2-faq__cta {
    margin-top: 48px;
    text-align: center;
}
.v2-faq__cta p {
    color: var(--v2-text-soft, #555);
    font-size: 1rem;
    margin-bottom: 14px;
}

@media (max-width: 760px) {
    .v2-faq__item { padding: 18px 22px; }
    .v2-faq__item summary { font-size: 1.05rem; padding-right: 30px; }
}

/* === CTA FINAL : bg separated from content for parallax === */
.v2-final-cta {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 100px 0;
    background-image: none !important;
}
.v2-final-cta__bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
    will-change: transform;
}
.v2-final-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,23,41,.75) 0%, rgba(5,23,41,.9) 100%);
    z-index: 1;
}


/* ============================================
   NAVBAR SCROLL : shrink + invert + swap logo
   ============================================ */
#site-header {
    transition: background .35s ease, height .3s ease, box-shadow .3s ease;
}

/* Masquer le logo blanc par défaut */
.nav-logo--light {
    display: none !important;
}

/* Au scroll : navbar compacte navy + logo blanc */
#site-header.is-scrolled {
    background: var(--color-primary) !important;
    box-shadow: 0 6px 20px rgba(10,37,64,.25);
}
#site-header.is-scrolled .nav-container {
    height: 64px !important;
}
#site-header.is-scrolled .nav-logo--dark {
    display: none !important;
}
#site-header.is-scrolled .nav-logo--light {
    display: block !important;
}
#site-header.is-scrolled .nav-logo img,
#site-header.is-scrolled .nav-logo .custom-logo {
    height: 50px !important;
    max-height: 50px !important;
}

/* Liens du menu en blanc au scroll */
#site-header.is-scrolled .nav-menu li a {
    color: rgba(255,255,255,.92) !important;
}
#site-header.is-scrolled .nav-menu li a:hover,
#site-header.is-scrolled .nav-menu li.current-menu-item a {
    color: var(--color-accent) !important;
    background: rgba(255,255,255,.08) !important;
}
#site-header.is-scrolled .nav-menu li a::after {
    background: var(--color-accent) !important;
}

/* CTA du header : inversé au scroll */
#site-header.is-scrolled .nav-cta .btn-primary {
    background: var(--color-accent) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-accent) !important;
}
#site-header.is-scrolled .nav-cta .btn-primary:hover {
    background: #fff !important;
    color: var(--color-primary) !important;
}
#site-header.is-scrolled .nav-phone {
    color: #fff !important;
}

/* Sub-menu : texte contrasté */
#site-header.is-scrolled .nav-menu .sub-menu {
    background: #fff;
}
#site-header.is-scrolled .nav-menu .sub-menu li a {
    color: var(--color-primary) !important;
}

/* Toggle mobile : lignes blanches au scroll */
#site-header.is-scrolled .nav-toggle span {
    background: #fff !important;
}
@media (max-width: 960px) {
    #site-header.is-scrolled .nav-container {
        height: 60px !important;
    }
    #site-header.is-scrolled .nav-logo img,
    #site-header.is-scrolled .nav-logo .custom-logo {
        height: 44px !important;
        max-height: 44px !important;
    }
}

/* === FIX hero paddings : toutes les pages doivent avoir le hero qui commence sous la navbar === */
.v2-hero {
    min-height: 100vh !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.v2-hero__container {
    padding-top: calc(var(--header-height) + 40px);
}

/* === FIX mission photo : elle était trop large (grid cell trop grand) === */
.v2-mission {
    grid-template-columns: 1fr 500px !important;
    gap: 70px;
}
.v2-mission__img-wrap {
    max-width: 440px;
    margin: 0 auto 20px;
    width: 100%;
}
.v2-mission__img {
    height: 540px !important;
    aspect-ratio: auto;
}
.v2-mission__img img {
    object-position: center;
}
/* Rendre les cadres dorés plus visibles */
.v2-mission__img-wrap::before {
    top: 28px;
    left: -28px;
    width: calc(100% + 28px);
    height: 100%;
    border: 1.5px solid var(--v2-gold, #C8A15A);
    opacity: .9;
}
.v2-mission__img::after {
    bottom: -28px;
    right: -28px;
    width: 160px;
    height: 160px;
    border: 2px solid var(--v2-gold, #C8A15A);
    opacity: .8;
}
@media (max-width: 960px) {
    .v2-mission {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    .v2-mission__img-wrap {
        max-width: 100%;
    }
    .v2-mission__img { height: 380px !important; }
}


/* ============================================
   GUIDE — 4 ÉTAPES design éditorial raffiné
   ============================================ */
.guide-steps-section {
    padding: 120px 0;
    background: #fff;
}
.guide-steps-head {
    text-align: center;
    margin-bottom: 80px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.guide-steps-kicker {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}
.guide-steps-kicker::before,
.guide-steps-kicker::after {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}
.guide-steps-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin: 0 0 20px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.guide-steps-head p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
}
.guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.guide-step-card {
    position: relative;
    padding: 48px 44px;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease-premium), box-shadow .4s ease;
    box-shadow: 0 10px 40px -20px rgba(10,26,58,.4);
}
.guide-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -20px rgba(10,26,58,.6);
}
/* Fond navy dominant */
.guide-step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A1A3A 0%, #1a3a6e 60%, #0f2447 100%);
    z-index: 0;
}
/* Overlay radial par couleur La Salle */
.guide-step-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}
.guide-step-card.c1::after { background: radial-gradient(circle at 100% 100%, #E91E63 0%, transparent 55%); }
.guide-step-card.c2::after { background: radial-gradient(circle at 100% 100%, #F59E0B 0%, transparent 55%); }
.guide-step-card.c3::after { background: radial-gradient(circle at 100% 100%, #3B82F6 0%, transparent 55%); }
.guide-step-card.c4::after { background: radial-gradient(circle at 100% 100%, #10B981 0%, transparent 55%); }

.guide-step-card__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.guide-step-num {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
    letter-spacing: -.01em;
}
.guide-step-num::after {
    content: "";
    position: absolute;
    bottom: 12px;
    left: calc(100% + 16px);
    width: 60px;
    height: 1px;
    background: rgba(200,161,90,.5);
}
.guide-step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 18px;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: -.005em;
}
.guide-step-card p {
    color: rgba(255,255,255,.85);
    font-size: .98rem;
    line-height: 1.7;
    font-weight: 300;
    font-family: var(--font-body);
    margin: 0;
}
.guide-step-card p strong {
    color: #fff;
    font-weight: 500;
}
.guide-step-corner {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 32px;
    height: 32px;
    opacity: .25;
    pointer-events: none;
}
.guide-step-corner::before,
.guide-step-corner::after {
    content: "";
    position: absolute;
    background: var(--color-accent);
}
.guide-step-corner::before {
    top: 0; right: 0;
    width: 100%;
    height: 1px;
}
.guide-step-corner::after {
    top: 0; right: 0;
    width: 1px;
    height: 100%;
}

@media (max-width: 900px) {
    .guide-steps-section { padding: 70px 0; }
    .guide-steps-grid { grid-template-columns: 1fr; }
    .guide-step-card { padding: 36px 28px; min-height: auto; }
    .guide-step-num { font-size: 3.5rem; margin-bottom: 22px; }
    .guide-step-card h3 { font-size: 1.5rem; }
}


/* ============================================
   CAMPUS — Bouton "Visiter le site web" dans la card coordonnées
   ============================================ */
.campus-site-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff !important;
    border-radius: 14px;
    text-decoration: none;
    font-family: var(--font-body);
    transition: transform .3s var(--ease-premium), box-shadow .3s ease, background .3s ease;
    box-shadow: 0 6px 18px -6px rgba(10,37,64,.35);
    position: relative;
    overflow: hidden;
}
.campus-site-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent), #d4b176);
    opacity: 0;
    transition: opacity .3s ease;
}
.campus-site-btn > * {
    position: relative;
    z-index: 1;
}
.campus-site-btn:hover {
    transform: translateY(-3px);
    color: #fff !important;
    box-shadow: 0 12px 24px -8px rgba(200,161,90,.5);
}
.campus-site-btn:hover::before {
    opacity: 1;
}
.campus-site-btn i {
    font-size: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: color .3s ease;
}
.campus-site-btn:hover i {
    color: var(--color-primary);
}
.campus-site-btn span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.campus-site-btn strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    transition: color .3s ease;
}
.campus-site-btn em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: rgba(255,255,255,.75);
    word-break: break-all;
    transition: color .3s ease;
}
.campus-site-btn:hover strong,
.campus-site-btn:hover em {
    color: var(--color-primary);
}


/* ============================================
   V2 — Délégations (nouveau design asymétrique)
   ============================================ */
.v2-delegations-new {
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.v2-delegations-new::before {
    content: "09";
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 36rem;
    font-weight: 500;
    font-style: italic;
    color: rgba(240,244,250,.7);
    line-height: .8;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -.05em;
}
.v2-delegations-new .container {
    position: relative;
    z-index: 1;
}
.v2-deleg-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: start;
}

/* Colonne gauche : photo portrait avec cadre doré */
.v2-deleg-visual {
    position: relative;
    padding-top: 80px;
}
.v2-deleg-visual::before {
    content: "";
    position: absolute;
    top: 120px;
    left: -40px;
    width: 80%;
    height: 580px;
    border: 1px solid var(--v2-gold, #C8A15A);
    z-index: 0;
    pointer-events: none;
}
.v2-deleg-visual__main {
    position: relative;
    height: 640px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 30px 80px -30px rgba(10,37,64,.45);
    z-index: 1;
}
.v2-deleg-visual__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.v2-deleg-stat-float {
    position: absolute;
    bottom: -40px;
    right: -30px;
    background: var(--v2-blue-dark, #051729);
    color: #fff;
    padding: 28px 36px;
    z-index: 2;
    box-shadow: 0 20px 50px -15px rgba(10,37,64,.5);
    min-width: 220px;
}
.v2-deleg-stat-float::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--v2-gold, #C8A15A);
}
.v2-deleg-stat-num {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--v2-gold, #C8A15A);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 4px;
}
.v2-deleg-stat-label {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .88;
    font-weight: 500;
}
.v2-deleg-caption {
    margin-top: 24px;
    margin-left: 20px;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--v2-text-soft, #555);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}
.v2-deleg-caption::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--v2-gold, #C8A15A);
}

/* Colonne droite : contenu */
.v2-deleg-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    color: var(--v2-blue-dark, #051729);
    margin-bottom: 28px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.v2-deleg-content h2 em {
    font-style: italic;
    color: var(--v2-gold, #C8A15A);
    font-weight: 500;
}
.v2-deleg-intro {
    font-size: 1.02rem;
    color: var(--v2-text-soft, #555);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 520px;
}

.v2-deleg-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 36px;
    border-top: 1px solid var(--v2-border, #e5e5e5);
    padding: 0;
    margin: 0;
}
.v2-deleg-list li {
    border-bottom: 1px solid var(--v2-border, #e5e5e5);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: default;
    transition: padding .3s ease;
    position: relative;
    margin: 0;
}
.v2-deleg-list li::before {
    content: "→";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v2-gold, #C8A15A);
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s ease, left .3s ease;
}
.v2-deleg-list li:hover {
    padding-left: 14px;
}
.v2-deleg-list li:hover::before {
    opacity: 1;
    left: -4px;
}
.v2-deleg-list li:hover .v2-deleg-name {
    color: var(--v2-blue, #0A2540);
}
.v2-deleg-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--v2-blue-dark, #051729);
    font-weight: 600;
    transition: color .3s ease;
    letter-spacing: -.005em;
}
.v2-deleg-count {
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--v2-gold, #C8A15A);
    font-weight: 600;
    white-space: nowrap;
}

.v2-deleg-cta {
    margin-top: 48px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 36px;
    background: var(--v2-blue-dark, #051729);
    color: #fff !important;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}
.v2-deleg-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--v2-gold, #C8A15A);
    transition: width .3s ease;
    z-index: 0;
}
.v2-deleg-cta:hover::before {
    width: 100%;
}
.v2-deleg-cta > span {
    position: relative;
    z-index: 1;
}
.v2-deleg-cta:hover {
    color: var(--v2-blue-dark, #051729) !important;
}
.v2-deleg-cta__arrow {
    transition: transform .3s ease;
}
.v2-deleg-cta:hover .v2-deleg-cta__arrow {
    transform: translateX(6px);
}

@media (max-width: 1024px) {
    .v2-deleg-layout {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .v2-deleg-visual {
        padding-top: 0;
    }
    .v2-deleg-visual::before {
        display: none;
    }
    .v2-deleg-visual__main {
        height: 480px;
    }
    .v2-delegations-new::before {
        font-size: 18rem;
        left: -30px;
    }
    .v2-deleg-stat-float { right: 20px; padding: 22px 28px; min-width: auto; }
}
@media (max-width: 640px) {
    .v2-delegations-new { padding: 70px 0; }
    .v2-deleg-list { grid-template-columns: 1fr; gap: 0; }
    .v2-deleg-visual__main { height: 360px; }
    .v2-delegations-new::before { display: none; }
}


/* ============================================
   HARMONISATION — alignement du site sur le style V2 home
   (radius angulaires 2px, titres heros weight 500, font-style éditorial)
   ============================================ */

/* --- Heroes sur toutes les pages : titre en weight 500, italique doré pour les mots clés --- */
.page-hero h1,
.page-recherche-head h1,
.campus-hero h1 {
    font-weight: 500 !important;
    letter-spacing: -.01em;
    line-height: 1.1;
}
.page-hero h1 em,
.page-recherche-head h1 em,
.campus-hero h1 em {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 400;
}
.home-hero__eyebrow,
.hero-badge {
    font-family: var(--font-body);
    font-size: 12px !important;
    letter-spacing: .22em !important;
    text-transform: uppercase;
    font-weight: 500;
}

/* Heading de la page recherche head : kicker doré sur la gauche comme v2 */
.page-recherche-head .hero-badge,
.page-hero .hero-badge,
.campus-hero .campus-hero__delegation {
    background: rgba(200,161,90,.18);
    border: 1px solid rgba(200,161,90,.4);
    color: var(--color-accent) !important;
}

/* --- BOUTONS : radius 2px (angulaires, éditorial) --- */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-light,
.btn-secondary-light,
.btn-ghost-dark,
.btn-sm,
.btn-lg,
.hero-buttons .btn,
.nav-cta .btn {
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    font-size: 13px;
}
.btn-sm {
    font-size: 12px;
    padding: 10px 22px;
}
.btn-lg {
    font-size: 14px;
    padding: 18px 36px;
}

/* Nav CTA : radius 2px aussi */
.nav-cta .btn-primary,
.nav-mobile-cta .btn-primary {
    border-radius: 2px !important;
    padding: 12px 22px !important;
}

/* Boutons de recherche (drawer, filter reset, locate...) : garder radius 100px (pills) pour lisibilité */
.cls-reset, .btn-locate, .cls-badge, .niveau-badge, .secteur-pill, .cls-drawer__delegation,
.home-hero__eyebrow, .hero-badge, .section-eyebrow, .v2-hero__kicker {
    border-radius: 100px !important;
}

/* --- CARTES : radius 4px (angulaire, plus institutionnel) --- */
.result-card,
.cls-card,
.campus-aside__card,
.campus-section,
.secteur-block,
.pillar,
.secteur-card,
.niveau-card,
.home-cta__box,
.guide-step,
.guide-faq details,
.v2-faq__item,
.contact-info-card,
.contact-interlocutor,
.guide-quiz,
.secteur-card__media,
.secteur-card,
.home-keyfigures,
.search-panel,
.cls-panel {
    border-radius: 4px !important;
}
.cls-card {
    border-radius: 4px !important;
}
.cls-card__media {
    border-radius: 0 !important;
}
.result-card__count,
.campus-site-btn,
.quiz-result-card {
    border-radius: 4px !important;
}

/* Images de fond : radius 2px */
.mission-img,
.v2-mission__img,
.campus-minimap,
.home-preview-map,
.campus-map {
    border-radius: 2px !important;
}

/* Campus marqueur popup */
.map-popup__btn {
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11px;
    padding: 9px 16px;
}

/* --- FOOTER : logo sans card blanc, plus aligné v2 --- */
#site-footer .footer-brand .footer-logo {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* --- Drawer CTA : radius 2px --- */
.cls-drawer__cta {
    border-radius: 2px !important;
}

/* --- Page-hero (about, contact, guide) : supprimer le padding extérieur cassé et utiliser le même look que v2 --- */
.page-hero .hero-content h1 em,
.page-hero h1 em {
    font-style: italic;
    color: var(--color-accent);
}

/* Chiffres dans le compteur / stats : policy heading pour ton éditorial */
.v2-stat__num,
.home-hero__stat strong,
.home-keyfigure strong {
    font-family: var(--font-heading);
    font-weight: 500;
    font-style: italic;
    letter-spacing: -.02em;
}

/* Kickers/eyebrows avec traits dorés cohérents */
.v2-kicker,
.section-eyebrow,
.home-hero__eyebrow {
    font-family: var(--font-body);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

/* Boutons heros des pages avec border-radius 2px et italic gold accent */
.campus-hero .btn,
.page-hero .btn {
    border-radius: 2px !important;
}


/* ============================================
   PARTENAIRES — Bandeau marquee défilant
   ============================================ */
.v2-partners {
    padding: 100px 0 110px;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.v2-partners__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.v2-partners__head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--v2-blue-dark, #051729);
    font-weight: 600;
    margin: 0;
    letter-spacing: -.005em;
}
.v2-partners__marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.v2-partners__track {
    display: flex;
    gap: 48px;
    animation: partnerMarquee 45s linear infinite;
    width: max-content;
    will-change: transform;
}
.v2-partners__marquee:hover .v2-partners__track {
    animation-play-state: paused;
}
.v2-partner {
    flex-shrink: 0;
    width: 220px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .3s ease, opacity .3s ease, transform .3s ease;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--v2-border, #e5e5e5);
    border-radius: 4px;
}
.v2-partner:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-3px);
    border-color: var(--v2-gold, #C8A15A);
}
.v2-partner img {
    width: 100%;
    height: 100%;
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    display: block;
}
@keyframes partnerMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .v2-partners__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}
@media (max-width: 760px) {
    .v2-partners { padding: 70px 0 80px; }
    .v2-partner { width: 180px; height: 90px; }
    .v2-partners__track { gap: 24px; animation-duration: 35s; }
}

/* ============================================
   BLOG — Style harmonisé avec la home v2
   ============================================ */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 40px 0 20px;
}
.blog-filter-pill {
    padding: 10px 20px;
    border-radius: 100px;
    background: #fff;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .25s ease;
}
.blog-filter-pill:hover,
.blog-filter-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ============================================
   FIX ITERATION — tonal icons, heros dashes, recherche width, partners thinner
   ============================================ */

/* --- Icons contact en gradients tonaux (même teinte foncée → claire) --- */
.trust-icon--pink,
.icon--pink {
    background: linear-gradient(135deg, #9D174D 0%, #EC4899 50%, #F9A8D4 100%) !important;
}
.trust-icon--blue,
.icon--blue {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #93C5FD 100%) !important;
}
.trust-icon--green,
.icon--green {
    background: linear-gradient(135deg, #064E3B 0%, #10B981 50%, #6EE7B7 100%) !important;
}
.icon--yellow {
    background: linear-gradient(135deg, #B45309 0%, #F59E0B 50%, #FCD34D 100%) !important;
}

/* --- Bouton "Appeler maintenant" : border dorée --- */
.hero-buttons .btn-outline,
.hero-buttons .btn-outline-light,
.hero-content .btn-outline {
    border: 1.5px solid var(--color-accent) !important;
    color: var(--color-accent) !important;
}
.hero-buttons .btn-outline:hover,
.hero-buttons .btn-outline-light:hover {
    background: var(--color-accent) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-accent) !important;
}

/* --- Remplacer bulles badges heros par tirets allongés (style home v2 kicker) --- */
.home-hero__eyebrow,
.hero-badge,
.campus-hero__delegation {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    color: var(--color-accent) !important;
    font-family: var(--font-body);
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .25em !important;
    text-transform: uppercase;
    margin-bottom: 24px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.home-hero__eyebrow::before,
.hero-badge::before,
.campus-hero__delegation::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    flex-shrink: 0;
}
.hero-badge i,
.home-hero__eyebrow i {
    margin-right: 4px;
}
/* Sur les heros, badge doit être centré */
.page-hero .hero-content .hero-badge,
.page-recherche-head .hero-badge {
    justify-content: center;
}
.page-hero .hero-content .hero-badge::after,
.page-recherche-head .hero-badge::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    flex-shrink: 0;
}

/* --- Equilibre hero : padding top/bottom égal --- */
.page-hero {
    padding-top: calc(var(--header-height) + 90px) !important;
    padding-bottom: 90px !important;
}
.page-recherche-head {
    padding: calc(var(--header-height) + 90px) 0 90px !important;
}
.campus-hero {
    padding: calc(var(--header-height) + 90px) 0 80px !important;
}
/* Reset margin on hero-content children for proper equilibrium */
.page-hero .hero-content h1,
.page-recherche-head h1 {
    margin-top: 8px;
    margin-bottom: 14px;
}

/* --- Recherche : max-width 85% sur le filter panel et layout --- */
.cls-app {
    max-width: min(1280px, 92%) !important;
}
.cls-panel,
.cls-meta,
.cls-layout {
    max-width: 100% !important;
}
#results-count {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
}
/* FIX : supprimer le ::before qui doublait le chiffre */
#results-count::before {
    content: none !important;
    display: none !important;
}

/* --- Partners : bandeau plus fin, moins d'air --- */
.v2-partners {
    padding: 56px 0 60px !important;
}
.v2-partners__head {
    margin-bottom: 32px !important;
}
.v2-partners__head h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem) !important;
    font-weight: 500;
}
.v2-partner {
    width: 180px !important;
    height: 84px !important;
    padding: 10px 16px !important;
}
.v2-partner img {
    max-width: 160px !important;
    max-height: 64px !important;
}

/* --- Video lightbox modal --- */
.v2-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(5,23,41,.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: videoModalFade .25s ease;
}
.v2-video-modal.is-open {
    display: flex;
}
@keyframes videoModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.v2-video-modal__content {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.v2-video-modal__content iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.v2-video-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: var(--v2-blue-dark, #051729);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
}
.v2-video-modal__close:hover {
    background: var(--v2-gold, #C8A15A);
    transform: scale(1.08);
}

/* Position play button un peu plus à gauche et plus bas */
.v2-hero__play {
    margin-top: 30px;
    align-self: end !important;
    margin-bottom: 20px;
}
@media (min-width: 961px) {
    .v2-hero__inner {
        grid-template-columns: 1fr auto !important;
        align-items: end !important;
    }
    .v2-hero__play {
        margin-right: 40px;
    }
}


/* ============================================
   GUIDE — 4 piliers style home (I. II. III. IV.)
   ============================================ */
.guide-steps-pillars {
    padding: 100px 0 110px;
    background: #fff;
}
.guide-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 20px;
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
}
.guide-pillar {
    padding: 0;
}
.guide-pillar__num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--color-accent);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: -.01em;
    line-height: 1;
}
.guide-pillar h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 0 0 14px;
    font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1.25;
}
.guide-pillar p {
    color: var(--color-text-light);
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 1024px) {
    .guide-pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
}
@media (max-width: 560px) {
    .guide-pillars-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
}

/* ============================================
   FIX — Page hero spacing equilibrium
   ============================================ */
.page-hero .hero-content {
    padding: 0 24px !important;
}
.page-hero .hero-content > *:first-child {
    margin-top: 0;
}
.page-hero .hero-content > *:last-child {
    margin-bottom: 0;
}
.page-hero .hero-content p {
    margin-bottom: 0;
}

/* Titre h1 centré avec espacements propres */
.page-hero .hero-content h1 {
    margin: 10px 0 16px !important;
}
.page-hero .hero-content .hero-badge,
.page-hero .hero-content .home-hero__eyebrow {
    margin-bottom: 20px !important;
}

/* ============================================
   Hero video play button — plus à gauche, plus bas
   ============================================ */
@media (min-width: 961px) {
    .v2-hero__container {
        padding-bottom: 180px;
    }
    .v2-hero__inner {
        grid-template-columns: 1.2fr auto !important;
        align-items: end !important;
        gap: 60px !important;
    }
    .v2-hero__play {
        margin-left: -20px;
        margin-bottom: 0;
        align-self: end;
    }
}

/* Contact "Appeler maintenant" : bouton avec bordure dorée */
.page-contact .hero-buttons .btn-outline,
.page-contact .hero-buttons .btn-outline-light {
    border: 1.5px solid var(--color-accent) !important;
    color: var(--color-accent) !important;
    background: transparent !important;
}
.page-contact .hero-buttons .btn-outline:hover,
.page-contact .hero-buttons .btn-outline-light:hover {
    background: var(--color-accent) !important;
    color: var(--color-primary) !important;
}

