/* Site vitrine TradeChart — styles communs à toutes les pages.
 * Valeurs : design_handoff_landing_accueil/README.md (DESIGN.md, TradeChart).
 * Les sections claires sont la règle ; les panneaux sombres (bloc vedette,
 * appel final) et les écrans de l'app reprennent les jetons de shell.css. */

:root {
  /* Fonds clairs */
  --page: #F6F5F8;
  --card: #FFFFFF;
  --tint: #EFECF6;
  --icon-bg: #F0EDF7;
  --ink: #0B0A10;
  --ink-2: #4A4654;
  --ink-3: #605C69;
  --line: rgba(11, 10, 16, .09);
  --line-strong: rgba(11, 10, 16, .16);
  --accent: #7C3AED;
  /* Le violet des PETITS textes sur fond clair : un cran plus profond, pour
     tenir 4,5:1 même sur un halo ou un fond teinté. Les grands titres et
     les formes gardent --accent. */
  --accent-ink: #6D28D9;
  /* Fonds sombres */
  --night: #000000;
  --s1: #0C0C0E;
  --s2: #121016;
  --d-ink-2: #A3A0AC;
  --d-ink-3: #938F9D;
  --d-line: rgba(255, 255, 255, .09);
  --d-line-strong: rgba(255, 255, 255, .16);
  --d-accent: #9A6BFF;
  --up: #22C55E;
  --down: #EF4444;
  /* Typo, mouvement */
  --sans: Geist, system-ui, sans-serif;
  --mono: 'Geist Mono', monospace;
  --serif: 'Young Serif', Georgia, serif;   /* le chiffre du Score, seulement */
  /* Titres de haut de page : la police système d'Apple (SF Pro) là où elle
     existe — elle ne peut pas être servie par le site —, Geist partout ailleurs. */
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', Geist, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4.5vw, 64px);
  --float-shadow: 0 34px 80px -44px rgba(124, 58, 237, .6);
}

html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
* { box-sizing: border-box }
body {
  margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none }
a:hover { color: var(--ink) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.mono { font-family: var(--mono) }
.off { display: none !important }

/* Conteneurs */
.wrap { max-width: 1408px; margin: 0 auto; padding: 0 var(--gutter) }
.dark-panel { max-width: 1392px; margin: 0 auto; position: relative; overflow: hidden; background: var(--night); color: #FFFFFF; border-radius: 28px }
.halo { position: absolute; pointer-events: none }

/* Survols : la maquette les déclare en `style-hover`. */
.hv-nav:hover { color: var(--ink) !important; background: rgba(11, 10, 16, .04) !important }
.hv-accent:hover { color: var(--accent) !important }
.hv-fade:hover { opacity: .86 }
.hv-item:hover { background: var(--page) !important }
.hv-pill:hover { border-color: rgba(124, 58, 237, .6) !important; color: var(--ink) !important }
.hv-card { transition: border-color 140ms }
.hv-card:hover { border-color: rgba(124, 58, 237, .6) !important }
.hv-ghost:hover { border-color: rgba(124, 58, 237, .6) !important; background: rgba(124, 58, 237, .05) !important }

/* Boutons */
/* « Commencer » : un fond noir traversé de rubans de lumière — le contraste
   noir / violet / blanc de la marque. Les rubans sont un SVG de traits nets
   (aucun flou : il pixélise), plus large que le bouton pour pouvoir glisser
   au survol. Dessous, une seule lueur violette, puis le noir. */
.btn-primary, .header-cta {
  display: inline-flex; align-items: center; border-radius: 999px; color: #FFFFFF; font-weight: 500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 60' preserveAspectRatio='none' fill='none' stroke-linecap='round'><path d='M-12 68 C90 66 190 64 252 -8' transform='translate(0,0)' stroke='rgb(46,16,101)' stroke-width='26' vector-effect='non-scaling-stroke'/><path d='M-12 68 C90 66 190 64 252 -8' transform='translate(0,-2.5)' stroke='rgb(109,40,217)' stroke-width='15' vector-effect='non-scaling-stroke'/><path d='M-12 68 C90 66 190 64 252 -8' transform='translate(0,-5)' stroke='rgb(167,139,250)' stroke-width='7' vector-effect='non-scaling-stroke'/><path d='M-12 68 C90 66 190 64 252 -8' transform='translate(0,-7.5)' stroke='white' stroke-width='1.6' vector-effect='non-scaling-stroke'/><path d='M-12 4 C70 -10 150 16 252 -18' transform='translate(0,0)' stroke='rgb(76,29,149)' stroke-width='11' vector-effect='non-scaling-stroke'/><path d='M-12 4 C70 -10 150 16 252 -18' transform='translate(0,1.5)' stroke='rgb(139,92,246)' stroke-width='4' vector-effect='non-scaling-stroke'/><path d='M-12 4 C70 -10 150 16 252 -18' transform='translate(0,3.2)' stroke='white' stroke-width='1.1' vector-effect='non-scaling-stroke'/><path d='M-12 82 C110 76 200 78 252 20' stroke='rgb(196,181,253)' stroke-width='1' vector-effect='non-scaling-stroke'/></svg>") 0% 50% / 140% 100% no-repeat,
    radial-gradient(55% 130% at 12% 105%, rgba(124, 58, 237, .55) 0%, rgba(124, 58, 237, 0) 70%),
    #000000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 28px -14px rgba(124, 58, 237, .95);
  transition: background-position 700ms var(--ease), box-shadow 220ms var(--ease);
}
/* Au survol, les rubans glissent d'un bord à l'autre. */
.btn-primary:hover, .header-cta:hover {
  color: #FFFFFF; background-position: 100% 50%, 0 0, 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .18), 0 16px 34px -14px rgba(139, 92, 246, 1);
}
.btn-primary { height: 52px; gap: 10px; padding: 0 32px; font-size: 17px }
/* Sur un panneau sombre, le même bouton : un liseré clair le détache du noir. */
.btn-primary.on-dark, .dark-page .btn-primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .32), 0 14px 34px -12px rgba(139, 92, 246, 1);
}
@media (prefers-reduced-motion: reduce) { .btn-primary, .header-cta { transition: none } }
.reassure { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3) }
.link-more { font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px }

