/* FG Solutions
   Principes repris des maisons comme Rolex : la photo fait le travail, la typographie se tait.
   Couleurs de la marque, tirées du logo : noir, ivoire et or champagne.
   Archivo élargie et légère pour les titres, Archivo pour le texte ; Saira élargie, en capitales espacées,
   pour les intitulés et les boutons, comme le mot SOLUTIONS du logo.
   Angles vifs partout, une seule forme arrondie : le bouton principal en pilule. Pas d'ombre, pas de dégradé décoratif.
   L'or n'apparaît que sur le logo, les intitulés et le focus. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 700; font-stretch: 100% 125%; font-display: swap; src: url("../fonts/archivo-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Saira Expanded"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/saira-expanded-latin-var.woff2") format("woff2"); }

:root {
  --black: #121110;       /* encre, sur fond clair */
  --canvas: #0B0A09;      /* noir chaud */
  --panel: #141311;
  --raise: #1C1A17;
  --white: #F6F1E8;       /* ivoire du logo */
  --text: #E3DDD3;
  --muted: #A39A8E;
  --line: #26231F;
  --line-strong: #4A443C;
  --gold: #D6B079;        /* or champagne du logo */
  --gold-light: #E9D2A6;
  --ink: #121110;
  --ink-soft: #3A3530;

  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --caps: "Saira Expanded", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 122%;           /* largeur des titres (Archivo élargie) */

  --margin: 8vw;
  --gap: 8px;
  --block: clamp(72px, 9vw, 140px);

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 720px) { :root { --margin: 20px; } }
/* Marque sombre dans tous les cas : mêmes valeurs quel que soit le thème système. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --canvas: #0B0A09; } }
:root[data-theme="dark"] { --canvas: #0B0A09; }

*, *::before, *::after { box-sizing: inherit; }
html { background: var(--canvas); scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 1rem/1.75 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
h1, h2 { margin: 0; color: var(--white); font-family: var(--display); font-weight: 300; font-stretch: var(--wide); letter-spacing: -0.012em; }
h3 { margin: 0; color: var(--white); font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.7rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.85rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
a { color: var(--white); text-underline-offset: .3em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-light); }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.wrap, .grid { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--margin); }
.muted { color: var(--muted); }
.label { font-family: var(--caps); font-size: .66rem; font-weight: 500; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- Boutons ----------
   .pill : action principale (seul élément arrondi). .btn* : alias pour les pages intérieures. */
.pill, .btn-accent, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .92rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  background: var(--white); color: var(--black); transition: background-color .3s ease, color .3s ease;
}
.pill:hover, .btn-accent:hover, .btn-primary:hover { background: var(--gold-light); color: var(--black); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: 600 .95rem/1 var(--sans); color: var(--white); background: transparent; border: 1px solid var(--line-strong);
  transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.btn:hover { border-color: var(--white); color: var(--white); }
.btn.btn-accent, .btn.btn-primary { border-radius: 999px; border: 0; background: var(--white); color: var(--black); padding: 0 30px; font-weight: 700; }
.btn.btn-accent:hover, .btn.btn-primary:hover { background: var(--gold-light); color: var(--black); }
.btn-ghost { border-color: var(--line-strong); }
.btn-quiet { border-color: transparent; color: var(--muted); }
.btn-quiet:hover { border-color: var(--line-strong); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .3; pointer-events: none; }
.text-link { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); }
.text-link:hover { text-decoration-color: var(--gold); }

/* ---------- Champs ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
select, input, textarea {
  font: inherit; font-size: 1rem; color: var(--white); background: var(--panel);
  border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; min-height: 50px; width: 100%;
}
select { appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--panel); color: var(--white); }
select:disabled { opacity: .5; }
textarea { resize: vertical; min-height: 140px; }
input::placeholder, textarea::placeholder { color: var(--muted); }
select:focus-visible, input:focus-visible, textarea:focus-visible { border-color: var(--white); outline: none; }
.help { font-size: .85rem; color: var(--muted); }

/* ---------- Signature ---------- */
.logo { display: inline-flex; align-items: center; gap: 16px; color: var(--white); text-decoration: none; }
.logo:hover { color: var(--white); }
.logo img { display: block; max-width: none; }
.logo-mark { width: auto; height: 25px; flex: none; }
.logo-word { width: auto; height: 10px; flex: none; }
.logo-full { width: 230px; height: auto; }

