/* ===================================================================
   Cabinet Zhara — Conseil Juridique & Fiscal
   Feuille de style principale
   Auteur : Direction Artistique
   ------------------------------------------------------------------- */

/* ===================== VARIABLES ===================== */
:root {
    /* Palette */
    --navy: #0a1733;          /* Bleu nuit profond */
    --navy-2: #11224a;        /* Bleu nuit clair */
    --navy-soft: #16294f;
    --black: #05080f;         /* Noir profond */
    --gold: #304890;          /* Accent bleu (couleur du logo) */
    --gold-light: #5b76c8;
    --gray-light: #f5f6f7;    /* Gris clair */
    --gray: #6b7280;
    --gray-200: #e4e6e9;
    --white: #ffffff;
    --ink: #14181f;

    /* Typo */
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max: 1300px;
    --gut: clamp(20px, 5vw, 44px);
    --radius: 0px;            /* Angles droits (style CMS) */
    --radius-sm: 0px;

    /* Effets */
    --shadow-sm: 0 2px 10px rgba(20, 24, 31, .05);
    --shadow: 0 10px 30px rgba(20, 24, 31, .08);
    --shadow-lg: 0 24px 55px rgba(20, 24, 31, .12);
    --glass: rgba(255, 255, 255, .65);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-2: cubic-bezier(.65, 0, .35, 1);
}

/* ===================== RESET ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy); }
em { font-style: normal; color: var(--gold); }

::selection { background: var(--gold); color: var(--navy); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--navy-2); border-radius: 10px; border: 3px solid var(--gray-light); }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ===================== UTILITAIRES ===================== */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }

/* ═════════════════════════════════════════════════════════════════════
   FONDS DÉCORATIFS DES SECTIONS DE L'ACCUEIL
   Ajoutés uniquement par CSS (pseudo-éléments, aucune modif HTML).
   Motifs subtils qui donnent de la texture sans surcharger.
   ═════════════════════════════════════════════════════════════════════ */

/* ─── SECTION À PROPOS ───────────────────────────────────────────── */
/* Ivoire chaud + tache dorée en fond, sensation de papier qualité. */
.about {
    background:
        radial-gradient(600px 400px at 92% 8%, rgba(201, 162, 75, 0.09), transparent 60%),
        radial-gradient(500px 350px at 8% 92%, rgba(48, 72, 144, 0.05), transparent 60%),
        #fafaf7;
    position: relative;
    overflow: hidden;
}
.about::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a24b' stroke-width='0.8' opacity='0.14'><circle cx='100' cy='100' r='96'/><circle cx='100' cy='100' r='72'/><circle cx='100' cy='100' r='48'/><circle cx='100' cy='100' r='24'/></g></svg>") no-repeat center/contain;
    pointer-events: none;
    z-index: 0;
}
.about::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -40px;
    width: 240px; height: 240px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='%23304890' opacity='0.06'><circle cx='10' cy='10' r='1.5'/><circle cx='30' cy='10' r='1.5'/><circle cx='50' cy='10' r='1.5'/><circle cx='70' cy='10' r='1.5'/><circle cx='90' cy='10' r='1.5'/><circle cx='10' cy='30' r='1.5'/><circle cx='30' cy='30' r='1.5'/><circle cx='50' cy='30' r='1.5'/><circle cx='70' cy='30' r='1.5'/><circle cx='90' cy='30' r='1.5'/><circle cx='10' cy='50' r='1.5'/><circle cx='30' cy='50' r='1.5'/><circle cx='50' cy='50' r='1.5'/><circle cx='70' cy='50' r='1.5'/><circle cx='90' cy='50' r='1.5'/><circle cx='10' cy='70' r='1.5'/><circle cx='30' cy='70' r='1.5'/><circle cx='50' cy='70' r='1.5'/><circle cx='70' cy='70' r='1.5'/><circle cx='90' cy='70' r='1.5'/><circle cx='10' cy='90' r='1.5'/><circle cx='30' cy='90' r='1.5'/><circle cx='50' cy='90' r='1.5'/><circle cx='70' cy='90' r='1.5'/><circle cx='90' cy='90' r='1.5'/></g></svg>") no-repeat center/contain;
    pointer-events: none;
    z-index: 0;
}
.about > .container { position: relative; z-index: 1; }

/* ─── SECTION EXPERTISES (animée) ────────────────────────────────── */
/* Fond clair + halos qui dérivent + particules or/navy + shimmer titre. */
.expertise {
    background: #fbfcfe;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Couche 1 : halos radiaux qui dérivent lentement. */
.expertise::before {
    content: "";
    position: absolute; inset: -10%;
    background:
        radial-gradient(500px 400px at 15% 25%, rgba(201, 162, 75, 0.14), transparent 60%),
        radial-gradient(600px 500px at 85% 75%, rgba(48, 72, 144, 0.10), transparent 60%),
        radial-gradient(400px 400px at 50% 90%, rgba(48, 72, 144, 0.06), transparent 60%);
    animation: expertiseDrift 20s ease-in-out infinite alternate;
    z-index: -2;
    will-change: transform;
    pointer-events: none;
}
@keyframes expertiseDrift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-30px, 25px) rotate(-2deg); }
    100% { transform: translate(30px, -25px) rotate(2deg); }
}
/* Couche 2 : particules or/navy qui remontent lentement. */
.expertise::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(201, 162, 75, 0.42) 1.5px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(48, 72, 144, 0.3)  1.5px, transparent 2px),
        radial-gradient(circle at 45% 85%, rgba(201, 162, 75, 0.35) 1.5px, transparent 2px),
        radial-gradient(circle at 88% 20%, rgba(48, 72, 144, 0.25) 1.5px, transparent 2px),
        radial-gradient(circle at 25% 70%, rgba(201, 162, 75, 0.3)  1.5px, transparent 2px);
    background-size: 220px 220px, 260px 260px, 200px 200px, 240px 240px, 280px 280px;
    animation: expertiseParticles 28s linear infinite;
    z-index: -1;
    opacity: 0.85;
    pointer-events: none;
}
@keyframes expertiseParticles {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
    to   { background-position: 0 -440px, 0 -520px, 0 -400px, 0 -480px, 0 -560px; }
}

/* Contenu au-dessus. */
.expertise > .container { position: relative; z-index: 1; }

/* Shimmer doré sur le titre. */
.expertise .section__title {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 40%, var(--gold) 50%, var(--navy) 60%, var(--navy) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: expertiseShimmer 6s ease-in-out infinite;
}
@keyframes expertiseShimmer {
    0%, 100% { background-position: 100% 0; }
    50%      { background-position: 0 0; }
}

/* Trait doré pulsé après le eyebrow "Domaines d'intervention". */
.expertise .section__eyebrow {
    display: inline-block;
    padding-right: 44px;
    position: relative;
}
.expertise .section__eyebrow::after {
    content: "";
    position: absolute;
    right: 0; top: 50%;
    width: 30px; height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
    animation: expertiseLine 2.4s ease-in-out infinite;
}
@keyframes expertiseLine {
    0%, 100% { transform: translateY(-50%) scaleX(0.6); opacity: 0.5; }
    50%      { transform: translateY(-50%) scaleX(1); opacity: 1; }
}

