/* =============================================================
   SOFENA — Layout du site vitrine (compose le design system).
   Spécifique au site (non réutilisable). Dépend de sofena-tokens
   + sofena-components.
   ============================================================= */

html { overflow-x: hidden; }
.section--muted { background: var(--color-bg-muted); }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-inverse); }

/* --- Sélecteur de langue (menu déroulant à drapeaux) --- */
.lang-switch { position: relative; font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.lang-switch__current { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 999px; cursor: pointer; color: var(--color-text-secondary); transition: background .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent; }
.lang-switch__current::-webkit-details-marker { display: none; }
.lang-switch__current::marker { content: ""; }
.lang-switch__current:hover { background: var(--color-surface-tint); color: var(--color-text-primary); }
.lang-switch .flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.12); }
.lang-switch__chevron { transition: transform .2s ease; opacity: .6; }
.lang-switch[open] .lang-switch__chevron { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 212px; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border: 1px solid rgba(0,0,0,.07); box-shadow: 0 12px 32px rgba(16,24,40,.16); z-index: 60; animation: langfade .16s ease; }
@keyframes langfade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lang-switch__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--color-text-secondary); text-decoration: none; white-space: nowrap; transition: background .12s ease, color .12s ease; }
.lang-switch__menu a .flag { width: 20px; height: 20px; }
.lang-switch__menu a:hover { background: var(--color-surface-tint); color: var(--color-text-primary); text-decoration: none; }
.lang-switch__menu a.is-active { color: var(--color-primary); font-weight: var(--weight-bold); }
.lang-switch__menu a.is-active .flag { box-shadow: 0 0 0 2px var(--color-primary), 0 1px 2px rgba(0,0,0,.12); }

/* --- Hero --- */
.hero { text-align: center; padding-block: var(--space-72) var(--space-40); }
.hero__title { font-family: var(--font-heading); font-size: var(--text-8xl); font-weight: var(--weight-bold); line-height: var(--leading-snug); color: var(--color-text-primary); max-width: 1030px; margin: 0 auto var(--space-16); }
.hero__desc { max-width: 840px; margin: 0 auto var(--space-24); color: var(--color-text-secondary); font-size: var(--text-lg); line-height: var(--leading-loose); }
@media (max-width: 768px) { .hero { padding-block: var(--space-36) var(--space-24); } .hero__title { font-size: var(--text-5xl); } .hero__desc { font-size: var(--text-base); } }

/* --- Carte de stats du hero --- */
.hero-stats { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); max-width: 860px; margin: var(--space-40) auto 0; padding: var(--space-16) var(--space-24); }
.hero-stats__grid { display: flex; align-items: center; justify-content: space-around; gap: var(--space-24); }
.stat { display: flex; align-items: center; gap: var(--space-12); text-align: left; }
.stat__body { display: flex; flex-direction: column; }
.stat__value { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: var(--text-5xl); color: var(--color-primary); line-height: 1.1; }
.stat__label { font-size: var(--text-sm); color: var(--color-text-primary); font-weight: var(--weight-medium); max-width: 240px; }
@media (max-width: 768px) { .hero-stats__grid { flex-direction: column; align-items: flex-start; } }

/* --- Marques --- */
.brands__badge { display: flex; justify-content: center; margin-top: var(--space-16); }
.brands__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-40); margin-top: var(--space-24); }
.brands__row img { height: 34px; width: auto; opacity: 0.5; filter: grayscale(1); transition: opacity 0.2s ease, filter 0.2s ease; }
.brands__row img:hover { opacity: 1; filter: none; }

/* --- Intelligence : média --- */
.intel__media { text-align: center; margin-top: var(--space-24); }
.intel__media img { max-width: 380px; margin: 0 auto; }

/* --- Architecte --- */
.architect { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-40); align-items: center; }
.architect__photo { width: 100%; border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); object-fit: cover; aspect-ratio: 4/5; }
.architect__name { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: var(--text-xl); color: var(--color-primary); margin-top: var(--space-12); }
.architect__role { color: var(--color-text-secondary); font-size: var(--text-sm); margin-bottom: var(--space-12); }
@media (max-width: 768px) { .architect { grid-template-columns: 1fr; } }