/* Trio d'en-tête de section */
.trio { display: flex; flex-direction: column; gap: 14px; max-width: 820px }
.overline { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--accent-ink) }
.h2 { margin: 0; font-size: clamp(36px, 4.2vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance }
.lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty }
.acc { color: var(--accent) }
.dark-panel .overline, .dark-panel .acc { color: var(--d-accent) }
.dark-panel .lede { color: var(--d-ink-2) }

/* ── En-tête ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(246, 245, 248, .84);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.site-header .bar { max-width: 1408px; margin: 0 auto; height: 80px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px }
/* Logo : la pastille, puis le nom en texte, en dégradé du violet (à gauche)
   au noir (à droite). */
.logo { display: flex; align-items: center; gap: 11px; flex: none }
.logo img { display: block; width: 40px; height: 40px }
.wordmark {
  font: 700 26px/1 var(--display); letter-spacing: -.035em; padding-bottom: 2px;
  background: linear-gradient(90deg, #7C3AED 0%, #0B0A10 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
/* Sans le découpage du fond sur le texte, le nom reste lisible, en violet. */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .wordmark { background: none; color: var(--accent); -webkit-text-fill-color: currentColor }
}
/* « La bêta » dans le menu : une page du site, en pilule violette. */
.nav-beta {
  height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 12px; margin-left: 6px; flex: none;
  border: 1px solid rgba(124, 58, 237, .35); border-radius: 999px; background: rgba(124, 58, 237, .08);
  font: 600 14.5px var(--sans); color: var(--accent-ink); transition: background 140ms ease, border-color 140ms ease;
}
.nav-beta:hover { color: var(--accent-ink); background: rgba(124, 58, 237, .14); border-color: var(--accent) }
.nav-beta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.nav-beta .point { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none }
.nav-beta .point::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: beta-pouls 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
@keyframes beta-pouls { 0% { transform: scale(1); opacity: .55 } 70%, 100% { transform: scale(2.6); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .nav-beta .point::after { animation: none; opacity: 0 } }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1 }
.nav-btn, .nav-link {
  height: 40px; display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; border-radius: 9px;
  border: 0; background: transparent; font: 500 15px var(--sans); color: var(--ink-2); cursor: pointer; white-space: nowrap;
}
.nav-btn[aria-expanded="true"] { color: var(--ink); background: rgba(11, 10, 16, .05) }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none }
.login-link { height: 40px; display: inline-flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink) }
.header-cta { height: 44px; padding: 0 22px; font-size: 15px }
.header-cta.small { height: 40px; padding: 0 18px; font-size: 14px }
.narrow-only { display: none }
.burger { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; color: var(--ink); cursor: pointer }

