html{-webkit-text-size-adjust:100%}body{margin:0}img{max-width:100%}[hidden]{display:none!important}:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}

/* Layout : une page de contrat annotée. Hero = extrait de CGV surligné au feutre, puis sections en colonne sobre sur fond papier. */
:root {
  --paper: #FFFFFF;
  --sheet: #FFFFFF;
  --ink: #111814;
  --muted: #45524B;
  --line: #CDD5CC;
  --soft: #EEF2ED;
  --accent: #1D5946;
  --accent-ink: #FFFFFF;
  --hl: #F3DE45;
  --hl-ink: #17201C;
  --font-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--paper);
}
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-family: var(--font-body); font-weight: 650; font-size: 18px; line-height: 1.35; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.lead { color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 6px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }

/* Header */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1; }
.logo { width: 30px; height: 30px; flex: none; display: block; }
.logo .bar { fill: var(--hl); }
.logo .c { fill: none; stroke: var(--accent); stroke-width: 3.6; stroke-linecap: round; }
nav.links { display: flex; gap: 26px; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--ink); }
header.top .btn { padding: 11px 16px; font-size: 15px; }
@media (max-width: 720px) { nav.links { display: none; } }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding-block: 64px 72px;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 82% / 100% 34%; color: inherit; }
.hero .copy { display: grid; gap: 24px; min-width: 0; }
.hero .lead { font-size: 19px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.facts li::before { content: "✓ "; color: var(--accent); }

.sheet {
  background: var(--sheet); border: 1px solid var(--line); border-radius: 3px;
  padding: 34px 34px 26px; min-width: 0; margin: 0;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(20, 35, 28, .35);
  transform: rotate(.6deg);
  font-size: 15.5px; line-height: 1.65;
}
.sheet .doc-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px; }
.sheet h4 { font: 600 15px/1.3 var(--font-body); margin: 18px 0 8px; }
.sheet h4:first-of-type { margin-top: 0; }
.sheet p + p { margin-top: 8px; }
.sheet .num { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-right: 6px; }
.hl {
  color: var(--hl-ink);
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 55% / 100% 80%;
  padding: 0 2px; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: mark .7s cubic-bezier(.3,.7,.3,1) both;
}
.d1 { animation-delay: .35s; } .d2 { animation-delay: .75s; } .d3 { animation-delay: 1.1s; } .d4 { animation-delay: 1.45s; }
@keyframes mark { from { background-size: 0% 80%; } to { background-size: 100% 80%; } }
@media (prefers-reduced-motion: reduce) { .hl { animation: none; } }
.hl sup, .notes sup { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--accent); margin-left: 1px; }
.notes { list-style: none; padding: 14px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--muted); }
.sign { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.sign span { flex: 1; border-top: 1px solid var(--ink); padding-top: 6px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 64px; }
  .hero .sheet { display: none; }
  .sheet { transform: none; padding: 24px 20px 20px; }
}

/* Sections */
section.block .wrap { padding-block: 96px; display: grid; gap: 44px; }
section.block + section.block .wrap { border-top: 1px solid var(--line); }
.head { display: grid; gap: 14px; max-width: 720px; }
@media (max-width: 720px) { section.block .wrap { padding-block: 64px; gap: 30px; } .lead { font-size: 16.5px; } }