/* Halo pulsé autour du numéro "01/02/…" de chaque carte. */
.expertise-item {
    position: relative;
}
.expertise-item__num {
    position: relative;
    display: inline-block;
}
.expertise-item__num::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    animation: expertiseNumPulse 3s ease-out infinite;
    pointer-events: none;
}
.expertise-item:nth-child(2) .expertise-item__num::before { animation-delay: .4s; }
.expertise-item:nth-child(3) .expertise-item__num::before { animation-delay: .8s; }
.expertise-item:nth-child(4) .expertise-item__num::before { animation-delay: 1.2s; }
.expertise-item:nth-child(5) .expertise-item__num::before { animation-delay: 1.6s; }
.expertise-item:nth-child(6) .expertise-item__num::before { animation-delay: 2.0s; }
.expertise-item:nth-child(7) .expertise-item__num::before { animation-delay: 2.4s; }
.expertise-item:nth-child(8) .expertise-item__num::before { animation-delay: 2.8s; }
@keyframes expertiseNumPulse {
    0%   { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
    30%  { opacity: 0.55; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
/* Le numéro lui-même flotte doucement. */
.expertise-item__num {
    animation: expertiseNumFloat 4s ease-in-out infinite;
}
.expertise-item:nth-child(2) .expertise-item__num { animation-delay: .5s; }
.expertise-item:nth-child(3) .expertise-item__num { animation-delay: 1s; }
.expertise-item:nth-child(4) .expertise-item__num { animation-delay: 1.5s; }
.expertise-item:nth-child(5) .expertise-item__num { animation-delay: 2s; }
.expertise-item:nth-child(6) .expertise-item__num { animation-delay: 2.5s; }
.expertise-item:nth-child(7) .expertise-item__num { animation-delay: 3s; }
.expertise-item:nth-child(8) .expertise-item__num { animation-delay: 3.5s; }
@keyframes expertiseNumFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
.expertise-item:hover .expertise-item__num::before { animation-duration: 1.2s; border-color: var(--white); }

/* Accessibilité. */
@media (prefers-reduced-motion: reduce) {
    .expertise::before, .expertise::after,
    .expertise .section__title, .expertise .section__eyebrow::after,
    .expertise-item__num, .expertise-item__num::before {
        animation: none !important;
    }
}

/* ─── SECTION ÉQUIPE ─────────────────────────────────────────────── */
/* Dégradé vertical très doux + traits fins horizontaux. */
.team {
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    position: relative;
    overflow: hidden;
}
.team::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 380px; height: 100%;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400'><g fill='none' stroke='%23304890' stroke-width='0.5' opacity='0.08'><path d='M0 40 L100 40'/><path d='M0 80 L100 80'/><path d='M0 120 L100 120'/><path d='M0 160 L100 160'/><path d='M0 200 L100 200'/><path d='M0 240 L100 240'/><path d='M0 280 L100 280'/><path d='M0 320 L100 320'/><path d='M0 360 L100 360'/></g></svg>") repeat-y right center;
    background-size: 100px 400px;
    pointer-events: none;
    z-index: 0;
}
.team > .container { position: relative; z-index: 1; }

/* ─── SECTION FAQ ────────────────────────────────────────────────── */
/* Fond crème très clair + cercle doré doux en arrière-plan. */
.faq {
    background:
        radial-gradient(400px 400px at 12% 30%, rgba(201, 162, 75, 0.07), transparent 60%),
        radial-gradient(500px 500px at 90% 80%, rgba(48, 72, 144, 0.06), transparent 60%),
        #fafaf6;
    position: relative;
    overflow: hidden;
}
.faq::before {
    content: "";
    position: absolute;
    bottom: -140px; right: -60px;
    width: 320px; height: 320px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23c9a24b' stroke-width='0.5' opacity='0.28'><path d='M20 50 Q50 20 80 50 T140 50'/><path d='M20 60 Q50 30 80 60'/><path d='M20 70 Q50 40 80 70'/><path d='M20 80 Q50 50 80 80'/></g></svg>") no-repeat center/contain;
    pointer-events: none;
    z-index: 0;
}
.faq > .container { position: relative; z-index: 1; }

/* ─── SECTION CONTACT ────────────────────────────────────────────── */
/* Dégradé doux navy-crème + halo doré diagonal. */
.contact {
    background:
        radial-gradient(700px 500px at 100% 0%, rgba(48, 72, 144, 0.08), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(201, 162, 75, 0.09), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.4), transparent);
    pointer-events: none;
    z-index: 1;
}
.contact::after {
    content: "";
    position: absolute;
    top: 60px; left: -80px;
    width: 220px; height: 220px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='%23304890' opacity='0.05'><rect x='5' y='5' width='2' height='2'/><rect x='15' y='5' width='2' height='2'/><rect x='25' y='5' width='2' height='2'/><rect x='35' y='5' width='2' height='2'/><rect x='45' y='5' width='2' height='2'/><rect x='55' y='5' width='2' height='2'/><rect x='65' y='5' width='2' height='2'/><rect x='75' y='5' width='2' height='2'/><rect x='85' y='5' width='2' height='2'/><rect x='5' y='15' width='2' height='2'/><rect x='15' y='15' width='2' height='2'/><rect x='25' y='15' width='2' height='2'/><rect x='35' y='15' width='2' height='2'/><rect x='45' y='15' width='2' height='2'/><rect x='55' y='15' width='2' height='2'/><rect x='65' y='15' width='2' height='2'/><rect x='75' y='15' width='2' height='2'/><rect x='85' y='15' width='2' height='2'/><rect x='5' y='25' width='2' height='2'/><rect x='15' y='25' width='2' height='2'/><rect x='25' y='25' width='2' height='2'/><rect x='35' y='25' width='2' height='2'/><rect x='45' y='25' width='2' height='2'/><rect x='55' y='25' width='2' height='2'/><rect x='65' y='25' width='2' height='2'/><rect x='75' y='25' width='2' height='2'/><rect x='85' y='25' width='2' height='2'/></g></svg>") no-repeat top left/contain;
    pointer-events: none;
    z-index: 0;
}
.contact > .container { position: relative; z-index: 1; }

/* ─── Responsive : décorations réduites sur mobile ─────────────────── */
@media (max-width: 780px) {
    .about::before, .about::after,
    .expertise::before,
    .team::before,
    .faq::before,
    .contact::after {
        transform: scale(0.6);
        transform-origin: center;
    }
}

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section__eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600;
    font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px; position: relative; padding-left: 34px;
}
.section__eyebrow::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 1px;
    background: var(--gold); transform: translateY(-50%);
}
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.section__intro { color: var(--gray); margin-top: 18px; font-size: 1.05rem; }

/* ===================== BOUTONS ===================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
    padding: 16px 32px; border-radius: 0; position: relative; overflow: hidden;
    transition: background .3s var(--ease-2), color .3s var(--ease-2), border-color .3s;
    will-change: background, color;
}
.btn--primary { background: var(--gold); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--full { width: 100%; }

/* Ripple */
.btn--ripple .ripple {
    position: absolute; border-radius: 50%; transform: scale(0);
    background: rgba(255, 255, 255, .45); animation: ripple .65s linear; pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* ===================== LOADER ===================== */
.loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s var(--ease), visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__mark {
    font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 5vw, 2.1rem); color: var(--gold);
    letter-spacing: .04em; margin-bottom: 24px; animation: pulse 1.4s ease-in-out infinite; white-space: nowrap;
}
@keyframes pulse { 0%,100% { opacity: .5; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }
.loader__bar { width: 180px; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 4px; animation: load 1.6s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

/* ===================== CURSEUR PERSONNALISÉ (désactivé) ===================== */
.cursor, .cursor-dot { display: none !important; }
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9998; mix-blend-mode: difference; }
.cursor { width: 38px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .8); transform: translate(-50%, -50%); transition: width .3s, height .3s, background .3s, border-color .3s; }
.cursor-dot { width: 6px; height: 6px; background: var(--white); transform: translate(-50%, -50%); }
.cursor.grow { width: 64px; height: 64px; background: rgba(48, 72, 144, .25); border-color: transparent; }

/* ===================== BARRE DE PROGRESSION ===================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); z-index: 9997; transition: width .1s linear; }

/* ===================== HEADER ===================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 22px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}

/* ─── Page Prise de rendez-vous ─────────────────────────────────────── */
.rdv-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .rdv-grid { grid-template-columns: 1fr; gap: 30px; }
}
.rdv-info { padding: 8px 4px; }
.rdv-info h3 { font-size: 1.25rem; margin: 0 0 20px; }
.rdv-info h4 { font-size: .95rem; margin: 0 0 8px; }
.rdv-info p { color: var(--gray); font-size: .9rem; line-height: 1.6; }
.rdv-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.rdv-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.5;
    position: relative;
}
.rdv-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 15px; top: 44px; bottom: -12px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(201, 162, 75, 0.3), transparent);
}
.rdv-steps li span {
    width: 32px; height: 32px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(201, 162, 75, 0.35);
}
.rdv-info__block {
    background: rgba(48, 72, 144, 0.04);
    border-left: 3px solid var(--gold);
    padding: 16px 18px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 16px;
}
.rdv-info__phone {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
}
.rdv-info__phone:hover { color: var(--gold); }

