/* aket · site de présentation.
   Parti pris : le papier crème, un seul monde, sans thème sombre.
   Rythme emprunté aux sites grand public : des bandes pleine largeur qui alternent,
   une promesse en très grand, peu de mots par bloc, un seul bouton qui domine.
   Le vert de l'app ne sert que d'accent rare ; l'ocre porte les actions. */

:root {
  --pap: #FCF7EE;
  --pap2: #F6EFE1;
  --pap3: #F1E7D4;
  --sur: #FFFFFF;
  --ink: #241F18;
  --ink2: #5E564A;
  --ink3: #8E8677;
  --titre: #2A251D;
  --ocre: #A96B0C;
  --or: #E29A2A;
  --or-fonce: #B57614;
  /* Vert de marque, repris tel quel de l'application (--a-navy). */
  --vert: #12403A; --vert2: #1C5B52; --vert-sombre: #0A2B27;
  --succes: #2FA36C; --succes2: #1B7048; --succes-doux: #E1F2E8;
  --jaune: #F3C63F; --jaune-doux: #FDF3D2;
  --vert-doux: #E8F0EA;
  --ligne: #E7DFCE;
  --ligne2: #F2EBDC;
  --ombre: 0 3px 0 #EADFC8;
  --ombre-carte: 0 18px 40px -24px rgba(70, 52, 20, .40);
  /* Rayons : puce, carte, grande carte, pilule. */
  --r-s: 14px; --r-m: 22px; --r-l: 26px; --r-pilule: 999px;
  /* Respirations : intérieur de carte, gouttière de grille, hauteur d'une bande. */
  --pad-carte: 24px; --gouttiere: 18px; --bande-y: 62px;
  /* Largeurs : bloc de page, colonne de lecture, mockup. */
  --large: 1280px; --texte: 720px; --mockup: 248px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--pap); }
body {
  margin: 0; background: var(--pap); color: var(--ink);
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif; font-size: 16.5px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--ocre); text-underline-offset: 3px; }
a:hover { color: var(--or-fonce); }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: 'Outfit', 'Nunito', Arial, sans-serif; margin: 0; letter-spacing: -.02em; text-wrap: balance; color: var(--titre); }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 900; line-height: 1.12; }
h2 { font-size: clamp(23px, 3.3vw, 34px); font-weight: 900; line-height: 1.08; }
h3 { font-size: 18.5px; font-weight: 800; }
h4 { font-size: 16px; font-weight: 800; }
p { margin: 0 0 16px; }
mark { background: var(--or); color: #2A251D; padding: 0 7px; border-radius: 6px; white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.enveloppe { max-width: var(--large); margin: 0 auto; padding: 0 22px; }
.colonne { max-width: var(--texte); }
.eyebrow { font-family: 'Outfit', sans-serif; font-size: 11.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--ocre); }
.centre { text-align: center; }
.centre .colonne { margin-left: auto; margin-right: auto; }