/* Problems */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.case { padding: 22px 26px 4px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.case + .case { padding-left: 26px; border-left: 1px solid var(--line); }
.case p { color: var(--muted); font-size: 16px; }
.case .fix { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
@media (max-width: 820px) {
  .cases { grid-template-columns: 1fr; }
  .case, .case + .case { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Catalogue (catégories repliables) */
.groups { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.group { display: block; border-bottom: 1px solid var(--line); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 20px 44px 20px 0; position: relative; cursor: pointer; list-style: none; }
.group-head::-webkit-details-marker { display: none; }
.group-head::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--font-display); font-size: 28px; color: var(--accent); transition: transform .2s ease; }
.group[open] > .group-head::after { transform: rotate(45deg); }
.group[open] > .contents { padding-bottom: 24px; }
.groups .bonus { margin-top: 24px; }
.item .where { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-top: 6px; }
.item .fmt { font: 500 11px/1 var(--font-mono); color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 2px 5px; vertical-align: 2px; margin-left: 4px; }
.group-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.group-head p { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.group-head p b { color: var(--accent); font-weight: 500; }
.contents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.item .ref { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); padding-top: 2px; }
.item h4 { font: 600 16.5px/1.35 var(--font-body); margin: 0; }
.item p { color: var(--muted); font-size: 15px; margin-top: 3px; }
.bonus { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding: 18px 20px; background: var(--soft); border-radius: 6px; font-size: 15.5px; }
.bonus b { font-weight: 650; }
@media (max-width: 760px) { .contents { grid-template-columns: 1fr; } .item { grid-template-columns: 44px 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: "Étape " counter(s); font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Sur-mesure */
.sm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sm-copy { display: grid; gap: 20px; min-width: 0; }
.sm-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sm-points li { padding-left: 22px; position: relative; color: var(--muted); }
.sm-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 13px; height: 5px; border-radius: 1.5px; background: var(--hl); }
.sm-points b { color: var(--ink); font-weight: 650; }
.sm-cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.sm-price { font-size: 15px; color: var(--muted); }
.sm-price b { color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.sm-demo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.sm-q { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; display: grid; gap: 8px; }
.sm-step { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.sm-q .lbl { font-weight: 600; font-size: 15px; }
.sm-select { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--accent); border-radius: 6px; padding: 10px 12px; background: var(--paper); font-size: 16px; }
.sm-arrow { text-align: center; font-size: 20px; line-height: 1; color: var(--accent); }
.sm-clause { background: var(--sheet); border: 1px solid var(--line); border-radius: 3px; padding: 22px 24px; font-size: 15px; line-height: 1.65; box-shadow: 0 1px 0 var(--line), 0 24px 48px -30px rgba(20, 35, 28, .35); }
.sm-art { font-weight: 650; font-size: 14.5px; margin-bottom: 6px; }
.sm-val { background: color-mix(in srgb, var(--accent) 16%, transparent); border-bottom: 1.5px solid var(--accent); border-radius: 2px; padding: 0 2px; }
@media (max-width: 880px) { .sm-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; gap: 18px; grid-template-rows: auto auto auto 1fr auto; min-width: 0; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 28px 50px -32px var(--accent); margin-block: -12px; padding-block: 40px; }
.plan .tag { justify-self: start; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--soft); color: var(--muted); padding: 4px 9px; border-radius: 3px; }
.plan.featured .tag { background: var(--accent); color: var(--accent-ink); }
.plan .pitch { color: var(--muted); font-size: 15.5px; margin-top: -8px; }
.price { display: grid; gap: 4px; }
.price b { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 14.5px; }
.price .count { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15.5px; align-content: start; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 13px; height: 5px; border-radius: 1.5px; background: var(--hl); }
.plan li.inherit { font-weight: 600; padding-left: 0; }
.plan li.inherit::before { content: none; }
.plan .btn { width: 100%; }
.buy-note { font-size: 14px; color: var(--muted); text-align: center; min-height: 1.2em; margin-top: 8px; }
.under { color: var(--muted); font-size: 15px; text-align: center; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; width: 100%; justify-self: center; }
  .plan.featured { margin-block: 0; padding-block: 28px; order: -1; }
}
@media (max-width: 560px) { .plan { padding: 24px 20px; } .plan.featured { padding-block: 24px; } }

/* Simulateurs */
.sim { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; background: var(--soft); border-bottom: 1px solid var(--line); }
.tab { appearance: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; cursor: pointer; font: 600 15px/1.25 var(--font-body); color: var(--muted); padding: 14px 18px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--sheet); border-bottom-color: var(--accent); }
.panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; padding: 28px; }
.fields { display: grid; gap: 16px; align-content: start; min-width: 0; margin: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field .lbl { font-size: 14px; font-weight: 600; }
.field input[type="number"], .field input[type="date"], .field select {
  font: 16px var(--font-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%; min-width: 0;
}
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: flex; align-items: center; gap: 8px; font-size: 15px; border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; cursor: pointer; background: var(--paper); }
.seg input { accent-color: var(--accent); margin: 0; }
.hint { font-size: 13.5px; color: var(--muted); }
.result { background: var(--paper); border-radius: 6px; padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.result .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.result .big { font-family: var(--font-display); font-size: clamp(36px, 5vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.rows { display: grid; gap: 8px; font-size: 15px; }
.rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.rows div > :last-child { font-family: var(--font-mono); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows div.total { border-bottom: 0; font-weight: 650; }
.warn { font-size: 14px; background: color-mix(in srgb, var(--hl) 40%, transparent); color: var(--ink); border-radius: 6px; padding: 10px 12px; }
.legal { font-size: 13px; color: var(--muted); }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.res-actions .btn { padding: 10px 14px; font-size: 14px; }
.res-actions a { font-size: 14px; color: var(--accent); }
@media (max-width: 820px) { .panel { grid-template-columns: 1fr; padding: 20px; gap: 24px; } .tab { flex: 1 1 auto; padding: 12px 14px; font-size: 14px; } }

/* Approach */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { display: grid; gap: 10px; align-content: start; min-width: 0; padding-top: 18px; border-top: 1px solid var(--ink); }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { display: grid; max-width: 820px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--font-display); font-size: 26px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 65ch; }

/* Avertissement et encadré légal */
.notice { max-width: 66ch; font-size: 15px; color: var(--ink); background: var(--soft); border-left: 3px solid var(--hl); border-radius: 0 6px 6px 0; padding: 12px 16px; }
.encadre { border: 2px solid var(--ink); border-radius: 4px; padding: 16px 18px; display: grid; gap: 8px; }
.encadre p { font-size: 14.5px; }
.encadre-t { font-weight: 650; text-transform: uppercase; letter-spacing: .04em; font-size: 13px !important; }

/* Pack Société, achat à l'unité, demande sur mesure */
.plans-sub { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 12px 0 -18px; }
.plan-wide { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 20px 32px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; }
.plan-wide .tag { justify-self: start; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--soft); color: var(--muted); padding: 4px 9px; border-radius: 3px; }
.plan-wide h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin-top: 8px; }
.plan-wide p { color: var(--muted); font-size: 15px; }
.plan-wide .price b { font-size: 44px; }
.plan-wide .btn { white-space: nowrap; }
.plan-wide .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-wide .pick .buy-note { grid-column: 1 / -1; }
.plan-wide, .plan-wide > * { min-width: 0; }
@media (max-width: 560px) { .plan-wide .btn { white-space: normal; } .plan-wide .pick { grid-template-columns: 1fr; } }
.unit { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: end; background: var(--soft); border-radius: 8px; padding: 22px 24px; }
.unit h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.unit p { color: var(--muted); font-size: 15px; }
.unit-row { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1 / -1; min-width: 0; }
.unit-row select { flex: 1 1 280px; min-width: 0; width: 100%; font: 16px var(--font-body); color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.unit .buy-note { grid-column: 1 / -1; text-align: left; margin: 0; }
@media (max-width: 820px) { .plan-wide { grid-template-columns: 1fr; } .unit { grid-template-columns: minmax(0, 1fr); } }

/* Aperçu protégé : image dessinée dans un canvas, masquée dès que la page perd le focus */
.peek-btn { justify-self: start; appearance: none; border: 0; background: none; padding: 2px 0; cursor: pointer; font: 600 14.5px/1.3 var(--font-body); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.peek-btn:hover { text-decoration-thickness: 2px; }
.plan .peek-btn { justify-self: center; margin-top: -6px; }
.plan-wide .peek-btn { display: inline-block; margin-top: 10px; }
dialog.peek { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(10, 20, 15, .55); overflow: auto; }
dialog.peek::backdrop { background: rgba(12, 20, 16, .62); }
.peek-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.peek-head .eyebrow { margin-bottom: 4px; }
.peek-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.peek-x { appearance: none; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 6px; width: 36px; height: 36px; flex: none; cursor: pointer; font-size: 22px; line-height: 1; }
.peek-stage { position: relative; background: #fff; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.peek-stage canvas { display: block; width: 100%; height: auto; max-height: calc(100dvh - 250px); min-height: 220px; object-fit: contain; object-position: top center; pointer-events: none; }
.peek-shield { position: absolute; inset: 0; }
.peek-veil { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 20px; font-weight: 600; color: #17201C; background: rgba(255, 255, 255, .55); }
.peek-stage.veiled canvas { filter: blur(18px); }
.peek-stage.veiled .peek-veil { display: grid; }
.peek-lock { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; text-align: center; color: #17201C; font-size: 15px; font-weight: 600; }
.peek-lock span { display: inline-block; background: #fff; border: 1px solid #D6DCD4; border-radius: 999px; padding: 8px 16px; box-shadow: 0 8px 24px -14px rgba(10, 20, 15, .5); }
.peek-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.peek-foot p { font-size: 13.5px; color: var(--muted); flex: 1 1 240px; }
.peek-foot .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.peek-foot .btn { padding: 12px 16px; font-size: 15px; }
@media (max-width: 560px) { .peek-lock { padding: 10px; font-size: 13px; } .peek-lock span { padding: 6px 12px; } .peek-head h3 { font-size: 19px; } }
@media print { dialog.peek, .peek-stage { display: none !important; } }
.req { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 28px; max-width: 820px; width: 100%; }
.req form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; }
.req .full { grid-column: 1 / -1; }
.req label.lbl { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.req input[type="text"], .req input[type="email"], .req select, .req textarea { font: 16px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; width: 100%; min-width: 0; font-weight: 400; }
.req textarea { min-height: 130px; resize: vertical; }
.req .hint { font-weight: 400; }
.req .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; cursor: pointer; }
.req .agree input { accent-color: var(--accent); width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.req-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
@media (max-width: 680px) { .req { padding: 22px 18px; } .req form { grid-template-columns: 1fr; } }

/* Renonciation au droit de rétractation */
.consent-box { max-width: 720px; width: 100%; justify-self: center; display: grid; gap: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { accent-color: var(--accent); width: 16px; height: 16px; margin: 1px 0 0; flex: none; }
.consent-msg { font-size: 14px; color: var(--ink); min-height: 1.2em; }
.consent-msg:not(:empty) { background: color-mix(in srgb, var(--hl) 40%, transparent); border-radius: 4px; padding: 4px 8px; }

/* Liste d'attente */
.waitlist { background: var(--sheet); border: 2px solid var(--accent); border-radius: 8px; padding: 22px 24px; max-width: 720px; width: 100%; justify-self: center; }
.waitlist form { display: grid; gap: 12px; margin: 0; }
.wait-title { font-size: 16px; }
.wait-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wait-row input { flex: 1 1 240px; min-width: 0; font: 16px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.wait-note { font-size: 14px; color: var(--muted); }
.wait-note.ok { color: var(--accent); font-weight: 600; }
.wait-note.err { color: var(--ink); background: color-mix(in srgb, var(--hl) 40%, transparent); border-radius: 4px; padding: 4px 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pages légales */
.legal .wrap { padding-block: 56px 80px; }
.legal-page { max-width: 760px; display: grid; gap: 14px; }
.legal-page .back { font-size: 14px; color: var(--accent); }
.legal-page h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; margin: 4px 0 2px; }
.legal-page .updated { color: var(--muted); font-size: 14px; }
.legal-page h2 { font-family: var(--font-body); font-weight: 650; font-size: 18px; margin-top: 18px; }
.legal-page p, .legal-page li { color: var(--ink); font-size: 16px; }
.legal-page ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ph { background: var(--hl); color: var(--hl-ink); border-radius: 2px; padding: 0 3px; font-size: .92em; }
footer a { color: inherit; }

/* Final CTA + footer */
.final .wrap { padding-block: 80px; display: grid; justify-items: start; gap: 22px; border-top: 1px solid var(--line); }
.final h2 { max-width: 18ch; }
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 32px 40px; display: grid; gap: 16px; font-size: 14px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .disclaimer { font-size: 13px; max-width: 80ch; }

/* Onglets des offres */
.pick-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pick-tabs [role=tab] { appearance: none; text-align: left; cursor: pointer; background: var(--sheet); border: 1.5px solid var(--line); border-radius: 8px; padding: 16px 18px; display: grid; gap: 4px; font: inherit; color: var(--ink); min-width: 0; transition: border-color .15s, background .15s; }
.pick-tabs [role=tab]:hover { border-color: var(--ink); }
.pick-tabs [role=tab] b { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.15; }
.pick-tabs [role=tab] span { color: var(--muted); font-size: 14.5px; }
.pick-tabs [role=tab][aria-selected="true"] { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 -4px 0 var(--accent); }
.pick-tabs [role=tab]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tab-panel { min-width: 0; }
.plans.spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans.spec .plan { display: flex; flex-direction: column; gap: 14px; }
.plans.spec .plan h3 { font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.15; }
.plans.spec .plan .pitch { margin-top: 0; flex: 1; }
.plans.spec .plan .tag { align-self: flex-start; }
.plans.spec .plan .price b { font-size: 46px; }
.plans.spec .plan .peek-btn { justify-self: auto; align-self: flex-start; margin-top: 0; }
.plan .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan .pick .btn { padding-inline: 10px; }
.plan .pick .buy-note { grid-column: 1 / -1; }
@media (max-width: 980px) { .plans.spec { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .plans.spec { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pick-tabs { gap: 6px; } .pick-tabs [role=tab] { padding: 12px 8px; text-align: center; } .pick-tabs [role=tab] b { font-size: 16.5px; } .pick-tabs [role=tab] span { font-size: 12.5px; } }

/* Fenêtre de paiement : récapitulatif, CGV et renonciation */
dialog.pay { width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(10, 20, 15, .55); overflow: auto; }
dialog.pay::backdrop { background: rgba(12, 20, 16, .62); }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pay-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 25px; margin: 0; }
.pay-x { appearance: none; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 8px; border-radius: 6px; }
.pay-x:hover { background: var(--soft); color: var(--ink); }
.pay-body { padding: 20px 22px 22px; display: grid; gap: 16px; }
.pay-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 16px; background: var(--soft); border-radius: 8px; }
.pay-line b { font-weight: 600; font-size: 16px; min-width: 0; }
.pay-line span { font-family: var(--font-display); font-size: 32px; line-height: 1; white-space: nowrap; }
.pay-ok { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; cursor: pointer; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; }
.pay-ok:has(input:checked) { border-color: var(--accent); }
.pay-ok input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; cursor: pointer; }
.pay-ok a { color: var(--accent); text-underline-offset: 3px; }
#payGo { width: 100%; font-size: 17px; padding-block: 15px; }
#payGo:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.pay-msg { color: #9B2C1F; font-size: 14px; margin: 0; }
.pay-msg:empty { display: none; }
.pay-note { color: var(--muted); font-size: 13.5px; margin: 0; text-align: center; }
.item h4 a { color: inherit; text-decoration: none; }
.item h4 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Pages des modèles */
main { display: block; }
.modele { padding-block: 28px 64px; display: grid; gap: 26px; }
.fil { font-size: 14px; color: var(--muted); }
.fil a { color: inherit; }
.modele h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 6px; }
.modele .lead { font-size: 18px; margin-top: 14px; }
.modele-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.faits { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: 15.5px; }
.faits li { padding-left: 22px; position: relative; }
.faits li::before { content: ""; position: absolute; left: 0; top: .62em; width: 13px; height: 5px; border-radius: 1.5px; background: var(--hl); }
.achat { border: 2px solid var(--accent); border-radius: 10px; padding: 24px; display: grid; gap: 12px; background: var(--sheet); box-shadow: 0 28px 50px -32px var(--accent); }
.achat .prix { font-family: var(--font-display); font-size: 52px; line-height: 1; margin: 0; }
.achat .prix-sous, .achat .note { color: var(--muted); font-size: 14px; margin: 0; }
.achat .btn { width: 100%; }
.achat .soon { background: var(--soft); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; margin: 0; }
.packs-t { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.packs ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.packs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 8px; }
.packs .btn { width: auto; padding: 8px 14px; font-size: 14px; }
.bloc { display: grid; gap: 12px; }
.bloc h2 { font-size: 28px; }
.sommaire { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 40px; font-size: 15.5px; }
.sommaire li { margin-bottom: 6px; break-inside: avoid; }
.etapes { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: 15.5px; }
.voisins { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.voisins li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 9px; font-size: 15.5px; }
.voisins a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.voisins a:hover { text-decoration-color: var(--accent); }
.voisins span { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.retour a { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .modele-top { grid-template-columns: 1fr; } .sommaire { columns: 1; } }
@media (max-width: 600px) { .voisins { grid-template-columns: 1fr; } header.top .links { display: none; } }