.rdv-form-wrap {
    background: #fff;
    border: 1px solid rgba(48, 72, 144, 0.08);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(10, 23, 51, 0.06);
}
.rdv-form .field { margin-bottom: 22px; }
.rdv-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.rdv-form .field-row .field { margin-bottom: 0; }
@media (max-width: 560px) { .rdv-form .field-row { grid-template-columns: 1fr; } }
/* Labels statiques (au-dessus des select/date/textarea/radios).
   Priorité élevée pour surcharger le pattern floating-label `.field label { position: absolute }`. */
.rdv-form .field label.rdv-label-static,
.rdv-form .field-row .field label.rdv-label-static {
    position: static;
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    color: var(--ink);
    margin-bottom: 8px;
    opacity: 0.85;
    transform: none;
    left: auto;
    top: auto;
    pointer-events: auto;
    padding: 0;
}
/* Les <label class="rdv-radio"> doivent rester dans le flux (pas absolute). */
.rdv-form .rdv-radios label.rdv-radio {
    position: static;
    display: block;
    left: auto;
    top: auto;
    transform: none;
    pointer-events: auto;
    color: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0;
}
/* Neutralise le padding "floating" pour les select/date/textarea de la page RDV. */
.rdv-form .field select,
.rdv-form .field input[type=date],
.rdv-form .field input[type=datetime-local] {
    padding: 12px 14px;
    background: #fff;
}
.rdv-form .field textarea {
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid rgba(48, 72, 144, 0.15);
    border-radius: 10px;
}
/* Les select ne déclenchent pas :placeholder-shown → le trick floating label ne les affecte pas,
   mais on force la couleur du texte à rester normale. */
.rdv-form .field select { color: var(--ink); }
.rdv-form select,
.rdv-form input[type=date],
.rdv-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(48, 72, 144, 0.15);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: .95rem;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.rdv-form select:focus,
.rdv-form input[type=date]:focus,
.rdv-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.15);
}
.rdv-form textarea { resize: vertical; min-height: 100px; }

.rdv-radios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
@media (max-width: 560px) { .rdv-radios { grid-template-columns: repeat(2, 1fr); } }
.rdv-radio input { position: absolute; opacity: 0; pointer-events: none; }
.rdv-radio__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: #fafbfd;
    border: 1.5px solid rgba(48, 72, 144, 0.12);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
}
.rdv-radio__box:hover { border-color: var(--gold); background: rgba(201, 162, 75, 0.06); }
.rdv-radio__emoji { font-size: 1.5rem; }
.rdv-radio__label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.rdv-radio input:checked ~ .rdv-radio__box {
    background: var(--navy);
    border-color: var(--gold);
    color: var(--white);
}
.rdv-radio input:checked ~ .rdv-radio__box .rdv-radio__label { color: var(--white); }
.rdv-radio input:focus-visible ~ .rdv-radio__box { box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.3); }

.rdv-form__note {
    text-align: center;
    color: var(--gray);
    font-size: .78rem;
    margin: 16px 0 0;
}
.rdv-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: .9rem;
    background: rgba(192, 57, 43, 0.08);
    color: #c0392b;
    border: 1px solid rgba(192, 57, 43, 0.2);
}

/* Écran de succès. */
.rdv-success {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(180deg, rgba(48, 72, 144, 0.03), transparent);
    border-radius: 20px;
}
.rdv-success__icon {
    width: 80px; height: 80px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(201, 162, 75, 0.4);
    animation: rdvSuccess .6s cubic-bezier(0.4, 0, 0.2, 1);
}
.rdv-success__icon svg { width: 44px; height: 44px; }
.rdv-success h2 { font-size: 1.8rem; margin: 0 0 16px; color: var(--navy); }
.rdv-success p { color: var(--gray); font-size: 1rem; line-height: 1.6; margin: 0; }
.rdv-success p + p { margin-top: 12px; }
@keyframes rdvSuccess {
    0%   { transform: scale(0); opacity: 0; }
    50%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

/* ─── Section témoignages clients ───────────────────────────────────── */
.testimonials {
    background: linear-gradient(180deg, #f7f8fb, #ffffff);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 75, 0.10), transparent 65%);
    pointer-events: none;
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(48, 72, 144, 0.08);
    border-radius: 16px;
    padding: 28px 26px 24px;
    box-shadow: 0 4px 20px rgba(10, 23, 51, 0.04);
    position: relative;
    transition: transform .4s var(--ease), box-shadow .4s;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 23, 51, 0.10); }
.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}
.testimonial-card__star {
    width: 18px; height: 18px;
    fill: #e4e7ee;
}
.testimonial-card__star.is-filled { fill: var(--gold); }
.testimonial-card__quote {
    position: relative;
    font-size: .96rem;
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 22px;
    padding-left: 26px;
    flex: 1;
    font-family: var(--font-body);
    font-style: italic;
}
.testimonial-card__mark {
    position: absolute;
    top: -12px; left: -4px;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.4;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(48, 72, 144, 0.08);
    padding-top: 16px;
}
.testimonial-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--gold));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.testimonial-card__role { font-size: .78rem; color: var(--gray); margin-top: 2px; }