/* ---- bandes pleine largeur, qui alternent ---- */
.bande { padding: 62px 0; }
.bande.creme { background: var(--pap2); }
.bande.fonce { background: var(--vert); }
.bande.fonce h2, .bande.fonce h3 { color: #FCF7EE; }
.bande.fonce p { color: rgba(252, 247, 238, .84); }
.bande.fonce .eyebrow { color: var(--or); }
@media (max-width: 700px) { .bande { padding: 52px 0; } }

/* ---- navigation ---- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(252, 247, 238, .94); backdrop-filter: blur(10px); border-bottom: 1.5px solid var(--ligne); }
.nav .in { max-width: var(--large); margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; gap: 22px; }
.nav .marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--titre); font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 900; letter-spacing: -.04em; }
.nav .marque .picto { width: 27px; height: 27px; border-radius: 9px; background: var(--or); display: grid; place-items: center; }
.nav .marque .picto svg { width: 19px; height: 19px; fill: none; stroke: #2A251D; stroke-width: 3.4; overflow: visible; }
.nav .marque .picto .f { fill: #2A251D; stroke: none; }
.nav .marque .glose { font-family: 'Nunito', sans-serif; font-style: italic; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--ink3); margin-left: 6px; }
.nav .liens { margin-left: auto; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav .liens a { text-decoration: none; font-size: 15px; font-weight: 800; color: var(--ink2); }
.nav .liens a:hover, .nav .liens a[aria-current] { color: var(--ocre); }
.nav .liens a.bouton { color: #2A251D; font-size: 14.5px; padding: 9px 16px; }

/* ---- ouverture ---- */
.hero { padding: 54px 0 10px; }
.hero .lede { font-size: 19.5px; line-height: 1.5; color: var(--ink2); font-weight: 600; max-width: 58ch; margin-top: 20px; }
.hero .duo .lede { max-width: 40ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.bouton { display: inline-block; text-decoration: none; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 16px; padding: 14px 24px; border-radius: 999px; background: var(--or); color: #2A251D; box-shadow: 0 4px 0 var(--or-fonce); transition: transform .08s; }
.bouton:hover { color: #2A251D; transform: translateY(-2px); }
.bouton:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--or-fonce); }
.bouton.creux { background: transparent; color: var(--titre); box-shadow: 0 4px 0 var(--ligne); border: 2px solid var(--ligne); }
.bouton.clair { background: var(--or); color: #2A251D; }
.sous-bouton { font-size: 14.5px; color: var(--ink3); font-weight: 700; margin-top: 20px; }

/* ---- deux colonnes, texte et image, alternées ---- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.duo + .duo { margin-top: 84px; }
.duo.inverse .duo-texte { order: 2; }
.duo-texte h2 { margin-bottom: 14px; }
.duo-texte p { font-size: 18px; color: var(--ink2); font-weight: 600; max-width: 46ch; }
.duo-img { display: flex; justify-content: center; }
.duo-img img { width: 100%; max-width: 224px; height: auto; border-radius: 26px; box-shadow: var(--ombre-carte); }
@media (max-width: 820px) {
  .duo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .duo.inverse .duo-texte { order: 0; }
  .duo + .duo { margin-top: 56px; }
  .duo-img img { max-width: 196px; }
}

/* ---- chiffres ---- */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 14px; margin: 36px 0 0; }
.chiffre { background: var(--sur); border-radius: 20px; box-shadow: var(--ombre); padding: 18px 20px; }
.chiffre b { display: block; font-family: 'Outfit', sans-serif; font-size: 34px; font-weight: 900; line-height: 1; color: var(--ocre); font-variant-numeric: tabular-nums; }
.chiffre span { display: block; font-size: 13.5px; color: var(--ink2); font-weight: 700; margin-top: 7px; line-height: 1.35; }

/* ---- étapes numérotées ---- */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; margin: 34px 0 0; counter-reset: e; }
.etape { background: var(--sur); border-radius: 22px; box-shadow: var(--ombre); padding: 24px; }
.etape::before { counter-increment: e; content: counter(e); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--or); color: #2A251D; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.etape h3 { margin: 0 0 6px; }
.etape p { margin: 0; font-size: 15.5px; color: var(--ink2); font-weight: 600; }

/* ---- cartes ---- */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(262px, 100%), 1fr)); gap: 16px; margin: 30px 0 0; }
.carte { background: var(--sur); border-radius: 22px; box-shadow: var(--ombre); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.carte h3 { margin: 0; }
.carte p { margin: 0; font-size: 15.5px; color: var(--ink2); font-weight: 600; }
.carte .cap { font-family: 'Outfit', sans-serif; font-size: 10.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
a.carte { text-decoration: none; color: inherit; transition: transform .09s; }
a.carte:hover { transform: translateY(-3px); }
a.carte:hover h3 { color: var(--ocre); }
.carte .suite { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 900; color: var(--ocre); }

/* ---- l'échantillon de contenu : une vraie question ---- */
.carte-q { max-width: none; }
.carte-q .q-tete { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  border-radius: 26px; padding: 20px 20px 22px; background: var(--vert); color: #fff; box-shadow: var(--ombre-carte); }
.carte-q .q-tete::after { content: "?"; position: absolute; right: -14px; bottom: -60px; font-family: 'Outfit', sans-serif;
  font-size: 200px; font-weight: 900; color: rgba(255, 255, 255, .05); line-height: 1; pointer-events: none; }
.carte-q .q-tete .cap { position: relative; font-family: 'Outfit', sans-serif; font-size: 10.5px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase; color: var(--jaune); }
.carte-q .q-sit { position: relative; margin: 0; max-width: none; font-size: 14.5px; line-height: 1.5; font-weight: 600; color: rgba(255, 255, 255, .8); }
.carte-q .q-q { position: relative; margin: 0; color: #fff; font-family: 'Outfit', sans-serif; font-size: 23px; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.carte-q .q-opts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.carte-q .q-opts li { display: grid; grid-template-columns: 1fr 24px; gap: 12px; align-items: center; background: var(--sur);
  border: 2.5px solid var(--ligne); border-radius: 16px; padding: 14px 15px; font-size: 15px; font-weight: 700;
  color: var(--vert); box-shadow: 0 3px 0 var(--ligne); }
.carte-q .q-opts .rad { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ligne); justify-self: end; }
.carte-q .q-opts li.ok { border-color: var(--succes); background: var(--succes-doux); color: var(--succes2); box-shadow: 0 3px 0 var(--succes); }
.carte-q .q-opts li.ok .rad { border-color: var(--succes); background: var(--succes); }
/* La réponse reprend la fiche de réponse de l'application : fond vert doux, verdict à coche,
   chiffres en pastille et termes qui décident soulignés (voir assets/schemas.js). */
.carte-q .q-rep { margin-top: 14px; background: var(--succes-doux); border-radius: 22px; padding: 18px 20px; }
.carte-q .verdict { display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 900; color: var(--succes2); }
.carte-q .verdict i { width: 27px; height: 27px; border-radius: 50%; background: var(--succes); display: grid; place-items: center; flex: none; }
.carte-q .verdict svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.carte-q .q-why { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--vert); font-weight: 600; }
.carte-q .q-src { font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.5; color: var(--ink3); margin-top: 10px; }
b.ch { font-weight: 900; background: var(--jaune-doux); color: var(--vert-sombre); border-radius: 6px; padding: 0 4px; white-space: nowrap; }
b.kk { font-weight: 800; color: inherit; box-shadow: inset 0 -2px 0 var(--jaune); }

/* ---- preuve ---- */
.preuve { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-top: 34px; }
.preuve div { background: rgba(252, 247, 238, .10); border: 1.5px solid rgba(252, 247, 238, .22); border-radius: 20px; padding: 20px 22px; }
.preuve b { display: block; font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 900; color: #FCF7EE; margin-bottom: 5px; }
.preuve span { font-size: 15px; color: rgba(252, 247, 238, .80); font-weight: 600; }

/* ---- prix ---- */
.prix { background: var(--sur); border: 3px solid var(--or); border-radius: 26px; box-shadow: 0 5px 0 var(--or); padding: 30px; max-width: 500px; }
.prix .cap { font-family: 'Outfit', sans-serif; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre); }
.prix .montant { font-family: 'Outfit', sans-serif; font-size: 46px; font-weight: 900; line-height: 1; color: var(--titre); margin: 10px 0 6px; }
.prix .barre { font-size: 17px; color: var(--ink3); font-weight: 700; text-decoration: line-through; margin-left: 12px; }
.prix .detail { font-size: 15.5px; color: var(--ink2); font-weight: 600; }
.prix ul { margin: 18px 0 0; padding-left: 20px; font-size: 15.5px; color: var(--ink2); font-weight: 600; display: grid; gap: 7px; }

/* ---- texte d'article ---- */
article { max-width: var(--texte); }
article p, article li { font-size: 17.5px; }
article ul, article ol { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; }
article h2 { margin: 52px 0 14px; }
article h3 { margin: 30px 0 6px; }
.chapo { font-size: 21px; line-height: 1.48; color: var(--ink2); font-weight: 600; margin: 20px 0 6px; }
.meta { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink3); margin: 14px 0 0; }
.pourqui { background: var(--pap2); border-radius: 18px; padding: 16px 20px; font-size: 16px; color: var(--ink2); font-weight: 600; margin: 24px 0; }
.pourqui b { color: var(--ink); }
.point { background: var(--sur); border-radius: 22px; box-shadow: var(--ombre); padding: 24px; margin: 20px 0; }
.point h3 { margin: 0 0 5px; }
.point .s { font-size: 16px; color: var(--ocre); font-weight: 800; margin-bottom: 12px; }
.point dl { margin: 14px 0 0; display: grid; gap: 10px; }
.point dt { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.point dd { margin: 3px 0 0; font-size: 16px; color: var(--ink2); font-weight: 600; }
.src { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink3); margin-top: 14px; }