/* ---------- En-tête ---------- */
.site-header { view-transition-name: entete; position: sticky; top: 0; z-index: 100; background: rgba(11, 10, 9, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); margin-top: calc(-1 * env(safe-area-inset-top, 0px)); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding-inline: var(--margin); max-width: 1600px; margin-inline: auto; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--white); font: 600 .95rem var(--sans); cursor: pointer; }
.menu-lines { position: relative; width: 22px; height: 10px; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s ease, top .3s ease; }
.menu-lines::before { top: 0; }
.menu-lines::after { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-lines::before { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { top: 4.25px; transform: rotate(-45deg); }
.header-end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; color: var(--white); padding: 8px; }
.header-cta { min-height: 40px; padding: 0 22px; font-size: .9rem; }
@media (max-width: 720px) {
  .header-inner { min-height: 64px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo-word { height: 8.5px; }
  .logo-mark { height: 21px; }
  .header-cta { display: none; }
}
@media (max-width: 380px) { .logo-word { display: none; } }

.menu-panel { z-index: 99; position: fixed; left: 0; right: 0; top: calc(76px + env(safe-area-inset-top, 0px)); bottom: 0; background: var(--canvas); border-top: 1px solid var(--line); overflow-y: auto; }
@media (max-width: 720px) { .menu-panel { top: calc(64px + env(safe-area-inset-top, 0px)); } }
.menu-inner { max-width: 1600px; margin-inline: auto; padding: clamp(32px, 6vw, 80px) var(--margin) 48px; display: grid; gap: 48px; }
@media (min-width: 900px) { .menu-inner { grid-template-columns: 2fr 1fr; } }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: block; padding: 10px 0; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.15; transition: color .25s ease; }
.menu-list a:hover, .menu-list a[aria-current="page"] { color: var(--muted); }
.menu-aside p + p { margin-top: 12px; }
.menu-aside .label { margin-bottom: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .menu-panel:not([hidden]) .menu-list li { animation: menuIn .5s cubic-bezier(.2, .7, .2, 1) both; }
  .menu-panel:not([hidden]) .menu-list li:nth-child(2) { animation-delay: .04s; }
  .menu-panel:not([hidden]) .menu-list li:nth-child(3) { animation-delay: .08s; }
  .menu-panel:not([hidden]) .menu-list li:nth-child(4) { animation-delay: .12s; }
  .menu-panel:not([hidden]) .menu-list li:nth-child(5) { animation-delay: .16s; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Emplacements d'images ---------- */
.slot, .slot-img { display: block; width: 100%; height: auto; }
.slot-img { object-fit: cover; }
.slot-bg { fill: #FFFFFF; }
.slot-frame { fill: none; stroke: #D6D3CC; stroke-width: 2; stroke-dasharray: 8 6; }
.slot-label { fill: #111111; font-family: var(--sans); font-weight: 600; text-anchor: middle; }
.slot-dims { fill: #8C6B32; font-family: var(--sans); font-weight: 800; text-anchor: middle; }
.slot-file { fill: #8A8680; font-family: var(--sans); text-anchor: middle; }

/* ---------- Accueil ---------- */
.hero { position: relative; }
.stage { position: relative; height: clamp(440px, 82vh, 900px); background: var(--canvas); overflow: hidden; container-type: size; }
/* Affiche (image 0 de la vidéo) puis vidéo en boucle par-dessus, en fondu, calées par le même calcul que la caméra 3D */
/* Repli (navigateurs sans container queries) : simplement recadrées */
.stage-poster { display: block; position: absolute; inset: 0; pointer-events: none; }
.stage-poster img, .stage-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.stage-video { opacity: 0; transition: opacity .6s ease; pointer-events: none; background: transparent; }
.stage.is-playing .stage-video { opacity: 1; }
.stage-video::-webkit-media-controls, .stage-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
@media (min-width: 900px) { .stage-poster img, .stage-video { object-position: 59% 47%; } }
@supports (container-type: size) {
  .stage-poster img, .stage-video { inset: auto; object-fit: fill; width: auto; left: 50cqw; top: 50cqh; transform: translate(-50%, -50%);
    height: calc(0.85218 * clamp(107.23cqh, 234.69cqw, 216.57cqh)); aspect-ratio: 1 / 2; }
  @container (min-width: 900px) {
    .stage-poster img, .stage-video { height: 100cqh; left: 59cqw; top: 47cqh; transform: translate(-59%, -47%); aspect-ratio: 8 / 3; }
  }
}
.stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 75% 70% at 62% 50%, transparent 40%, rgba(11, 10, 9, .7) 100%), linear-gradient(to top, var(--canvas), transparent 45%); pointer-events: none; }
@media (max-width: 899px) { .stage { height: clamp(330px, 52vh, 520px); } .hero-text { padding-top: 8px; } }
@media (min-width: 900px) {
  .hero .hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; padding-bottom: clamp(48px, 7vh, 96px); }
  .hero .hero-text > * { pointer-events: auto; }
  .hero .hero-text h1 { max-width: 12ch; }
  .hero .hero-text .intro { max-width: 36ch; }
  .stage::before { content: ""; position: absolute; z-index: 1; inset: 0 55% 0 0; background: linear-gradient(to right, rgba(11, 10, 9, .75), transparent); pointer-events: none; }
  .stage { height: clamp(560px, 92vh, 980px); }
}
.hero-text { padding-block: clamp(56px, 7vw, 112px) var(--block); display: grid; justify-items: start; gap: 0; }
.hero-text h1 { max-width: 15ch; margin-top: 20px; }
.intro { margin-top: 24px; max-width: 46ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--text); font-weight: 400; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-actions .text-link { font-weight: 500; }

/* Marques : deux cartes compactes, photo recadrée sur la voiture, logo monochrome dessiné en SVG. */
.brands-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .brands-grid { grid-template-columns: 1fr 1fr; } }
.brand-panel { display: block; text-decoration: none; color: var(--white); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s ease; }
.brand-panel:hover { color: var(--white); border-color: var(--line-strong); }
.brand-pic { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.brand-pic picture, .brand-pic img { display: block; height: 100%; }
.brand-pic img { object-position: 50% 76%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.brand-panel:hover .brand-pic img { transform: scale(1.025); }
.brand-caption { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo name go" "logo meta go"; column-gap: 18px; align-items: center; padding: 18px clamp(18px, 2vw, 28px); }
.brand-logo { grid-area: logo; display: flex; align-items: center; color: var(--white); }
.brand-mark { display: block; height: 52px; width: auto; }
.brand-mark-wide { height: 40px; }
@media (max-width: 480px) { .brand-mark { height: 44px; } .brand-mark-wide { height: 32px; } }
.brand-name { grid-area: name; align-self: end; font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; }
.brand-meta { grid-area: meta; align-self: start; color: var(--muted); font-size: .9rem; }
.brand-go { grid-area: go; width: 22px; height: 22px; color: var(--muted); transition: transform .3s ease, color .3s ease; }
.brand-panel:hover .brand-go { color: var(--gold); transform: translateX(4px); }

.block { padding-block: var(--block); }
.block-line { border-top: 1px solid var(--line); }
/* deux blocs sans séparateur à la suite : un seul espace entre eux */
.block:not(.block-line) + .block:not(.block-line) { padding-top: 0; }
.block-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.block-head p { margin-top: 18px; font-size: 1.1rem; line-height: 1.65; }
.block-head-row { max-width: 1600px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.scroll-hint { color: var(--muted); font-size: .9rem; }

/* Thèmes : photo 4:3 au-dessus, nom et détail en dessous. */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards li { display: flex; }
.card { flex: 1; display: flex; flex-direction: column; text-decoration: none; color: var(--white); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s ease; }
.card:hover { color: var(--white); border-color: var(--line-strong); }
.card-pic { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--raise); }
.card-pic picture, .card-pic img { display: block; height: 100%; }
.card-pic img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-pic img { transform: scale(1.04); }
.card-text { display: block; padding: 14px 16px 16px; }
.card-name { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; }
.card-meta { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; margin-top: 4px; }
@media (max-width: 559px) { .card-text { padding: 12px 12px 14px; } .card-name { font-size: .95rem; } .card-meta { font-size: .8rem; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 48px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.step-n { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.6rem); line-height: 1; color: var(--white); letter-spacing: -0.04em; margin-bottom: 18px; font-variant-numeric: lining-nums; }
.steps p { max-width: 32ch; }

.split { display: grid; grid-template-columns: 1fr; background: var(--panel); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { overflow: hidden; }
.split-media .slot, .split-media .slot-img { height: 100%; }
.split-text { padding: clamp(48px, 7vw, 120px) var(--margin); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .split-text { padding-left: clamp(40px, 6vw, 110px); } }
.split-text h2 { margin-top: 18px; }
.facts { margin: 40px 0 0; max-width: 520px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; color: var(--white); }

.rail { list-style: none; margin: 0; padding: 0 var(--margin); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 30vw); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail li { scroll-snap-align: start; }
.rail figure { margin: 0; }
@media (max-width: 720px) { .rail { grid-auto-columns: 78vw; } }

.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 2fr; gap: 64px; } }
.qa { margin: 0; }
.qa div { padding: 26px 0; border-top: 1px solid var(--line); }
.qa div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { color: var(--white); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.qa dd { margin: 10px 0 0; max-width: 64ch; }

.closing { background: var(--white); color: var(--black); padding-block: clamp(64px, 8vw, 120px); }
.closing-inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .closing-inner { grid-template-columns: 1fr auto; } }
.closing h2 { color: var(--black); }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.closing .pill { background: var(--black); color: var(--white); }
.closing .pill:hover { background: var(--ink-soft); color: var(--white); }
.closing .text-link { color: var(--black); text-decoration-color: rgba(18, 17, 16, .3); }

/* ---------- Pages intérieures ---------- */
.page-band { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vw, 64px); }
.page-band .wrap > * { max-width: 760px; }
.page-band h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.2rem); }
.page-band .lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }
.page-band .btn, .page-band .pill { margin-top: 32px; }
.page-404 .cta-actions { margin-top: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.notice { padding: 16px 18px; border: 1px solid var(--line); background: var(--panel); margin-block: 24px; }

.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-tight + .section-tight { border-top: 1px solid var(--line); }
.section-tight h2 { margin-bottom: 28px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.price-table th, .price-table td { text-align: left; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.price-table tbody th { color: var(--white); font-weight: 700; width: 32%; }
.price-table .num { text-align: right; white-space: nowrap; padding-right: 0; }
.price-table tbody .num { color: var(--white); font-weight: 700; font-size: 1.2rem; }
.tier-ex { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; margin-top: 6px; }
.discounts { margin-top: 24px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); color: var(--white); max-width: 72ch; }
.mode-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mode-block { background: var(--panel); padding: 28px; }
.mode-block h3 { font-size: 1.2rem; }
.mode-block p { margin-top: 10px; }
.mode-block .mode-fee { color: var(--white); margin-top: 16px; }
.models-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 24px; }
.models-brand h3 { font-size: 1.6rem; }
.models-brand ul { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line-strong); }
.models-brand li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.models-brand a { font-weight: 600; text-decoration: none; }
.models-brand a:hover { text-decoration: underline; }

.contact-grid { display: grid; gap: 64px; padding-block: 8px var(--block); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 20px; }
.coords { margin: 0; }
.coords div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.coords div:last-child { border-bottom: 1px solid var(--line); }
.coords dt { color: var(--muted); font-size: .9rem; }
.coords dd { margin: 0; color: var(--white); }
.msg-form { display: grid; gap: 18px; margin-top: 20px; }
.msg-form .btn { justify-self: start; }

.prose { max-width: 76ch; padding-bottom: var(--block); }
.prose h2 { font-size: 1.4rem; margin-top: 48px; margin-bottom: 12px; }
.prose p, .prose ul { margin-top: 12px; }
.prose li { margin-top: 6px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); font-size: .92rem; }
.footer-mark { display: flex; justify-content: center; padding: clamp(56px, 7vw, 96px) var(--margin) clamp(40px, 5vw, 64px); }
.logo-stack { flex-direction: column; gap: 16px; }
.footer-cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-block: 40px; border-top: 1px solid var(--line); }
.footer-cols .label { margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 4px 0; }
.footer-list a { color: var(--text); text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { display: grid; gap: 8px; padding-block: 24px 40px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* Animations réduites à la demande du système, sauf le scintillement des yeux (simple variation d'opacité). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .mobile-bar, .sim-tools, .recap-actions, .closing { display: none !important; }
  body, .recap, .split, .brand-panel { background: #fff !important; color: #000 !important; }
}

/* ---------- Formulaire d'envoi ---------- */
.send-form { display: grid; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.send-title { color: var(--white); font-weight: 700; }
.send-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Formulaire question ---------- */
.question-form { display: grid; gap: 14px; }
.q-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .q-row { grid-template-columns: 1fr 1fr; } }
.question-form .btn { justify-self: start; }
.closing-inner { align-items: start; }
@media (min-width: 900px) { .closing-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.closing-text p { margin-top: 14px; color: #4A443D; }
.closing .field label { color: #5C554C; }
.closing .muted { color: #6A6258; }
.closing select, .closing input, .closing textarea { background: #FFFDF9; color: var(--ink); border-color: #D7CFC3; }
.closing input::placeholder, .closing textarea::placeholder { color: #958D82; }
.closing input:focus-visible, .closing textarea:focus-visible { border-color: var(--ink); }
.closing .btn.btn-primary { background: var(--ink); color: var(--white); }
.closing .btn.btn-primary:hover { background: var(--ink-soft); color: var(--white); }
.closing .help { color: #5C554C; }

/* =====================================================================
   2026 : mouvement natif, simulateur en trois temps, accueil enrichi
   ===================================================================== */

/* ---------- Transitions entre pages (Chrome, Edge, Safari ; ignoré ailleurs) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- Apparitions ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.is-in { opacity: 1; transform: none; }
.steps li.rv:nth-child(2), .trust-list li.rv:nth-child(2), .cards li.rv:nth-child(2) { transition-delay: .07s; }
.steps li.rv:nth-child(3), .trust-list li.rv:nth-child(3), .cards li.rv:nth-child(3) { transition-delay: .14s; }
.steps li.rv:nth-child(4), .trust-list li.rv:nth-child(4), .cards li.rv:nth-child(4) { transition-delay: .21s; }

/* ---------- Haut de page ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text h1.hero-in { animation-delay: .08s; }
  .hero-text .intro.hero-in { animation-delay: .18s; }
  .hero-actions.hero-in { animation-delay: .28s; }
  /* La voiture s'efface doucement quand on descend (Chrome, Edge, Safari 26) */
  @supports (animation-timeline: view()) {
    .stage { animation: stageOut linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
  }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } }
@keyframes stageOut { to { opacity: .35; transform: scale(.97); } }

/* ---------- Recherche rapide de voiture ---------- */
.finder { border-block: 1px solid var(--line); background: var(--panel); }
.finder-inner { display: grid; gap: 24px; padding-block: clamp(32px, 4vw, 48px); align-items: end; }
@media (min-width: 1100px) { .finder-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } }
.finder-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.finder-head p { margin-top: 8px; color: var(--muted); }
.finder-form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-items: end; }
.finder-form .field:nth-child(3) { grid-column: 1 / -1; }
.finder-form .pill { grid-column: 1 / -1; min-height: 50px; }
@media (min-width: 720px) { .finder-form { grid-template-columns: 1fr 1.3fr 1.6fr auto; } .finder-form .field:nth-child(3), .finder-form .pill { grid-column: auto; } }
.finder-form select { background-color: var(--canvas); }
.finder-fallback .pill { min-height: 50px; }

/* ---------- Engagements ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (min-width: 1000px) { .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 18px 26px 0; }
.trust-list .icon { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.trust-list span { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.trust-list strong { color: var(--white); font-weight: 650; font-size: 1rem; }
@media (max-width: 999px) { .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Prix ---------- */
.price-inner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .price-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.price-big { display: flex; align-items: baseline; gap: 16px; margin-top: 18px; }
.price-num { font-family: var(--display); font-weight: 300; font-size: clamp(4.5rem, 3rem + 6vw, 8rem); line-height: .9; letter-spacing: -0.05em; color: var(--white); }
.price-unit { font-size: 1.2rem; color: var(--text); }
.price-big + .muted { margin-top: 14px; max-width: 52ch; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-strong); }
.ladder li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ladder-n { color: var(--text); }
.ladder-p { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); color: var(--gold-light); letter-spacing: -0.03em; line-height: 1; }
.price-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.section-tight.price-teaser .price-inner { margin-bottom: 40px; }

/* ---------- Questions (accordéon natif) ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; color: var(--white); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--gold-light); }
.faq details p { padding: 0 0 26px; max-width: 64ch; }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
}

/* ---------- Barre d'accès rapide (mobile) ---------- */
.quick-bar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 8px; padding: 8px; background: rgba(20, 19, 17, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: 999px; transform: translateY(160%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.quick-bar.is-on { transform: none; }
.quick-bar a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border-radius: 999px; color: var(--white); text-decoration: none; }
.quick-bar .qb-main { flex: 1; background: var(--white); color: var(--black); font-weight: 700; }
.quick-bar .icon { width: 22px; height: 22px; }
@media (min-width: 900px) { .quick-bar { display: none; } }

/* ---------- Pied de page ---------- */
.footer-mark { flex-direction: column; align-items: center; gap: 18px; }
.footer-tag { color: var(--muted); font-size: .92rem; text-align: center; }

/* ---------- Modèles pris en charge ---------- */
.models { display: grid; gap: 48px; margin-top: 28px; }
@media (min-width: 1000px) { .models { grid-template-columns: 2fr 1fr; } }
.models-brand h3 { font-size: 1.6rem; margin-bottom: 14px; }
.models-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.models-list li { display: grid; grid-template-columns: 120px 1fr; gap: 6px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.models-fam { color: var(--white); font-weight: 700; }
.models-gens { display: flex; flex-wrap: wrap; gap: 8px; }
.models-gens a { display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 12px; border: 1px solid var(--line); text-decoration: none; font-size: .92rem; transition: border-color .2s ease, color .2s ease; }
.models-gens a:hover { border-color: var(--gold); color: var(--white); }
.models-gens .muted { font-size: .8rem; }
@media (max-width: 560px) { .models-list li { grid-template-columns: 1fr; } }

/* =====================================================================
   Simulateur
   ===================================================================== */
.sim-page { padding-bottom: var(--block); }
.sim-hero { padding-block: clamp(40px, 6vw, 88px) clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 52px); }
.sim-hero h1 { margin-top: 16px; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.2rem); }
.sim-hero .lead { margin-top: 18px; max-width: 52ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; }
.stepper { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .92rem; color: var(--muted); }
.stepper li { display: inline-flex; align-items: center; gap: 10px; transition: color .3s ease; }
.stepper-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .78rem; font-weight: 700; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.stepper li[aria-current] { color: var(--white); }
.stepper li[aria-current] .stepper-n { border-color: var(--white); color: var(--white); }
.stepper li.is-done .stepper-n { background: var(--gold); border-color: var(--gold); color: var(--black); }

.sim-grid { display: grid; gap: 40px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) { .sim-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.sim-step + .sim-step { margin-top: clamp(40px, 5vw, 64px); }
.step-head, .recap-head { display: flex; align-items: center; gap: 14px; }
.step-head h2, .recap-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.step-n { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--black); font: 700 .95rem/1 var(--sans); }
.sim-step.is-done .step-head .step-n { background: var(--gold); }
.step-sub { margin-top: 14px; color: var(--text); max-width: 62ch; }

/* étape 1 */
.car-pick { margin-top: 22px; animation: fadeUp .45s cubic-bezier(.2, .7, .2, 1) both; }
.pick-hint { margin-bottom: 18px; padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--panel); }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.seg-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 1rem/1 var(--sans); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg-btn img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }
.seg-btn:hover { color: var(--white); }
.seg-btn[aria-checked="true"] { background: var(--white); color: var(--black); }
.pick-q { margin-top: 26px; margin-bottom: 12px; color: var(--white); font-weight: 650; }
.fam-grid { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.fam { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 64px; padding: 12px 14px; text-align: left; background: var(--panel); border: 1px solid var(--line); color: var(--white); cursor: pointer; font: inherit; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.fam:hover { border-color: var(--line-strong); }
.fam:active { transform: scale(.98); }
.fam-name { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.fam-meta { font-size: .78rem; color: var(--muted); }
.fam[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--black); }
.fam[aria-pressed="true"] .fam-meta { color: var(--ink-soft); }
.gen-list { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gen-list:not(:empty) { animation: fadeUp .35s cubic-bezier(.2, .7, .2, 1) both; }
.gen { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; text-align: left; background: transparent; border: 1px solid var(--line-strong); color: var(--white); cursor: pointer; font: inherit; transition: border-color .2s ease, background-color .2s ease; }
.gen:hover { border-color: var(--gold); background: rgba(214, 176, 121, .06); }
.gen-y { font-weight: 700; font-size: 1.05rem; }
.gen-c { grid-column: 1; font-size: .85rem; color: var(--muted); }
.gen-n { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .8rem; color: var(--gold-light); white-space: nowrap; }
.pick-help { margin-top: 20px; font-size: .88rem; color: var(--muted); }
.car-summary { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); animation: fadeUp .4s cubic-bezier(.2, .7, .2, 1) both; }
.sum-car { display: flex; flex-direction: column; }
.sum-car strong { color: var(--white); font-size: 1.2rem; }
.sum-car span { color: var(--muted); font-size: .9rem; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--white); font: 600 .95rem var(--sans); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .3em; cursor: pointer; }
.link-btn:hover { text-decoration-color: var(--gold); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* étape 2 */
#step-opts:not([hidden]) { animation: fadeUp .5s cubic-bezier(.2, .7, .2, 1) both; }
.opt-block { margin-top: 36px; }
.sub-h { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sub-note { font-weight: 500; font-size: .85rem; color: var(--muted); }
.packs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pack { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 20px; text-align: left; font: inherit; color: var(--text); background: linear-gradient(180deg, rgba(214, 176, 121, .07), transparent 60%), var(--panel); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .25s ease, transform .2s ease; }
.pack:hover { border-color: var(--gold); }
.pack:active { transform: scale(.99); }
.pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pack-t { color: var(--white); font-family: var(--display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.pack-n { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.pack-d { font-size: .92rem; line-height: 1.5; }
.pack-items { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-strong); }
.pack-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pack-price { display: flex; align-items: baseline; gap: 8px; }
.pack-price s { color: var(--muted); font-size: .88rem; }
.pack-price strong { color: var(--white); font-size: 1.25rem; }
.pack-cta, .pick-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--white); }
.pack-cta .icon, .pick-cta .icon { width: 18px; height: 18px; }
.when-on, .pick .ico-on, .pack .cta-ico { display: none; }
.pack[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(180deg, rgba(214, 176, 121, .16), rgba(214, 176, 121, .04)), var(--panel); }
.pack[aria-pressed="true"] .when-off, .pick[aria-pressed="true"] .when-off, .pick[aria-pressed="true"] .ico-off { display: none; }
.pack[aria-pressed="true"] .when-on, .pick[aria-pressed="true"] .when-on, .pick[aria-pressed="true"] .ico-on, .pack[aria-pressed="true"] .cta-ico { display: inline; }
.pack[aria-pressed="true"] .pack-cta, .pick[aria-pressed="true"] .pick-cta { color: var(--gold-light); }

.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pick { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; text-align: left; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .15s ease; }
.pick:hover { border-color: var(--line-strong); }
.pick:active { transform: scale(.985); }
.pick-ico { color: var(--muted); margin-bottom: 4px; transition: color .2s ease; }
.pick-ico .icon { width: 24px; height: 24px; }
.pick-t { color: var(--white); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.pick-d { font-size: .88rem; line-height: 1.5; color: var(--muted); }
.pick-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line-strong); padding: 3px 8px; border-radius: 999px; }
.tag-quiet { border-color: transparent; padding-left: 0; color: var(--text); font-size: .85rem; letter-spacing: 0; }
.pick[aria-pressed="true"] { border-color: var(--gold); background: rgba(214, 176, 121, .08); }
.picks:not(.show-all) .is-extra:not(:has([aria-pressed="true"])) { display: none; }
.picks.show-all .is-extra { animation: fadeUp .35s cubic-bezier(.2, .7, .2, 1) both; }
.picks-more { margin-top: 12px; }
.pick[aria-pressed="true"] .pick-ico { color: var(--gold); }
.pick[aria-pressed="true"] .ico-on { animation: pop .3s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.all-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 14px; }
.all-head .sub-h { margin: 0; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 44px; border-radius: 999px; min-height: 46px; }
.groups { border-top: 1px solid var(--line-strong); }
.grp { border-bottom: 1px solid var(--line); }
.grp summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 4px; cursor: pointer; color: var(--white); }
.grp summary::-webkit-details-marker { display: none; }
.grp summary:hover .grp-name { color: var(--gold-light); }
.grp-ico .icon { width: 22px; height: 22px; color: var(--muted); display: block; }
.grp-name { font-weight: 650; flex: 1; transition: color .2s ease; }
.grp-count { font-size: .82rem; color: var(--muted); }
.grp-sel { font-size: .75rem; font-weight: 700; color: var(--black); background: var(--gold); padding: 3px 9px; border-radius: 999px; }
.grp-chev { width: 18px; height: 18px; color: var(--muted); transition: transform .3s ease; }
.grp[open] .grp-chev { transform: rotate(180deg); }
.grp-body { padding: 0 0 18px; }
.grp-note { margin: 0 0 12px 40px; font-size: .88rem; color: var(--muted); padding: 10px 14px; border-left: 2px solid var(--gold); background: var(--panel); }
@supports selector(::details-content) {
  .grp::details-content { block-size: 0; overflow: hidden; transition: block-size .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
  .grp[open]::details-content { block-size: auto; }
}
.opt-list { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.results .row:first-child { border-top: 1px solid var(--line-strong); }
.opt { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 14px 8px 14px 6px; cursor: pointer; transition: background-color .15s ease; }
.opt:hover { background: rgba(255, 255, 255, .025); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tick { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1.5px solid var(--line-strong); transition: background-color .15s ease, border-color .15s ease; }
.tick .icon { width: 16px; height: 16px; stroke-width: 2.4; color: var(--black); opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .2s cubic-bezier(.2, .9, .3, 1.4); }
.opt input:checked + .tick { background: var(--gold); border-color: var(--gold); }
.opt input:checked + .tick .icon { opacity: 1; transform: none; }
.opt input:focus-visible + .tick { outline: 2px solid var(--gold); outline-offset: 3px; }
.opt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-name { color: var(--white); font-weight: 600; font-size: .98rem; line-height: 1.35; }
.opt-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.opt-group { font-size: .75rem; color: var(--gold); letter-spacing: .04em; margin-top: 2px; }
.flag { display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(214, 176, 121, .5); padding: 1px 6px; vertical-align: 2px; }
.opt-more-btn { align-self: start; margin-top: 8px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; }
.opt-more-btn:hover { color: var(--white); }
.opt-more-btn .icon { transition: transform .25s ease; }
.opt-more-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.opt-more { grid-column: 1 / -1; margin: -4px 8px 14px 46px; padding: 12px 14px; background: var(--panel); font-size: .86rem; color: var(--text); display: grid; gap: 8px; }
.opt-more:not([hidden]) { animation: fadeUp .25s ease both; }
.opt-legal { border-left: 2px solid var(--gold); padding-left: 10px; }
.empty { margin-top: 18px; padding: 20px; border: 1px dashed var(--line-strong); color: var(--muted); }

/* étape 3 : la demande */
.recap { background: var(--panel); border-top: 2px solid var(--gold); padding: 26px 24px 28px; }
@media (min-width: 1080px) { .recap { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; } }
.recap-car { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.recap-list { list-style: none; padding: 0; margin: 14px 0 0; }
.recap-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--text); }
@supports (transition-behavior: allow-discrete) {
  .recap-list li { transition: opacity .3s ease, transform .3s ease; }
  @starting-style { .recap-list li { opacity: 0; transform: translateX(10px); } }
}
.rm { flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.rm:hover { color: var(--white); }
.rm .icon { width: 16px; height: 16px; }
.recap-empty { color: var(--muted); margin-top: 14px; font-size: .92rem; }
.meter { margin-top: 20px; }
.meter-bar { position: relative; height: 4px; background: var(--raise); }
.meter-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.meter-tick { position: absolute; top: -4px; width: 2px; height: 12px; background: var(--line-strong); transition: background-color .3s ease; }
.meter-tick[data-n="3"] { left: 37.5%; } .meter-tick[data-n="5"] { left: 62.5%; } .meter-tick[data-n="8"] { left: calc(100% - 2px); }
.meter-tick.is-on { background: var(--gold-light); }
.meter-text { margin-top: 10px; font-size: .88rem; color: var(--gold-light); min-height: 1.4em; }
.totals { margin: 18px 0 0; border-top: 1px solid var(--line-strong); }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .95rem; }
.totals dd { margin: 0; color: var(--white); text-align: right; }
.totals .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; align-items: baseline; }
.totals .total dt { color: var(--white); font-weight: 700; }
.totals .total dd { font-family: var(--display); font-weight: 300; font-size: 2.8rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.recap .send-form { margin-top: 22px; padding-top: 20px; }
.more-fields summary { cursor: pointer; color: var(--muted); font-size: .88rem; padding: 4px 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .3em; }
.more-fields summary:hover { color: var(--white); }
.more-fields[open] summary { margin-bottom: 12px; }
.more-fields .field + .field { margin-top: 12px; }
#f-vin { text-transform: uppercase; letter-spacing: .12em; }
.alt-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.alt-actions .btn { min-height: 46px; border-radius: 999px; gap: 8px; }
.btn-wa { border-color: var(--line-strong); }
.btn-wa:hover { border-color: #25D366; }
.btn-wa .icon, .alt-actions .icon { width: 18px; height: 18px; }
.sent { margin-top: 22px; padding: 22px; border: 1px solid var(--gold); background: rgba(214, 176, 121, .08); animation: fadeUp .4s ease both; }
.sent:focus { outline: none; }
.sent-ico { width: 30px; height: 30px; color: var(--gold); }
.sent-t { margin-top: 8px; color: var(--white); font-weight: 700; font-size: 1.15rem; }
.sent p + p { margin-top: 6px; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--margin); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(20, 19, 17, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); animation: barIn .4s cubic-bezier(.2, .7, .2, 1) both; }
.mobile-bar p { display: flex; flex-direction: column; line-height: 1.2; }
.mobile-bar span { font-size: .82rem; color: var(--muted); }
.mobile-bar strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--white); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
@keyframes barIn { from { transform: translateY(100%); } }
@media (min-width: 1080px) { .mobile-bar { display: none !important; } }
@media (max-width: 1079px) { .sim-page.has-bar { padding-bottom: 120px; } }

/* Tableau des prix sur téléphone : une ligne par type, description dessous */
@media (max-width: 640px) {
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .price-table th, .price-table td { border: 0; padding: 0; width: auto !important; }
  .price-table td:not(.num) { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; color: var(--muted); font-size: .92rem; }
}

/* Réglages avancés, repliés sous les options principales d'un groupe */
.adv { margin: 6px 0 0; border-top: 1px dashed var(--line-strong); }
.adv summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 4px 14px 46px; cursor: pointer; color: var(--muted); font-size: .92rem; font-weight: 600; }
.adv summary::-webkit-details-marker { display: none; }
.adv summary span:first-child { flex: 1; }
.adv summary:hover { color: var(--white); }
.adv[open] .grp-chev { transform: rotate(180deg); }
.adv .opt-name { font-weight: 500; }

/* =====================================================================
   FG Solutions : titres élargis, chiffres larges, boutons et intitulés en capitales espacées (comme SOLUTIONS du logo)
   ===================================================================== */
.menu-list a, .brand-name, .pack-t { font-weight: 300; font-stretch: var(--wide); letter-spacing: -0.008em; }
.step-n, .price-num, .ladder-p, .totals .total dd, .mobile-bar strong { font-stretch: var(--wide); letter-spacing: -0.02em; }
.pill, .btn { font-family: var(--caps); text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; font-weight: 500; }
.menu-btn { font-family: var(--caps); text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; font-weight: 500; }
.footer-tag { font-family: var(--caps); text-transform: uppercase; letter-spacing: .24em; font-size: .62rem; color: var(--muted); text-align: center; }
.btn, .pill { line-height: 1.35; }
#send-btn { letter-spacing: .14em; padding-inline: 16px; }