/* ─── Bouton WhatsApp flottant + bulle d'invitation ─────────────────── */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}
.wa-float__btn {
    pointer-events: auto;
    position: relative;
    width: 60px; height: 60px;
    border-radius: 50%;
    border: none;
    background: #25D366;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    display: grid;
    place-items: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float__btn:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.2); }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.6);
    animation: waPulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes waPulse {
    0%   { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-float__bubble {
    pointer-events: none;
    width: 300px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(10, 23, 51, 0.18);
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right;
    transition: transform .28s ease, opacity .22s ease, visibility 0s linear .22s;
}
.wa-float__bubble.is-open {
    pointer-events: auto;
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    transition: transform .28s ease, opacity .22s ease;
}
.wa-float__bubble-close {
    position: absolute;
    top: 6px; right: 8px;
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    z-index: 2;
}
.wa-float__bubble-close:hover { color: #fff; }
.wa-float__bubble-head {
    background: #075E54;
    color: #fff;
    padding: 16px 40px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-float__bubble-avatar {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.15);
    color: #25D366;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.wa-float__bubble-avatar svg { width: 24px; height: 24px; }
.wa-float__bubble-name { font-weight: 700; font-size: .95rem; }
.wa-float__bubble-status {
    font-size: .72rem;
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.wa-float__bubble-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
}
.wa-float__bubble-body {
    padding: 20px 16px;
    background:
        linear-gradient(rgba(230, 221, 213, 0.25), rgba(230, 221, 213, 0.25)),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='0.5' fill='%23000000' opacity='0.03'/></svg>");
    background-color: #ECE5DD;
}
.wa-float__bubble-body p {
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 0;
    margin: 0;
    font-size: .88rem;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    max-width: 90%;
}
.wa-float__bubble-body p + p { margin-top: 6px; }
.wa-float__bubble-sub { font-size: .78rem !important; color: var(--gray) !important; }
.wa-float__bubble-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    transition: background .15s;
}
.wa-float__bubble-cta:hover { background: #128C7E; color: #fff; }
.wa-float__bubble-cta svg { width: 18px; height: 18px; }

@media (max-width: 560px) {
    .wa-float { bottom: 18px; right: 18px; }
    .wa-float__btn { width: 54px; height: 54px; }
    .wa-float__btn svg { width: 28px; height: 28px; }
    .wa-float__bubble { width: calc(100vw - 36px); max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-float__pulse, .wa-float__bubble { animation: none !important; transition: none !important; }
}

/* Le bouton "retour en haut" doit être poussé pour ne pas être caché derrière WhatsApp. */
.back-top { right: 100px !important; }
@media (max-width: 560px) { .back-top { right: 84px !important; } }

/* Attribution OpenStreetMap discrète en bas à gauche. */
.map-sim { position: relative; }
.map-sim__attribution {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(255,255,255,.85);
    color: var(--navy);
    font-size: .68rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-body);
}
.map-sim__attribution:hover { background: #fff; color: var(--gold); }

/* Petits liens légaux en bas des pages internes. */
.footer__legal {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    margin: 4px 0 8px;
}
.footer__legal a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer__legal a:hover { color: var(--gold); }
.footer__legal-sep { margin: 0 8px; opacity: .4; }

/* ─── Bandeau cookies (RGPD) ────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 1100;
    width: calc(100% - 40px);
    max-width: 780px;
    background: var(--navy);
    color: rgba(255,255,255,.9);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    border-top: 3px solid var(--gold);
    padding: 20px 24px;
    opacity: 0;
    transition: opacity .4s ease, transform .4s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner__text { flex: 1 1 320px; min-width: 260px; }
.cookie-banner__text strong { display: block; margin-bottom: 4px; font-size: .95rem; color: #fff; }
.cookie-banner__text p { margin: 0; font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.72); }
.cookie-banner__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, transform .1s;
}
.cookie-banner__btn:active { transform: translateY(1px); }
.cookie-banner__btn--accept { background: var(--gold); color: var(--navy); }
.cookie-banner__btn--accept:hover { background: #3a55a8; color: #fff; }
.cookie-banner__btn--refuse { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.cookie-banner__btn--refuse:hover { background: rgba(255,255,255,.08); }
.cookie-banner__link {
    color: rgba(255,255,255,.6);
    font-size: .78rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cookie-banner__link:hover { color: var(--gold); }
@media (max-width: 560px) {
    .cookie-banner { padding: 16px 18px; border-radius: 12px; }
    .cookie-banner__actions { width: 100%; justify-content: flex-end; }
}

/* Honeypot anti-bot : hors flux, invisible pour humains, présent pour bots. */
.field--honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Chip session admin dans la topbar. */
.topbar__session {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: rgba(201, 162, 75, 0.18);
    border: 1px solid rgba(201, 162, 75, 0.35);
    border-radius: 20px;
    font-size: .78rem;
    color: #fff;
    margin-right: 12px;
}
.topbar__session svg { width: 13px; height: 13px; color: var(--gold); }
.topbar__session-name { font-weight: 600; color: #fff; }
.topbar__session-link {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    padding-left: 8px;
    margin-left: 8px;
    border-left: 1px solid rgba(255,255,255,.15);
}
.topbar__session-link:hover { color: var(--gold); }
.topbar__session-logout { font-size: 1.05rem; padding-left: 4px; }
@media (max-width: 780px) {
    .topbar__session { padding: 2px 8px; font-size: .72rem; margin-right: 6px; }
    .topbar__session-name { display: none; }
}

/* ─── Horloge dans la topbar existante (injectée par TopBar() en JS) ── */
.topbar__clock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.9);
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
    padding-right: 4px;
}
.topbar__clock svg { color: var(--gold); width: 14px; height: 14px; flex-shrink: 0; }
.topbar__clock-date { color: rgba(255,255,255,.72); text-transform: capitalize; }
.topbar__clock-sep  { color: rgba(255,255,255,.35); }
.topbar__clock-time { font-weight: 700; color: #fff; letter-spacing: .02em; }
@media (max-width: 780px) {
    .topbar__clock-date { display: none; }
    .topbar__clock-sep  { display: none; }
}
.header.scrolled {
    padding: 12px 0; background: var(--glass); backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 6px 24px rgba(10, 23, 51, .08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo image (détouré, 2 variantes selon le fond) */
.logo__img { height: 120px; width: auto; display: block; transition: height .4s var(--ease), transform .4s var(--ease); }
.header.scrolled .logo__img { height: 92px; }
.logo:hover .logo__img { transform: translateY(-2px); }
.footer .logo__img { height: 115px; }

/* Variante foncée = fonds clairs / Variante blanche = fonds sombres */
.logo__img--onLight { display: none; }                  /* version couleurs (cachée par défaut) */
.header.scrolled .logo__img--onDark { display: none; }  /* header clair → masque la blanche */
.header.scrolled .logo__img--onLight { display: block; }
.footer .logo__img--onLight { display: none; }
.footer .logo__img--onDark { display: block; }

/* Logo (ancien monogramme — conservé pour compat) */
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
    width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold);
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
    box-shadow: var(--shadow-sm); transition: transform .4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; color: var(--navy); line-height: 1.1; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--font-body); font-weight: 400; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); }
.header.scrolled .logo__text { color: var(--navy); }

/* Nav */
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
    font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy);
    padding: 8px 13px; border-radius: 8px; position: relative; transition: color .3s;
}
.header:not(.scrolled) .nav__link { color: var(--white); }
.nav__link::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__cta { padding: 12px 24px; }

/* Items + dropdowns */
.nav__item { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav__item.has-dropdown:hover .nav__caret,
.nav__item.has-dropdown.open .nav__caret { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
    min-width: 240px; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: 16px; padding: 12px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    z-index: 1100;
}
/* Pont invisible pour garder le survol */
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
/* Petite flèche */
.dropdown::after { content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 14px; height: 14px; background: var(--white); border-left: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200); }
.dropdown--wide { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; }

.nav__item.has-dropdown:hover .dropdown,
.nav__item.has-dropdown:focus-within .dropdown,
.nav__item.has-dropdown.open .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}

.dropdown__link { display: flex; flex-direction: column; gap: 1px; padding: 11px 16px; border-radius: 11px; transition: background .25s, transform .25s; position: relative; }
.dropdown__link::before { content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 0; background: var(--gold); border-radius: 3px; transform: translateY(-50%); transition: height .3s var(--ease); }
.dropdown__link:hover { background: var(--gray-light); transform: translateX(2px); }
.dropdown__link:hover::before { height: 60%; }
.dropdown__title { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); transition: color .25s; }
.dropdown__link:hover .dropdown__title { color: var(--gold); }
.dropdown__desc { font-size: .76rem; color: var(--gray); }

/* Burger */
.burger { display: none; width: 46px; height: 46px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; z-index: 1100; }
.burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.header:not(.scrolled) .burger span { background: var(--white); }
.burger.open span { background: var(--white); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== TOP BAR ===================== */
.topbar { width: 100%; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-bottom: 10px; margin-bottom: 14px; transition: max-height .4s var(--ease), opacity .35s, margin .4s, padding .4s, border-color .4s; }
.header.scrolled .topbar { max-height: 0; opacity: 0; margin: 0; padding: 0; border-color: transparent; pointer-events: none; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__contact { display: flex; align-items: center; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .78); transition: color .3s; }
.topbar__contact a svg { width: 16px; height: 16px; color: var(--gold); }
.topbar__contact a:hover { color: var(--gold); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 500; font-size: .82rem; color: rgba(255, 255, 255, .85); padding: 7px 13px; border-radius: 9px; transition: color .3s, background .3s; }
.topbar__link svg { width: 16px; height: 16px; }
.topbar__link:hover { color: var(--gold); background: rgba(255, 255, 255, .07); }
.topbar__btn-login { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--navy); background: var(--gold); padding: 8px 18px; border-radius: 0; transition: background .3s, transform .3s, box-shadow .3s; }
.topbar__btn-login svg { width: 16px; height: 16px; }
.topbar__btn-login:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(48, 72, 144, .35); }