.qa { border-left: 4px solid var(--or); padding-left: 20px; margin: 22px 0; }
.qa .sit { font-size: 16px; color: var(--ink2); font-weight: 600; margin-bottom: 7px; }
.qa h3 { margin: 0 0 9px; }
.qa .opts { list-style: none; padding: 0; margin: 0 0 11px; display: flex; flex-wrap: wrap; gap: 7px; }
.qa .opts li { border: 2px solid var(--ligne); border-radius: 999px; padding: 5px 14px; font-size: 14.5px; font-weight: 700; color: var(--ink2); }
.qa .opts li.ok { border-color: var(--vert); background: var(--vert-doux); color: var(--vert); font-weight: 900; }

.mots { display: grid; gap: 11px; margin: 20px 0; }
.mot { background: var(--sur); border-radius: 18px; box-shadow: var(--ombre); padding: 16px 18px; }
.mot b { font-family: 'Outfit', sans-serif; font-size: 16.5px; font-weight: 900; }
.mot p { margin: 4px 0 0; font-size: 15.5px; color: var(--ink2); font-weight: 600; }

/* ---- catégories du journal ---- */
.categories { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 8px; }
.categories a { text-decoration: none; background: var(--sur); border: 2px solid var(--ligne); border-radius: 999px; padding: 9px 17px; font-size: 14.5px; font-weight: 800; color: var(--ink2); }
.categories a:hover { border-color: var(--or); color: var(--ocre); }

.liste-articles { display: grid; gap: 2px; margin: 24px 0; }
.liste-articles a { text-decoration: none; color: inherit; display: block; padding: 22px 0; border-bottom: 1.5px solid var(--ligne); }
.liste-articles a:hover h3 { color: var(--ocre); }
.liste-articles .cat { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre); }
.liste-articles h3 { margin: 5px 0 6px; font-size: 21px; }
.liste-articles p { margin: 0; font-size: 16px; color: var(--ink2); font-weight: 600; max-width: 68ch; }

.liste-liens { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 9px; }
.liste-liens a { display: flex; gap: 14px; align-items: baseline; text-decoration: none; color: var(--ink); background: var(--sur); border-radius: 16px; box-shadow: var(--ombre); padding: 15px 18px; font-weight: 700; font-size: 16.5px; }
.liste-liens a:hover { color: var(--ocre); }
.liste-liens .m { font-size: 12.5px; color: var(--ink3); font-weight: 800; margin-left: auto; white-space: nowrap; }