/* Méga-menus */
.mega { position: absolute; left: 0; right: 0; top: 80px; padding: 0 var(--gutter) }
.mega-card {
  max-width: 1280px; margin: 8px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(30, 15, 60, .25); padding: 14px; display: grid; gap: 4px;
}
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: 14px; color: var(--ink) }
.mega-item:hover { color: var(--ink) }
.mega-item .ico { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--icon-bg); color: var(--accent); display: grid; place-items: center }
.mega-item .txt { display: flex; flex-direction: column; gap: 3px }
.mega-item .t { font-size: 15px; font-weight: 600 }
.mega-item .d { font-size: 13.5px; line-height: 1.45; color: var(--ink-2) }

/* Produit : grille 2 × 2 de grandes cartes + colonne compacte */
.mega-produit { grid-template-columns: minmax(0, 2.3fr) minmax(240px, 1fr); gap: 10px }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.big-card {
  position: relative; overflow: hidden; min-height: 148px; display: flex; flex-direction: column; gap: 6px;
  padding: 18px; border-radius: 16px; background: var(--page); border: 1px solid transparent; color: var(--ink);
  transition: border-color 140ms;
}
.big-card:hover { color: var(--ink); border-color: rgba(124, 58, 237, .45) }
.big-card .ico { width: 38px; height: 38px; border-radius: 11px; background: #FFFFFF; color: var(--accent); display: grid; place-items: center; margin-bottom: 6px }
.big-card .t { font-size: 16px; font-weight: 600 }
.big-card .d { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); max-width: 260px; position: relative }
.big-card .deco { position: absolute; right: 12px; bottom: 10px; width: 110px; height: 64px; color: var(--accent); opacity: .13; pointer-events: none }
.mega-side { display: flex; flex-direction: column; gap: 2px; padding: 8px 4px 4px 12px; border-left: 1px solid var(--line) }
.side-title { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding: 6px 14px 4px }
/* Pour qui, Ressources : panneau étroit posé sous son bouton (site.js) */
.mega-anchored { margin-left: 0; max-width: calc(100vw - 2 * var(--gutter)); display: flex; flex-direction: column }
.mega-cols { flex-direction: row; gap: 4px }
.mega-col { flex: 1; display: flex; flex-direction: column; gap: 2px }
.mega-all { display: inline-flex; align-items: center; gap: 6px; margin: 6px 14px 8px; font-size: 14px; font-weight: 500 }

/* Tiroir mobile */
.drawer {
  position: fixed; inset: 80px 0 0 0; z-index: 29; background: var(--page); overflow-y: auto;
  padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 22px;
}
.drawer .group { display: flex; flex-direction: column; gap: 2px }
.drawer .group.ruled { border-top: 1px solid var(--line); padding-top: 14px }
.drawer .group-title { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); margin-bottom: 6px }
.drawer a { padding: 10px 0; font-size: 17px; font-weight: 500; color: var(--ink) }
.drawer a.drawer-beta { align-self: flex-start; height: 42px; padding: 0 18px 0 14px; margin-left: 0; font-size: 15.5px; color: var(--accent-ink) }

@media (max-width: 999.98px) {
  .wide-only { display: none !important }
  .narrow-only { display: flex }
  .mega { display: none !important }
  /* À 28 px, logo + Bêta + Commencer + menu dépassent 390 px. */
  .site-header .bar { gap: 12px }
  .site-header .logo { gap: 9px }
  .site-header .logo img { width: 34px; height: 34px }
  .site-header .wordmark { font-size: 21px }
}
/* Juste au-dessus du point de rupture, le menu complet et le logo agrandi ne
   tiennent pas sur une ligne : on resserre. */
@media (min-width: 1000px) and (max-width: 1139.98px) {
  .site-header .bar { gap: 12px }
  .site-header .logo { gap: 9px }
  .site-header .logo img { width: 34px; height: 34px }
  .site-header .wordmark { font-size: 21px }
  .main-nav { gap: 2px }
  .nav-btn, .nav-link { padding: 0 8px }
  .nav-beta { margin-left: 2px; padding: 0 11px 0 10px }
  .login-link { padding: 0 10px }
  .header-cta { padding: 0 18px }
}
@media (min-width: 1000px) {
  .drawer { display: none !important }
}

/* Apparition au défilement (posée par site.js) */
.reveal-pending { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease) }
.reveal-pending.revealed { opacity: 1; transform: none }