/* Overlay recherche */
.search-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 8, 15, .8); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; padding: 12vh 20px 20px; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay__inner { max-width: 640px; margin: 0 auto; transform: translateY(-20px); transition: transform .5s var(--ease); }
.search-overlay.open .search-overlay__inner { transform: none; }
.search-overlay__close { position: absolute; top: 26px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 1.6rem; line-height: 1; transition: background .3s, transform .3s; }
.search-overlay__close:hover { background: var(--gold); color: var(--navy); transform: rotate(90deg); }
.search-overlay__label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--gold-light); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.search-overlay__field { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 16px; padding: 6px 20px; box-shadow: var(--shadow-lg); }
.search-overlay__field svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.search-overlay__field input { flex: 1; border: none; outline: none; background: none; padding: 20px 0; font-size: 1.1rem; color: var(--ink); font-family: var(--font-head); }
.search-overlay__results { margin-top: 18px; max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.search-overlay__results li a { display: block; padding: 14px 20px; border-radius: 12px; color: var(--white); font-family: var(--font-head); font-weight: 500; background: rgba(255, 255, 255, .05); transition: background .25s, color .25s, transform .25s; }
.search-overlay__results li a:hover { background: var(--gold); color: var(--navy); transform: translateX(4px); }
.search-overlay__results li a { display: flex; flex-direction: column; gap: 4px; }
.search-overlay__type {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    order: -1;
}
.search-overlay__results li a:hover .search-overlay__type { color: var(--navy); opacity: .6; }
.search-overlay__title { font-size: 1rem; font-weight: 600; }
.search-overlay__excerpt { font-size: .82rem; font-weight: 400; opacity: .7; line-height: 1.45; }
.search-overlay__empty { color: rgba(255, 255, 255, .6); padding: 14px 20px; text-align: center; font-style: italic; }

/* Modale connexion */
.login-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 8, 15, .75); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.login-modal.open { opacity: 1; visibility: visible; }
.login-modal__box { position: relative; width: 100%; max-width: 420px; background: var(--white); border-radius: var(--radius); padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.97); transition: transform .5s var(--ease); }
.login-modal.open .login-modal__box { transform: none; }
.login-modal__close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--gray-light); color: var(--navy); font-size: 1.5rem; line-height: 1; transition: background .3s, color .3s, transform .3s; }
.login-modal__close:hover { background: var(--navy); color: var(--gold); transform: rotate(90deg); }
.login-modal__box h3 { font-size: 1.5rem; margin-bottom: 6px; }
.login-modal__box > p { color: var(--gray); font-size: .92rem; margin-bottom: 26px; }
.login-form { display: flex; flex-direction: column; gap: 20px; }
.login-form__msg { text-align: center; color: var(--gold); font-weight: 600; font-size: .88rem; min-height: 16px; margin: 0; }
.login-form__extra { text-align: center; font-size: .84rem; color: var(--gray); }
.login-form__extra a { color: var(--navy); font-weight: 600; }
.login-form__extra a:hover { color: var(--gold); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-start; overflow: hidden; color: var(--white); }

/* Couche slides (images de fond crossfade) */
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 7s linear;
    will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }

.hero__overlay {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(900px 500px at 20% 80%, rgba(28, 47, 94, .55), transparent 70%),
        linear-gradient(to top, rgba(5, 8, 15, .88), rgba(5, 8, 15, .35) 50%, rgba(5, 8, 15, .6));
}
.hero__noise {
    position: absolute; inset: 0; z-index: -1; opacity: .04; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content { position: relative; max-width: 880px; padding-top: calc(var(--header-h, 170px) + 34px); padding-bottom: 60px; }

/* Légendes (captions) synchronisées — empilées en grille (auto-hauteur) */
.hero__captions { position: relative; display: grid; }
.hero__caption {
    grid-area: 1 / 1;
    opacity: 0; visibility: hidden; transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
    pointer-events: none;
}
.hero__caption.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* Apparition décalée des éléments de la légende active */
.hero__caption.is-active .hero__eyebrow { animation: heroIn .7s var(--ease) both; }
.hero__caption.is-active .hero__title span:nth-child(1) { animation: heroIn .7s var(--ease) .12s both; }
.hero__caption.is-active .hero__title span:nth-child(2) { animation: heroIn .7s var(--ease) .22s both; }
.hero__caption.is-active .hero__subtitle { animation: heroIn .7s var(--ease) .34s both; }
.hero__caption.is-active .hero__actions { animation: heroIn .7s var(--ease) .46s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: .82rem;
    letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
    padding: 9px 20px; border: 1px solid rgba(48, 72, 144, .4); border-radius: 0;
    background: rgba(48, 72, 144, .08); backdrop-filter: blur(8px); margin-bottom: 28px;
}
.hero__title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; color: var(--white); }
.hero__title span { display: block; }
.hero__title em { color: var(--gold); }
.hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.22rem); max-width: 620px; color: rgba(255, 255, 255, .82); margin: 26px 0 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

/* Stats */
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.stat { position: relative; padding-left: 22px; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), transparent); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--white); line-height: 1; }
.stat__label { font-size: .85rem; color: rgba(255, 255, 255, .7); letter-spacing: .02em; }

/* Scroll hint */
.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.6), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--gold); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
.hero__scroll-text { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }

/* Contrôles du slider Hero */
.hero__nav { position: absolute; bottom: 38px; right: var(--gut); z-index: 5; display: flex; align-items: center; gap: 16px; }
.hero__arrow {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25);
    color: var(--white); backdrop-filter: blur(8px); transition: background .3s, color .3s, transform .3s, border-color .3s;
}
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.08); }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button {
    width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3);
    position: relative; overflow: hidden; transition: background .3s;
}
.hero__dots button.active { background: rgba(255, 255, 255, .35); }
.hero__dots button.active::after {
    content: ""; position: absolute; inset: 0; width: 0; background: var(--gold); border-radius: 4px;
    animation: heroProgress 6s linear forwards;
}
@keyframes heroProgress { to { width: 100%; } }

/* ===================== REVEAL (animations scroll) ===================== */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: transform, opacity; }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* ===================== À PROPOS ===================== */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__img {
    aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    background:
        linear-gradient(160deg, rgba(10,23,51,.2), rgba(10,23,51,.7)),
        radial-gradient(circle at 30% 20%, #2a4275, #0a1733 70%);
    position: relative; overflow: hidden;
}
.about__img::after {
    content: "⚖"; position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 7rem; color: rgba(48, 72, 144, .22);
}

/* Variante "photo réelle" : image en background-cover + léger overlay pour lisibilité du badge. */
.about__img--photo {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.about__img--photo::after { content: none; }
.about__img--photo::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(10, 23, 51, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}
.about__badge {
    position: absolute; bottom: -26px; right: -20px; background: var(--white); border-radius: 16px;
    padding: 20px 24px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--gray-200);
}
.about__badge-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold); }
.about__badge-text { font-size: .8rem; color: var(--gray); line-height: 1.4; }

.about__lead { color: var(--gray); font-size: 1.08rem; margin: 22px 0 30px; }
.about__pillars { display: flex; flex-direction: column; gap: 22px; margin-bottom: 38px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--gray-light); display: grid; place-items: center; color: var(--gold); transition: background .3s, transform .4s var(--ease); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar:hover .pillar__icon { background: var(--navy); transform: rotate(-6deg); }
.pillar h3 { font-size: 1.08rem; margin-bottom: 4px; }
.pillar p { font-size: .92rem; color: var(--gray); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border-top: 1px solid var(--gray-200); padding-top: 28px; }
.timeline__item { position: relative; padding-top: 22px; }
.timeline__item::before { content: ""; position: absolute; top: -29px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(48, 72, 144, .15); }
.timeline__year { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; display: block; }
.timeline__item p { font-size: .82rem; color: var(--gray); margin-top: 2px; }

/* Ancres : décalage sous le header fixe */
[id] { scroll-margin-top: 96px; }

/* ===================== MOT DU DIRECTEUR GÉNÉRAL ===================== */
.word-dg { background: var(--navy); color: var(--white); overflow: hidden; }
.word-dg__bg { position: absolute; inset: 0; opacity: .6; background: radial-gradient(700px 420px at 12% 20%, rgba(48, 72, 144, .16), transparent 60%), radial-gradient(600px 400px at 90% 90%, rgba(28, 47, 94, .7), transparent 60%); }
.word-dg__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.word-dg__media { position: relative; display: flex; justify-content: center; }
.word-dg__photo {
    width: 100%; max-width: 320px; aspect-ratio: 4/5; border-radius: var(--radius);
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
    font-size: 3.6rem; color: var(--white); box-shadow: var(--shadow-lg); position: relative;
}
.word-dg__photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; }
.word-dg__quote-mark { position: absolute; top: -34px; right: 6%; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: var(--gold); opacity: .5; }
.word-dg .section__eyebrow, .word-dg .section__title { color: var(--white); }
.word-dg .section__title { text-align: left; }
.word-dg .section__eyebrow { text-align: left; }
.word-dg__text { margin: 22px 0 28px; border-left: 2px solid var(--gold); padding-left: 24px; }
.word-dg__text p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; margin-bottom: 16px; font-style: italic; }
.word-dg__text p:last-child { margin-bottom: 0; }
.word-dg__sign { display: flex; flex-direction: column; }
.word-dg__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--gold); }
.word-dg__role { font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* ===================== SERVICES ===================== */
.services { background: var(--gray-light); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background: var(--white); border-radius: var(--radius); padding: 34px 28px; position: relative;
    overflow: hidden; border: 1px solid var(--gray-200); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.service-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* Surbrillance quand la carte est ciblée par un lien du menu */
.service-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(48, 72, 144, .35), var(--shadow-lg); animation: cardTarget 1.6s var(--ease); }
.service-card:target::before { transform: scaleX(1); }
@keyframes cardTarget { 0% { box-shadow: 0 0 0 0 rgba(48, 72, 144, .5); } 60% { box-shadow: 0 0 0 8px rgba(48, 72, 144, 0); } 100% { box-shadow: 0 0 0 3px rgba(48, 72, 144, .35), var(--shadow-lg); } }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; transition: transform .5s var(--ease), background .4s; }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: var(--navy); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--gray); margin-bottom: 18px; }
.service-card__link { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s, color .3s; }
.service-card__link span { transition: transform .3s; }
.service-card:hover .service-card__link { color: var(--gold); }
.service-card:hover .service-card__link span { transform: translateX(5px); }