/* ---- captures ---- */
.captures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(186px, 100%), 1fr)); gap: 22px; margin: 34px 0 0; }
.captures figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.captures img { width: 100%; height: auto; border-radius: 22px; display: block; background: var(--sur); box-shadow: var(--ombre-carte); }
.captures figcaption { font-size: 14.5px; line-height: 1.45; color: var(--ink2); font-weight: 700; }
.captures figcaption b { display: block; font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 900; color: var(--titre); }
@media (max-width: 560px) { .captures { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---- calculateurs ---- */
.o-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin: 28px 0; }
@media (max-width: 820px) { .o-grille { grid-template-columns: minmax(0, 1fr); } }
.outil { display: contents; }
.o-form { background: var(--sur); border: 2.5px solid var(--ligne); border-radius: var(--r-l); box-shadow: 0 3px 0 var(--ligne); padding: 24px 26px; display: grid; gap: 18px; }
.chp { display: grid; gap: 6px; }
.chp .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 700; color: var(--ink2); }
.chp .lbl b { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 900; color: var(--ocre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chp select { font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink); background: var(--pap); border: 2px solid var(--ligne); border-radius: 14px; padding: 10px 12px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 9px; border-radius: 99px; background: linear-gradient(90deg, var(--or) var(--p, 50%), var(--ligne) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -8.5px; border-radius: 50%; background: #fff; border: 3px solid var(--or); box-shadow: 0 2px 0 var(--or-fonce); }
input[type=range]::-moz-range-track { height: 9px; border-radius: 99px; background: linear-gradient(90deg, var(--or) var(--p, 50%), var(--ligne) var(--p, 50%)); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--or); }
.bascule { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.bascule input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border: 2px solid var(--ligne); border-radius: 8px; background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.bascule input:checked { background: var(--or); border-color: var(--or); }
.bascule input:checked::after { content: ""; width: 6px; height: 12px; border: solid #2A251D; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.o-res { background: var(--vert); color: #FCF7EE; border-radius: var(--r-l); box-shadow: var(--ombre-carte); padding: 26px 28px; position: sticky; top: 84px; }
@media (max-width: 820px) { .o-res { position: static; } }
.o-principal { border-bottom: 1.5px solid rgba(252, 247, 238, .20); padding-bottom: 16px; margin-bottom: 4px; }
.o-principal .l { display: block; font-family: 'Outfit', sans-serif; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--jaune); }
.o-principal .v { display: block; font-family: 'Outfit', sans-serif; font-size: 46px; font-weight: 900; line-height: 1.05; color: #FCF7EE; margin-top: 7px; font-variant-numeric: tabular-nums; }
.o-lignes { margin: 0; display: grid; }
.o-lignes > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1.5px solid rgba(252, 247, 238, .12); }
.o-lignes > div:last-child { border-bottom: 0; }
.o-lignes dt { font-size: 15px; color: rgba(252, 247, 238, .82); font-weight: 700; margin: 0; }
.o-lignes dd { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 500; color: #FCF7EE; white-space: nowrap; font-variant-numeric: tabular-nums; }
.o-note { margin: 18px 0 0; font-size: 13.5px; color: rgba(252, 247, 238, .64); font-weight: 600; line-height: 1.5; }

.verrou { background: var(--sur); border-radius: 20px; box-shadow: var(--ombre); padding: 19px 20px; display: flex; flex-direction: column; gap: 7px; border: 2px dashed var(--ligne); }
.verrou h3 { margin: 0; font-size: 17.5px; color: var(--ink2); }
.verrou p { margin: 0; font-size: 15px; color: var(--ink3); font-weight: 600; }
.verrou .lk { align-self: flex-start; margin-top: 7px; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--or); color: #2A251D; border-radius: 999px; padding: 5px 12px; }

/* ---- entreprises ---- */
.offre { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr)); gap: 18px; margin: 32px 0; }
.offre div { background: var(--sur); border-radius: 22px; box-shadow: var(--ombre); padding: 24px; }
.offre h3 { margin: 0 0 8px; }
.offre p { margin: 0; font-size: 15.5px; color: var(--ink2); font-weight: 600; }
.contact { background: var(--pap2); border: 3px solid var(--or); border-radius: 26px; padding: 32px; margin: 36px 0; }
.contact h3 { font-size: 23px; margin: 0 0 10px; }
.contact p { font-size: 17px; color: var(--ink2); font-weight: 600; max-width: 54ch; }

.fil { font-size: 14px; color: var(--ink3); font-weight: 700; margin: 26px 0 0; }
.fil a { color: var(--ink2); text-decoration: none; }
.fil a:hover { color: var(--ocre); }

footer { margin-top: 0; border-top: 1.5px solid var(--ligne); background: var(--sur); }
footer .in { max-width: var(--large); margin: 0 auto; padding: 40px 22px 56px; font-size: 14.5px; color: var(--ink2); }
footer a { color: var(--ink2); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--ocre); }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 22px; margin-bottom: 26px; }
footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 6px; }
  .hero .lede { font-size: 19px; }
}

/* ---- menu de petit écran ----
   Le bouton n'apparaît que si menu.js a posé « js » sur la barre : sans script, les
   liens restent affichés plutôt que scellés derrière un bouton qui ne répondrait pas.
   Cibles tactiles à 44 px, taille au-dessous de laquelle on vise mal du pouce. */
.burger { display: none; }
@media (max-width: 860px) {
  .nav.js .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 11px;
    background: var(--sur); border: 2px solid var(--ligne); border-radius: var(--r-s);
    color: var(--titre); cursor: pointer;
  }
  .nav.js .burger span {
    display: block; height: 2.5px; border-radius: 2px; background: currentColor;
    transition: transform .18s ease, opacity .12s ease;
  }
  .nav.js[data-ouvert="1"] .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.js[data-ouvert="1"] .burger span:nth-child(2) { opacity: 0; }
  .nav.js[data-ouvert="1"] .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav.js .liens {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    padding: 4px 22px 14px; background: var(--sur);
    border-bottom: 1.5px solid var(--ligne); box-shadow: var(--ombre-carte);
    max-height: calc(100dvh - 100%); overflow-y: auto;
  }
  .nav.js[data-ouvert="1"] .liens { display: flex; }
  .nav.js .liens a {
    display: flex; align-items: center; min-height: 46px; padding: 4px 2px;
    font-size: 16.5px; border-top: 1.5px solid var(--ligne2);
  }
  .nav.js .liens a:first-child { border-top: 0; }
  .nav.js .liens a[aria-current] { color: var(--ocre); }
  .nav .in { gap: 12px; }
}
@media (max-width: 380px) {
  .nav .marque .glose { display: none; }
  .nav .marque { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.js .burger span { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.carte:hover, .bouton:hover { transform: none; }
}

/* Quatre cartes se rangent en deux rangées de deux : aucune ne reste seule en bout de ligne. */
@media (min-width: 880px) {
  .offre, .cartes.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* La marque ne se met jamais en capitales : AKET se lirait comme un sigle. */
.mq { text-transform: none; letter-spacing: 0; }

/* Deux schémas au format téléphone : on les centre au lieu de les étirer sur toute la largeur. */
.captures.paire { grid-template-columns: minmax(0, 244px); justify-content: center; gap: 40px; }


/* Les visuels de campagne, au format 4:5 d'Instagram. */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(212px, 100%), 1fr)); gap: 24px; margin-top: 34px; }
.posts figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.posts img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: var(--ombre-carte); }
.posts figcaption { font-size: 14.5px; line-height: 1.45; color: var(--ink2); font-weight: 700; }
.posts figcaption b { display: block; font-family: 'Outfit', sans-serif; font-size: 15.5px; font-weight: 900; color: var(--titre); margin-bottom: 3px; }

