/* Cofilo, the public site: the home page of the October 2026 audit, on the app's
   tokens (src/styles/tokens.css, docs/foundations.md « Visual identity »).
   Panels alternate White, Cloud and Ink; a pale status colour only where it
   means something; blue only for what you tap. Satoshi only, self-hosted.
   Motion: a sticky phone, a timeline that lights once, rolling numbers,
   one-shot reveals, the photo scan line; the hero phone is still. Nothing
   loops for ever; under prefers-reduced-motion everything is still (end of
   file). */

@font-face { font-family: "Satoshi"; src: url("/assets/Satoshi-Regular.1213c0876d.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/Satoshi-Medium.5ce8b434fb.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/Satoshi-Bold.5168cfd083.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #101B29;
  --bleu: #2B5CE6;
  --bleu-hover: #2350CF;
  --nuage: #F5F6F8;
  --ardoise: #636B78;
  --blanc: #FFFFFF;
  --brume: #F0F2F5;
  --piste: #E6E9ED;
  --contour: #808B9C;
  --contour-doux: #DDE1E6;
  --positif: #16856A;
  --positif-texte: #0E6B4F;
  --positif-pale: #E7F5EE;
  --attention-texte: #8A4B08;
  --attention-pale: #FDF2E2;
  --blanc-72: rgba(255, 255, 255, .72);
  --ombre-carte: 0 2px 4px rgba(16, 27, 41, .05), 0 18px 48px rgba(16, 27, 41, .10);
  --ombre-douce: 0 1px 2px rgba(16, 27, 41, .04), 0 4px 16px rgba(16, 27, 41, .06);
  --courbe: cubic-bezier(.2, .8, .2, 1);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --entete: 68px;
  --police: "Satoshi", system-ui, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--nuage); color: var(--ink); font-family: var(--police); font-weight: 400; line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--bleu); }