/* ===================== EXPERTISES ===================== */
.expertise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expertise-item {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    padding: 28px 22px; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, background .45s;
}
.expertise-item__num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--gray-200); transition: color .4s; }
.expertise-item h3 { font-size: 1rem; margin: 8px 0 6px; transition: color .4s; }
.expertise-item p { font-size: .82rem; color: var(--gray); transition: color .4s; }
.expertise-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--navy); }
.expertise-item:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(48, 72, 144, .35), var(--shadow); animation: cardTarget 1.6s var(--ease); }
a.expertise-item { text-decoration: none; cursor: pointer; display: block; }
.expertise-item__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--gold); transition: gap .3s var(--ease), color .3s; }
.expertise-item__more span { transition: transform .3s var(--ease); }
.expertise-item:hover .expertise-item__more { color: var(--gold-light); gap: 11px; }
.expertise-item:hover .expertise-item__more span { transform: translateX(3px); }
.expertise-item:hover .expertise-item__num { color: var(--gold); }
.expertise-item:hover h3 { color: var(--white); }
.expertise-item:hover p { color: rgba(255, 255, 255, .7); }

/* ===================== POURQUOI NOUS CHOISIR ===================== */
.why { background: var(--navy); color: var(--white); overflow: hidden; position: relative; }

/* ─── Fond animé : gradients qui dérivent lentement ────────────────── */
.why__bg {
    position: absolute; inset: -10%;
    opacity: 1;
    background:
        radial-gradient(700px 400px at 85% 15%, rgba(201, 162, 75, .18), transparent 60%),
        radial-gradient(600px 400px at 10% 90%, rgba(48, 72, 144, .5), transparent 60%),
        radial-gradient(500px 500px at 50% 50%, rgba(48, 72, 144, .15), transparent 60%);
    animation: whyDrift 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes whyDrift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-30px, 20px) rotate(-2deg); }
    100% { transform: translate(30px, -20px) rotate(2deg); }
}

/* ─── Particules dorées flottantes ──────────────────────────────────── */
.why::before, .why::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: repeat;
    opacity: 0.55;
}
.why::before {
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 162, 75, 0.6) 1.5px, transparent 2px),
        radial-gradient(circle at 80% 60%, rgba(201, 162, 75, 0.4) 1.5px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.35) 1.5px, transparent 2px),
        radial-gradient(circle at 65% 20%, rgba(255, 255, 255, 0.3) 1.5px, transparent 2px),
        radial-gradient(circle at 10% 65%, rgba(201, 162, 75, 0.5) 1.5px, transparent 2px);
    background-size: 200px 200px, 240px 240px, 180px 180px, 220px 220px, 260px 260px;
    animation: whyParticles 24s linear infinite;
}
.why::after {
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.25) 1px, transparent 1.5px),
        radial-gradient(circle at 90% 50%, rgba(201, 162, 75, 0.3) 1px, transparent 1.5px),
        radial-gradient(circle at 30% 90%, rgba(255, 255, 255, 0.2) 1px, transparent 1.5px);
    background-size: 320px 320px, 280px 280px, 300px 300px;
    animation: whyParticles 40s linear infinite reverse;
}
@keyframes whyParticles {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
    to   { background-position: 0 -400px, 0 -600px, 0 -300px, 0 -450px, 0 -500px; }
}

/* ─── Ligne de lumière qui balaye le titre (au reveal) ─────────────── */
.why .section__title, .why .section__eyebrow { color: var(--white); }
.why .section__title {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--gold) 50%, #fff 60%, #fff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: whyShimmer 6s ease-in-out infinite;
}
@keyframes whyShimmer {
    0%, 100% { background-position: 100% 0; }
    50%      { background-position: 0 0; }
}

/* Le eyebrow "Ce qui nous anime" a un petit trait doré qui pulse. */
.why .section__eyebrow {
    position: relative;
    display: inline-block;
    padding-right: 44px;
}
.why .section__eyebrow::after {
    content: "";
    position: absolute;
    right: 0; top: 50%;
    width: 30px; height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
    animation: whyLine 2.4s ease-in-out infinite;
}
@keyframes whyLine {
    0%, 100% { transform: translateY(-50%) scaleX(0.6); opacity: 0.5; }
    50%      { transform: translateY(-50%) scaleX(1); opacity: 1; }
}

/* Contenu du container au-dessus des décorations. */
.why > .container { position: relative; z-index: 2; }
.why .section__title em { color: var(--gold); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.why-card {
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius); padding: 36px 28px; backdrop-filter: blur(10px);
    transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.why-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, .08); border-color: rgba(48, 72, 144, .4); }
.why-card__icon {
    width: 62px; height: 62px; border-radius: 18px;
    background: rgba(48, 72, 144, .15);
    color: var(--gold);
    display: grid; place-items: center;
    margin-bottom: 22px;
    transition: transform .5s var(--ease);
    position: relative;
}
/* Halo pulsé autour de l'icône. */
.why-card__icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 1.5px solid var(--gold);
    opacity: 0;
    animation: whyIconPulse 2.6s ease-out infinite;
}
.why-card:nth-child(2) .why-card__icon::before { animation-delay: .65s; }
.why-card:nth-child(3) .why-card__icon::before { animation-delay: 1.3s; }
.why-card:nth-child(4) .why-card__icon::before { animation-delay: 1.95s; }
@keyframes whyIconPulse {
    0%   { transform: scale(0.9); opacity: 0; }
    30%  { opacity: 0.5; }
    100% { transform: scale(1.35); opacity: 0; }
}
/* Léger flottement de l'icône elle-même. */
.why-card__icon svg {
    width: 30px; height: 30px;
    animation: whyIconFloat 4s ease-in-out infinite;
}
.why-card:nth-child(2) .why-card__icon svg { animation-delay: .5s; }
.why-card:nth-child(3) .why-card__icon svg { animation-delay: 1s; }
.why-card:nth-child(4) .why-card__icon svg { animation-delay: 1.5s; }
@keyframes whyIconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
.why-card:hover .why-card__icon { transform: scale(1.1) rotate(-6deg); }
.why-card:hover .why-card__icon::before { animation-duration: 1.2s; }

/* Accessibilité : coupe toutes les animations si l'utilisateur le demande. */
@media (prefers-reduced-motion: reduce) {
    .why__bg, .why::before, .why::after,
    .why .section__title, .why .section__eyebrow::after,
    .why-card__icon::before, .why-card__icon svg {
        animation: none !important;
    }
}
.why-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 10px; }
.why-card p { color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ===================== NOS PARTENAIRES ===================== */
.partners { background: var(--white); }
.partners__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.partner {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    min-height: 150px; padding: 26px 20px; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); text-align: center; overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.partner::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.partner:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.partner:hover::before { transform: scaleX(1); }
.partner__logo {
    font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .02em;
    color: var(--gray); filter: grayscale(1); transition: color .4s, filter .4s, transform .4s var(--ease);
    display: flex; align-items: center; justify-content: center;
}
.partner__logo img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; }
.partner:hover .partner__logo { color: var(--navy); filter: grayscale(0); transform: scale(1.05); }
.partner__visit {
    display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600;
    font-size: .78rem; color: var(--gold); opacity: 0; transform: translateY(8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.partner__visit svg { width: 14px; height: 14px; }
.partner:hover .partner__visit { opacity: 1; transform: none; }
/* Liens désactivés (pas encore d'URL) : pas de curseur main, indice masqué */
.partner:not([href]) { cursor: default; }
.partner:not([href]) .partner__visit { display: none; }

/* ===================== CHIFFRES ===================== */
.figures { background: var(--gray-light); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.figure { text-align: center; padding: 30px 16px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); transition: transform .4s var(--ease), box-shadow .4s; }
.figure:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.figure__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--navy); line-height: 1; display: block; }
.figure__label { font-size: .9rem; color: var(--gray); margin-top: 8px; letter-spacing: .02em; }