/* ── Composants partagés des pages ──────────────────────────────────────── */
.section { padding: 80px 0 40px }
.btn-secondary {
  height: 52px; display: inline-flex; align-items: center; gap: 8px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); font-size: 16px; font-weight: 500;
}
.btn-secondary:hover { color: var(--ink); border-color: rgba(124, 58, 237, .6); background: rgba(124, 58, 237, .05) }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--accent-ink); border: 1px solid rgba(124, 58, 237, .4); background: rgba(255, 255, 255, .6); border-radius: 999px; padding: 5px 12px }
.tag-soft { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 2px 9px; color: var(--accent-ink); background: rgba(124, 58, 237, .1) }
.facts-line { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3) }
.demo-pill { font-family: var(--mono); font-size: 10px; color: #9A6BFF; border: 1px solid rgba(124, 58, 237, .6); border-radius: 999px; padding: 2px 8px; white-space: nowrap }
.dcard { background: #0C0C0E; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px; padding: 24px; display: flex; flex-direction: column }
.dlabel { font-family: var(--mono); font-size: 11.5px; color: #A3A0AC }
.lcard { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 8px }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5 }
.ticks svg { flex: none; margin-top: 3px }
.ticks.yes svg { color: var(--accent) }
.ticks.no svg { color: var(--ink-3) }

/* Onglets-pilules (accueil, pages produit) */
.tablist { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: none }
.tablist::-webkit-scrollbar { display: none }
.tab {
  flex: none; height: 50px; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 0 6px;
  border-radius: 999px; cursor: pointer; font: 500 15px var(--sans); white-space: nowrap;
  border: 1px solid rgba(11, 10, 16, .10); background: #FFFFFF; color: var(--ink-2);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.tab .ico { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--icon-bg); color: var(--ink-2); transition: background-color 200ms, color 200ms }
.tab.on { border-color: var(--accent); background: rgba(124, 58, 237, .07); color: var(--ink) }
.tab.on .ico { background: var(--accent); color: #FFFFFF }
.tab.plain { padding: 0 20px }

/* FAQ en accordéon */
.faq { max-width: 860px; margin: 0 auto; width: 100% }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 16.5px; font-weight: 500 }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; margin-left: auto; font: 400 22px var(--mono); color: var(--accent); transition: transform 200ms var(--ease) }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq .answer { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 760px }

/* Formulaire « Sois le premier informé » (site.js) */
.notify { display: flex; gap: 8px; flex-wrap: wrap }
.notify input {
  flex: 1 1 180px; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #FFFFFF; font: 400 14px var(--sans); color: var(--ink);
}
.notify button { height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: #FFFFFF; font: 500 14px var(--sans); cursor: pointer }
.notify button:hover { opacity: .86 }
.notify-ok { font-size: 14px; font-weight: 600; color: var(--accent-ink) }
.notify-err { flex-basis: 100%; font-size: 12.5px; color: var(--down) }


/* Blocs des pages intérieures (Backtest, Pour qui, Instruments…) */
.hero-center { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 112px) 0 56px; text-align: center }
.hero-center .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px }
.h1 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance }
.hero-center h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; max-width: 960px; text-wrap: balance }
.hero-center .lede { max-width: 640px }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px }
.metric { display: flex; flex-direction: column; gap: 2px }
.metric .k { font-family: var(--mono); font-size: 10px; color: #938F9D }
.metric .v { font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: -.02em }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px }
.split .lcard { gap: 18px; padding: clamp(24px, 3vw, 36px) }
.split h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em }
.chip { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #A3A0AC; font-size: 12px }
.chip.on { background: rgba(124, 58, 237, .16); border-color: rgba(124, 58, 237, .6); color: #FFFFFF }
.mono-chip { font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: #A3A0AC; border: 1px solid rgba(255, 255, 255, .09); background: #121016; padding: 2px 8px }
.field { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; background: #121016; border: 1px solid rgba(255, 255, 255, .09); font-family: var(--mono); font-size: 11px }
.field .k { color: #938F9D }
.table-wrap { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 18px 8px 4px; overflow-x: auto }
.four { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 1px solid var(--line) }
.four > div { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 10px }
.four .k { font-family: var(--mono); font-size: 12px; color: var(--accent-ink) }
.four .t { font-size: 22px; font-weight: 600; letter-spacing: -.02em }
.four p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2) }
.row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.pill-d { font-family: var(--mono); font-size: 10.5px; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .09); color: #A3A0AC }
.pill-d.on { border-color: #7C3AED; background: rgba(124, 58, 237, .16); color: #FFFFFF }
.menu-d { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px }
.menu-d span { display: flex; justify-content: space-between; padding: 4px 8px; background: #121016 }
.menu-d kbd { font: 600 10px var(--mono); color: #9A6BFF }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px }
.vs-card { color: var(--ink) }
.vs-card:hover { color: var(--ink) }
.vs-card .t { font-size: 19px; font-weight: 600; letter-spacing: -.02em }
.vs-card .d { font-size: 15px; line-height: 1.55; color: var(--ink-2) }
.pricing-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(24px, 3vw, 36px); background: var(--tint); border-radius: 28px }
.pricing-band p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 640px }

/* Panneau texte + écran (onglets des pages produit) */
.door-pane { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 80px -48px rgba(30, 15, 60, .28); overflow: hidden; display: flex; flex-wrap: wrap }
.door-text { flex: 1 1 380px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px }
.door-text h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em }
.door-text p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2) }
.steps3 { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: s }
.steps3 li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.45 }
.steps3 li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: var(--icon-bg); color: var(--accent-ink); font: 600 12px var(--mono) }
.door-visual { flex: 1 1 400px; min-width: 0; position: relative; background: var(--tint); padding: clamp(22px, 3vw, 40px); display: flex; align-items: center; justify-content: center; overflow: hidden }
.door-visual > .dcard, .door-visual > .mini { position: relative; width: 100%; max-width: 440px; box-shadow: var(--float-shadow) }
@media (max-width: 999.98px) {
  .door-visual { flex-basis: 100% }
}

