/* Layout : colonne d'étiquettes + contenu ; hero asymétrique (assistant 4ct à droite) ; photos en bandeaux partagés ; specs en tableau. Fond blanc, sections teintées bleu clair. */
:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #EEF4FF;
  --ink: #0A1A33;
  --muted: #45597A;
  --line: #D8E3F5;
  --accent: #1B4FD8;
  --accent-hi: #1540B4;
  --on-accent: #FFFFFF;
  --brass: #B5650D;
  --brass-soft: #FFF1DF;
  --ok: #0F7A4A;
  --ok-soft: #DDF5E8;
  --danger: #C0281C;
  --danger-soft: #FDE6E3;
  --term: #0A1A33;
  --term-ink: #E1E9F7;
  --term-muted: #8FA3C4;
  --term-line: #22385E;
  --term-bubble: #13284A;

  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --s-2: .75rem;
  --s-1: .8125rem;
  --s0: 1rem;
  --s1: 1.125rem;
  --s2: 1.375rem;
  --s3: 1.75rem;
  --s4: clamp(1.9rem, 3.6vw, 2.6rem);
  --s5: clamp(2.3rem, 5.4vw, 4rem);

  --r: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #07101F; --surface: #0E1B31; --tint: #0B172B; --ink: #E8EEF8; --muted: #9FB1CC; --line: #1E3254;
    --accent: #7FA6FF; --accent-hi: #A3C0FF; --on-accent: #06101F; --brass: #F2A74B; --brass-soft: #2B1D0C;
    --ok: #5CD49A; --ok-soft: #0E2A1D; --danger: #FF8A7E; --danger-soft: #2E1411;
    --term: #050C18; --term-ink: #E1E9F7; --term-muted: #8FA3C4; --term-line: #1A2C4A; --term-bubble: #0E1F3A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #07101F; --surface: #0E1B31; --tint: #0B172B; --ink: #E8EEF8; --muted: #9FB1CC; --line: #1E3254;
  --accent: #7FA6FF; --accent-hi: #A3C0FF; --on-accent: #06101F; --brass: #F2A74B; --brass-soft: #2B1D0C;
  --ok: #5CD49A; --ok-soft: #0E2A1D; --danger: #FF8A7E; --danger-soft: #2E1411;
  --term: #050C18; --term-ink: #E1E9F7; --term-muted: #8FA3C4; --term-line: #1A2C4A; --term-bubble: #0E1F3A;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--s0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--s5); font-weight: 700; }
