/* Layout : bandes pleine largeur qui alternent papier → encre → brume, colonne de 1200 px,
   contrôles en pilule, écrans de l'app dans des cadres d'appareils. Un seul geste fort : le surligneur jaune. */
:root {
  --ink: #151514;        /* noir Trame : titres, bandes sombres, cadres */
  --yellow: #FFC72C;     /* surligneur : action principale, onglet actif, surlignage */
  --yellow-deep: #E0A800;
  --paper: #FFFFFF;      /* fond de page */
  --fog: #F2EEE4;        /* panneaux et bandes claires, gris chaud */
  --wash: #FFF3CC;       /* lavis jaune pâle */
  --text: #3E3C37;       /* texte courant */
  --muted: #6E6A60;      /* texte secondaire */
  --line: rgba(21, 21, 20, .12);
  --pin: #C2410C;        /* repères sur plan, comme dans l'app */
  --late: #9A3B1B; --late-soft: #FDEBE4;
  --ok: #24603A; --ok-soft: #E3F1E6;
  --on-ink: #F4F1E8; --on-ink-muted: #B9B4A6;

  --display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-card: 12px; --radius-large: 28px; --pill: 999px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.55 var(--body); letter-spacing: -0.006em; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.band-ink :focus-visible { outline-color: var(--yellow); }

.wrap { max-width: 1232px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* Typographie */
.display { font-family: var(--display); font-weight: 900; color: var(--ink); letter-spacing: -0.035em; line-height: .95; margin: 0; text-wrap: balance; }
h1.display { font-size: clamp(46px, 8.6vw, 112px); }
h2.display { font-size: clamp(36px, 5.6vw, 72px); }
h3 { font-family: var(--body); font-weight: 800; color: var(--ink); font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--text); max-width: 62ch; margin: 0; }
.eyebrow { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.small { font-size: 15px; color: var(--muted); }
p { margin: 0; }

/* Surligneur, repris du logo */
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.08em; top: .42em; bottom: -.02em; background: var(--yellow); border-radius: .28em .5em .35em .55em; transform: rotate(-1.6deg); transform-origin: left center; animation: sweep .9s .35s cubic-bezier(.65, 0, .2, 1) both; }
.band-ink .hl { color: var(--ink); }
@keyframes sweep { from { transform: rotate(-1.6deg) scaleX(0); } }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: var(--pill); font: 800 17px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow-deep); }
.btn-yellow:hover { transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--fog); }
.link { font-weight: 800; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { text-decoration-color: var(--yellow-deep); }
.band-ink .link { color: var(--on-ink); }

/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo img { height: 34px; width: auto; }
.seg { display: inline-flex; gap: 2px; padding: 4px; background: var(--fog); border-radius: var(--pill); }
.seg a, .seg button { font: 700 15px/1 var(--body); color: var(--ink); text-decoration: none; padding: 11px 16px; border-radius: var(--pill); border: 0; background: transparent; cursor: pointer; white-space: nowrap; }
.seg a:hover, .seg button:hover { background: rgba(21,21,20,.06); }
.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-right .link { display: none; font-size: 16px; }
.nav .btn { min-height: 42px; padding: 10px 20px; font-size: 16px; }
@media (min-width: 960px) { .nav-links { display: inline-flex; } .nav-right .link { display: inline; } }

/* Héros */
.hero { padding-block: clamp(40px, 7vw, 88px) 0; text-align: center; overflow: hidden; }
.hero .wrap { display: grid; justify-items: center; gap: 28px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; background: var(--wash); color: var(--ink); border-radius: var(--pill); font: 700 14px/1.2 var(--body); text-decoration: none; }
.badge b { background: var(--ink); color: var(--yellow); border-radius: var(--pill); padding: 4px 9px; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero .lead { text-align: center; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: var(--fog); color: var(--ink); font: 700 14px/1 var(--body); }
.chip svg { width: 16px; height: 16px; flex: none; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 700 15px/1.3 var(--body); color: var(--muted); margin-top: -10px; }
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-deep); }

/* Le fil : signature de Trame. Un trait jaune relie chaque source au point du CR qu'elle a produit. */
.threads { position: relative; }
.thread-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.thread-layer path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }
.thread-layer circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; }
.thread-layer.off { display: none; }