/* --- Étapes (approche) --- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-24) var(--space-40); margin-top: var(--space-40); }
.step { display: flex; gap: var(--space-16); align-items: flex-start; }
.step__num { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: var(--text-7xl); line-height: 1; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; flex-shrink: 0; }
.step__body h3 { margin-bottom: var(--space-4); }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

/* --- CTA final --- */
#contact .card { padding: var(--space-40); }
.final-cta { text-align: center; max-width: 760px; margin: 0 auto; }
.final-cta h2 { color: var(--color-text-inverse); margin-bottom: var(--space-12); }
.final-cta p { color: var(--color-text-tertiary); margin-bottom: var(--space-24); }

/* --- Footer --- */
.footer { background: var(--color-bg-dark); color: var(--color-text-tertiary); padding-block: var(--space-40) var(--space-24); margin-top: var(--space-40); }
.footer a { color: var(--color-text-tertiary); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: var(--space-40); align-items: start; }
.footer__logo { height: 46px; margin-bottom: var(--space-16); filter: brightness(0) invert(1); }
.footer__tag { color: rgba(255, 255, 255, 0.72); max-width: 320px; line-height: var(--leading-loose); margin-bottom: var(--space-16); }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-8); margin-bottom: var(--space-12); }
.footer__contact a { display: inline-flex; align-items: center; gap: var(--space-8); color: #fff; font-weight: var(--weight-medium); }
.footer__contact a:hover { opacity: 0.85; }
.footer__contact img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.footer__loc { color: rgba(255, 255, 255, 0.5); font-size: var(--text-sm); }
.footer__col h4 { color: #fff; font-family: var(--font-ui); font-size: var(--text-base); margin-bottom: var(--space-12); }
.footer__col a { display: block; padding: var(--space-2) 0; font-size: var(--text-sm); }
.footer__social { display: inline-flex; align-items: center; gap: var(--space-6); }
.footer__social img { width: 18px; height: 18px; }
.footer__divider { height: 2px; background: var(--gradient-horizontal); opacity: 0.5; margin-block: var(--space-24); border-radius: var(--radius-full); }
.footer__bottom { display: flex; justify-content: center; align-items: center; gap: var(--space-24); flex-wrap: wrap; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.5); }
.footer__pills { display: flex; gap: var(--space-12); flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: var(--space-6); padding: var(--space-6) var(--space-12); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-full); font-size: var(--text-sm); }
.pill img { width: 16px; height: 16px; }
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* --- Formulaire de contact --- */
.contact-form { max-width: 560px; margin: var(--space-40) auto 0; display: flex; flex-direction: column; gap: var(--space-12); text-align: left; }
.contact-form .field { gap: var(--space-4); }

/* --- Pages légales --- */
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc__h2 { font-family: var(--font-ui); font-size: var(--text-xl); font-weight: var(--weight-semibold); color: var(--color-text-primary); margin: var(--space-20) 0 var(--space-6); }
.legal-doc p { line-height: var(--leading-loose); }

/* =============================================================
   REFONTE FIGMA — décor 3D, glassmorphism, zigzag, timeline, bandeau
   Spécifique au site (ne touche pas au DS vendored).
   ============================================================= */

/* --- Décor : conteneurs en position relative pour clipper les formes --- */
.hero, .zz-section, .cta-banner, .architect-banner { position: relative; overflow: hidden; }
.hero__inner, .zz-section .container { position: relative; z-index: 1; }
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; width: 480px; max-width: 62vw; opacity: 0.85; filter: drop-shadow(0 24px 50px rgba(4, 111, 252, 0.18)); }
.blob--1 { top: -130px; right: -120px; width: 540px; transform: rotate(8deg); }
.blob--2 { top: 220px; left: -200px; width: 440px; transform: rotate(-150deg); opacity: 0.6; }
.blob--soft { width: 400px; opacity: 0.45; }
.blob--l { top: 60px; left: -190px; transform: rotate(-150deg); }
.blob--r { bottom: -150px; right: -170px; transform: rotate(28deg); }
.hero::before {
  content: ""; position: absolute; z-index: 0; width: 640px; height: 640px; border-radius: 50%;
  top: -200px; right: -180px; pointer-events: none;
  background: radial-gradient(circle, rgba(71, 155, 254, 0.20), transparent 65%);
}