h2 { font-size: var(--s4); font-weight: 700; }
h3 { font-size: var(--s1); font-weight: 600; letter-spacing: -.005em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.2rem/1 var(--f-display); letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-size: var(--s-1); font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.top .btn { padding: 10px 16px; }
@media (max-width: 900px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 8px; border: 1px solid transparent;
  font: 600 var(--s0)/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 var(--s-2)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lede { font-size: var(--s1); color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--f-mono); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 6px 0 0; list-style: none; font-size: var(--s-1); color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Poste Heber — fenêtre d'application */
.appliance { min-width: 0; border-radius: 14px; background: var(--term); color: var(--term-ink); border: 1px solid var(--term-line); box-shadow: 0 30px 60px -30px rgba(10, 30, 80, .35); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--term-line); font: 500 var(--s-2)/1.2 var(--f-mono); color: var(--term-muted); }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--term-line); }
.app-bar .host { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-body { display: grid; gap: 14px; padding: 20px 18px 18px; }
.msg { max-width: 92%; padding: 12px 14px; border-radius: 10px; font-size: .9rem; line-height: 1.5; }
.msg--user { justify-self: end; background: var(--term-bubble); border: 1px solid var(--term-line); }
.msg--ai { background: transparent; border: 1px solid var(--term-line); }
.msg--ai strong { color: #fff; font-weight: 600; }
.msg .who { display: block; margin-bottom: 4px; font: 600 .68rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--term-muted); }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg .src span { font: 500 .7rem/1 var(--f-mono); padding: 5px 7px; border-radius: 4px; background: var(--term-bubble); color: var(--term-muted); }
.app-status { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 16px; border-top: 1px solid var(--term-line); font: 500 .72rem/1.3 var(--f-mono); color: var(--term-muted); }
.app-status b { color: #7BE0A6; font-weight: 600; }
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7BE0A6; margin-right: 6px; box-shadow: 0 0 0 3px rgba(123, 224, 166, .15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(123, 224, 166, 0); } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.sec--tint { background: var(--tint); }
.sec-head { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head > div { display: grid; gap: 14px; min-width: 0; }
@media (max-width: 820px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* Bandeau shadow AI */
.alarm { background: var(--ink); color: var(--paper); padding-block: clamp(44px, 6vw, 72px); }
.alarm .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.alarm h2 { color: var(--paper); }
.alarm p { color: color-mix(in srgb, var(--paper) 72%, var(--ink)); max-width: 54ch; }
.alarm .stat { font: 700 clamp(3rem, 8vw, 5.5rem)/0.9 var(--f-display); letter-spacing: -.04em; color: var(--brass); }
.alarm .stat-note { font: 400 var(--s-2)/1.5 var(--f-mono); color: color-mix(in srgb, var(--paper) 55%, var(--ink)); margin-top: 10px; }
@media (max-width: 820px) { .alarm .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Douleurs */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pain { background: var(--surface); padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; }
.pain .q { font: 500 var(--s-1)/1.45 var(--f-mono); color: var(--danger); }
.pain p { color: var(--muted); }
@media (max-width: 720px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* Risques */
.risks { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.risk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, .9fr); gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.risk p { color: var(--muted); }
.risk .cost { font: 600 var(--s-1)/1.4 var(--f-mono); color: var(--danger); text-align: right; }
.risk .ref { display: block; font: 400 var(--s-2)/1.4 var(--f-mono); color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .risk { grid-template-columns: minmax(0, 1fr); } .risk .cost { text-align: left; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { counter-increment: step; display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--accent); }
.step::before { content: "Étape " counter(step); font: 600 var(--s-2)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.step .when { font: 500 var(--s-2)/1 var(--f-mono); color: var(--muted); }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Usages */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.use svg { width: 22px; height: 22px; color: var(--accent); }
.use p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .uses { grid-template-columns: minmax(0, 1fr); } }

.platform { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; margin-top: 40px; padding-top: 32px; border-top: 1px dashed var(--line); }
.platform div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.platform h3 { font-size: var(--s0); }
.platform p { font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .platform { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .platform { grid-template-columns: minmax(0, 1fr); } }

/* Bénéfices : avant / après */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.compare > div { padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.compare .after { background: color-mix(in srgb, var(--ok-soft) 70%, var(--surface)); border-left: 1px solid var(--line); }
.compare h3 { display: flex; align-items: center; gap: 8px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.compare li svg { width: 18px; height: 18px; margin-top: 3px; }
.compare .before svg { color: var(--danger); }
.compare .after svg { color: var(--ok); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } .compare .after { border-left: 0; border-top: 1px solid var(--line); } }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.kpi { padding: 20px 0 0; border-top: 1px solid var(--ink); display: grid; gap: 6px; }
.kpi b { font: 700 var(--s4)/1 var(--f-display); letter-spacing: -.03em; }
.kpi span { color: var(--muted); font-size: .92rem; }
@media (max-width: 680px) { .kpis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Configurations ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.specs { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.specs th, .specs td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.specs tbody th { font: 500 var(--s-2)/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 150px; position: sticky; left: 0; background: var(--surface); }
.specs thead th { padding-top: 22px; vertical-align: bottom; }
.specs thead th:first-child { position: sticky; left: 0; background: var(--surface); }
.specs .cfg-name { display: block; font: 700 var(--s2)/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.specs .cfg-for { display: block; font: 500 var(--s-2)/1.3 var(--f-mono); color: var(--muted); margin-top: 6px; text-transform: none; letter-spacing: 0; }
.specs .price { font: 700 var(--s2)/1.1 var(--f-display); letter-spacing: -.02em; }
.specs .sub { display: block; font-size: var(--s-2); color: var(--muted); font-family: var(--f-mono); margin-top: 4px; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs .is-reco { background: color-mix(in srgb, var(--brass-soft) 65%, var(--surface)); }
.specs thead .is-reco { box-shadow: inset 0 3px 0 var(--brass); }
.reco-tag { display: inline-block; margin-bottom: 8px; padding: 4px 8px; border-radius: 4px; background: var(--brass); color: var(--surface); font: 600 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.specs td .btn { padding: 10px 14px; font-size: var(--s-1); white-space: nowrap; }
.table-hint { display: none; font: 500 var(--s-2)/1.4 var(--f-mono); color: var(--muted); margin-top: 10px; }
@media (max-width: 960px) { .table-hint { display: block; } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.plan { display: grid; gap: 14px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.plan--reco { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .p-price { font: 700 var(--s3)/1 var(--f-display); letter-spacing: -.02em; }
.plan .p-price small { font: 500 var(--s-1)/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .93rem; }
.plan li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; }
.plan li svg { width: 16px; height: 16px; color: var(--ok); margin-top: 4px; }
.plan .tag { justify-self: start; font: 600 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.sub-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 56px; }
.sub-h p { color: var(--muted); font-size: .95rem; max-width: 62ch; }
.fine { font-size: var(--s-1); color: var(--muted); margin-top: 16px; max-width: 90ch; }

.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin-top: 24px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line); list-style: none; }
.included li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; font-size: .92rem; }
.included svg { width: 16px; height: 16px; color: var(--ok); margin-top: 4px; }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .included { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Simulateur ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.sim-in { padding: 28px; display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; }
.field output, .field .val { font: 600 var(--s0)/1 var(--f-mono); color: var(--accent); }
.field input[type="range"] { width: 100%; accent-color: var(--accent); }
.field select, .field input[type="number"], .form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 400 var(--s0)/1.3 var(--f-body);
}
.field .help { font-size: var(--s-1); color: var(--muted); }
.sim-out { padding: 28px; background: var(--term); color: var(--term-ink); display: grid; gap: 18px; align-content: start; }
.sim-out .o-label { font: 500 var(--s-2)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--term-muted); }
.sim-out .o-cfg { font: 700 var(--s3)/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.sim-out .o-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--term-line); padding-top: 18px; }
.sim-out .o-val { font: 600 var(--s2)/1.1 var(--f-mono); color: #fff; font-variant-numeric: tabular-nums; margin-top: 6px; }
.sim-out .o-roi { font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--f-display); color: #7BE0A6; letter-spacing: -.03em; }
.sim-out .o-note { font-size: var(--s-1); color: var(--term-muted); }
.sim-out .o-break { font: 400 var(--s-2)/1.6 var(--f-mono); color: var(--term-muted); }
@media (max-width: 820px) { .sim { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 var(--s1)/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--f-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 72ch; }

/* ---------- CTA final ---------- */
.final { background: var(--accent); color: var(--on-accent); padding-block: clamp(56px, 8vw, 104px); }
.final .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.final h2 { color: var(--on-accent); font-size: var(--s5); }
.final .lede { color: color-mix(in srgb, var(--on-accent) 78%, var(--accent)); }
.final .eyebrow { color: color-mix(in srgb, var(--on-accent) 80%, var(--accent)); }
.final-copy { display: grid; gap: 20px; min-width: 0; }
.final ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.final li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.final li svg { width: 18px; height: 18px; margin-top: 3px; }
.contact-line { font: 500 var(--s-1)/1.6 var(--f-mono); color: color-mix(in srgb, var(--on-accent) 78%, var(--accent)); }
.contact-line span { user-select: all; color: var(--on-accent); }
.form { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 28px; display: grid; gap: 14px; min-width: 0; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: grid; gap: 6px; font-size: var(--s-1); font-weight: 600; }
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { width: 100%; }
.form .legal { font-size: var(--s-2); color: var(--muted); }
.form-ok { padding: 14px 16px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .final .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form .row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hub : grille des métiers ---------- */
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.job { background: var(--surface); padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); transition: background .15s; }
.job:hover { background: color-mix(in srgb, var(--brass-soft) 50%, var(--surface)); }
.job .j-kicker { font: 500 var(--s-2)/1.3 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.job h3 { font-size: var(--s2); }
.job p { color: var(--muted); font-size: .93rem; }
.job .go { font: 600 var(--s-1)/1 var(--f-body); color: var(--accent); margin-top: 6px; }

/* ---------- Pied de page ---------- */
.foot { padding-block: 48px 40px; border-top: 1px solid var(--line); font-size: var(--s-1); color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .tagline { font: 600 var(--s1)/1.3 var(--f-display); color: var(--ink); margin: 12px 0 8px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Barre CTA mobile */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; padding: 12px; }
  body { padding-bottom: 72px; }
}

/* Accessibilité */
.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; }
a.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 50; padding: 10px 14px; background: var(--surface); color: var(--ink); border-radius: 6px; }

/* ---------- Marque ---------- */
.brand small { font: 600 .72em/1 var(--f-display); color: var(--muted); margin-left: 1px; letter-spacing: 0; }

/* ---------- Photos ---------- */
.photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--tint); min-width: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 6px;
  background: rgba(6, 16, 31, .78); color: #FFFFFF; font: 600 var(--s-2)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.photo--tall { aspect-ratio: 4 / 3; max-width: 100%; }
.photo--dark { aspect-ratio: 16 / 9; max-width: 100%; }
.photo--product { aspect-ratio: 4 / 3; max-width: 100%; box-shadow: 0 30px 60px -30px rgba(10, 30, 80, .45); }

.photo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.photo-split-copy { display: grid; gap: 16px; min-width: 0; }
.photo-split--rev .photo { order: 2; }
@media (max-width: 820px) { .photo-split { grid-template-columns: minmax(0, 1fr); } .photo-split--rev .photo { order: 0; } }

.alarm-copy { display: grid; gap: 18px; }

.ben { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.ben .photo { aspect-ratio: auto; min-height: 280px; }
@media (max-width: 860px) { .ben { grid-template-columns: minmax(0, 1fr); } .ben .photo { aspect-ratio: 4 / 3; min-height: 0; } }

.platform--flush { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Cartes serveurs ---------- */
.hw { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.hw-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.hw-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(27, 79, 216, .45); }
.hw-card.is-reco { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.hw-img { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--tint); }
.hw-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hw-img .reco-tag { position: absolute; top: 10px; left: 10px; margin: 0; }
.hw-body { display: grid; gap: 6px; padding: 16px 16px 18px; align-content: start; }
.hw-body h3 { font-size: var(--s1); }
.hw-for, .hw-spec { font: 500 var(--s-2)/1.4 var(--f-mono); color: var(--muted); }
.hw-price { font: 700 var(--s2)/1.1 var(--f-display); letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hw-price small { font: 500 var(--s-1)/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.hw-lease { font-size: var(--s-1); color: var(--muted); }
.go { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--s-1)/1 var(--f-body); color: var(--accent); margin-top: 8px; }
.go svg { width: 16px; height: 16px; transition: transform .15s; }
.hw-card:hover .go svg, .job:hover .go svg { transform: translateX(3px); }

.job--alt { background: color-mix(in srgb, var(--brass-soft) 60%, var(--surface)); }
.specs a.cfg-name { text-decoration: none; }
.specs a.cfg-name:hover { color: var(--accent); }
.h-sub { font-size: var(--s3); }
.h-plan { font-size: var(--s2); }
.p-pitch { color: var(--muted); }

/* ---------- Fiche serveur ---------- */
.hero--cfg .wrap { align-items: center; }
.price-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.price-box > div { display: grid; gap: 4px; padding: 14px 16px; min-width: 0; }
.price-box > div + div { border-left: 1px solid var(--line); }
.price-box .o-label { font: 500 var(--s-2)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price-box b { font: 700 var(--s2)/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-box small { font-size: var(--s-2); color: var(--muted); }
@media (max-width: 560px) { .price-box { grid-template-columns: minmax(0, 1fr); } .price-box > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.kpis--top { margin: 0 0 clamp(40px, 5vw, 64px); }
.spec-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.spec-split > div { display: grid; gap: 18px; min-width: 0; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.points svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.ideal { display: grid; gap: 10px; padding-top: 8px; }
.ideal .o-label { font: 500 var(--s-2)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ideal div { display: flex; flex-wrap: wrap; gap: 8px; }
.ideal a { padding: 8px 12px; border-radius: 999px; background: var(--tint); color: var(--accent); text-decoration: none; font-weight: 600; font-size: var(--s-1); }
.ideal a:hover { background: var(--accent); color: var(--on-accent); }
.spec-list { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.spec-list div { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { font: 500 var(--s-2)/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 500; }
@media (max-width: 820px) { .spec-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Formulaire : champ piège anti-spam ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Pied de page ---------- */
.foot-h { font: 600 var(--s-2)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.foot-mail { margin-top: 8px; user-select: all; }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: block !important; font-size: var(--s-2); }

/* ---------- Cartes métier ---------- */
.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
@media (max-width: 1100px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jobs { grid-template-columns: minmax(0, 1fr); } }
.jc {
  position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0;
  border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 30, 80, .06), 0 8px 24px -16px rgba(10, 30, 80, .25);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.jc:hover, .jc:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 2px 4px rgba(10, 30, 80, .06), 0 28px 56px -24px rgba(27, 79, 216, .45); }
.jc-media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--term); isolation: isolate; }
.jc-pic { position: absolute; inset: 0; }
.jc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s; filter: saturate(.92) contrast(1.04); }
.jc:hover .jc-pic img { transform: scale(1.09); filter: saturate(1.05) contrast(1.06); }
.jc-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 16, 31, .35) 0%, rgba(6, 16, 31, 0) 32%, rgba(6, 16, 31, .15) 55%, rgba(6, 16, 31, .88) 100%);
}
.jc-media--mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.jc-media--mosaic .jc-pic { position: relative; inset: auto; overflow: hidden; }
.jc-media--mosaic .jc-pic:first-child { grid-row: span 2; }
.jc-kicker {
  position: absolute; z-index: 2; top: 12px; left: 12px; max-width: calc(100% - 24px);
  padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFFFFF; font: 500 .68rem/1.25 var(--f-mono); letter-spacing: .04em;
}
.jc-title { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; color: #FFFFFF; font-size: var(--s3); letter-spacing: -.025em; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.jc-body { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; padding: 18px 18px 16px; min-width: 0; }
.jc-body > p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.jc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.jc-tags li { padding: 5px 9px; border-radius: 999px; background: var(--tint); color: var(--accent); font: 600 .72rem/1.2 var(--f-body); }
.jc-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); align-self: end; }
.jc-reco { display: grid; gap: 2px; font-size: var(--s-1); color: var(--muted); }
.jc-reco span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.jc-reco b { color: var(--ink); font-weight: 600; }
.jc-go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.jc-go svg { width: 18px; height: 18px; }
.jc:hover .jc-go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }
.jc--open { border-color: color-mix(in srgb, var(--brass) 50%, var(--line)); }
.jc--open .jc-tags li { background: var(--brass-soft); color: var(--brass); }
@media (prefers-reduced-motion: reduce) { .jc, .jc-pic img, .jc-go { transition: none; } .jc:hover { transform: none; } .jc:hover .jc-pic img { transform: scale(1.02); } }

/* ======================================================================
   V3 : hero pleine largeur, confiance, comparatif, garanties, carrousel
   ====================================================================== */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.hero > .wrap { display: block; }
.hero .eyebrow { margin-bottom: 18px; }
.hero-h1 { font-size: clamp(2.5rem, 5.8vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; max-width: none; text-wrap: balance; }
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(24px, 3.5vw, 44px); }
.hero-grid .hero-copy { display: grid; gap: 20px; min-width: 0; align-content: start; }
.hero-grid .lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.micro { font-size: var(--s-1); color: var(--muted); }
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 16px 24px; font-size: 1.04rem; }
.btn--primary { box-shadow: 0 10px 24px -12px rgba(27, 79, 216, .7); }
.btn--light { background: #FFFFFF; color: #0A1A33; }
.btn--light:hover { background: #EEF4FF; }
.hero-visual { position: relative; min-width: 0; padding: 0 0 56px 56px; }
.hero-photo { aspect-ratio: 5 / 4; max-width: 100%; border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(10, 30, 80, .55); }
.hero-visual .appliance { position: absolute; left: 0; bottom: 0; width: min(400px, 78%); font-size: .9em; }
.hero-visual .app-body { padding: 14px 14px 12px; gap: 10px; }
.hero-visual .msg { font-size: .82rem; padding: 10px 12px; }
.hero-visual .msg--user { max-width: 100%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding: 0; }
  .hero-visual .appliance { position: relative; width: auto; margin: -64px 14px 0; }
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-h1 { font-size: clamp(2.1rem, 9.4vw, 2.8rem); }
}

/* Bandeau de confiance */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust .wrap > div { display: grid; gap: 4px; padding: 22px 20px; min-width: 0; }
.trust .wrap > div + div { border-left: 1px solid var(--line); }
.trust b { font: 700 var(--s1)/1.2 var(--f-display); letter-spacing: -.01em; }
.trust span { font-size: var(--s-1); color: var(--muted); }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust .wrap > div:nth-child(3) { border-left: 0; } .trust .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Comparatif */
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .93rem; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 700 var(--s1)/1.2 var(--f-display); padding-top: 20px; }
.cmp tbody th { font-weight: 600; width: 22%; }
.cmp td { color: var(--muted); }
.cmp td svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; flex: none; }
.cmp td { display: table-cell; }
.cmp .cmp-ok svg { color: var(--ok); }
.cmp .cmp-ko svg { color: var(--danger); }
.cmp .cmp-mid svg { color: var(--brass); }
.cmp .is-us { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--ink); font-weight: 500; }
.cmp thead .is-us { color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* Garanties */
.guarantees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.g { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.g svg { width: 26px; height: 26px; color: var(--ok); }
.g h4 { margin: 0; font: 700 var(--s1)/1.25 var(--f-display); }
.g p { color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guarantees { grid-template-columns: minmax(0, 1fr); } }

/* CTA intermédiaire */
.midcta { background: linear-gradient(120deg, #1540B4, #1B4FD8 55%, #2F6BFF); color: #FFFFFF; padding-block: clamp(36px, 5vw, 56px); }
.midcta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.midcta h2 { color: #FFFFFF; font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 26ch; }
.midcta p { color: rgba(255, 255, 255, .82); margin-top: 8px; max-width: 60ch; }

/* Fil d'Ariane */
.crumbs { border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; font-size: var(--s-1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Pages légales */
.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h1 { font-size: var(--s4); margin-bottom: 8px; }
.prose h2 { font-size: var(--s2); margin-top: 18px; }
.prose p { color: var(--muted); }
.form .legal a { color: var(--accent); }

/* Cartes serveurs : prix tout compris */
.hw-price small:first-child { display: block; font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* Carrousel des métiers sur téléphone */
@media (max-width: 640px) {
  .jobs { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .jobs::-webkit-scrollbar { display: none; }
  .jc { scroll-snap-align: start; }
  .jc:hover { transform: none; }
  .jobs-hint { display: block; }
}
.jobs-hint { display: none; font: 500 var(--s-2)/1.4 var(--f-mono); color: var(--muted); margin-top: 6px; }

/* Ajustements hero après revue */
.hero-h1 { text-wrap: pretty; }
@media (min-width: 901px) { .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.hero-visual { padding: 0 0 40px 0; }
.hero-photo { margin-left: 12%; }
.hero-visual .appliance { width: min(340px, 62%); box-shadow: 0 30px 60px -20px rgba(6, 16, 31, .6); }
.hero-visual .app-bar .host, .hero-visual .msg .src { display: none; }
.hero-visual .msg { font-size: .78rem; line-height: 1.45; }
.hero-visual .msg ul { margin-top: 4px; }
.hero-visual .app-status { font-size: .66rem; padding: 9px 12px; }
@media (max-width: 900px) {
  .hero-photo { margin-left: 0; }
  .hero-visual .appliance { width: auto; margin: -48px 12px 0; }
}

/* ---------- Intégrations ---------- */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lt {
  display: flex; align-items: center; gap: 10px; min-width: 0; height: 58px; padding: 0 14px;
  border-radius: 12px; background: #FFFFFF; color: #0A1A33; border: 1px solid var(--line);
  font: 600 .86rem/1.15 var(--f-body); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lt:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 12px 24px -16px rgba(10, 30, 80, .35); }
.lt svg { width: 24px; height: 24px; flex: none; }
.lt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt--text { justify-content: center; text-align: center; background: linear-gradient(180deg, #FFFFFF, #F4F8FF); }
.lt--text span { white-space: normal; }
.lt--generic { color: #45597A; font-weight: 500; border-style: dashed; }
.int-own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 40px; align-items: center; margin-top: 24px; padding: 24px 26px; border-radius: 16px; background: var(--tint); }
.int-own h3 { font-size: var(--s2); margin-bottom: 6px; }
.int-own p { color: var(--muted); font-size: .95rem; }
.int-own ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.int-own li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.int-own li svg { width: 16px; height: 16px; color: var(--ok); }
@media (max-width: 820px) { .int-own { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ======================================================================
   V4 : animations (désactivées si l'utilisateur réduit les mouvements)
   Le contenu reste lisible sans JS ni animation : tout part d'un état visible.
   ====================================================================== */
.top { transition: box-shadow .3s, background .3s; }
.top.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 30, 80, .35); }

/* Fond du hero : grille de points discrète, fondue vers le bas */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* Indicateur « en train d'écrire » de l'assistant */
.typing { display: none; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
  @keyframes hide { to { opacity: 0; height: 0; padding: 0; margin: 0; border-width: 0; } }

  .hero .eyebrow { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-h1 { animation: rise .9s .08s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: .22s; }
  .hero-copy > :nth-child(2) { animation-delay: .32s; }
  .hero-copy > :nth-child(3) { animation-delay: .4s; }
  .hero-copy > :nth-child(4) { animation-delay: .48s; }
  .hero-visual .hero-photo { animation: rise 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-visual .appliance { animation: rise .9s .45s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-visual .msg--user { animation: pop .5s .9s both; }
  .hero-visual .typing {
    display: inline-flex; gap: 4px; align-items: center; padding: 10px 12px; border: 1px solid var(--term-line); border-radius: 10px; width: fit-content;
    animation: pop .3s 1.3s both, hide .2s 2.3s forwards;
  }
  .hero-visual .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--term-muted); animation: dots 1s infinite; }
  .hero-visual .typing i:nth-child(2) { animation-delay: .15s; }
  .hero-visual .typing i:nth-child(3) { animation-delay: .3s; }
  .hero-visual .msg--ai { animation: pop .55s 2.4s both; }
  .hero-visual .app-status { animation: fade .6s 2.9s both; }
  .trust .wrap > div { animation: rise .7s both; }
  .trust .wrap > div:nth-child(2) { animation-delay: .08s; }
  .trust .wrap > div:nth-child(3) { animation-delay: .16s; }
  .trust .wrap > div:nth-child(4) { animation-delay: .24s; }

  /* Apparition au défilement, sans JavaScript (navigateurs récents) */
  @supports (animation-timeline: view()) {
    @keyframes reveal { from { opacity: .15; transform: translateY(36px) scale(.985); } }
    .sec-head, .photo-split, .pain, .risk, .step, .use, .platform > div, .lt, .int-own, .compare, .ben .photo, .kpi,
    .jc, .hw-card, .table-scroll, .g, .plan, .included, .sim, .faq details, .midcta .wrap > *, .final-copy, .form, .cmp tr, .spec-list, .points li {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    .photo img { animation: zoomout linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes zoomout { from { transform: scale(1.12); } }
  }

  /* Logos qui défilent sur téléphone */
  @media (max-width: 520px) {
    .logo-wall { display: flex; flex-wrap: nowrap; width: max-content; animation: marquee 40s linear infinite; }
    .logo-wall .lt { width: 160px; flex: none; }
    .logo-wrap { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
    @keyframes marquee { to { transform: translateX(-50%); } }
  }
}
.lt.is-clone { display: none; }
@media (max-width: 520px) and (prefers-reduced-motion: no-preference) { .lt.is-clone { display: flex; } }
.price-box .pb-main { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.price-box .pb-main b { color: var(--accent); }
@media (max-width: 700px) { .top .btn { display: none; } }

/* ======================================================================
   Tarifs unifiés : 5 offres sur un écran
   ====================================================================== */
.offers-sec { padding-block: clamp(36px, 6vh, 64px); }
.offers-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 22px; }
.offers-head > div { display: grid; gap: 8px; min-width: 0; max-width: 720px; }
.offers-head h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
.offers-sub { color: var(--muted); font-size: .95rem; }
.plan-switch { display: flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan-switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plan-switch label { position: relative; cursor: pointer; }
.plan-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-switch span { display: grid; gap: 2px; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; text-align: center; color: var(--muted); transition: background .2s, color .2s; }
.plan-switch small { font: 500 .7rem/1 var(--f-mono); color: inherit; opacity: .8; }
.plan-switch input:checked + span { background: var(--accent); color: var(--on-accent); }
.plan-switch input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.offers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.of { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.of:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(27, 79, 216, .45); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.of.is-reco, .of.is-current { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 24px 48px -28px rgba(181, 101, 13, .5); }
.of-img { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--term); }
.of-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.of-img .reco-tag { position: absolute; left: 10px; top: 10px; margin: 0; }
.of-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 14px; min-width: 0; }
.of-body h3 { font-size: 1.12rem; }
.of-body h3 a { color: inherit; text-decoration: none; }
.of-body h3 a:hover { color: var(--accent); }
.of-for, .of-spec { font: 500 .72rem/1.35 var(--f-mono); color: var(--muted); }
.of-price { margin-top: 10px; font-variant-numeric: tabular-nums; }
.of-price b { font: 700 clamp(1.45rem, 1.9vw, 1.85rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.of-price small { font-size: .8rem; color: var(--muted); }
.of.is-reco .of-price b, .of.is-current .of-price b { color: var(--accent); }
.of-user { font-size: .82rem; font-weight: 600; color: var(--ok); }
.of-buy { font-size: .76rem; color: var(--muted); margin-bottom: 10px; }
.of-body .btn { margin-top: auto; width: 100%; padding: 11px 12px; font-size: .9rem; }
.of-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: .8rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.of-link svg { width: 14px; height: 14px; transition: transform .2s; }
.of-link:hover svg { transform: translateX(3px); }
.js-price { transition: opacity .2s; }
.js-price.is-updating { opacity: .3; }

.offers-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; padding: 0; }
.offers-strip li { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.offers-strip svg { width: 16px; height: 16px; color: var(--ok); }
.offers-more { margin-top: 14px; text-align: center; }
.offers-more summary { display: inline-flex; cursor: pointer; list-style: none; font-size: .86rem; font-weight: 600; color: var(--accent); padding: 6px 10px; border-radius: 8px; }
.offers-more summary::-webkit-details-marker { display: none; }
.offers-more summary::after { content: "+"; margin-left: 8px; font-family: var(--f-mono); }
.offers-more[open] summary::after { content: "–"; }
.offers-more[open] { text-align: left; }
.offers-more .table-scroll { margin-top: 14px; }

@media (max-width: 1100px) {
  .offers { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(230px, 30%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .offers::-webkit-scrollbar { display: none; }
  .of { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .offers { grid-auto-columns: 78%; }
  .plan-switch { width: 100%; }
  .plan-switch label { flex: 1; }
  .plan-switch span { padding: 8px 6px; }
}
/* Tarifs : tenir dans un écran, y compris sur les portables de 768 px de haut */
.offers-head { margin-bottom: 16px; }
.offers-head > div { gap: 6px; }
.of-body { gap: 3px; padding: 12px 14px 12px; }
.of-price { margin-top: 6px; }
.of-buy { margin-bottom: 8px; }
.of-link { margin-top: 6px; }
.offers-strip { margin-top: 14px; }
.offers-more { margin-top: 8px; }
@media (min-width: 1101px) and (max-height: 860px) {
  .offers-sec { padding-block: 28px 24px; }
  .offers-head h2 { font-size: 1.8rem; }
  .of-img { aspect-ratio: 21 / 9; }
  .of-body .btn { padding: 9px 12px; }
}
@media (min-width: 1101px) and (max-height: 740px) {
  .offers-sec { padding-block: 20px 16px; }
  .offers-sub { font-size: .88rem; }
  .offers-strip { margin-top: 10px; }
}
@media (max-width: 640px) { .of-img { aspect-ratio: 2 / 1; } }