/* ── Pied de page ────────────────────────────────────────────────────────── */
.site-footer { padding: 64px 0 40px }
.site-footer .inner { display: flex; flex-direction: column; gap: 48px }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px 24px }
.site-footer .col { display: flex; flex-direction: column; gap: 10px }
.site-footer .col-title { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3) }
.site-footer .col a { font-size: 14.5px; color: var(--ink) }
.site-footer .col a:hover { color: var(--accent) }
.site-footer .brand { gap: 14px }
.site-footer .logo { align-self: flex-start; gap: 9px }
.site-footer .logo img { width: 30px; height: 30px }
.site-footer .wordmark { font-size: 20px }
.site-footer .brand > span { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 220px }
.site-footer .credit-graphiques { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2) }
.site-footer .credit-graphiques a { display: inline-flex; padding: 4px 0 }
.site-footer .credit-graphiques img { display: block; width: auto; height: 20px }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: flex-start }
.site-footer .legal p { margin: 0; max-width: 780px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3) }
.site-footer .legal span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3) }

/* ── Langues : sélecteur complet (tiroir, pied de page) et bascule de l'en-tête ── */
.langues { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; align-self: flex-start }
.langue, .drawer a.langue {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 7px; border-radius: 999px;
  font: 600 12.5px var(--mono); color: var(--ink-2); transition: background 140ms ease, color 140ms ease
}
.langue:hover { color: var(--ink) }
.langue[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong) }
.langue svg { flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(11, 10, 16, .12) }
.langue:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
/* L'en-tête : les deux drapeaux seuls (le nom est dans le titre), la langue en
   cours cerclée. */
.langues--entete { padding: 2px; align-self: center }
.langues--entete .langue { height: 28px; padding: 0 5px; gap: 0 }
.langues--entete .langue span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.pied-langues { display: flex; padding-top: 18px }
/* Entre 1 000 et 1 240 px, l'en-tête n'a plus de place (mesuré : 28 px de trop
   à 1 180 px avec un seul drapeau) : la langue reste au pied de page. */
@media (min-width: 1000px) and (max-width: 1239.98px) { .langues--entete { display: none } }
/* Une page anglaise qui renvoie vers une page encore seulement française : « FR ». */
html[lang="en"] :is(.site-footer .cols, .drawer .group, main :is(p, li)) a[href^="../"]:not(.langue)::after,
html[lang="en"] :is(.big-card, .mega-item)[href^="../"] > .t::after,
html[lang="en"] .mega-item[href^="../"] .txt .t::after {
  content: "FR"; display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 4px;
  font: 600 9.5px/15px var(--mono); color: var(--ink-2); vertical-align: 2px; letter-spacing: .02em
}