/* --- Hero : grille de fond + padding --- */
.hero { padding-block: var(--space-50) var(--space-40); }
.hero__bg {
  position: absolute; top: 0; left: 0; right: 0; height: 880px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(71, 155, 254, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 155, 254, 0.11) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 100% 75% at 50% 20%, #000 45%, transparent 80%);
  mask-image: radial-gradient(ellipse 100% 75% at 50% 20%, #000 45%, transparent 80%);
}

/* --- Glassmorphism --- */
.glass {
  background: rgba(255, 255, 255, 0.60);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 60px rgba(20, 60, 120, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hero-stats.glass { border-radius: var(--radius-2xl); }
#intelligence .card {
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(71, 155, 254, 0.14);
  box-shadow: 0 18px 46px rgba(20, 60, 120, 0.10);
}
#intelligence .intel__media img {
  max-width: 760px; width: 100%; margin: 0 auto;
  border-radius: var(--radius-2xl); box-shadow: 0 30px 70px rgba(20, 60, 120, 0.16);
}

/* --- Zigzag (section modèle) --- */
.zigzag { position: relative; display: flex; flex-direction: column; gap: var(--space-50); margin-top: var(--space-40); }
.zz-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-40); }
.zz-row--reverse .zz-media { order: 2; }
.zz-media__frame {
  position: relative; border-radius: var(--radius-2xl); overflow: hidden; padding: var(--space-16);
  background: var(--gradient-accent);
  box-shadow: 0 30px 70px rgba(20, 60, 120, 0.18);
  aspect-ratio: 16 / 11;
  display: flex; align-items: center; justify-content: center;
}
.zz-media__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 28% 18%, rgba(255, 255, 255, 0.28), transparent 60%);
}
.zz-media__frame { padding: var(--space-20); }
.mockup { position: relative; z-index: 1; width: 100%; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 16px 36px rgba(20, 60, 120, 0.20); overflow: hidden; }
.mockup__top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(20, 60, 120, 0.08); }
.mockup__top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(20, 60, 120, 0.16); }
.mockup__top i:nth-child(1) { background: #ff5f57; }
.mockup__top i:nth-child(2) { background: #febc2e; }
.mockup__top i:nth-child(3) { background: #28c840; }
.mockup__pill { margin-left: auto; width: 84px; height: 9px; border-radius: 99px; background: rgba(20, 60, 120, 0.08); }
.mockup__view { flex: 1; display: flex; flex-direction: column; gap: var(--space-12); padding: var(--space-16); min-height: 0; }
.mk-kpis { display: flex; gap: var(--space-12); }
.mk-kpi { flex: 1; padding: var(--space-12); border-radius: var(--radius-md); background: rgba(71, 155, 254, 0.10); }
.mk-kpi b { font-family: var(--font-ui); font-weight: var(--weight-bold); color: var(--color-primary); font-size: var(--text-2xl); }
.mk-kpi span { display: block; height: 7px; border-radius: 99px; background: rgba(20, 60, 120, 0.14); margin-top: 8px; }
.mk-kpi span + span { margin-top: 6px; width: 60%; }
.mk-kpi--ghost span:first-child { width: 80%; margin-top: 4px; }
.mk-rows { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.mk-row { height: 13px; border-radius: 7px; background: rgba(20, 60, 120, 0.07); }
.mk-row:nth-child(2) { width: 85%; }
.mk-row:nth-child(3) { width: 70%; }
.mk-row:nth-child(4) { width: 78%; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chips span { height: 20px; width: 56px; border-radius: 99px; background: rgba(71, 155, 254, 0.16); }
.mk-chips span:nth-child(2n) { background: rgba(71, 155, 254, 0.28); width: 44px; }
.mk-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 0; }
.mk-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient-primary); opacity: 0.9; }
.mk-line { width: 100%; flex: 1; min-height: 0; }
.mk-line polygon { fill: rgba(71, 155, 254, 0.12); }
.mk-line polyline { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mk-foot { display: flex; gap: 10px; align-items: center; }
.mk-tag { height: 16px; width: 72px; border-radius: 99px; background: rgba(71, 155, 254, 0.22); }
.mk-tag--sm { width: 40px; background: rgba(20, 60, 120, 0.10); }
.zz-body .btn { margin-top: var(--space-10); }
.zz-wave { position: absolute; top: 140px; bottom: 40px; left: 50%; transform: translateX(-50%); width: 120px; z-index: 0; opacity: 0.5; }
@media (max-width: 860px) { .zz-wave { display: none; } }
.zz-body { max-width: 470px; }
.zz-row--reverse .zz-body { margin-left: auto; }
.zz-body .icon-box { margin-bottom: var(--space-12); }
.zz-body h3 { font-size: var(--text-4xl); margin-bottom: var(--space-8); }
@media (max-width: 860px) {
  .zz-row, .zz-row--reverse { grid-template-columns: 1fr; gap: var(--space-16); }
  .zz-row--reverse .zz-media { order: 0; }
  .zz-body { max-width: none; }
}

/* --- Timeline verticale (approche) --- */
.timeline { position: relative; max-width: 1040px; margin: var(--space-40) auto 0; }
.timeline::before {
  content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(4, 111, 252, 0.30), rgba(114, 183, 255, 0.25));
}
.tl-item { position: relative; min-height: 150px; padding-bottom: var(--space-30); }
.tl-text { width: 42%; }
.tl-item:nth-child(odd) .tl-text { margin-right: auto; text-align: right; padding-right: var(--space-12); }
.tl-item:nth-child(even) .tl-text { margin-left: auto; text-align: left; padding-left: var(--space-12); }
.tl-text h3 { margin-bottom: var(--space-4); }
.tl-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 124px; min-height: 124px; padding: var(--space-10);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  background: #fff; border-radius: var(--radius-xl); border: 1px solid rgba(71, 155, 254, 0.14);
  box-shadow: 0 18px 40px rgba(20, 60, 120, 0.12);
}
.tl-badge__num { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: var(--text-3xl); background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-badge__icon img { width: 34px; height: 34px; }
@media (max-width: 760px) {
  .timeline::before { left: 62px; }
  .tl-badge { left: 62px; width: 104px; min-height: 104px; }
  .tl-text, .tl-item:nth-child(odd) .tl-text, .tl-item:nth-child(even) .tl-text { width: auto; margin: 0 0 0 150px; text-align: left; padding: 0; }
}

/* --- CTA bandeau --- */
.cta-banner {
  border-radius: var(--radius-3xl); padding: var(--space-40); color: #fff;
  background: linear-gradient(135deg, #0b1020 0%, #123a86 55%, #046ffc 125%);
  box-shadow: 0 40px 90px rgba(4, 111, 252, 0.22);
}
.cta-banner > *:not(.fx) { position: relative; z-index: 1; }
.cta-banner .section-header__title { color: #fff; }
.cta-banner .section-header__desc { color: rgba(255, 255, 255, 0.85); }

/* --- Architecte : bandeau bleu --- */
.architect-banner {
  display: grid; grid-template-columns: 300px 1fr; gap: var(--space-40); align-items: center;
  margin-top: var(--space-24); padding: var(--space-30);
  border-radius: var(--radius-3xl); color: #fff;
  background: linear-gradient(135deg, #0b1020 0%, #123a86 58%, #046ffc 130%);
  box-shadow: 0 40px 90px rgba(4, 111, 252, 0.22);
}
.architect-banner__photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-2xl); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32); }
.architect-banner__body { position: relative; z-index: 1; }
.architect-banner__name { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: var(--text-2xl); }
.architect-banner__role { color: rgba(255, 255, 255, 0.72); margin-bottom: var(--space-12); }
.architect-banner p { color: rgba(255, 255, 255, 0.88); margin: 0; }
@media (max-width: 760px) { .architect-banner { grid-template-columns: 1fr; } }

/* --- Bouton téléphone rond (navbar) --- */
.navbar__call { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-primary); box-shadow: var(--shadow-button); flex-shrink: 0; }
.navbar__call img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
@media (max-width: 768px) { .navbar__call { display: none; } }

/* --- Icônes sur fond sombre (footer) en blanc --- */
.footer__social img, .footer__pills img { filter: brightness(0) invert(1); }

/* --- Eyebrow : label éditorial numéroté (déroulé) --- */
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: var(--space-12); font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); }
.eyebrow__num { color: var(--color-text-tertiary); font-variant-numeric: tabular-nums; }
.eyebrow__sep { width: 22px; height: 1px; background: rgba(20, 60, 120, 0.25); }