/* La question d'ouverture : le visuel de campagne en grand, la réponse à côté. */
.accroche .duo-img img { max-width: 300px; border-radius: 22px; }
.accroche .sit { font-size: 16.5px; color: var(--ink2); font-weight: 600; }
.accroche .rep { font-size: 17px; color: var(--ink2); font-weight: 600; margin-top: 14px; }
.accroche .rep b { color: var(--vert); font-weight: 900; }
.accroche .src { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink3); margin-top: 12px; }

/* Les six calculateurs ouverts : cartes teintées par thème, picto en tête. */
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--t, var(--vert)); flex: none; }
.ico svg { width: 23px; height: 23px; fill: none; stroke: #FCF7EE; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.mini { width: 26px; height: 26px; border-radius: 9px; }
.ico.mini svg { width: 15px; height: 15px; stroke-width: 2.2; }
.ico.gros { width: 54px; height: 54px; border-radius: 17px; }
.ico.gros svg { width: 28px; height: 28px; }

.grille-outils { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(266px, 100%), 1fr)); gap: 18px; margin-top: 30px; }
.outil-carte { display: block; text-decoration: none; color: inherit; background: var(--sur); border-radius: 22px; padding: 24px; box-shadow: var(--ombre); border-top: 5px solid var(--t); transition: transform .15s ease, box-shadow .15s ease; }
.outil-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-carte); }
.outil-carte .cap { display: block; margin-top: 16px; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--t); }
.outil-carte h3 { margin: 5px 0 7px; font-size: 21px; }
.outil-carte p { margin: 0; font-size: 15.5px; color: var(--ink2); font-weight: 600; }
.outil-carte .suite { display: inline-block; margin-top: 15px; font-size: 14.5px; font-weight: 900; color: var(--ocre); }

/* Les seize réservés : de simples puces, bien plus petites que les cartes gratuites. */
.puces-outils { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(228px, 100%), 1fr)); gap: 9px; }
.puces-outils li { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1.5px dashed var(--ligne); border-radius: 999px; background: var(--sur); }
.puces-outils b { font-size: 14px; font-weight: 800; color: var(--ink2); flex: 1; min-width: 0; }
.puces-outils .cad { display: grid; place-items: center; width: 20px; height: 20px; flex: none; }
.puces-outils .cad svg { width: 14px; height: 14px; fill: none; stroke: var(--ink3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tete-outil { display: block; }
.tete-outil .ico.gros { margin-bottom: 14px; }
.tete-outil .eyebrow { color: var(--t); }

/* Les quatre preuves : 2 × 2 à partir d'une fenêtre moyenne, 4 de front sur grand écran. */
@media (min-width: 700px) { .preuve { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .preuve.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Une carte portée par la colonne de texte occupe toute sa largeur. */
.duo-texte .carte-q { max-width: none; margin-top: 24px; }

/* ---- page interne du design system ---- */
.jetons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.jeton { display: flex; align-items: center; gap: 9px; background: var(--sur); border: 1.5px solid var(--ligne);
  border-radius: var(--r-pilule); padding: 7px 15px 7px 8px; font-size: 13px; font-weight: 800; color: var(--ink2); }
.jeton .pot { width: 26px; height: 26px; border-radius: 9px; border: 1.5px solid var(--ligne); flex: none; }
.demo-type { display: grid; gap: 4px; margin-top: 24px; }
.demo-type .lbl { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink3); margin-bottom: 16px; }
code { font-family: 'IBM Plex Mono', monospace; font-size: .92em; background: var(--pap3); border-radius: 5px; padding: 1px 5px; }

/* Quatre étapes se rangent en 2 × 2, puis en une ligne sur grand écran. */
@media (min-width: 700px) { .etapes.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .etapes.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Le hero garde la priorité au texte : la colonne de gauche est la plus large,
   et le mockup y reste plus petit qu'ailleurs. */
.hero .duo { grid-template-columns: 1.12fr .88fr; gap: 40px; }
.hero .duo-img img { max-width: 232px; }
.hero .duo .duo-texte h1 { font-size: clamp(30px, 4vw, 44px); }
@media (max-width: 900px) { .hero .duo { grid-template-columns: minmax(0, 1fr); } .hero .duo-img { justify-content: flex-start; } }

/* Les situations reprennent la carte de l'application (.sit) : bordure franche,
   ombre portée nette, picto du thème à gauche. */
.liste-sit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); gap: 10px; margin-top: 26px; }
.liste-sit a { display: flex; align-items: center; gap: 10px; text-decoration: none; background: var(--sur);
  border: 2.5px solid var(--ligne); box-shadow: 0 3px 0 var(--ligne); border-radius: 16px; padding: 10px 12px;
  transition: transform .08s, box-shadow .08s; }
.liste-sit a:hover { border-color: var(--t); box-shadow: 0 3px 0 var(--t); }
.liste-sit a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--t); }
.liste-sit .ico { width: 34px; height: 34px; border-radius: 10px; }
.liste-sit .ico svg { width: 19px; height: 19px; }
.liste-sit b { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 800; color: var(--vert); }
.liste-sit .m { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--t); flex: none; }

/* Magasins pas encore ouverts : le bouton annonce l'attente au lieu de mentir sur un lien. */
.bouton.attente { background: transparent; border: 2px dashed var(--ligne); color: var(--ink3); box-shadow: none; cursor: default; }
.bande.fonce .bouton.attente { border-color: rgba(252, 247, 238, .34); color: rgba(252, 247, 238, .72); }