/* Héros : démo animée à trois volets (WhatsApp, saisie, dictée) */
.demo { width: 100%; max-width: 1160px; margin: 8px auto clamp(56px, 8vw, 104px); padding: clamp(16px, 3vw, 32px); background: var(--fog); border-radius: var(--radius-large); text-align: left; }
.demo-tabs { display: flex; justify-content: center; margin-bottom: 22px; }
.demo-tabs .seg { background: var(--paper); flex-wrap: wrap; justify-content: center; border-radius: 24px; }
.demo-tabs button { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.demo-tabs button svg { width: 16px; height: 16px; flex: none; }
.demo-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 3px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / calc(var(--prog, 0) * 100%) 100% no-repeat, rgba(21,21,20,.14); }
.machine[hidden] { display: none; }

/* Volet saisie : notes tapées, photo, repère sur le plan */
.notes, .rec-pane { background: var(--fog); padding: 18px; display: grid; gap: 12px; align-content: start; }
.note, .recorder, .transcript { background: var(--paper); border-radius: 16px; padding: 12px 14px; display: grid; gap: 10px; box-shadow: 0 1px 0 rgba(21,21,20,.06); transition: opacity .45s ease, transform .45s ease; }
.note .lab, .transcript .lab { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.typed { font-size: 15px; line-height: 1.45; color: var(--ink); min-height: 1.45em; }
.typed.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tool { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); padding: 7px 10px; border-radius: var(--pill); background: var(--fog); color: var(--ink); transition: background .2s, transform .2s; }
.tool svg { width: 14px; height: 14px; }
.tool.press { background: var(--yellow); transform: scale(1.06); }
.att { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; transition: opacity .45s ease, transform .45s ease; }
.att img { width: 104px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.att .cap { font: 600 11px/1.3 var(--mono); color: var(--muted); }
.miniplan { width: 132px; aspect-ratio: 16 / 10; display: block; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.miniplan .pin { transform-box: fill-box; transform-origin: 50% 100%; }
.machine.playing .in .pin { animation: drop .6s .15s cubic-bezier(.2, .9, .3, 1.35) both; }
@keyframes drop { from { transform: translateY(-18px) scale(.5); opacity: 0; } }
.point .att { grid-column: 2; margin-top: 4px; }
@media (max-width: 480px) { .att img { width: 88px; } .miniplan { width: 112px; } .point .att .cap { display: none; } }

/* Volet dictée : enregistrement, transcription en direct, découpage en points */
.recorder { display: flex; align-items: center; gap: 14px; }
.mic { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: none; }
.mic svg { width: 22px; height: 22px; }
.rec .mic::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--yellow); animation: ring 1.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.rec-meta { display: grid; gap: 8px; flex: 1; min-width: 0; }
.rec-meta .top { display: flex; justify-content: space-between; gap: 10px; font: 700 13px/1 var(--body); color: var(--ink); }
.rec-meta .top time { font: 600 13px/1 var(--mono); color: var(--late); }
.bars { display: flex; align-items: center; gap: 3px; height: 26px; min-width: 0; overflow: hidden; }
.bars i { width: 3px; border-radius: 2px; background: var(--ink); opacity: .75; flex: none; transform-origin: center; }
.rec .bars i { animation: eq .8s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.09s); }
@keyframes eq { to { transform: scaleY(.3); } }
.transcript .typed-block { font-size: 15px; line-height: 1.5; color: var(--ink); font-style: italic; }
.transcript .typed-block .typed { font-size: inherit; min-height: 0; }
.transcript .att img, .transcript .ph-missing { width: 76px; }
.split { display: flex; align-items: center; gap: 8px; font: 700 14px/1.3 var(--body); color: var(--ink); padding: 4px 2px; transition: opacity .45s ease; }
.split svg { width: 16px; height: 16px; flex: none; }