/* ===================== ÉQUIPE ===================== */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* Carrousel équipe */
.team-carousel { position: relative; }
.team-carousel__track {
    display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x proximity;
    scroll-behavior: smooth; padding: 6px 2px 12px; -ms-overflow-style: none; scrollbar-width: none;
    cursor: grab;
}
.team-carousel__track::-webkit-scrollbar { display: none; }
.team-carousel__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.team-carousel__track .team-card { flex: 0 0 clamp(250px, 80vw, 292px); scroll-snap-align: start; }
.team-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.team-carousel__arrow {
    width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1px solid var(--gray-200);
    color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm);
    transition: background .3s, color .3s, transform .3s, box-shadow .3s, opacity .3s;
}
.team-carousel__arrow svg { width: 22px; height: 22px; }
.team-carousel__arrow:hover { background: var(--navy); color: var(--gold); transform: scale(1.08); box-shadow: var(--shadow); }
.team-carousel__arrow[disabled] { opacity: .35; pointer-events: none; }
.team-card { background: var(--white); border-radius: var(--radius); padding: 36px 26px; text-align: center; border: 1px solid var(--gray-200); transition: transform .5s var(--ease), box-shadow .5s; }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-card__photo {
    width: 180px; height: 180px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--white); overflow: hidden;
    position: relative; box-shadow: 0 16px 40px rgba(10, 23, 51, .22); transition: transform .5s var(--ease);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(48, 72, 144, .5); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.team-card:hover .team-card__photo { transform: scale(1.06); }
.team-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.team-card__role { display: block; font-family: var(--font-head); font-weight: 500; font-size: .82rem; color: var(--gold); margin-bottom: 12px; }
.team-card p { font-size: .88rem; color: var(--gray); margin-bottom: 18px; }
.team-card__social { width: 42px; height: 42px; border-radius: 12px; background: var(--gray-light); color: var(--navy); display: inline-grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.team-card__social svg { width: 20px; height: 20px; }
.team-card__social:hover { background: var(--navy); color: var(--gold); transform: translateY(-3px); }

/* Dégradés avatars */
[data-grad="a"] { background: linear-gradient(135deg, #1c2f5e, #c9a24b); }
[data-grad="b"] { background: linear-gradient(135deg, #11224a, #2a4275); }
[data-grad="c"] { background: linear-gradient(135deg, #243b6e, #e3c483); }
[data-grad="d"] { background: linear-gradient(135deg, #0a1733, #4a5d8a); }

/* ===================== TÉMOIGNAGES ===================== */
.testimonials { background: linear-gradient(180deg, var(--gray-light), var(--white)); }
.slider { max-width: 820px; margin: 0 auto; overflow: hidden; }
.slider__track { display: flex; transition: transform .7s var(--ease); }
.slide { min-width: 100%; padding: 10px 14px; text-align: center; }
.slide__stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 22px; }
.slide blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.55rem); line-height: 1.5; color: var(--navy); max-width: 700px; margin: 0 auto 30px; }
.slide__author { display: inline-flex; align-items: center; gap: 14px; }
.slide__avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-family: var(--font-head); font-weight: 700; }
.slide__author strong { display: block; color: var(--navy); font-family: var(--font-head); }
.slide__author small { color: var(--gray); }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; }
.slider__btn { width: 50px; height: 50px; border-radius: 50%; background: var(--white); border: 1px solid var(--gray-200); color: var(--navy); font-size: 1.2rem; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.slider__btn:hover { background: var(--navy); color: var(--gold); transform: scale(1.08); box-shadow: var(--shadow); }
.slider__dots { display: flex; gap: 10px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); transition: width .4s var(--ease), background .3s; }
.slider__dots button.active { width: 28px; border-radius: 6px; background: var(--gold); }

/* ===================== FAQ ===================== */
.faq__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .section__eyebrow, .faq__head .section__title { text-align: left; }
.faq__head .section__intro { margin-bottom: 28px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(48, 72, 144, .4); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); text-align: left; transition: color .3s; }
.faq-item__q:hover { color: var(--gold); }
.faq-item__icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); border-radius: 2px; transition: transform .4s var(--ease); }
.faq-item__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-item__a p { padding: 0 24px 22px; color: var(--gray); font-size: .94rem; }

/* ===================== BLOG ===================== */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: transform .5s var(--ease), box-shadow .5s; }
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.blog-card__img { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.blog-card__img::after { content: "⚖"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; color: rgba(255, 255, 255, .25); }
.blog-card__cat { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(5, 8, 15, .55); backdrop-filter: blur(6px); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 0; }
.blog-card__body { padding: 26px 24px; }
.blog-card__date { font-size: .78rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.blog-card h3 { font-size: 1.18rem; margin: 10px 0 12px; transition: color .3s; }
.blog-card:hover h3 { color: var(--gold); }
.blog-card p { font-size: .9rem; color: var(--gray); margin-bottom: 18px; }
.blog-card__link { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); display: inline-flex; gap: 6px; }
.blog-card__link span { transition: transform .3s; }
.blog-card:hover .blog-card__link span { transform: translateX(5px); }

/* ===================== PAGE INTÉRIEURE : BANNIÈRE ===================== */
.page-hero { position: relative; padding: calc(var(--header-h, 170px) + 46px) 0 90px; background: var(--navy); color: var(--white); overflow: hidden; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; opacity: .6; background: radial-gradient(800px 400px at 80% 10%, rgba(48, 72, 144, .18), transparent 60%), radial-gradient(600px 400px at 10% 100%, rgba(28, 47, 94, .7), transparent 60%); }
.page-hero__noise { position: absolute; inset: 0; opacity: .04; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page-hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.page-hero .section__eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
.page-hero h1 em { color: var(--gold); }
.page-hero p { color: rgba(255, 255, 255, .78); margin-top: 18px; font-size: 1.06rem; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .6); margin-top: 26px; }
.breadcrumb a { color: rgba(255, 255, 255, .6); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ===================== PAGE MOT DU DIRECTEUR / LETTRE ===================== */
.letter__wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.letter__aside { position: sticky; top: 130px; text-align: center; }
.letter__form { text-align: left; }
.letter__form-title { font-size: 1.35rem; margin-bottom: 6px; }
.letter__form-sub { color: var(--gray); font-size: .9rem; margin-bottom: 22px; }
.letter__photo { width: 100%; max-width: 250px; aspect-ratio: 4/5; border-radius: var(--radius); margin: 0 auto 22px; display: grid; place-items: center; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 3rem; box-shadow: var(--shadow-lg); position: relative; }
.letter__photo::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; z-index: 2; pointer-events: none; }
.letter__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: inherit; display: block; }
.letter__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy); }
.letter__role { display: block; color: var(--gold); font-size: .9rem; font-family: var(--font-head); font-weight: 500; }
.letter__aside-note { margin-top: 18px; font-size: .82rem; color: var(--gray); line-height: 1.6; }
.letter__content { position: relative; max-width: 820px; }
.letter__quote { position: absolute; top: -46px; left: -8px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--gold); opacity: .16; pointer-events: none; }
.letter__content p { color: var(--ink); font-size: 1.06rem; line-height: 1.9; margin-bottom: 20px; }
.letter__lead { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; color: var(--navy); }
.letter__content p:first-of-type::first-letter { }
.letter__sign { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--gray-200); }
.letter__sign-hi { color: var(--gray); font-style: italic; }
.letter__sign strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin-top: 10px; }
.letter__sign small { display: block; color: var(--gold); font-size: .9rem; }