/* --- Constat : cartes problème --- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-24); margin-top: var(--space-32); }
.pain { padding: var(--space-24); border-radius: var(--radius-xl); background: #fff; border: 1px solid rgba(20, 60, 120, 0.08); box-shadow: 0 14px 36px rgba(20, 60, 120, 0.06); }
.pain__no { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: var(--text-sm); color: #e8663d; letter-spacing: 0.08em; }
.pain h3 { margin: var(--space-8) 0 var(--space-6); font-size: var(--text-xl); }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }

/* --- Footer : compléments (made, contact, statut) --- */
.footer__made { color: rgba(255, 255, 255, 0.6); font-size: var(--text-sm); line-height: var(--leading-loose); max-width: 300px; margin-bottom: var(--space-16); }
.footer__brand .footer__social { color: #fff; }
.footer__lead { color: rgba(255, 255, 255, 0.72); font-size: var(--text-sm); line-height: var(--leading-loose); margin-bottom: var(--space-12); max-width: 230px; }
.footer__status { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.6); }
.footer__status i { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18); }
.footer a.footer__email { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-4); color: #fff; font-weight: var(--weight-semibold); font-size: var(--text-base); }
.footer__email img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.footer__email:hover { opacity: 0.85; }
.footer a { transition: color 0.15s ease, opacity 0.15s ease; }

