/*
 * Site vitrine de Carbon Copy — charte de l'app (docs/claude/grele.md § Design) :
 * fond pierre, cartes blanches à filet, accent principal = l'ENCRE (noir en
 * clair, blanc en sombre), UNE touche d'ambre jamais décorative (le chiffre
 * accordé et l'offre de lancement), Barlow, chiffres tabulaires. Boutons en C
 * (bouts du C du logo : pointe 0,33 et coupe 0,115 de la hauteur), sans ombre ;
 * ce qui se lit (pastille d'état) reste arrondi.
 */
@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url('/assets/fonts/Barlow_400Regular.woff2?v=7dd4741a19') format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url('/assets/fonts/Barlow_600SemiBold.woff2?v=0aecc5d046') format('woff2'); }
@font-face { font-family: Barlow; font-weight: 800; font-display: swap; src: url('/assets/fonts/Barlow_800ExtraBold.woff2?v=1f28c031cb') format('woff2'); }

:root {
  --bg: #FAFAF9;
  --bg-alt: #F3F2F0;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #FFFFFF;
  --line: rgba(17, 17, 17, 0.08);
  --text: #3F3F46;
  --ink: #111111;
  --on-ink: #FFFFFF;
  --muted: #71717A;
  --amber: #F59E0B;
  --amber-ink: #B45309;
  --ok-bg: #E8F5EC;
  --ok-ink: #166534;
  --radius: 22px;
  --btn-h: 48px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F10;
    --bg-alt: #151517;
    --card: rgba(24, 24, 27, 0.72);
    --card-solid: #18181B;
    --line: rgba(255, 255, 255, 0.09);
    --text: #D4D4D8;
    --ink: #F4F4F5;
    --on-ink: #111111;
    --muted: #A1A1AA;
    --amber-ink: #F59E0B;
    --ok-bg: #12301D;
    --ok-ink: #86EFAC;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Logo clair / foncé selon le mode du navigateur */
.on-dark { display: none; }
@media (prefers-color-scheme: dark) { .on-light { display: none; } .on-dark { display: block; } }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo img { width: 140px; }
@media (min-width: 720px) { .logo img { width: 168px; } }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; text-decoration: none; font-weight: 600; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 420px) { .nav a { padding: 0 5px; font-size: 15px; } .logo img { width: 112px; } }

/* Boutons en C — MÊME forme que l'app (carbone/src/lib/cShape.ts, 02/12/2026) :
   hexagone allongé, pointe 0,33 et coupe 0,115 de la hauteur, chaque angle
   adouci par une courbe. L'ancien polygone à angles vifs (« trop grossier »,
   retour du propriétaire) est remplacé par un masque : deux embouts dessinés
   (SVG, hauteur 100 → largeur 44,5) et un milieu qui s'étire. Libellé sur une
   ligne (`nowrap`) : les embouts sont taillés sur la hauteur du bouton. */