/* ---- page d'article du journal ---- */
.tete-article .eyebrow { color: var(--t); }
.tete-article .lede { max-width: 56ch; }
.tete-article .pour { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 24px;
  background: var(--sur); border-left: 5px solid var(--t); border-radius: 4px 16px 16px 4px;
  padding: 14px 18px; font-size: 16px; color: var(--ink2); font-weight: 600; max-width: 62ch; }
.tete-article .pour b { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase; color: var(--t); }
.points { display: grid; gap: 16px; margin-top: 28px; }
.points .point { position: relative; background: var(--sur); border-radius: var(--r-l); box-shadow: var(--ombre-carte);
  padding: 28px 28px 26px 30px; margin: 0; border-top: 5px solid var(--t); max-width: none; }
.points .point .n { position: absolute; top: -16px; left: 28px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--t); color: #FCF7EE;
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 900; }
.points .point h3 { margin: 6px 0 6px; font-size: 21px; }
.points .point .s { font-size: 16.5px; color: var(--ink); font-weight: 800; margin: 0 0 12px; }
.points .point p { font-size: 16.5px; color: var(--ink2); font-weight: 600; }
.duo-q { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 20px; margin-top: 28px; align-items: start; }
.mots { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); display: grid; gap: 12px; margin-top: 26px; }

/* Sur fond foncé, la ligne sous les boutons garde son contraste. */
.bande.fonce .sous-bouton { color: rgba(252, 247, 238, .72); }
.bande.fonce .duo-img .prix { width: 100%; max-width: 380px; }

/* Une carte claire sur bande foncée garde ses couleurs : la règle de la bande
   s'applique aux paragraphes de la bande, pas à ceux des cartes qu'elle porte. */
.bande.fonce .prix p, .bande.fonce .prix li { color: var(--ink2); }
.bande.fonce .prix .montant { color: var(--titre); }
.bande.fonce .prix .cap { color: var(--ocre); }

/* Quatre publics : deux par deux, jamais 3 + 1. */
@media (min-width: 760px) { .grille-outils.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Ce que l'application ne fait pas : pictos barrés sur la bande foncée. */
.bande.fonce .large { max-width: 74ch; font-size: 18px; margin-top: 16px; }
.nonlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; margin-top: 32px; }
.nonlist > div { background: rgba(252, 247, 238, .08); border: 1.5px solid rgba(252, 247, 238, .20); border-radius: var(--r-m); padding: 22px 22px 24px; }
.ico-non { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(252, 247, 238, .12); margin-bottom: 14px; }
.ico-non svg { width: 24px; height: 24px; fill: none; stroke: #FCF7EE; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-non .bar { stroke: var(--or); stroke-width: 2.8; }
.nonlist b { display: block; font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 900; color: #FCF7EE; margin-bottom: 6px; }
.nonlist span { display: block; font-size: 14.5px; line-height: 1.5; color: rgba(252, 247, 238, .80); font-weight: 600; }

/* Ce qu'il faut nous écrire : une carte simple, à côté de l'invitation. */
.carte-contact { width: 100%; max-width: 400px; background: var(--sur); border: 3px solid var(--or);
  border-radius: var(--r-l); box-shadow: 0 5px 0 var(--or); padding: 26px 28px; }
.carte-contact .cap { font-family: 'Outfit', sans-serif; font-size: 11.5px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ocre); }
.carte-contact ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.carte-contact li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5;
  color: var(--ink2); font-weight: 600; }
.carte-contact li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--or); }
.carte-contact b { color: var(--titre); font-weight: 900; }

/* ---- mouvement ----
   Un principe : l'état au repos est l'état final et complet. Sans script, sans
   prise en charge, ou si l'utilisateur a demandé moins de mouvement, la page est
   exactement ce qu'elle doit être, simplement immobile.
   Le mouvement ne décore pas : il montre la mécanique du quiz. */

/* Affordances : ce qui réagit est ce sur quoi on peut cliquer. */
.carte, .outil-carte, .posts figure, .mot, .liste-sit a, .liste-articles a, .puces-outils li {
  transition: transform .18s cubic-bezier(.2, .8, .3, 1), box-shadow .18s ease, border-color .18s ease;
}
a.carte:hover, .outil-carte:hover, .liste-articles a:hover, .liste-sit a:hover { transform: translateY(-3px); }
.posts img, .captures img, .duo-img img { transition: transform .3s cubic-bezier(.2, .8, .3, 1); }
.posts figure:hover img, .captures figure:hover img { transform: translateY(-4px) scale(1.012); }
.bouton { transition: transform .12s ease, box-shadow .12s ease, background-color .18s ease; }
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: translateY(1px); }
.puces-outils li:hover { border-color: var(--t); }

@media (prefers-reduced-motion: no-preference) {
  /* L'ouverture, une seule fois au chargement. */
  .hero .eyebrow { animation: pose .5s cubic-bezier(.2, .8, .3, 1) both; }
  .hero h1 { animation: pose .6s cubic-bezier(.2, .8, .3, 1) .06s both; }
  .hero .lede { animation: pose .6s cubic-bezier(.2, .8, .3, 1) .12s both; }
  .hero .actions { animation: pose .6s cubic-bezier(.2, .8, .3, 1) .18s both; }
  .hero .duo-img { animation: poseImage .8s cubic-bezier(.2, .8, .3, 1) .1s both; }

  /* La question qui se joue. La classe est posée par anim.js quand la carte entre
     dans l'écran, une fois. Sans elle, la carte est déjà dans son état final. */
  .carte-q.joue .q-opts li:nth-child(1) { animation: optAttente 2.6s both; }
  .carte-q.joue .q-opts li:nth-child(3) { animation: optAttente 2.6s .08s both; }
  .carte-q.joue .q-opts li.ok { animation: optChoisie 2.6s cubic-bezier(.22, .9, .3, 1) both; }
  .carte-q.joue .q-opts li.ok .rad { animation: radChoisi 2.6s cubic-bezier(.22, .9, .3, 1) both; }
  .carte-q.joue .q-opts li.ok > span:first-child { animation: texteChoisi 2.6s both; }
  .carte-q.joue .q-rep { animation: ficheRevele 2.6s cubic-bezier(.2, .85, .3, 1) both; }
  .carte-q.joue .verdict i { animation: cocheTombe 2.6s cubic-bezier(.2, 1.4, .4, 1) both; }
  .carte-q.joue .q-why b.ch { animation: pastilleAllume 2.6s both; }
}