/* Volet saisie : la page du PDF se construit point par point */
.plan-lg { width: 100%; max-width: 340px; height: auto; }
.plan-lg .tap { fill: rgba(255,199,44,.55); transform-box: fill-box; transform-origin: center; }
.machine.playing .tap.in { animation: tap .7s ease-out both; }
@keyframes tap { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hint { font: 700 13px/1.3 var(--body); color: var(--pin); transition: opacity .45s ease; }
.ph-missing { display: grid; place-items: center; width: 104px; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--fog); font: 600 11px/1 var(--mono); color: var(--muted); }
.pdfwrap { background: #E7E3D8; padding: clamp(10px, 2vw, 18px); }
.pdfpage { background: #fff; border-radius: 3px; padding: 18px 20px 12px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -28px rgba(21,21,20,.5); color: var(--ink); font-size: 12px; line-height: 1.4; }
.pdf-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 2px solid #1F3A5F; }
.pdf-co { display: flex; gap: 8px; align-items: center; }
.pdf-co i { width: 28px; height: 28px; border-radius: 6px; background: #1F3A5F; color: #fff; display: grid; place-items: center; font: 900 14px/1 var(--display); font-style: normal; flex: none; }
.pdf-co b { display: block; font: 800 12.5px/1.2 var(--body); color: #1F3A5F; }
.pdf-co small, .pdf-ref { font: 500 10px/1.35 var(--mono); color: var(--muted); }
.pdf-ref { text-align: right; }
.pdf-title { font: 900 17px/1.2 var(--display); letter-spacing: -0.01em; margin-top: 10px; }
.pdf-sub { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.pdf-sec { margin-top: 10px; background: #1F3A5F; color: #fff; font: 700 10px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; }
.pdf-row { display: grid; grid-template-columns: 1.1fr 1.2fr .7fr; gap: 8px; padding: 5px 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.pdf-row span:last-child { text-align: right; color: var(--muted); } .pdf-row .ok { color: var(--ok) !important; }
.pdf-pt { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px 62px; gap: 4px 8px; padding: 8px; border-bottom: 1px solid var(--line); align-items: start; }
.pdf-pt .n { font: 700 11px/1.4 var(--mono); color: #1F3A5F; }
.pdf-pt p { font-size: 12px; }
.pdf-pt .who { font-size: 10.5px; color: var(--muted); }
.pdf-pt .st { font: 700 10px/1.4 var(--body); color: var(--late); text-align: right; }
.pdf-media { grid-column: 2 / -1; display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.pdf-media img, .pdf-media .ph-missing { width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.pdf-zoom { display: grid; gap: 3px; } .pdf-zoom .miniplan { width: 112px; aspect-ratio: 62 / 41; border-radius: 3px; }
.pdf-zoom small { font: 500 9.5px/1 var(--mono); color: var(--muted); }
.pdf-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); font: 500 9px/1.3 var(--mono); color: var(--muted); }
.pdfpage [data-p] > * { transition: opacity .45s ease; }
.machine.playing .pdfpage [data-p]:not(.in) > * { opacity: 0; }
.machine.playing .pdfpage [data-p]:not(.in)::before { left: 8px; top: 9px; width: 24px; height: 12px; border-radius: 3px; }
.machine.playing .pdfpage [data-p]:not(.in)::after { left: 46px; top: 9px; }
.machine.playing .pdfpage [data-p="parts"]:not(.in) { position: relative; }
@media (max-width: 480px) { .pdf-co small, .pdf-foot span:first-child { display: none; } .pdf-pt { grid-template-columns: 26px minmax(0, 1fr) 58px; } .pdf-pt .who { display: none; } .pdf-media img, .pdf-media .ph-missing, .pdf-zoom .miniplan { width: 96px; } }

/* Volet photo de notes : la page du carnet est lue, puis devient des points */
.snap { position: relative; border-radius: 14px; overflow: hidden; background: #FBF8EF; box-shadow: 0 1px 0 rgba(21,21,20,.08), 0 14px 30px -20px rgba(21,21,20,.45); transform: rotate(-1.2deg); transition: opacity .45s ease, transform .45s ease; }
.snap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.snap:has(img) { aspect-ratio: 3 / 4; width: min(100%, 380px); justify-self: center; }
.snap:has(img) .paper { position: absolute; inset: 0; visibility: hidden; }
.paper { display: grid; gap: 2px; padding: 22px 22px 26px 44px; font: 500 21px/30px "Caveat", cursive; color: #22305A; background: repeating-linear-gradient(transparent 0 29px, rgba(47,93,138,.22) 29px 30px) 0 18px, #FBF8EF; border-left: 2px solid rgba(194,65,12,.35); background-clip: padding-box; }
.paper b { font-weight: 700; } .paper u { font-weight: 700; text-decoration-thickness: 1.5px; margin-top: 4px; } .paper .em { color: #9A3B1B; font-weight: 700; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(rgba(255,199,44,0), rgba(255,199,44,.55), rgba(255,199,44,0)); pointer-events: none; }
.machine.playing .scanline.in { animation: scan 1.8s ease-in-out forwards; }
.machine:not(.playing) .scanline { display: none; }
@keyframes scan { 0% { top: -36px; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Volet photo de notes : l'appareil photo du téléphone vise le carnet, déclenche, puis la photo se pose */
.machine.playing .snap { transform: none; }
.machine.playing.shot .snap { transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.2,.9,.3,1.2), opacity .45s ease; }
.viewfinder, .flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.machine.aim:not(.shot) .viewfinder { opacity: 1; }
.viewfinder i { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; opacity: .9; }
.viewfinder .c1 { left: 22px; top: 22px; border-right: 0; border-bottom: 0; } .viewfinder .c2 { right: 22px; top: 22px; border-left: 0; border-bottom: 0; }
.viewfinder .c3 { left: 22px; bottom: 22px; border-right: 0; border-top: 0; } .viewfinder .c4 { right: 22px; bottom: 22px; border-left: 0; border-top: 0; }
.viewfinder .focus { position: absolute; left: 50%; top: 45%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border: 2px solid var(--yellow); border-radius: 6px; }
.machine.aim .viewfinder .focus { animation: focus .8s ease-out both; }
@keyframes focus { from { transform: scale(1.5); opacity: 0; } 60% { transform: scale(.92); opacity: 1; } to { transform: scale(1); opacity: 1; } }
.shutter { position: absolute; left: 50%; bottom: 18px; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(21,21,20,.35), 0 0 0 7px #fff, 0 6px 18px rgba(21,21,20,.35); }
.machine.shot .shutter { animation: press .3s ease; }
@keyframes press { 50% { transform: scale(.82); } }
.flash { background: #fff; border-radius: 14px; }
.machine.shot .flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: .95; } 100% { opacity: 0; } }

/* Web et mobile : seulement les captures, arrondies, sans cadre d'appareil */
#partout .phone, #partout .tablet, #partout .laptop { background: none; padding: 0; box-shadow: none; border-radius: 0; }
#partout .phone::after, #partout .laptop .bar { display: none; }
#partout .phone img, #partout .tablet img, #partout .laptop img { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
#partout .phone img { border-radius: 28px; }

/* Tarifs : trois formules, bascule mensuel ou annuel */
.ul { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 92% / 100% 32%; font-weight: 700; color: var(--ink); white-space: nowrap; }
.beta-note { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 760px; margin: 0 auto 28px; padding: 12px 18px; border-radius: 18px; background: var(--wash); color: var(--ink); font-size: 16px; text-align: center; }
.beta-note b { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 5px 9px; border-radius: var(--pill); }
.billing { display: flex; width: max-content; margin: 0 auto 32px; padding: 4px; gap: 2px; background: var(--fog); border-radius: var(--pill); }
.billing button { font: 700 15px/1 var(--body); color: var(--ink); background: transparent; border: 0; padding: 11px 18px; border-radius: var(--pill); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.billing small { font: 700 11px/1 var(--body); background: var(--yellow); color: var(--ink); padding: 4px 7px; border-radius: var(--pill); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--fog); border-radius: var(--radius-large); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan .ticks { gap: 10px; font-size: 16px; }
.plan .btn { justify-content: center; margin-top: auto; }
.plan-main { background: var(--ink); color: var(--on-ink); }
.plan-main .plan-name, .plan-main .plan-price b { color: var(--yellow); }
.plan-main .plan-for, .plan-main .ticks li, .plan-main .plan-price span { color: var(--on-ink); }
.plan-tag { position: absolute; top: 20px; right: 20px; font: 700 12px/1 var(--body); background: var(--yellow); color: var(--ink); padding: 6px 10px; border-radius: var(--pill); }
.plan-name { font: 900 24px/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font: 900 52px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.plan-price span { font-size: 15px; color: var(--muted); }
.plan-for { font-size: 16px; color: var(--text); }
.plan-bill { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }
.plan-main .plan-bill { color: var(--on-ink-muted); }
.plans-more { margin: 28px auto 0; max-width: 820px; text-align: center; font-size: 16px; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }

/* Sélecteur de langue (ajouté par build.mjs dans le pied de page) */
.langs { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #2B2A26; padding-top: 18px; }
.langs a { color: var(--on-ink-muted); font-size: 14px; text-decoration: none; }
.langs a[aria-current] { color: var(--yellow); font-weight: 700; }
.langs a:hover { color: var(--on-ink); }

.doc-wrap { position: relative; min-width: 0; }
.doc { position: relative; background: var(--paper); border-radius: 10px; padding: 22px 24px 18px; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(21,21,20,.55); min-width: 0; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid #1F3A5F; }
.doc-head .co { display: flex; align-items: center; gap: 8px; font: 800 13px/1.2 var(--body); color: #1F3A5F; }
.doc-head .co i { width: 22px; height: 22px; border-radius: 5px; background: #1F3A5F; color: #fff; display: grid; place-items: center; font: 900 12px/1 var(--display); font-style: normal; }
.doc-head small { font: 600 11px/1.3 var(--mono); color: var(--muted); text-align: right; }
.doc-title { font: 900 21px/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; padding: 14px 0 12px; }
.doc .ess { background: var(--fog); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: var(--ink); margin-bottom: 4px; }
.doc .ess b { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 5px; }
.doc .point { position: relative; }
.doc .thumb { grid-column: 2; width: min(150px, 60%); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-top: 4px; }
.doc-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font: 600 11px/1 var(--mono); color: var(--muted); }
.point.done p { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--muted); }
@media (max-width: 860px) { .doc { padding: 18px 16px 14px; } }

.laptop { width: 88%; margin: 0 auto 0 2%; background: var(--ink); border-radius: 18px; padding: 0 8px 8px; box-shadow: 0 30px 60px -30px rgba(21,21,20,.45); }
.laptop .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px; }
.laptop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3936; }
.laptop .bar span { margin: 0 auto; transform: translateX(-24px); font: 500 12px/1 var(--mono); color: #9C978A; background: #24231F; padding: 6px 16px; border-radius: var(--pill); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.laptop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 6px; }
.phone { background: var(--ink); border-radius: 15% / 7%; padding: 2.4%; box-shadow: 0 30px 50px -24px rgba(21,21,20,.5); position: relative; }
.phone::after { content: ""; position: absolute; top: 3.6%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); background: var(--ink); border-radius: var(--pill); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 12.5% / 5.8%; }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.head { display: grid; gap: 20px; max-width: 900px; margin-bottom: clamp(36px, 5vw, 60px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .display { color: var(--yellow); }
.band-ink .lead, .band-ink p { color: var(--on-ink); }
.band-ink .small, .band-ink .eyebrow { color: var(--on-ink-muted); }
.band-fog { background: var(--fog); }

/* Machine : discussion → compte rendu */
.machine { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.12fr); align-items: start; gap: 0; }
.pane { background: var(--paper); border-radius: var(--radius-large); box-shadow: 0 0 0 1px var(--line); overflow: hidden; min-width: 0; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pane-head .t { font: 800 16px/1.2 var(--body); color: var(--ink); }
.pane-head .s { font: 500 12px/1.2 var(--mono); color: var(--muted); }
.chat { background: var(--fog); padding: 18px; display: grid; gap: 10px; align-content: start; }
.bubble { background: var(--paper); border-radius: 4px 16px 16px 16px; padding: 10px 14px 12px; max-width: 92%; box-shadow: 0 1px 0 rgba(21,21,20,.06); transition: opacity .45s ease, transform .45s ease; }
.bubble.me { justify-self: end; border-radius: 16px 4px 16px 16px; background: #FFF8DF; }
.bubble .who { display: flex; justify-content: space-between; gap: 16px; font: 800 13px/1.3 var(--body); margin-bottom: 3px; }
.bubble .who time { font: 500 11px/1.4 var(--mono); color: var(--muted); }
.bubble p { font-size: 15px; line-height: 1.45; color: var(--ink); }
.bubble-photo { width: min(220px, 100%); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.c1 { color: #24603A; } .c2 { color: #2F5D8A; } .c3 { color: #9A3B1B; } .c4 { color: #6B4FA0; }
.k { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 85% / 100% 40%; border-radius: 3px; transition: background-size .6s cubic-bezier(.65,0,.2,1); }
.machine.playing .k { background-size: 0% 40%; }
.machine.playing .k.lit { background-size: 100% 40%; }

.wire { position: relative; align-self: stretch; display: grid; place-items: center; }
.wire::before { content: ""; position: absolute; top: 40px; bottom: 40px; left: 50%; width: 5px; margin-left: -2.5px; border-radius: 3px; background: var(--yellow); }
.wire .core { position: sticky; top: 45%; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; z-index: 1; box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px rgba(21,21,20,.35); }
.wire .core img { width: 40px; height: 40px; border-radius: 9px; }
.machine.pulse .wire .core { animation: beat .6s ease; }
@keyframes beat { 40% { transform: scale(1.14); box-shadow: 0 0 0 1px var(--line), 0 0 0 10px rgba(255,199,44,.45); } }

.cr { padding: 8px 22px 22px; display: grid; gap: 0; align-content: start; }
.cr-title { display: flex; align-items: center; gap: 14px; padding: 16px 0 14px; }
.cr-title .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: none; }
.cr-title .ic svg { width: 20px; height: 20px; }
.cr-title b { display: block; font: 900 22px/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.cr-title small { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rub { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 0 6px; border-top: 1px solid var(--line); margin-top: 6px; }
.point { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); transition: opacity .45s ease, transform .45s ease; }
.rub + .point { border-top: 0; }
.rnum { grid-row: span 2; align-self: start; display: inline-grid; place-items: center; min-width: 42px; height: 26px; padding: 0 8px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font: 600 13px/1 var(--mono); }
.point p { font-size: 15px; line-height: 1.45; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { font: 700 12px/1 var(--body); padding: 6px 9px; border-radius: var(--pill); background: var(--fog); color: var(--ink); white-space: nowrap; }
.tag.todo { background: var(--late-soft); color: var(--late); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.plain { background: transparent; padding-inline: 2px; color: var(--muted); }
/* Pendant l'animation, les sources apparaissent une à une ; les points pas encore rédigés restent en lignes grises */
.machine .point { position: relative; }
.machine .point > * { transition: opacity .45s ease; }
.machine.playing [data-s]:not(.in) { opacity: 0; transform: translateY(10px); }
.machine.playing [data-p]:not(.in) > * { opacity: 0; }
.machine.playing [data-p]:not(.in)::after { content: ""; position: absolute; left: 54px; right: 10%; top: 16px; height: 46px; background: linear-gradient(var(--fog), var(--fog)) 0 0 / 100% 12px no-repeat, linear-gradient(var(--fog), var(--fog)) 0 20px / 70% 12px no-repeat, linear-gradient(var(--fog), var(--fog)) 0 40px / 34% 10px no-repeat; }
.machine.playing [data-p]:not(.in)::before { content: ""; position: absolute; left: 0; top: 14px; width: 42px; height: 26px; border-radius: var(--pill); background: var(--fog); }
.machine-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 22px; }
.replay { font: 700 14px/1 var(--body); background: var(--fog); color: var(--ink); border: 0; border-radius: var(--pill); padding: 10px 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.replay:hover { background: #E8E3D6; }
.band-fog .replay { background: var(--paper); }
@media (max-width: 860px) {
  .machine { grid-template-columns: minmax(0, 1fr); }
  .wire { height: 80px; }
  .wire::before { top: 0; bottom: 0; }
  .wire .core { position: relative; top: auto; }
}

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--fog); border-radius: var(--radius-large); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 900 18px/1 var(--display); }
.step .visual { margin-top: auto; border-radius: 16px; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; position: relative; box-shadow: 0 0 0 1px var(--line); }
.step .visual img { width: 100%; height: 100%; object-fit: cover; }
.sheet { position: absolute; inset: 0; display: grid; align-content: end; padding: 16px; background: linear-gradient(#EDE9DE, #E2DDD0); }
.sheet ul { list-style: none; margin: 0; padding: 6px; background: var(--paper); border-radius: 14px; box-shadow: 0 12px 30px -16px rgba(21,21,20,.4); }
.sheet li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font: 600 15px/1.2 var(--body); color: var(--ink); border-radius: 10px; }
.sheet li + li { border-top: 1px solid var(--line); }
.sheet li.on { background: var(--wash); }
.sheet li small { font: 500 12px/1 var(--mono); color: var(--muted); }
.sheet .title { font: 800 13px/1 var(--body); color: var(--muted); text-align: center; padding: 6px 0 10px; }
.sheet.send .box { background: var(--paper); border-radius: 14px; padding: 12px; display: grid; gap: 7px; box-shadow: 0 12px 30px -16px rgba(21,21,20,.4); }
.sheet.send .title { font: 800 13px/1 var(--body); color: var(--muted); text-align: center; padding: 2px 0 4px; }
.sheet.send .fmts { display: flex; gap: 6px; }
.sheet.send .fmts span { flex: 1; text-align: center; font: 800 13px/1 var(--body); padding: 8px 0; border-radius: 9px; background: var(--fog); color: var(--ink); }
.sheet.send .fmts .on { background: var(--ink); color: var(--paper); }
.sheet.send .who { display: flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--body); color: var(--ink); }
.sheet.send .who::before { content: ""; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--muted); flex: none; }
.sheet.send .who.on::before { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151514' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: none; }
.sheet.send .go { margin-top: 3px; text-align: center; font: 800 14px/1 var(--body); padding: 10px; border-radius: var(--pill); background: var(--yellow); color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow-deep); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Plateformes */
.tabs-row { display: flex; justify-content: center; margin-bottom: 40px; }
.band-ink .seg { background: #262521; flex-wrap: wrap; justify-content: center; border-radius: 24px; }
.band-ink .seg button { color: var(--on-ink); padding: 13px 18px; }
.band-ink .seg button:hover { background: rgba(255,255,255,.08); }
.seg button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.band-ink .seg button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.plat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.plat[hidden] { display: none; }
.plat:not([hidden]) { animation: fadein .5s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }
.plat .device { display: grid; place-items: center; min-width: 0; }
.plat .phone { width: min(300px, 72%); box-shadow: 0 0 0 1px #3A3934, 0 30px 60px -30px rgba(0,0,0,.8); }
.tablet { width: 100%; background: #0B0B0A; border-radius: 26px; padding: 14px; box-shadow: 0 0 0 1px #2E2D29; }
.tablet img { width: 100%; aspect-ratio: 1180 / 820; object-fit: cover; border-radius: 12px; }
.plat .laptop { width: 100%; margin: 0; box-shadow: 0 0 0 1px #2E2D29; }
.plat .laptop .bar i { background: #34332F; }
.plat-copy { display: grid; gap: 20px; min-width: 0; }
.plat-copy h3 { color: var(--paper); font-size: clamp(26px, 3vw, 34px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151514' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.band-fog .ticks li::before, .section:not(.band-ink) .ticks li::before { background-color: var(--yellow); }
.sync { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.sync div { border-top: 1px solid #34332F; padding-top: 18px; display: grid; gap: 6px; }
.sync b { color: var(--paper); font: 800 18px/1.3 var(--body); }
.sync span { color: var(--on-ink-muted); font-size: 16px; }
@media (max-width: 900px) { .plat { grid-template-columns: minmax(0, 1fr); } .sync { grid-template-columns: minmax(0, 1fr); } }

/* Fonctions */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--fog); border-radius: var(--radius-large); padding: 28px; display: grid; gap: 12px; align-content: start; overflow: hidden; min-width: 0; position: relative; }
.tile p { color: var(--text); font-size: 16px; }
.tile .shot { margin: 10px -28px -28px 0; border-radius: 14px 0 0 0; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--paper); }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.t-plan { grid-column: span 3; }
.t-plan .shot { aspect-ratio: 16 / 8; }
.t-plan .crop { --w: 150%; --x: -36%; --y: -8%; }
.t-rub { grid-column: span 3; }
.t-rub .shot { aspect-ratio: 16 / 8; }
.t-rub .crop { --w: 200%; --x: -40%; --y: -6%; }
.t-src { grid-column: span 3; }
.t-src .shot { aspect-ratio: 16 / 8; }
.t-src .crop { --w: 182%; --x: -36%; --y: -28%; }
.t-due { grid-column: span 3; background: var(--ink); }
.t-due h3 { color: var(--paper); } .t-due p { color: var(--on-ink-muted); }
.watch { background: var(--late-soft); border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; margin-top: 10px; }
.watch .eyebrow { color: var(--late); }
.watch .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; font: 700 15px/1.3 var(--body); color: var(--ink); background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.watch .row span { font: 600 12px/1 var(--mono); color: var(--late); white-space: nowrap; }
.t-exp { grid-column: span 6; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 40px; align-items: center; }
.t-exp .txt { display: grid; gap: 12px; }
.t-exp .formats { margin-top: 0; }
@media (max-width: 960px) { .t-exp { grid-template-columns: minmax(0, 1fr); } }
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.fmt { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); min-width: 120px; flex: 1; }
.fmt b { font: 900 22px/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.fmt span { font-size: 14px; color: var(--muted); }
.recips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.recips .tag { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.recips .tag.on { background: var(--ink); color: var(--paper); box-shadow: none; }
@media (max-width: 960px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-plan, .t-rub, .t-src, .t-due, .t-exp { grid-column: auto; grid-row: auto; }
}

/* Pour qui : une bande de domaines qui défile toute seule ; on peut la faire glisser, elle s'arrête au survol */
.marquee { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; gap: 20px; width: max-content; padding: 6px 20px 10px; }
.dom { width: clamp(250px, 24vw, 320px); flex: none; background: var(--paper); border-radius: var(--radius-large); overflow: hidden; display: flex; flex-direction: column; }
.dom-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wash) url("assets/icon-app.png") center / 64px no-repeat; }
.dom-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dom-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.dom-body .eyebrow { color: #8A6400; }
.dom h3 { font-size: 21px; }
.dom p { font-size: 15px; color: var(--muted); }
.card-pt { margin-top: auto; }
.card-pt { background: var(--fog); border-radius: 18px; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
.card-pt p { font-size: 15px; color: var(--ink); }
.also { margin: 28px auto 0; max-width: 780px; text-align: center; color: var(--muted); font-size: 16px; }

/* D'un CR au suivant */
.cont { display: grid; grid-template-columns: minmax(0, 1fr) minmax(48px, 110px) minmax(0, 1fr); align-items: start; }
.cont .doc { padding-bottom: 14px; }
.cont .doc-title { font-size: 19px; }
.cont .gap { min-height: 1px; }
.tag.carry { background: var(--wash); color: var(--ink); }
.tag.new { background: var(--ink); color: var(--yellow); }
.cont-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .cont { grid-template-columns: minmax(0, 1fr); gap: 0; } .cont .gap { height: 40px; } .cont .gap::before { content: ""; display: block; width: 5px; height: 100%; margin: 0 auto; border-radius: 3px; background: var(--yellow); } }

/* PDF */
.pdf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pdf .copy { display: grid; gap: 22px; min-width: 0; }
.fan { --p: .5; position: relative; aspect-ratio: 1 / 1.05; min-width: 0; }
.fan img { position: absolute; width: 58%; aspect-ratio: 1200 / 1697; object-fit: cover; object-position: top; border-radius: 6px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -28px rgba(21,21,20,.5); transition: transform .1s linear; }
.fan .p1 { left: 21%; top: 2%; z-index: 3; transform: rotate(calc((var(--p) - .5) * 4deg)); }
.fan .p2 { left: 4%; top: 8%; z-index: 2; transform: rotate(calc(-4deg - var(--p) * 6deg)) translateX(calc(var(--p) * -6%)); }
.fan .p3 { left: 38%; top: 10%; z-index: 1; transform: rotate(calc(4deg + var(--p) * 6deg)) translateX(calc(var(--p) * 6%)); }
.pins-note { position: absolute; z-index: 4; right: 0; bottom: 8%; display: inline-flex; gap: 10px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--pill); padding: 10px 16px 10px 10px; font: 700 14px/1.2 var(--body); }
.pins-note i { width: 26px; height: 26px; border-radius: 50%; background: var(--pin); color: var(--paper); display: grid; place-items: center; font: 600 11px/1 var(--mono); font-style: normal; }
@media (max-width: 900px) { .pdf { grid-template-columns: minmax(0, 1fr); } .fan { max-width: 520px; width: 100%; margin: 0 auto; } }

/* Sécurité */
.safe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.safe div { background: var(--paper); border-radius: var(--radius-large); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.safe svg { width: 28px; height: 28px; }
.safe p { font-size: 16px; }
@media (max-width: 1000px) { .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .safe { grid-template-columns: minmax(0, 1fr); } }

/* Tarifs */
.price { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-large); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.price .display { color: var(--yellow); }
.price .amount { font: 900 clamp(64px, 9vw, 120px)/.9 var(--display); color: var(--paper); letter-spacing: -0.04em; }
.price .amount small { font: 700 18px/1.2 var(--body); color: var(--on-ink-muted); letter-spacing: 0; display: block; margin-top: 10px; }
.price .ticks li { color: var(--on-ink); }
.price-side { display: grid; gap: 22px; min-width: 0; }
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--fog); border-radius: 20px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 800 18px/1.35 var(--body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font: 800 20px/1 var(--body); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details p { padding: 0 0 22px; font-size: 17px; max-width: 70ch; }

/* Appel final */
.final { text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 30px; }
.final h2.display { font-size: clamp(44px, 8vw, 104px); color: var(--paper); }

/* Pied de page */
footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid #2B2A26; }
footer .wrap { padding-block: 48px calc(36px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
footer h4 { margin: 0 0 12px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--on-ink); text-decoration: none; font-size: 16px; }
footer a:hover { text-decoration: underline; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .mark { height: 46px; width: auto; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Pastille flottante, façon badge d'application */
.dock { position: fixed; z-index: 30; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 132px; background: var(--ink); color: var(--yellow); border-radius: 18px; padding: 14px; display: none; gap: 10px; text-decoration: none; font: 700 13px/1.25 var(--body); box-shadow: 0 18px 40px -20px rgba(21,21,20,.6); transition: transform .2s; }
.dock:hover { transform: translateY(-2px); }
.dock img { width: 44px; height: 44px; border-radius: 11px; }
.dock span { color: var(--on-ink-muted); font-weight: 600; }
@media (min-width: 1100px) { .dock { display: grid; } }

/* L'éventail des pages PDF ne doit jamais élargir la page sur téléphone */
#pdf { overflow-x: clip; }

.recips-l { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); align-self: center; margin-right: 4px; }

/* Intro : au premier chargement, le logo de la barre s'écrit à la main lettre par lettre,
   puis le trait jaune file sous « tram » jusqu'au « e ». Une seule fois par navigateur. */
.logo { position: relative; display: block; }
.logo-anim { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-on .logo-anim { display: block; }
.intro-on .logo img { visibility: hidden; }
.logo-anim path { fill: none; stroke: #fff; stroke-opacity: 0; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