/* --- Navbar : glassmorphism + relief + liens animés --- */
.navbar {
  background: rgba(255, 255, 255, 0.70);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(20, 60, 120, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 30px rgba(20, 60, 120, 0.07);
}
.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 26px rgba(20, 60, 120, 0.13);
}
.navbar__link { position: relative; padding: 6px 2px; color: var(--color-text-secondary); }
.navbar__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: var(--gradient-primary); transform: scaleX(0); transform-origin: center; transition: transform 0.22s ease;
}
.navbar__link:hover { color: var(--color-text-primary); }
.navbar__link:hover::after, .navbar__link.is-active::after { transform: scaleX(1); }
.navbar__link.is-active { color: var(--color-primary); font-weight: var(--weight-semibold); }
.navbar .btn--primary { box-shadow: 0 8px 20px rgba(4, 111, 252, 0.26); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.navbar .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(4, 111, 252, 0.34); }

/* --- Bannière cookies (RGPD) --- */
.cookie-consent {
  position: fixed; left: 16px; right: auto; bottom: 16px; z-index: 200;
  max-width: 420px;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12);
  padding: var(--space-16) var(--space-20);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(20, 60, 120, 0.10); border-radius: var(--radius-2xl);
  box-shadow: 0 24px 60px rgba(20, 60, 120, 0.22);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__text { flex: 1; min-width: 220px; margin: 0; font-size: var(--text-sm); line-height: var(--leading-loose); color: var(--color-text-secondary); }
.cookie-consent__text a { color: var(--color-primary); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: var(--space-8); flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__actions .btn { flex: 1; }
}