a:hover { color: var(--bleu-hover); }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sup { font-size: .62em; line-height: 0; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
.panneau-encre :focus-visible, .pied :focus-visible { outline-color: var(--blanc); }
[id] { scroll-margin-top: calc(var(--entete) + 12px); }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.evitement { position: absolute; left: 16px; top: -100px; z-index: 30; background: var(--blanc); color: var(--ink); padding: 12px 16px; border-radius: 12px; }
.evitement:focus { top: 12px; }

.conteneur { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.conteneur-etroit { max-width: 820px; }

/* ── Panels ──────────────────────────────────────────────────────────── */
.panneau { padding: 96px 0; }
.panneau-blanc { background: var(--blanc); }
.panneau-nuage { background: var(--nuage); }
.panneau-encre { background: var(--ink); color: var(--blanc); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; font-family: inherit; line-height: inherit; cursor: pointer; text-decoration: none; font-weight: 700; transition: transform .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primaire { background: var(--bleu); color: var(--blanc); }
.btn-primaire:hover { background: var(--bleu-hover); color: var(--blanc); }
.btn-blanc { background: var(--blanc); color: var(--ink); }
.btn-blanc:hover { color: var(--ink); }
.btn-nav { font-size: 15px; padding: 0 20px; min-height: 44px; white-space: nowrap; }
.btn-grand { font-size: 17px; padding: 0 28px; min-height: 54px; }
.lien-texte { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.lien-texte:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* ── Header ──────────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(16, 27, 41, .06); }
.nav { display: flex; align-items: center; gap: 24px; padding-top: 11px; padding-bottom: 11px; }
.logo { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.logo img { height: 22px; width: auto; }
/* Regular, which loads with the page: no reflow when Medium arrives. */
.nav-liens { display: flex; gap: 8px; font-size: 15px; font-weight: 400; }
.nav-liens a { color: var(--ink); text-decoration: none; white-space: nowrap; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; }
.nav-liens a:hover { background: var(--brume); }
.langues { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ardoise); margin-left: auto; }
.langues a { color: var(--ardoise); text-decoration: none; min-height: 44px; min-width: 28px; display: inline-flex; align-items: center; justify-content: center; }
.langues a:hover { color: var(--ink); text-decoration: underline; }
.langues a[aria-current] { color: var(--ink); font-weight: 700; }

/* ── Section headings ────────────────────────────────────────────────── */
.entete-section { display: flex; flex-direction: column; gap: 10px; max-width: 680px; margin-bottom: 48px; }
.surtitre { font-size: 15px; font-weight: 500; color: var(--ardoise); }
.panneau-encre .surtitre { color: var(--blanc-72); }
.titre-section { font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.texte-moyen { font-size: 18px; color: var(--ardoise); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hero-texte { display: flex; flex-direction: column; gap: 18px; }
.titre-hero { font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
.titre-hero { text-wrap: balance; }
.fort { white-space: nowrap; background-image: linear-gradient(rgba(43, 92, 230, .22), rgba(43, 92, 230, .22)); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .2em; animation: souligne 1s .5s var(--courbe) both; }
.hero-sous { font-size: 17px; color: var(--ardoise); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 24px; }
.cta-bloc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-note { font-size: 14px; color: var(--ardoise); }
.hero-actions .lien-texte { min-height: 54px; }
.confiance { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ardoise); }
.confiance li { display: flex; align-items: center; gap: 10px; }
.confiance svg { flex-shrink: 0; color: var(--ink); }
.hero-visuel { display: flex; justify-content: center; }

/* A phone: an Ink frame, the screen inside at the app's aspect ratio; the
   screens start below the status bar, where the camera notch sits. */
.telephone { position: relative; width: 292px; max-width: 100%; border-radius: 48px; background: var(--ink); padding: 10px; box-shadow: 0 24px 64px rgba(16, 27, 41, .22), 0 6px 16px rgba(16, 27, 41, .10); }
.ecran-boite { position: relative; aspect-ratio: 1170 / 2532; border-radius: 39px; overflow: hidden; background: var(--blanc); }
.ecran-boite > img { position: absolute; left: 0; top: 6%; width: 100%; height: 94%; object-fit: fill; }
.encoche { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 30%; height: 3.6%; border-radius: 999px; background: var(--ink); }

.telephone-hero { width: min(250px, 66vw); }

/* ── Products rail: swipe, snap; every card opens the app ────────────── */
.ruban { padding: 48px 0 56px; }
.ruban-titre { font-size: 15px; font-weight: 500; color: var(--ardoise); margin-bottom: 18px; }
.ruban-piste { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px max(20px, calc((100vw - 1200px) / 2 + 20px)) 12px; scroll-padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px)); scrollbar-width: thin; }
.ruban-piste li { flex: 0 0 176px; scroll-snap-align: start; }
.article { display: flex; flex-direction: column; background: var(--blanc); border-radius: 22px; overflow: hidden; padding-bottom: 14px; color: var(--ink); text-decoration: none; transition: transform .3s var(--courbe), box-shadow .3s ease; }
.article:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--ombre-douce); }
.article img { width: 100%; height: 206px; object-fit: cover; margin-bottom: 12px; background: var(--piste); }
.article-prix { padding: 0 14px; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.article-nom { padding: 0 14px; font-size: 13px; color: var(--ardoise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── How it works: the phone stays, the steps scroll ─────────────────── */
.etapes-grille { position: relative; }
.etapes-visuel { position: sticky; top: var(--entete); z-index: 2; background: var(--blanc); padding: 8px 0 14px; display: flex; justify-content: center; }
.telephone-etapes { width: min(184px, calc(40vh * .5)); border-radius: 32px; padding: 7px; box-shadow: var(--ombre-carte); }
.telephone-etapes .ecran-boite { border-radius: 26px; }
.telephone-etapes .ecran { opacity: 0; transition: opacity .45s ease; }
.telephone-etapes .ecran.actif { opacity: 1; }
.etapes-liste { padding-bottom: 28vh; }
.etape-bloc { min-height: 40vh; display: flex; align-items: center; }
.etape { width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit; background: transparent; border-radius: 22px; padding: 18px; display: flex; gap: 16px; align-items: flex-start; transition: background-color .3s ease; }
.etape:hover { background: var(--nuage); }
.etape.actif { background: var(--nuage); }
.etape-n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px; background: var(--piste); color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s ease, color .3s ease; }
.etape.actif .etape-n { background: var(--bleu); color: var(--blanc); }
.etape-corps { display: flex; flex-direction: column; gap: 4px; }
.etape-titre { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.etape-texte { font-size: 16px; color: var(--ardoise); }
.scan-zone { position: absolute; left: 22%; right: 22%; top: 8%; height: 24%; opacity: 0; transition: opacity .3s ease; }
[data-actif="0"] .scan-zone { opacity: 1; }
.scan { position: absolute; left: -6px; right: -6px; top: 0; height: 100%; animation: balaye 2.6s ease-in-out infinite; }
.scan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 999px; background: var(--blanc); box-shadow: 0 0 14px 4px rgba(43, 92, 230, .7); }

/* ── Prices ──────────────────────────────────────────────────────────── */
.prix-grille { display: grid; gap: 32px; }
.prix-texte .entete-section { margin-bottom: 16px; }
.prix-texte { display: flex; flex-direction: column; gap: 10px; }
.prix-calc { display: flex; flex-direction: column; gap: 14px; }
.calc { background: var(--blanc); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--ombre-carte); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--brume); color: var(--ink); cursor: pointer; }
.preset:hover { background: var(--piste); }
.preset[aria-pressed="true"] { background: var(--blanc); box-shadow: inset 0 0 0 2px var(--bleu); }
.calc-haut { display: flex; flex-direction: column; gap: 10px; }
.calc-label { font-size: 15px; color: var(--ardoise); }
.calc-montant { font-size: 40px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.bascule { font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; align-self: flex-start; text-align: left; }
.bascule-piste { flex-shrink: 0; width: 46px; height: 28px; border-radius: 999px; background: var(--contour); position: relative; transition: background-color .2s ease; }
.bascule-pouce { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: var(--blanc); box-shadow: 0 1px 3px rgba(16, 27, 41, .3); transition: transform .2s var(--courbe); }
.bascule[aria-checked="true"] .bascule-piste { background: var(--bleu); }
.bascule[aria-checked="true"] .bascule-pouce { transform: translateX(18px); }
.calc-lignes { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.calc-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-ligne dd { margin: 0; text-align: right; }
.nombre { font-variant-numeric: tabular-nums; white-space: nowrap; }
.incluse { color: var(--positif-texte); font-weight: 700; }
.calc-total { border-top: 1px solid rgba(16, 27, 41, .08); padding-top: 12px; }
.calc-total dt { font-size: 18px; font-weight: 700; }
.calc-total dd { font-size: 30px; font-weight: 700; }
.exclus { display: flex; gap: 10px; align-items: flex-start; background: var(--attention-pale); color: var(--attention-texte); border-radius: 18px; padding: 14px 16px; font-size: 15px; }
.exclus svg { flex-shrink: 0; margin-top: 2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 12px 0; border-radius: 999px; background: var(--piste); cursor: pointer; }
input[type=range]:focus-visible { outline-offset: 10px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 999px; background: var(--bleu); border: 4px solid var(--blanc); box-shadow: 0 2px 8px rgba(16, 27, 41, .25); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 999px; background: var(--bleu); border: 4px solid var(--blanc); box-shadow: 0 2px 8px rgba(16, 27, 41, .25); cursor: grab; }

/* ── Why Cofilo: a bento of real app fragments ───────────────────────── */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tuile { background: var(--nuage); border-radius: 26px; padding: 18px; }
.tuile figure { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.tuile-image { border-radius: 16px; overflow: hidden; background: var(--blanc); box-shadow: var(--ombre-douce); }
.tuile-image img { width: 100%; height: auto; }
.tuile figcaption { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin-top: auto; }
.chrono { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 13px; color: var(--ardoise); }
.point-ligne { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: relative; }
.point-ligne:not(:last-child)::after { content: ""; position: absolute; left: 26px; right: 4px; top: 11px; height: 2px; background: var(--piste); }
.point { width: 24px; height: 24px; border-radius: 999px; border: 2px solid var(--contour); background: var(--blanc); color: var(--blanc); display: inline-flex; align-items: center; justify-content: center; transition: background-color .35s ease, border-color .35s ease; }
.chrono.vu .point, html:not(.js) .point { background: var(--positif); border-color: var(--positif); }
.point-1 { transition-delay: .4s; }
.point-2 { transition-delay: .8s; }
.point-3 { transition-delay: 1.2s; }
.tuile-rembourse { background: var(--positif-pale); }
.tuile-rembourse figure { gap: 14px; }
.rembourse-icone { width: 56px; height: 56px; border-radius: 999px; background: var(--blanc); color: var(--positif-texte); display: inline-flex; align-items: center; justify-content: center; }
.tuile-rembourse p { font-size: 17px; color: var(--ink); max-width: 26em; }

/* ── Forwarders (Ink) ────────────────────────────────────────────────── */
.bande { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.bande .texte-moyen { color: rgba(255, 255, 255, .8); max-width: 34em; }
.bande .chat-bloc { padding-top: 10px; }

/* ── Questions ───────────────────────────────────────────────────────── */
#questions .titre-section { margin-bottom: 24px; }
.questions { display: flex; flex-direction: column; gap: 10px; }
.question { background: var(--blanc); border-radius: 20px; padding: 0 22px; }
.question summary { cursor: pointer; list-style: none; font-weight: 500; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding: 16px 0; }
.question summary::-webkit-details-marker { display: none; }
.question summary:focus-visible { outline-offset: 6px; }
.question p { padding-bottom: 20px; color: var(--ardoise); font-size: 16px; }
.plus { font-size: 26px; font-weight: 400; color: var(--ink); line-height: 1; transition: transform .3s ease; }
.question[open] .plus { transform: rotate(45deg); }

/* ── Support chat buttons (site/src/chat.mjs) ────────────────────────── */
.lien-chat, .pied-chat { font: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.lien-chat { color: var(--bleu); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.lien-chat:hover { color: var(--bleu-hover); }
/* The guides the questions lead to: plain links, each a full touch target. */
.guides-lies ul { display: flex; flex-direction: column; margin-top: 20px; }
.guides-lies a { font-size: 16px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.pied-chat { color: var(--blanc); min-height: 44px; display: inline-flex; align-items: center; }
.pied-chat:hover { text-decoration: underline; }
[data-chat][aria-busy="true"] { cursor: progress; opacity: .72; }
.chat-bloc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chat-etat:empty { display: none; }
.chat-etat { font-size: 14px; }
.question .chat-etat { display: block; margin-top: 8px; color: var(--ink); }
.panneau-encre .chat-etat, .pied .chat-etat { color: var(--blanc); }

/* ── Last call ───────────────────────────────────────────────────────── */
.fin { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.titre-fin { font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; max-width: 14em; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.pied { background: var(--ink); color: var(--blanc); border-top: 1px solid rgba(255, 255, 255, .08); }
.pied-grille { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.pied-grille img { height: 22px; width: auto; }
.pied-liens { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 15px; }
.pied-liens a { color: var(--blanc); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pied-liens a:hover { color: var(--blanc); text-decoration: underline; }
.pied-mention { font-size: 13px; color: rgba(255, 255, 255, .8); }
.pied-guides { flex-basis: 100%; order: 3; display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 13px; }
.pied-guides a { color: rgba(255, 255, 255, .8); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pied-guides a:hover { color: var(--blanc); text-decoration: underline; }
.pied-mention { order: 4; }

/* ── Breadcrumb (legal pages, guides) ────────────────────────────────── */
.fil { font-size: 14px; color: var(--ardoise); margin-bottom: 16px; }
.fil ol { display: flex; flex-wrap: wrap; align-items: center; }
.fil li { display: inline-flex; align-items: center; min-height: 44px; }
.fil li + li::before { content: "/"; margin: 0 10px; color: var(--contour); }
.fil a { color: var(--ardoise); text-decoration: none; }
.fil a:hover { color: var(--ink); text-decoration: underline; }
.fil [aria-current] { color: var(--ink); }

/* ── Legal pages and 404 ─────────────────────────────────────────────── */
.legal { padding-top: 24px; padding-bottom: 80px; }
.legal h1 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px; }
.legal-texte { background: var(--blanc); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.6; box-shadow: var(--ombre-douce); }
.legal-version { color: var(--ardoise); font-size: 14px; }
.legal-texte strong { font-weight: 700; }
.introuvable { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 16px; }
.introuvable h1 { font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.introuvable .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-secondaire { background: var(--brume); color: var(--ink); font-weight: 500; }
.btn-secondaire:hover { color: var(--ink); background: var(--piste); }

/* ── Guides: light reading pages, one call, the related guides ──────── */
.guide, .guides { padding-top: 24px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.guide .fil, .guides .fil { margin-bottom: -16px; }
.guide h1, .guides h1 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.guide-date { font-size: 14px; color: var(--ardoise); margin-top: 12px; }
.guide-article { background: var(--blanc); border-radius: 28px; padding: 40px; box-shadow: var(--ombre-douce); }
.guide-texte { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; max-width: 40em; }
.guide-texte h2 { font-size: 24px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; margin-top: 16px; }
.guide-texte h3 { font-size: 18px; line-height: 1.35; font-weight: 500; margin-top: 8px; margin-bottom: -8px; }
.guide-texte ul, .guide-texte ol { display: flex; flex-direction: column; gap: 10px; padding-left: 1.4em; }
.guide-texte ul { list-style: disc; }
.guide-texte ol { list-style: decimal; }
.guide-texte li::marker { color: var(--ardoise); }
.guide-texte strong { font-weight: 700; }
.guide-texte a { text-underline-offset: 3px; }
.guide-appel { background: var(--ink); color: var(--blanc); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.guide-appel-texte { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; max-width: 24em; }
.guide-question { font-size: 16px; color: var(--blanc-72); }
.guide-appel .lien-chat { color: var(--blanc); }
.guide-appel .lien-chat:hover { color: var(--blanc); text-decoration-thickness: 2px; }
.guide-appel :focus-visible { outline-color: var(--blanc); }
.guide-appel .chat-etat { display: block; margin-top: 8px; color: var(--blanc); }
.guide-liees h2 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.guide-liees ul { display: flex; flex-direction: column; }
.guide-liees li a, .guide-liees p a { min-height: 44px; display: inline-flex; align-items: center; font-size: 17px; text-underline-offset: 3px; }
.guides-intro { margin-top: -12px; max-width: 34em; }
.guides-liste { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.guide-carte { display: flex; flex-direction: column; gap: 8px; height: 100%; background: var(--blanc); border-radius: 22px; padding: 24px; color: var(--ink); text-decoration: none; box-shadow: var(--ombre-douce); transition: transform .3s var(--courbe); }
.guide-carte:hover { color: var(--ink); transform: translateY(-3px); }
.guide-carte h2 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.guide-carte p { font-size: 15px; color: var(--ardoise); }
.guide-carte-lire { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--bleu); font-weight: 500; font-size: 15px; }

/* ── Motion: one-shot only ───────────────────────────────────────────── */
@keyframes souligne { from { background-size: 0 .2em; } to { background-size: 100% .2em; } }
@keyframes balaye { 0% { transform: translateY(4%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(92%); opacity: 0; } }

/* Revealed as they scroll in, once (site.js adds .vu); without the script, shown. */
.js .revele { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--courbe), transform .7s var(--courbe); }
.js .revele.vu { opacity: 1; transform: none; }

/* ── Tablets and up: two columns ─────────────────────────────────────── */
@media (min-width: 768px) {
  .hero { padding: 64px 0 96px; }
  .hero-grille { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "texte visuel" "confiance visuel"; column-gap: clamp(40px, 6vw, 88px); row-gap: 28px; align-items: center; }
  .hero-texte { grid-area: texte; align-self: end; gap: 24px; }
  .hero-visuel { grid-area: visuel; }
  .confiance { grid-area: confiance; align-self: start; }
  .titre-hero { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; }
  .hero-sous { font-size: 20px; }
  .telephone-hero { width: clamp(230px, 22vw, 300px); }
  .etapes-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .etapes-visuel { order: 2; position: static; background: none; padding: 0; display: block; }
  .etapes-collant { position: sticky; top: calc(var(--entete) + 6vh); display: flex; justify-content: center; }
  .telephone-etapes { width: min(280px, calc(78vh * .44)); border-radius: 44px; padding: 10px; }
  .telephone-etapes .ecran-boite { border-radius: 35px; }
  .etapes-liste { padding: 4vh 0 22vh; }
  .etape-bloc { min-height: 46vh; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuile { padding: 22px; }
  .guides-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .prix-grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
}

/* ── Header and phones ───────────────────────────────────────────────── */
@media (max-width: 899px) {
  .nav-liens { display: none; }
}
@media (max-width: 767px) {
  :root { --entete: 66px; }
  .conteneur { padding-left: 16px; padding-right: 16px; }
  .panneau { padding: 64px 0; }
  .nav { gap: 12px; }
  .titre-section, .titre-fin { font-size: 30px; }
  .entete-section { margin-bottom: 28px; }
  .texte-moyen { font-size: 17px; }
  .ruban-piste { padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
  .etape { padding: 14px; gap: 14px; }
  .etape-titre { font-size: 19px; }
  .etape-texte { font-size: 15px; }
  .etape-n { width: 34px; height: 34px; }
  .calc { padding: 22px 18px; }
  .calc-montant { font-size: 34px; }
  .calc-total dd { font-size: 26px; }
  .legal h1, .guide h1, .guides h1 { font-size: 30px; }
  .legal-texte { padding: 24px 20px; }
  .guide-article { padding: 28px 20px; }
  .guide-texte { font-size: 16px; }
  .guide-texte h2 { font-size: 21px; }
  .guide-appel { padding: 28px 20px; }
  .guide-appel-texte { font-size: 19px; }
}
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .logo img { height: 18px; }
  .btn-nav { font-size: 14px; padding: 0 14px; }
  .titre-hero { font-size: 33px; }
  .fort { white-space: normal; }
}

/* ── Reduced motion: everything still, the timeline lit ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .revele { opacity: 1; transform: none; }
  .fort { background-size: 100% .2em; }
  .scan-zone { display: none; }
  .point { background: var(--positif); border-color: var(--positif); }
}