/* ===================== PAGE MISSION / ENGAGEMENTS ===================== */
.mission__wrap { max-width: 920px; margin: 0 auto; }
.mission__lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.9; color: var(--ink); text-align: center; }
.mission__lead strong { color: var(--navy); font-weight: 600; }
.mission__commit { margin-top: clamp(40px, 6vw, 64px); }
.mission__commit-title { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 34px; }
.mission__commit-title em { color: var(--gold); }
.commit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.commit-item { display: flex; gap: 16px; align-items: flex-start; background: var(--gray-light); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 22px 24px; transition: transform .45s var(--ease), box-shadow .45s, background .4s, border-color .4s; }
.commit-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); border-color: rgba(48, 72, 144, .4); }
.commit-item--wide { grid-column: 1 / -1; }
.commit-item__check { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; transition: transform .45s var(--ease), background .4s, color .4s; }
.commit-item__check svg { width: 20px; height: 20px; }
.commit-item:hover .commit-item__check { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: var(--navy); }
.commit-item p { color: var(--ink); font-size: .98rem; line-height: 1.6; margin: 0; padding-top: 7px; }

/* ===================== PAGE SERVICE — AUTRES SERVICES ===================== */
.service-detail__lead, .service-detail__title { text-align: left !important; }
.other-services { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--gray-200); }
.other-services h3 { font-size: 1.15rem; margin-bottom: 16px; }
.other-services__links { display: flex; flex-wrap: wrap; gap: 14px; }
.other-services__links a { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border: 1px solid var(--gray-200); font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); transition: background .3s, color .3s, border-color .3s, gap .3s; }
.other-services__links a span { color: var(--gold); transition: transform .3s; }
.other-services__links a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); gap: 13px; }
.other-services__links a:hover span { color: var(--gold-light); transform: translateX(3px); }

/* ===================== PAGE PLACEHOLDER (pages vides) ===================== */
.page-placeholder { text-align: center; max-width: 580px; margin: 0 auto; padding: 30px 0; }
.page-placeholder__icon { width: 88px; height: 88px; border-radius: 24px; background: var(--gray-light); color: var(--gold); display: grid; place-items: center; margin: 0 auto 28px; box-shadow: var(--shadow-sm); }
.page-placeholder__icon svg { width: 42px; height: 42px; }
.page-placeholder h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.page-placeholder h2 em { color: var(--gold); }
.page-placeholder p { color: var(--gray); margin-bottom: 30px; font-size: 1.02rem; }

/* ===================== RESSOURCES (cartes) ===================== */
.resources__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.resource-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 30px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.resource-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.resource-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.resource-card:hover::before { transform: scaleX(1); }
.resource-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(48, 72, 144, .35), var(--shadow-lg); animation: cardTarget 1.6s var(--ease); }
.resource-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.resource-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; transition: transform .5s var(--ease), background .4s, color .4s; }
.resource-card__icon svg { width: 26px; height: 26px; }
.resource-card:hover .resource-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: var(--navy); }
.resource-card__num { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--gray-200); transition: color .4s; }
.resource-card:hover .resource-card__num { color: var(--gold); }
.resource-card__cat { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.resource-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 12px; transition: color .3s; }
.resource-card:hover h3 { color: var(--gold); }
.resource-card p { font-size: .9rem; color: var(--gray); margin-bottom: 22px; flex: 1; }
.resource-card__link { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; transition: gap .3s, color .3s; }
.resource-card__link svg { width: 16px; height: 16px; transition: transform .3s; }
.resource-card:hover .resource-card__link { color: var(--gold); }
.resource-card:hover .resource-card__link svg { transform: translateY(2px); }

/* CTA bas de page ressources */
.resources-cta { background: var(--navy); border-radius: var(--radius); padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.resources-cta__bg { position: absolute; inset: 0; opacity: .5; background: radial-gradient(600px 300px at 85% 20%, rgba(48, 72, 144, .18), transparent 60%); }
.resources-cta h2 { position: relative; color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.resources-cta h2 em { color: var(--gold); }
.resources-cta p { position: relative; color: rgba(255, 255, 255, .75); max-width: 540px; margin: 16px auto 30px; }
.resources-cta .btn { position: relative; }

/* ===================== CONTACT ===================== */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 60px); }
.contact__form-wrap { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field input, .field textarea {
    width: 100%; padding: 18px 16px 8px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    background: var(--gray-light); font-size: .95rem; color: var(--ink); resize: none; transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { padding-top: 24px; }
.field label { position: absolute; left: 16px; top: 16px; color: var(--gray); font-size: .95rem; pointer-events: none; transition: transform .25s var(--ease), color .25s, font-size .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(48, 72, 144, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    transform: translateY(-12px); font-size: .72rem; color: var(--gold); font-weight: 600;
}
.field__error { display: block; color: #d23c3c; font-size: .76rem; margin-top: 5px; min-height: 14px; }
.field.invalid input, .field.invalid textarea { border-color: #d23c3c; background: #fff5f5; }
.form-success { display: none; color: #1f9d55; font-weight: 600; font-size: .92rem; text-align: center; }
.form-success.show { display: block; animation: fadeUp .5s var(--ease); }
.form-success.is-error { color: #d64545; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Carte simulée */
.map-sim { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--gray-light); margin-bottom: 26px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.map-sim__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-sim__link { position: absolute; bottom: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .8rem; padding: 10px 16px; box-shadow: var(--shadow); transition: background .3s, color .3s; }
.map-sim__link svg { width: 16px; height: 16px; color: var(--gold); transition: color .3s; }
.map-sim__link:hover { background: var(--gold); color: var(--white); }
.map-sim__link:hover svg { color: var(--white); }

.contact__list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__ic { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--gray-light); color: var(--gold); display: grid; place-items: center; }
.contact__ic svg { width: 24px; height: 24px; }
.contact__list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .95rem; }
.contact__list p { color: var(--gray); font-size: .9rem; }
.contact__social { display: flex; gap: 12px; }
.contact__social a { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.contact__social a svg { width: 20px; height: 20px; }
.contact__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* ===================== FOOTER ===================== */
.footer { background: var(--black); color: rgba(255, 255, 255, .7); padding-top: clamp(60px, 8vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.logo--light .logo__text, .logo--light .logo__text small { color: var(--white); }
.logo--light .logo__mark { background: var(--gold); color: var(--navy); }
.footer__brand p { margin: 20px 0 22px; font-size: .9rem; line-height: 1.7; max-width: 320px; }
.footer__login { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 12px 24px; border-radius: 0; border: 1px solid rgba(48, 72, 144, .5); color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: .86rem; transition: background .3s, color .3s, transform .3s, border-color .3s; }
.footer__login svg { width: 17px; height: 17px; }
.footer__login:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255, 255, 255, .06); color: var(--white); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.footer__social a svg { width: 19px; height: 19px; }
.footer__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__social-whatsapp:hover { background: #25D366 !important; color: #fff !important; }
.footer__col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col ul a { font-size: .9rem; transition: color .3s, padding-left .3s; }
.footer__col ul a:hover { color: var(--gold); padding-left: 6px; }
.footer__news p { font-size: .9rem; margin-bottom: 16px; }
.newsletter { display: flex; gap: 8px; background: rgba(255, 255, 255, .06); border-radius: 0; padding: 6px; border: 1px solid rgba(255, 255, 255, .1); }
.newsletter input { flex: 1; background: none; border: none; color: var(--white); padding: 8px 16px; font-size: .88rem; }
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .4); }
.newsletter button { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.2rem; font-weight: 700; flex: none; transition: transform .3s, background .3s; }
.newsletter button:hover { transform: scale(1.08); background: var(--gold-light); }
.newsletter__msg { display: block; font-size: .78rem; color: var(--gold); margin-top: 8px; min-height: 14px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer__credit { color: rgba(255, 255, 255, .45); }

/* ===================== RETOUR EN HAUT ===================== */
.back-top { position: fixed; bottom: 28px; right: 28px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; z-index: 900; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s, visibility .4s, transform .4s, background .3s; box-shadow: var(--shadow); }
.back-top svg { width: 24px; height: 24px; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-4px); }

/* ===================== ACCESSIBILITÉ ===================== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