/* La bonne réponse : neutre, puis pressée, puis verte. */
@keyframes optChoisie {
  0%, 26%   { border-color: var(--ligne); background: var(--sur); box-shadow: 0 3px 0 var(--ligne); transform: none; }
  36%       { border-color: var(--or); background: #FDF6E8; box-shadow: 0 1px 0 var(--or); transform: translateY(2px); }
  48%       { border-color: var(--succes); background: var(--succes-doux); box-shadow: 0 3px 0 var(--succes); transform: translateY(-2px); }
  56%, 100% { border-color: var(--succes); background: var(--succes-doux); box-shadow: 0 3px 0 var(--succes); transform: none; }
}
@keyframes radChoisi {
  0%, 26%   { border-color: var(--ligne); background: transparent; transform: none; }
  36%       { border-color: var(--or); background: var(--or); transform: scale(.82); }
  48%       { border-color: var(--succes); background: var(--succes); transform: scale(1.18); }
  56%, 100% { border-color: var(--succes); background: var(--succes); transform: none; }
}
@keyframes texteChoisi { 0%, 40% { color: var(--vert); } 52%, 100% { color: var(--succes2); } }
/* Les autres options s'effacent doucement, comme dans l'application. */
@keyframes optAttente { 0%, 44% { opacity: 1; } 60%, 100% { opacity: .55; } }
/* La fiche de réponse se déroule sous les options. */
@keyframes ficheRevele {
  0%, 52%   { opacity: 0; transform: translateY(-10px) scaleY(.96); transform-origin: top; }
  72%, 100% { opacity: 1; transform: none; }
}
@keyframes cocheTombe { 0%, 62% { transform: scale(0); } 78%, 100% { transform: scale(1); } }
@keyframes pastilleAllume { 0%, 78% { background: transparent; } 92%, 100% { background: var(--jaune-doux); } }

@keyframes pose { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes poseImage { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

/* Les points réservés, comme dans l'application : des lignes floutées derrière
   le verrou. Le texte payant n'est pas dans la page, seulement sa silhouette. */
.verrous { display: grid; gap: 12px; margin: 28px 0 20px; max-width: 620px; }
.verrou-pt { display: flex; align-items: center; gap: 14px; background: rgba(252, 247, 238, .07);
  border: 1.5px solid rgba(252, 247, 238, .16); border-radius: var(--r-m); padding: 16px 18px; }
.verrou-pt .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: rgba(252, 247, 238, .14); color: rgba(252, 247, 238, .70);
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 900; }
.verrou-pt { align-items: flex-start; }
.verrou-pt .pt-txt { flex: 1; min-width: 0; }
.verrou-pt .pt-txt b { display: block; font-family: 'Outfit', sans-serif; font-size: 16.5px; font-weight: 900;
  color: #FCF7EE; line-height: 1.25; margin-bottom: 12px; }
.verrou-pt .bars { display: grid; gap: 7px; filter: blur(3.5px); }
.verrou-pt .bars i { display: block; height: 9px; border-radius: 99px; background: rgba(252, 247, 238, .34); }
.verrou-pt .bars i + i { height: 7px; background: rgba(252, 247, 238, .20); }
.verrou-mot { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.verrou-mot .lk { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .08em;
  text-transform: none; background: var(--or); color: #2A251D; border-radius: 999px; padding: 5px 12px; flex: none; }

/* La question se déplie : la réponse attend derrière un bouton. Sans :has(), la
   bonne réponse reste visible d'emblée, ce qui est l'ancien comportement. */
.q-pli { margin-top: 14px; }
.q-pli > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 14.5px; font-weight: 900; color: var(--ocre);
  background: var(--pap2); border: 2px solid var(--ligne); border-radius: 999px; padding: 9px 18px;
  transition: border-color .15s ease, transform .12s ease; }
.q-pli > summary::-webkit-details-marker { display: none; }
.q-pli > summary:hover { border-color: var(--or); }
.q-pli > summary:active { transform: translateY(1px); }
.q-pli .ferme, .q-pli[open] .ouvre { display: none; }
.q-pli[open] .ferme { display: inline; }
.q-pli[open] > summary { margin-bottom: 14px; }
.q-pli .q-rep { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .q-pli[open] .q-rep { animation: ficheRevele .5s cubic-bezier(.2, .85, .3, 1) both; }
}
.carte-q:has(.q-pli:not([open])) .q-opts li.ok { border-color: var(--ligne); background: var(--sur);
  color: var(--vert); box-shadow: 0 3px 0 var(--ligne); }
.carte-q:has(.q-pli:not([open])) .q-opts li.ok .rad { border-color: var(--ligne); background: transparent; }

/* De l'air entre les questions empilées. */
.pile-q { display: grid; gap: 30px; margin: 26px 0 8px; }

/* Les mots du thème : la couleur du thème, et le relief dans la définition. */
.mot { border-left: 5px solid var(--t, var(--or)); border-radius: 6px var(--r-m) var(--r-m) 6px; }
.mot b { color: var(--t, var(--titre)); }

/* L'histogramme du calculateur, repris de l'application : une barre par année,
   la part versée en clair, les intérêts en ocre. */
.o-graphe { margin: 18px 0 4px; }
.o-graphe svg { display: block; width: 100%; height: 128px; border-radius: 10px; overflow: hidden; }
.o-graphe .lgd { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.o-graphe .lgd span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  color: rgba(252, 247, 238, .78); }
.o-graphe .lgd span::before { content: ""; width: 11px; height: 11px; border-radius: 3px; flex: none; }
.o-graphe .lgd .verse::before { background: rgba(252, 247, 238, .34); }
.o-graphe .lgd .int::before { background: var(--or); }

/* Le schéma vivant, porté depuis l'application (.sch / .mc de assets/app.css). */
/* Le cadre de téléphone, repris de .phone dans assets/app.css : on comprend que
   c'est l'application, et ce qu'il contient reste manipulable. */
.tel { position: relative; width: 100%; max-width: 336px; background: #0A1C19; border: 1px solid #23423C;
  border-radius: 46px; padding: 9px; box-shadow: 0 40px 80px -30px rgba(18, 64, 58, .5); }
.tel::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 98px; height: 26px; background: #0A1C19; border-radius: 18px; z-index: 2; }
.tel .ecran { background: var(--pap); border-radius: 38px; padding: 40px 10px 14px; overflow: hidden; }
.schema-vif { width: 100%; }
/* Dans le téléphone, l'écran fait déjà la surface : la carte s'efface. */
.tel .sch { background: transparent; box-shadow: none; padding: 4px 6px 2px; gap: 10px; }
.tel .sch h4 { font-size: 17px; }
.tel .sch .stage { padding: 9px; border-radius: 15px; }
.tel .sch .cap { font-size: 12.5px; min-height: 0; padding: 9px 11px; }
.tel .sch .src { font-size: 10px; }
.tel .sch .ctrl button { font-size: 12px; padding: 9px 13px; }
.tel .sch .curs b { font-size: 18px; }
.tel .bareme { gap: 2px; }
.tel .bareme .bc i, .tel .bareme .bc b { font-size: 9px; }
.tel .mc .leg { font-size: 10.5px; gap: 10px; }
.sch { background: var(--sur); border-radius: var(--r-m); box-shadow: var(--ombre); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.sch h4 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.sch .stage { position: relative; background: #F6F0E4; border-radius: 18px; padding: 12px; overflow: hidden; }
.sch .cap { background: var(--pap); border-left: 3px solid var(--or); border-radius: 4px 14px 14px 4px;
  padding: 11px 13px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); min-height: 64px; font-weight: 600; }
.sch .cap b { color: var(--titre); font-weight: 900; }
.sch .src { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink3); }
.sch .curs { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: -6px; }
.sch .curs span { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.sch .curs b { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 800; color: var(--or-fonce); }
.sch .ctrl { display: flex; gap: 8px; flex-wrap: wrap; }
.sch .ctrl button { border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 13px;
  font-weight: 900; cursor: pointer; background: var(--or); color: #16302C; box-shadow: 0 3px 0 var(--or-fonce);
  transition: transform .1s, box-shadow .1s; }
.sch .ctrl button:active { transform: translateY(3px); box-shadow: none; }
.sch .ctrl button.alt { background: #fff; color: #16302C; box-shadow: 0 3px 0 var(--ligne); border: 2px solid var(--ligne); padding: 8px 13px; }
.mc svg { display: block; width: 100%; height: auto; }
.mc .usu { transform-box: fill-box; transform-origin: left center; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mc .cut { stroke: #FCF7EE; stroke-width: 2.5; stroke-dasharray: 5 5; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.mc .deco { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 2; }
.mc svg text { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; fill: #fff; }
.mc .leg { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px;
  font-size: 11.5px; font-weight: 700; color: var(--ink2); }
.mc .leg span { display: flex; align-items: center; gap: 5px; }
.mc .leg i { width: 10px; height: 10px; border-radius: 3px; }
.mc .leg b { color: var(--titre); font-weight: 900; margin-right: 3px; }
.mc .lu i { background: var(--or); }
.mc .ln i { background: var(--vert); }
.bareme { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
.bareme .bt { grid-column: 1 / -1; font-size: 10.5px; font-weight: 800; color: var(--ink3); margin-bottom: 2px; }
.bareme .bc { display: flex; flex-direction: column; align-items: center; gap: 1px; background: #F6F0E4;
  border-radius: 8px; padding: 5px 0; transition: background .3s, transform .3s; }
.bareme .bc i { font-style: normal; font-size: 10px; font-weight: 800; color: var(--ink3); }
.bareme .bc b { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; color: var(--ink2); }
.bareme .bc.on { background: var(--or); transform: translateY(-2px); }
.bareme .bc.on i, .bareme .bc.on b { color: #16302C; }

/* ---- pages légales ---- */
.legal { max-width: 74ch; }
.legal h2 { font-size: 24px; margin: 38px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 16.5px; line-height: 1.65; color: var(--ink2); font-weight: 600; margin: 0 0 12px; }
.legal b { color: var(--titre); font-weight: 900; }
.legal a { color: var(--ocre); font-weight: 800; }
.legal dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 22px; margin: 0 0 8px; }
.legal dt { font-family: 'Outfit', sans-serif; font-size: 11.5px; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink3); padding-top: 3px; }
.legal dd { margin: 0; font-size: 16.5px; color: var(--ink2); font-weight: 600; }
@media (max-width: 620px) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: 3px 0; } .legal dd { margin-bottom: 10px; } }
.a-completer { display: inline-block; background: var(--jaune-doux); border: 1.5px dashed var(--or-fonce);
  border-radius: 6px; padding: 1px 8px; color: var(--or-fonce); font-weight: 800; font-size: 15px; }
.legal-liens { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 14px; font-weight: 700; }
.legal-liens li { color: var(--ink2); }
.legal-liens a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.legal-liens a:hover { color: var(--ocre); }