.btn {
  --tip: calc(var(--btn-h) * 0.33);
  --capw: calc(var(--btn-h) * 0.445);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h); padding: 0 calc(var(--tip) + 14px);
  font: 800 16px/1 Barlow, system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  -webkit-mask: var(--c-mask); mask: var(--c-mask);
}
.btn, .btn::before {
  --c-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44.5 100' preserveAspectRatio='none'%3E%3Cpath d='M44.5,0Q33,0 26.67,9.6L6.33,40.4Q0,50 6.33,59.6L26.67,90.4Q33,100 44.5,100Z'/%3E%3C/svg%3E") left center / var(--capw) 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44.5 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0Q11.5,0 17.83,9.6L38.17,40.4Q44.5,50 38.17,59.6L17.83,90.4Q11.5,100 0,100Z'/%3E%3C/svg%3E") right center / var(--capw) 100% no-repeat,
    linear-gradient(#000, #000) center / calc(100% - 2 * var(--capw) + 2px) 100% no-repeat;
}
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { opacity: .9; }
.btn-line { background: var(--line); color: var(--ink); position: relative; }
.btn-line::before {
  content: ''; position: absolute; inset: 1.5px; background: var(--bg); z-index: -1;
  --capw: calc((var(--btn-h) - 3px) * 0.445);
  -webkit-mask: var(--c-mask); mask: var(--c-mask);
}
.btn-line { isolation: isolate; }
.btn-line:hover::before { background: var(--card); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }

/* Accueil */
.hero { padding: 56px 0 40px; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 905px) { .hero-in { grid-template-columns: 1.1fr .9fr; gap: 56px; } .hero { padding: 88px 0 64px; } }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.note { color: var(--muted); font-size: 15px; }

/* Fiche d'exemple */
.sheet { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 22px; min-width: 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.sheet-no { font-weight: 800; font-size: 1.1rem; margin: 0; }
.sheet-car { color: var(--muted); margin: 0; font-size: 15px; }
.chip { display: inline-block; border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok-ink); }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sheet-table th, .sheet-table td { padding: 9px 4px; border-top: 1px solid var(--line); text-align: right; }
.sheet-table th[scope="row"], .sheet-table thead th:first-child { text-align: left; font-weight: 600; }
.sheet-table thead th { color: var(--muted); font-weight: 600; font-size: 13px; border-top: 0; }
.sheet-table td:last-child { white-space: nowrap; }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 600; }
.sheet-total strong { font-size: 1.6rem; font-weight: 800; }
.amber { color: var(--amber-ink); }
.sheet figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Étapes */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.steps { list-style: none; margin: 0; padding: 28px 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: s; display: grid; gap: 4px; }
.steps li::before { content: counter(s); font-weight: 800; font-size: 13px; color: var(--muted); }
.steps strong { font-size: 1.2rem; font-weight: 800; }
.steps span { color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding-top: 8px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; max-width: 40em; }
.page-head { padding-bottom: 24px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 905px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid-3 { padding-top: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card p { color: var(--muted); margin: 0; }
.split { display: grid; gap: 32px; }
@media (min-width: 905px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split p { color: var(--muted); }

.where { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.where li { display: grid; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
@media (min-width: 720px) { .where li { grid-template-columns: 180px 1fr; align-items: baseline; } }
.where span { color: var(--muted); }

/* Questions */
.faq { max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 52px 16px 22px; min-height: 48px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.cta { text-align: center; display: grid; justify-items: center; gap: 8px; }
.cta p { color: var(--muted); max-width: 34em; }

/* Tarifs */
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.plan-main { border: 2px solid var(--ink); }
.plan-for { color: var(--muted); }
.price { margin: 18px 0; }
.price strong { font-size: 2.6rem; font-weight: 800; }
.price span { color: var(--muted); }
.plan ul { margin: 0; padding-left: 1.1em; }
.plan li { margin: 6px 0; }
.offer { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 18px 22px; }
.offer p { margin: 0; }

/* Texte long */
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p { color: var(--muted); overflow-wrap: anywhere; }
.prose a { color: var(--ink); }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-in { display: grid; gap: 24px; }
.foot .muted { margin: 10px 0 0; font-size: 15px; }

/* ── Pages de contenu (22/11/2026) ─────────────────────────────────────── */
.h3 { font-size: 1.15rem; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); }
.more-link { margin-top: 24px; font-weight: 600; }
.more-link a, .related a { color: var(--ink); }
.grid-4 { margin-top: 24px; }
@media (min-width: 905px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 905px) { .grid-contact { grid-template-columns: repeat(2, 1fr); } }
.grid-contact .card { display: grid; gap: 10px; align-content: start; }
.grid-contact .btn { justify-self: start; margin-top: 6px; }
.card h2, .card h3 { margin-bottom: .4em; }
.card-link { text-decoration: none; display: grid; align-content: start; gap: 6px; }
.card-link:hover { border-color: var(--ink); }
.card-link .more { font-weight: 600; font-size: 15px; margin-top: 8px; }
.card-link .more::after { content: ' →'; }
.btn-small { --btn-h: 44px; font-size: 15px; }
.actions-center { justify-content: center; }

/* Fil d'Ariane */
.crumbs { border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '›'; margin: 0 8px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Texte long : blocs, puces cochées, tableaux */
.prose .block { margin-top: 8px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 1em; }
table.data caption { caption-side: bottom; text-align: left; color: var(--muted); font-size: 14px; padding-top: 8px; }
table.data th, table.data td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
table.data tbody th { font-weight: 600; color: var(--ink); }
table.data td { color: var(--muted); }
.legal h2 { font-size: 1.15rem; }
.related { margin-top: 40px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.related ul { margin: 0; padding-left: 1.1em; }
.related li { margin: 6px 0; }

/* Capture réelle sur l'accueil */
.hero-shot { margin: 0; justify-self: center; }
.hero-shot img { width: 100%; max-width: 360px; border-radius: 34px; border: 1px solid var(--line); }
.hero-shot figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }

/* Visite guidée (sans script) */
.tour-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; background: var(--card); }
.tours { display: grid; gap: 56px; }
.tour > h2 { margin-bottom: 16px; }
.step { display: grid; gap: 20px; align-items: center; scroll-margin-top: 96px; padding-bottom: 32px; }
@media (min-width: 905px) { .step { grid-template-columns: auto 1fr; gap: 40px; } }
.tour:has(.step:target) .step:not(:target) { display: none; }
.tour:not(:has(.step:target)) .step:not(:first-of-type) { display: none; }
.shot { position: relative; justify-self: center; }
.shot img { border: 1px solid var(--line); background: var(--card); }
.shot-phone img { width: min(340px, 86vw); border-radius: 30px; }
.shot-window img { width: min(760px, 100%); border-radius: 14px; }
.shot-window { width: 100%; max-width: 760px; }
.spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid var(--amber); background: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .spot { animation: pulse 1.6s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 55%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
}
.step-text { max-width: 30em; }
.step-no { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.step-text p:not(.step-no) { font-size: 1.12rem; }

/* Page liens */
.links-page { padding-top: 40px; }
.links-wrap { max-width: 520px; display: grid; justify-items: center; text-align: center; }
.links-logo { width: 200px; margin-bottom: 12px; }
.links { list-style: none; padding: 0; margin: 16px 0 0; width: 100%; display: grid; gap: 10px; }
.links a { display: grid; gap: 2px; padding: 14px 20px; min-height: 48px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.links a:hover { border-color: var(--ink); }
.links span { color: var(--muted); font-size: 14px; }

/* Pied de page en colonnes */
.foot-brand p { margin: 10px 0 0; }
.foot-brand a { color: var(--muted); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
@media (min-width: 905px) { .foot-cols { grid-template-columns: repeat(4, auto); gap: 0 40px; } .foot-in { grid-template-columns: 1fr auto; } }
.foot-cols div { display: grid; align-content: start; }
.foot-title { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 12px 0 4px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--ink); }
@media (max-width: 600px) { .nav .nav-wide { display: none; } }


/* ── Refonte du 23/11/2026 : l'identité de l'APP sur le site ──────────────
 * Fond en verre de l'app (theme/ambient.ts, AMBIENT, mêmes valeurs), cartes
 * translucides sans flou, pictogrammes de l'app (Icon.tsx, lus par build.js),
 * captures réelles comme fil de l'accueil, panneau sombre de « Orage en cours ». */
body { background: #F6F6F5; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(176,188,206,0.65) 0, transparent 38%),
    radial-gradient(circle at 88% 38%, rgba(214,204,192,0.55) 0, transparent 40%),
    radial-gradient(circle at 25% 82%, rgba(186,198,214,0.55) 0, transparent 42%),
    linear-gradient(180deg, #EEF0F3, #F6F6F5);
}
@media (prefers-color-scheme: dark) {
  body { background: #0F0F10; }
  body::before {
    background:
      radial-gradient(circle at 18% 12%, rgba(70,86,112,0.55) 0, transparent 38%),
      radial-gradient(circle at 88% 40%, rgba(96,84,72,0.4) 0, transparent 40%),
      radial-gradient(circle at 25% 82%, rgba(60,74,96,0.5) 0, transparent 42%),
      linear-gradient(180deg, #121417, #0F0F10);
  }
}
.top { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.section-alt, .band { background: transparent; border: 0; }
.lead, .section-lead, .card p, .split p, .prose p, .prose li, .faq details p, .story-text p, .where span { color: var(--text); }
table.data, .faq details, .related, .plan, .offer, .card, .where li, .links a { background: var(--card); }

.ico { width: 22px; height: 22px; flex: none; }
.kicker .ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head h2 { margin-bottom: .3em; }

/* Accueil — héros */
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
.proofs { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text); font-weight: 600; font-size: 15px; }
.proofs li { display: inline-flex; align-items: center; gap: 8px; }
.proofs .ico { width: 18px; height: 18px; }
.hero-stage { margin: 0; min-width: 0; display: grid; grid-template-columns: 30% 70%; align-items: end; }
.stage-desk { grid-column: 1 / 3; grid-row: 1; width: 84%; justify-self: end; align-self: start; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px -28px rgba(17,17,17,.35); }
.stage-phone { grid-column: 1; grid-row: 1; width: 100%; position: relative; z-index: 1; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(17,17,17,.45); }
.hero-stage figcaption { grid-column: 1 / 3; color: var(--muted); font-size: 13px; text-align: right; margin-top: 12px; }
@media (max-width: 904px) { .hero-stage { max-width: 600px; width: 100%; justify-self: center; } }

/* Étapes */
.steps { padding: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; gap: 6px; }
.steps li::before { content: none; }
.step-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--on-ink); margin-bottom: 6px; }
.step-ico .ico { width: 22px; height: 22px; }
.steps span:not(.step-ico) { color: var(--text); }

/* Histoires : une capture réelle par étape du métier */
.story { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
.story + .story { border-top: 1px solid var(--line); }
@media (min-width: 905px) {
  .story { grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 48px 0; }
  .story-flip .story-text { order: 2; }
}
.story h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.story .kicker { display: inline-flex; align-items: center; }
.story-shot { justify-self: center; min-width: 0; width: 100%; display: grid; justify-items: center; }
.shot-phone-frame img { width: min(320px, 78vw); border-radius: 30px; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(17,17,17,.4); }
.shot-window-frame img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(17,17,17,.4); }
.arrow-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--ink); text-decoration: none; }
.arrow-link::after { content: '→'; margin-left: 8px; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(3px); }

/* Panneau sombre, comme la carte « Orage en cours » de l'app (sombre dans les deux modes) */
.storm-panel { position: relative; overflow: hidden; background: #111111; color: #F4F4F5; border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
@media (prefers-color-scheme: dark) { .storm-panel { background: #1C1C20; border: 1px solid var(--line); } }
.storm-panel .kicker { color: #A1A1AA; }
.storm-panel h2 { max-width: 22em; }
.storm-panel p { color: #C9C9CF; }
.storm-mark { position: absolute; right: -40px; top: -40px; color: #FFFFFF; opacity: .06; }
.storm-mark .ico { width: 300px; height: 300px; }
.pillars { display: grid; gap: 24px; margin: 28px 0 12px; position: relative; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars .ico { color: #FFFFFF; width: 26px; height: 26px; margin-bottom: 10px; }
.pillars h3 { font-size: 1.1rem; }
.arrow-light { color: #FFFFFF; }
.cta-panel { text-align: center; display: grid; justify-items: center; gap: 6px; }
.cta-panel .actions { margin-top: 14px; }
.btn-light { background: #FFFFFF; color: #111111; }
.btn-ghost { background: rgba(255,255,255,.22); color: #FFFFFF; position: relative; isolation: isolate; }
.btn-ghost::before { content: ''; position: absolute; inset: 1.5px; background: #111111; z-index: -1; --capw: calc((var(--btn-h) - 3px) * 0.445); -webkit-mask: var(--c-mask); mask: var(--c-mask); }
@media (prefers-color-scheme: dark) { .btn-ghost::before { background: #1C1C20; } }

/* Et aussi */
.minis { display: grid; gap: 12px; }
@media (min-width: 600px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 905px) { .minis { grid-template-columns: repeat(4, 1fr); } }
.mini { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; }
.mini:hover { border-color: var(--ink); }
.mini .ico { grid-row: span 2; margin-top: 2px; }
.mini span { color: var(--text); font-size: 15px; }

.card-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--on-ink); margin-bottom: 8px; }
.card-ico .ico { width: 20px; height: 20px; }

/* Prix */
.price-duo { display: grid; gap: 14px; align-items: stretch; }
@media (min-width: 905px) { .price-duo { grid-template-columns: 1fr 1fr 1.2fr; } }
.price-card { display: grid; gap: 4px; padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; text-decoration: none; }
.price-card span { font-weight: 800; font-size: 1.15rem; }
.price-card strong { font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.price-card em { font-style: normal; color: var(--muted); }
.price-main { border: 2px solid var(--ink); }
.price-note { padding: 8px 4px; display: grid; align-content: center; gap: 4px; }
.price-note p { margin: 0; color: var(--text); }
@media (max-width: 599px) {
  .hero-stage { grid-template-columns: 1fr; justify-items: center; }
  .stage-desk { display: none; }
  .stage-phone { grid-column: 1; width: min(280px, 72vw); }
  .hero-stage figcaption { grid-column: 1; margin: 12px 0 0; text-align: center; }
}

/* Audit du 23/11/2026 : cibles de 44 px et plus, en-tête des petits téléphones */
.logo { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs ol { padding: 0; }
@media (max-width: 400px) { .nav .nav-mid { display: none; } .logo img { width: 120px; } }

/* Bouton « Revenir en haut » : hexagone (bouts en C, comme les boutons et le
 * symbole de la marque), sans script. Il apparaît après 400 px de défilement
 * là où le navigateur sait lier une animation au défilement ; ailleurs il
 * reste visible. */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 6; width: 52px; height: 59px; display: block; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.to-top svg { width: 100%; height: 100%; display: block; overflow: visible; }
.to-top .hex { fill: #27272A; }
@media (prefers-color-scheme: dark) { .to-top .hex { fill: var(--ink); } }
.to-top svg { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28)); }
.to-top .arr { stroke: var(--on-ink); }
.to-top:hover .hex { opacity: .88; }
.to-top:focus-visible { outline: none; }
.to-top:focus-visible .hex { stroke: var(--amber); stroke-width: 60; paint-order: stroke; }
@supports (animation-timeline: scroll()) {
  .to-top { animation: to-top-in linear both; animation-timeline: scroll(root); animation-range: 0 400px; }
  @keyframes to-top-in { from { opacity: 0; visibility: hidden; transform: translateY(12px); } to { opacity: 1; visibility: visible; transform: none; } }
}
@media print { .to-top { display: none; } }
/* Grille de trois : empilée jusqu'à 905 px (jamais 2 + 1 orphelin) */
@media (min-width: 600px) and (max-width: 904px) { .grid.grid-3 { grid-template-columns: 1fr; } }
/* Visite sur un écran bas (téléphone à l'horizontale) : capture à la hauteur
 * de l'écran, texte à côté ; les points restent justes (positions en %). */
@media (min-width: 600px) and (max-height: 600px) {
  .step { grid-template-columns: auto 1fr; gap: 28px; }
  .shot-phone img { width: auto; height: calc(100vh - 96px); max-height: 600px; }
  .shot-window img { width: auto; max-width: 100%; max-height: calc(100vh - 96px); }
}
/* En-tête opaque : le texte qui défile dessous ne doit jamais transparaître */
.top { background: var(--bg); }
/* Écran bas (téléphone à l'horizontale) : l'en-tête défile avec la page */
@media (max-height: 600px) { .top { position: static; } }
/* La visite a ses propres boutons d'étape : pas de bouton « haut » par-dessus */
body:has(.tours) .to-top { display: none; }

/* Tarifs (23/11/2026) : offre de lancement et pause mises en avant */
.promo-tag { display: inline-block; background: var(--amber); color: #111111; font-weight: 800; font-size: 13px; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; vertical-align: 2px; }
.promo-banner { margin-top: 18px; font-size: 1.15rem; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.price-promo strong { font-size: 3rem; }
.price-was { margin: -10px 0 18px; color: var(--muted); }
.price-was s { text-decoration-thickness: 2px; }
.price-card em s { text-decoration-thickness: 1.5px; }
.promo-note { margin: 14px 4px 0; color: var(--text); font-size: 15px; }
.pause-panel { margin-top: 28px; display: grid; gap: 24px 48px; align-items: center; }
@media (min-width: 905px) { .pause-panel { grid-template-columns: auto 1fr; } }
.pause-amount { margin: 0; }
.pause-amount strong { font-size: clamp(3.4rem, 9vw, 5rem); font-weight: 800; line-height: 1; color: #FFFFFF; }
.pause-amount span { color: #C9C9CF; font-size: 1.1rem; }
.pause-founder { margin: 6px 0 0; color: #C9C9CF; }
.pause-text h2 { margin-bottom: .4em; }
.ticks-light li { color: #D4D4D8; }
.ticks-light li::before { border-color: #FFFFFF; }
.pause-line strong { color: var(--ink); }
.grid-2 { padding-top: 0; }
@media (min-width: 720px) { .grid.grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* « Fait en France » et « par CarPanel » (demande du propriétaire, 23/11/2026) */
.flag-fr { border-radius: 2px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.trustline { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--text); font-weight: 600; font-size: 15px; }
.trustline li { display: inline-flex; align-items: center; gap: 8px; }
.trustline .ico { width: 18px; height: 18px; }
.frline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.by-cp { color: var(--muted); font-size: 14px; }
.by-cp a { color: var(--text); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ── Repris de CarPanel (23/11/2026) ───────────────────────────────────────
 * 1. Bandeau d'annonce (offre de lancement, tant qu'elle court).
 * 2. Apparition au défilement : cf. plus bas (.rv) et assets/js/reveal.js.
 * 3. Survol des cartes : ombre douce et bordure d'encre (pas de transform,
 *    qui entrerait en conflit avec l'apparition).
 * 4. Visite : l'étape choisie apparaît en fondu. */
.annbar { display: block; background: #111111; color: #D4D4D8; text-decoration: none; font-size: 14px; text-align: center; }
.annbar-in { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 10px; padding: 9px 16px; min-height: 44px; }
.annbar strong { color: #FFFFFF; }
.annbar-more { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.annbar:hover .annbar-more { text-decoration-thickness: 2px; }
@media (prefers-color-scheme: dark) { .annbar { background: #1C1C20; border-bottom: 1px solid var(--line); } }

.card, .mini, .price-card, .steps li, .faq details, .where li, .plan { transition: box-shadow .2s ease, border-color .2s ease; }
.card-link:hover, .mini:hover, .price-card:hover, .plan:hover, .steps li:hover { box-shadow: 0 16px 38px -18px rgba(17, 17, 17, 0.28); border-color: var(--ink); }

/* Apparition au défilement : classes posées par assets/js/reveal.js (une
 * animation en temps, jouée une fois — fluide, comme sur CarPanel). Sans le
 * script, aucune classe : tout est visible. */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .55s cubic-bezier(.22, .61, .36, 1), box-shadow .2s ease, border-color .2s ease; }
.rv.rv-l { transform: translateX(-64px); transition-duration: .7s, .7s, .2s, .2s; }
.rv.rv-r { transform: translateX(64px); transition-duration: .7s, .7s, .2s, .2s; }
.rv.d1 { transition-delay: .09s, .09s, 0s, 0s; }
.rv.d2 { transition-delay: .18s, .18s, 0s, 0s; }
.rv.d3 { transition-delay: .27s, .27s, 0s, 0s; }
.rv.on { opacity: 1; transform: none; }
@media (min-width: 905px) { html, body { overflow-x: clip; } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; transition: none !important; } }
@media print { .rv { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  .step:target { animation: step-in .35s ease-out; }
  @keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media print { .annbar { display: none; } }

/* Visite guidée : position des points (générée par build.js) */
.spot-terrain-1{left:64.4%;top:60.8%}
.spot-terrain-2{left:79.3%;top:94.4%}
.spot-terrain-3{left:50%;top:95.9%}
.spot-bureau-1{left:22.2%;top:40.3%}
.spot-bureau-2{left:8%;top:21.6%}
.spot-bureau-3{left:6.2%;top:60.9%}
