/* =========================================================
   Booxne 2.0 · booxne.com
   Concept : la page est une étagère. Fond gris calme, cartes
   blanches, les tranches et les pastels portent la couleur.
   Palette et polices = design system de l'app (20_DESIGN_SYSTEM).
   ========================================================= */

@font-face { font-family: "Author"; src: url("../fonts/Author-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* Neutres */
  --fond: #F3F3F5;
  --carte: #FFFFFF;
  --encre: #16161A;
  --texte-2: #6E6E78;
  --texte-3: #A1A1AA;
  --ligne: #E7E7EB;
  /* Accent */
  --lavande: #7C6FE0;
  --lavande-fonce: #4A3FA8;
  --lavande-clair: #E4DEFA;
  /* Couleurs douces */
  --menthe: #4FAE87;  --menthe-clair: #D3EBE1;
  --ciel: #6FA3DC;    --ciel-clair: #DCEAF8;
  --rose: #E68AA8;    --rose-clair: #F9DEE7;
  --peche: #EE9A74;   --peche-clair: #FBE2D5;

  --f-titre: "Author", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-texte: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 8px; --r-m: 16px; --r-l: 24px; --r-xl: 32px;
  --ombre: 0 1px 2px rgba(22,22,26,.04), 0 12px 32px -12px rgba(22,22,26,.14);
  --ombre-forte: 0 2px 6px rgba(22,22,26,.06), 0 40px 80px -30px rgba(22,22,26,.35);
  --largeur: 1160px;
  --gouttiere: max(20px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--f-texte);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--lavande-clair); color: var(--encre); }
:focus-visible { outline: 3px solid var(--lavande); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--largeur) + 40px); margin-inline: auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere-d); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Étiquettes, pastilles, boutons ---------- */
.etiquette { font-family: var(--f-texte); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lavande-fonce); }
.pastille { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--encre); white-space: nowrap; }
.pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--point, var(--lavande)); flex: none; }
.p-encours { background: var(--lavande-clair); --point: var(--lavande); }
.p-alire   { background: var(--ciel-clair);    --point: var(--ciel); }
.p-lu      { background: var(--menthe-clair);  --point: var(--menthe); }
.p-wish    { background: var(--rose-clair);    --point: var(--rose); }
.p-aband   { background: var(--peche-clair);   --point: var(--peche); }

.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--encre); color: #fff; text-decoration: none;
  padding: 12px 26px 12px 20px; border-radius: 999px; min-height: 56px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -10px rgba(22,22,26,.5);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(22,22,26,.55); }
.btn-store svg { width: 24px; height: 24px; flex: none; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 12px; font-weight: 500; opacity: .92; }
.btn-store strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; opacity: 1; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--encre); text-decoration: none; padding: 12px 4px; }
.lien-fleche svg { width: 18px; height: 18px; transition: transform .2s ease; }
.lien-fleche:hover svg { transform: translateY(3px); }

/* ---------- Navigation ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--fond); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.nav.is-scrolled { background: rgba(243,243,245,.82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--ligne); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-titre); font-size: 22px; letter-spacing: -.02em; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-liens { display: none; align-items: center; gap: 4px; }
.nav-liens a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--texte-2); transition: color .2s, background .2s; }
.nav-liens a:hover { color: var(--encre); background: var(--carte); }
.nav-droite { display: flex; align-items: center; gap: 8px; }
.nav-cta { display: none; text-decoration: none; background: var(--encre); color: #fff; font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 999px; }

.langue { position: relative; }
.langue summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--carte); font-size: 14px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 1px 2px rgba(22,22,26,.06); }
.langue summary::-webkit-details-marker { display: none; }
.langue summary svg { width: 16px; height: 16px; }
.langue ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--carte); border-radius: var(--r-m); box-shadow: var(--ombre-forte); min-width: 180px; z-index: 70; }
.langue li a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.langue li a:hover { background: var(--fond); }
.langue li a[aria-current="true"] { background: var(--lavande-clair); color: var(--lavande-fonce); font-weight: 700; }
.langue li a small { color: var(--texte-3); font-weight: 700; letter-spacing: .06em; }

/* ---------- Hero ---------- */
.hero { padding-block: 24px 40px; overflow-x: clip; }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero-texte { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: clamp(48px, 13vw, 128px); font-size: min(128px, calc(100cqi / (var(--len, 9) * .56))); letter-spacing: -0.045em; line-height: .92; }
.hero h1 .kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--f-texte); font-weight: 700; font-size: 14px; letter-spacing: .02em; line-height: 1; color: var(--encre); background: var(--carte); padding: 8px 14px 8px 8px; border-radius: 999px; box-shadow: 0 1px 2px rgba(22,22,26,.06); }
.hero h1 .kicker img { width: 24px; height: 24px; border-radius: 7px; }
.hero h1 .ligne { display: block; }
.hero h1 em { font-style: normal; color: var(--lavande); }
.hero-sous { margin-top: 24px; font-size: clamp(18px, 2.2vw, 21px); color: var(--texte-2); max-width: 31ch; line-height: 1.5; }
.hero-sous strong { color: var(--encre); font-weight: 700; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-faits { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-faits li { font-size: 14px; font-weight: 700; color: var(--texte-2); background: var(--carte); padding: 6px 12px; border-radius: 999px; }

.hero-visuel { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visuel .disque { position: absolute; width: min(520px, 92%); aspect-ratio: 1; border-radius: 50%; background: var(--lavande-clair); }
.phone { position: relative; width: var(--w, 280px); max-width: 100%; aspect-ratio: 1206 / 2622; border-radius: calc(var(--w, 280px) * .16); background: var(--encre); padding: calc(var(--w, 280px) * .032); box-shadow: var(--ombre-forte); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 280px) * .13); background: var(--fond); }
.hero .phone-a { --w: 272px; z-index: 2; transform: translateX(-16%) rotate(-4deg); }
.hero .phone-b { --w: 232px; position: absolute; z-index: 1; transform: translate(40%, 7%) rotate(7deg); }
.flotte { position: absolute; z-index: 3; background: var(--carte); border-radius: var(--r-l); box-shadow: var(--ombre); }
.serie { top: 22%; left: -2%; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 700; font-size: 16px; animation: flotte 6s ease-in-out infinite; }
.serie svg { width: 22px; height: 22px; color: var(--lavande); }
.objectif { right: 0; bottom: 7%; width: 230px; padding: 18px 20px; animation: flotte 7s ease-in-out -2s infinite; }
.objectif .o-titre { font-family: var(--f-titre); font-size: 16px; }
.objectif .o-chiffre { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.objectif .o-chiffre b { font-family: var(--f-titre); font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.objectif .o-chiffre span { color: var(--texte-2); font-size: 15px; }
.barre { margin-top: 12px; height: 8px; border-radius: 999px; background: var(--ligne); overflow: hidden; }
.barre i { display: block; height: 100%; width: var(--v, 50%); border-radius: inherit; background: var(--couleur, var(--menthe)); }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Étagère interactive ---------- */
.etagere-sec { padding-block: 40px 56px; }
.sec-tete { display: grid; gap: 16px; margin-bottom: 32px; }
.sec-tete h2 { font-size: clamp(38px, 6.4vw, 72px); letter-spacing: -.035em; }
.sec-tete p { color: var(--texte-2); font-size: clamp(17px, 2vw, 20px); max-width: 52ch; }
.etagere-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }
.humeurs { display: inline-flex; gap: 6px; padding: 5px; background: var(--carte); border-radius: 999px; box-shadow: 0 1px 2px rgba(22,22,26,.06); }
.humeurs button { border: 0; cursor: pointer; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--texte-2); transition: background .25s, color .25s, box-shadow .25s; min-height: 44px; }
.humeurs button[aria-pressed="true"] { background: var(--lavande-clair); color: var(--encre); box-shadow: inset 0 0 0 2px var(--lavande); }
.etagere {
  --rang: 212px;
  position: relative; background: var(--carte); border-radius: var(--r-xl); padding: 28px 22px 26px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; column-gap: 6px;
  box-shadow: var(--ombre);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--rang) - 9px), var(--ligne) calc(var(--rang) - 9px), var(--ligne) calc(var(--rang) - 1px), transparent calc(var(--rang) - 1px), transparent var(--rang));
  background-origin: content-box; background-clip: content-box;
}
.etagere-compte { margin-top: 16px; color: var(--texte-2); font-size: 15px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.etagere-compte b { color: var(--encre); }
.tranche-case { height: var(--rang); display: flex; align-items: flex-end; padding-bottom: 9px; }
.tranche {
  --c: var(--c1); --t: var(--t1);
  position: relative; width: calc(var(--lw, 46) * var(--s, 1) * 1px); height: calc((var(--rang) - 9px) * var(--k, .75));
  background: var(--c); color: var(--t);
  border-radius: 4px 4px 2px 2px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: background-color .6s ease, color .6s ease, transform .3s ease;
  will-change: transform;
}
.tranche::before, .tranche::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: currentColor; opacity: .16; }
.tranche::before { top: 12px; } .tranche::after { bottom: 12px; }
.tranche span { writing-mode: vertical-rl; font-family: var(--f-texte); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: calc(100% - 40px); line-height: 1; }
.etagere.pastel .tranche { --c: var(--c2); --t: var(--t2); }
.tranche-case:hover .tranche { transform: translateY(-10px); }
.etagere.remplit .tranche-case { animation: pose .7s cubic-bezier(.2,.9,.25,1.15) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes pose { from { opacity: 0; transform: translateY(-60px) rotate(-4deg); } to { opacity: 1; transform: none; } }
.planche-vide { order: 999; height: var(--rang); flex: 1 1 0; min-width: 44px; display: flex; align-items: flex-end; padding-bottom: 9px; }
.planche-vide i { display: block; width: 100%; height: calc((var(--rang) - 9px) * .7); border: 2px dashed var(--ligne); border-radius: 6px; }
@media (max-width: 599px) { .tranche-case.plus { display: none; } }

/* ---------- Histoires (lignes alternées) ---------- */
.histoires { padding-block: 32px 24px; display: grid; gap: 28px; }
.histoire { display: grid; gap: 28px; align-items: center; }
.histoire-visuel { position: relative; border-radius: var(--r-xl); background: var(--panneau, var(--lavande-clair)); min-height: 500px; display: grid; place-items: end center; overflow: hidden; padding: 56px 20px 0; }
.histoire-visuel .phone { --w: 252px; margin-bottom: calc(var(--w) * -.42); box-shadow: 0 30px 60px -30px rgba(22,22,26,.45); }
.histoire-texte { display: grid; gap: 16px; padding-inline: 4px; }
.histoire-texte h2 { font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -.035em; }
.histoire-texte > p { color: var(--texte-2); font-size: 18px; max-width: 44ch; }
.puces { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.puces li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.puces li svg { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--carte); color: var(--lavande-fonce); }
.tag-pro { justify-self: start; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--encre); color: #fff; padding: 5px 10px; border-radius: 999px; }

/* Cartes flottantes des histoires */
.c-pages { left: 6%; bottom: 10%; width: 250px; padding: 18px; }
.c-pages .c-l1 { font-family: var(--f-titre); font-size: 17px; }
.c-pages .c-l2 { color: var(--texte-2); font-size: 14px; margin-top: 2px; }
.raccourcis { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.raccourcis span { padding: 7px 12px; border-radius: 999px; background: var(--fond); font-size: 14px; font-weight: 700; }
.raccourcis span.on { background: var(--lavande-clair); box-shadow: inset 0 0 0 2px var(--lavande); }
.c-etoiles { right: 5%; top: 12%; padding: 16px 20px; display: grid; gap: 6px; }
.etoiles { display: flex; gap: 3px; color: var(--lavande); }
.etoiles svg { width: 26px; height: 26px; }
.c-etoiles p { font-weight: 700; }
.c-citation { left: 5%; bottom: 9%; max-width: 300px; background: var(--lavande-clair); padding: 20px 22px; }
.c-citation .gui { font-family: var(--f-titre); font-size: 44px; line-height: .6; color: var(--lavande); display: block; height: 22px; }
.c-citation blockquote { margin: 6px 0 0; font-family: var(--f-titre); font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.c-citation figcaption { margin-top: 10px; font-size: 13px; color: var(--texte-2); }
.c-note { right: 5%; top: 10%; width: 240px; padding: 16px 18px; }
.c-note .etiquette { font-size: 11px; }
.c-note p { margin-top: 6px; font-size: 15px; line-height: 1.4; }
.c-anneau { right: 5%; bottom: 10%; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.anneau { --v: 75; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--menthe) calc(var(--v) * 1%), var(--ligne) 0); display: grid; place-items: center; flex: none; }
.anneau::before { content: attr(data-label); width: 54px; height: 54px; border-radius: 50%; background: var(--carte); display: grid; place-items: center; font-family: var(--f-titre); font-size: 16px; }
.c-anneau b { font-family: var(--f-titre); font-size: 28px; line-height: 1; letter-spacing: -.02em; display: block; }
.c-anneau span { color: var(--texte-2); font-size: 14px; }
.c-calendrier { left: 5%; top: 9%; padding: 16px; width: 220px; }
.c-calendrier .c-cal-t { display: flex; align-items: center; gap: 6px; font-family: var(--f-titre); font-size: 15px; }
.c-calendrier .c-cal-t svg { width: 18px; height: 18px; color: var(--lavande); }
.cal { margin-top: 10px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal i { aspect-ratio: 1; border-radius: 50%; background: var(--fond); }
.cal i.lu { background: var(--lavande-clair); }
.cal i.auj { background: var(--encre); }
.cal i.futur { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ligne); }
.cal i.vide { visibility: hidden; }

/* ---------- Le reste (grille) ---------- */
.reste { padding-block: 56px; }
.grille { display: grid; gap: 12px; grid-template-columns: 1fr; }
.case { background: var(--carte); border-radius: var(--r-l); padding: 24px; display: grid; gap: 10px; align-content: start; }
.case .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--lavande-clair); color: var(--lavande-fonce); display: grid; place-items: center; }
.case .ico svg { width: 22px; height: 22px; }
.case h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; }
.case p { color: var(--texte-2); font-size: 15.5px; line-height: 1.5; }
.case-statuts { gap: 14px; }
.statuts { display: flex; flex-wrap: wrap; gap: 8px; }
.case .tag-pro { margin-top: 2px; }

/* ---------- Gratuit / Pro ---------- */
.offre { padding-block: 56px; }
.offre-cartes { display: grid; gap: 16px; }
.offre-carte { border-radius: var(--r-xl); padding: 32px 28px; background: var(--carte); display: grid; gap: 20px; align-content: start; }
.offre-carte h3 { font-size: 30px; letter-spacing: -.025em; }
.offre-carte .prix { font-family: var(--f-titre); font-size: 22px; }
.offre-carte .prix small { display: block; font-family: var(--f-texte); font-size: 15px; font-weight: 500; color: var(--texte-2); margin-top: 6px; }
.offre-carte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.offre-carte li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; align-items: start; }
.offre-carte li svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--menthe-clair); color: #2E7A5B; }
.offre-pro { background: var(--encre); color: #fff; position: relative; overflow: hidden; }
.offre-pro .prix small, .offre-pro .offre-note { color: rgba(255,255,255,.7); }
.offre-pro li svg { background: rgba(228,222,250,.16); color: var(--lavande-clair); }
.offre-pro .etiquette { color: var(--lavande-clair); }
.offre-pro .deco { position: absolute; right: 32px; top: 32px; display: flex; align-items: flex-end; gap: 5px; opacity: .9; pointer-events: none; }
.offre-pro .deco i { display: block; width: 22px; border-radius: 3px 3px 1px 1px; }
.offre-note { font-size: 14px; color: var(--texte-2); }

/* ---------- Confidentialité ---------- */
.prive { padding-block: 24px 56px; }
.prive-in { border-radius: var(--r-xl); background: var(--menthe-clair); padding: 40px 28px; display: grid; gap: 28px; }
.prive h2 { font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -.035em; }
.prive-in > div > p { margin-top: 14px; color: #3c4a44; font-size: 18px; max-width: 46ch; }
.prive ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: center; }
.prive li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.7); border-radius: var(--r-m); padding: 14px 16px; font-weight: 700; }
.prive li svg { width: 22px; height: 22px; color: #2E7A5B; flex: none; }
.prive a { font-weight: 700; color: var(--encre); }

/* ---------- Créateur ---------- */
.createur { padding-block: 24px 56px; }
.createur-in { display: grid; gap: 24px; align-items: center; background: var(--carte); border-radius: var(--r-xl); padding: 32px 28px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--lavande-clair); color: var(--lavande-fonce); display: grid; place-items: center; font-family: var(--f-titre); font-size: 44px; }
.createur h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; }
.createur p { margin-top: 10px; color: var(--texte-2); font-size: 17px; max-width: 60ch; }
.createur-liens { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.createur-liens a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; background: var(--fond); padding: 10px 16px; border-radius: 999px; transition: background .2s; }
.createur-liens a:hover { background: var(--lavande-clair); }
.createur-liens svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { padding-block: 32px 56px; }
.faq-in { display: grid; gap: 28px; }
.faq h2 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.035em; }
.faq-liste { display: grid; gap: 10px; }
.faq details { background: var(--carte); border-radius: var(--r-l); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--f-titre); font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--fond); display: grid; place-items: center; transition: transform .25s ease, background .25s; }
.faq summary i svg { width: 16px; height: 16px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--lavande-clair); }
.faq details > div { padding: 0 22px 22px; color: var(--texte-2); font-size: 16.5px; max-width: 70ch; }
.faq details > div a { color: var(--lavande-fonce); font-weight: 700; }

/* ---------- Appel final ---------- */
.final { padding-block: 24px 64px; }
.final-in { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--lavande-clair); padding: 56px 24px 0; text-align: center; display: grid; justify-items: center; gap: 18px; }
.final h2 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -.04em; max-width: 14ch; }
.final p { color: #4b4670; font-size: 18px; max-width: 40ch; }
.final .btn-store { margin-top: 8px; }
.final-tranches { margin-top: 36px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; width: 100%; overflow: hidden; height: 150px; }
.final-tranches i { display: block; width: 40px; flex: none; border-radius: 4px 4px 0 0; background-image: linear-gradient(to bottom, transparent 12px, rgba(22,22,26,.12) 12px, rgba(22,22,26,.12) 15px, transparent 15px); }

/* ---------- Pied de page ---------- */
.pied { padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ligne); }
.pied-in { display: grid; gap: 32px; }
.pied-marque p { margin-top: 12px; color: var(--texte-2); font-size: 15px; max-width: 36ch; }
.pied-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pied h3 { font-family: var(--f-texte); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 12px; }
.pied ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pied ul a { text-decoration: none; color: var(--encre); font-size: 15px; }
.pied ul a:hover { color: var(--lavande-fonce); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--texte-3); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.pied-bas a { color: var(--texte-2); }

/* ---------- Suggestion de langue ---------- */
.suggestion { position: fixed; z-index: 80; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(460px, calc(100% - 32px)); background: var(--encre); color: #fff; border-radius: var(--r-l); padding: 14px 14px 14px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--ombre-forte); }
.suggestion p { flex: 1; font-size: 15px; line-height: 1.35; min-width: 0; }
.suggestion a { flex: none; background: #fff; color: var(--encre); text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; }
.suggestion button { flex: none; border: 0; background: transparent; color: rgba(255,255,255,.7); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.suggestion button:hover { background: rgba(255,255,255,.12); color: #fff; }
.suggestion svg { width: 16px; height: 16px; }

/* ---------- Pages légales ---------- */
.legal { padding-block: 24px 64px; }
.legal-in { display: grid; gap: 24px; }
.legal-tete { padding: 8px 0 8px; display: grid; gap: 14px; }
.legal-tete h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -.04em; }
.legal-tete p { color: var(--texte-2); }
.legal-onglets { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-onglets a { text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--carte); font-size: 15px; font-weight: 700; color: var(--texte-2); }
.legal-onglets a[aria-current="page"] { background: var(--encre); color: #fff; }
.legal-corps { background: var(--carte); border-radius: var(--r-xl); padding: 32px 24px; max-width: 820px; }
.legal-corps .resume { background: var(--lavande-clair); border-radius: var(--r-l); padding: 20px 22px; margin-bottom: 28px; }
.legal-corps .resume p { color: var(--encre); }
.legal-corps .resume ul { margin: 10px 0 0; }
.legal-corps h2 { font-size: 24px; letter-spacing: -.02em; margin: 36px 0 12px; line-height: 1.2; }
.legal-corps h2:first-of-type { margin-top: 8px; }
.legal-corps h3 { font-family: var(--f-texte); font-weight: 700; font-size: 17px; letter-spacing: 0; margin: 20px 0 8px; }
.legal-corps p, .legal-corps li { color: #3d3d45; font-size: 16.5px; line-height: 1.65; }
.legal-corps p + p { margin-top: 12px; }
.legal-corps ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal-corps a { color: var(--lavande-fonce); font-weight: 700; word-break: break-word; }
.legal-corps .fiche { display: grid; gap: 2px; background: var(--fond); border-radius: var(--r-m); padding: 16px 18px; margin: 12px 0; }
.legal-corps .fiche p { margin: 0; }
.legal-corps .fiche b { color: var(--encre); }

.legal-grille { display: grid; gap: 24px; align-items: start; }
.legal-toc { display: none; }
@media (min-width: 1080px) {
  .legal-grille { grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: 40px; }
  .legal-toc { display: grid; gap: 12px; position: sticky; top: 104px; padding: 8px 0; }
  .legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
  .legal-toc li { counter-increment: toc; }
  .legal-toc a { display: grid; grid-template-columns: 28px 1fr; gap: 4px; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-size: 14.5px; color: var(--texte-2); line-height: 1.35; }
  .legal-toc a::before { content: counter(toc); font-weight: 700; color: var(--texte-3); font-variant-numeric: tabular-nums; }
  .legal-toc a:hover { background: var(--carte); color: var(--encre); }
}
.legal-corps h2 { scroll-margin-top: 96px; }

/* ---------- 404 ---------- */
.introuvable { padding-block: 40px 80px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.introuvable h1 { font-size: clamp(48px, 10vw, 96px); letter-spacing: -.04em; }
.introuvable p { color: var(--texte-2); font-size: 18px; max-width: 40ch; }
.introuvable .tranche { --c1: var(--lavande-clair); --t1: var(--lavande-fonce); transform: rotate(-12deg); transform-origin: bottom left; }
.introuvable .liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.introuvable .liens a { text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 999px; background: var(--carte); }

/* =================== Écrans plus larges =================== */
@media (min-width: 600px) {
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offre-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .createur-in { grid-template-columns: auto 1fr; gap: 32px; padding: 40px; }
  .legal-corps { padding: 44px 48px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .nav-liens { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero { padding-block: 40px 56px; }
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; }
  .hero-visuel { min-height: 640px; }
  .hero .phone-a { --w: 300px; }
  .hero .phone-b { --w: 258px; }
  .etagere { padding: 36px 40px 34px; --rang: 236px; }
  .tranche span { font-size: 14px; }
  .histoire { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .histoire:nth-child(even) .histoire-visuel { order: 2; }
  .histoire-visuel { min-height: 600px; padding-top: 72px; }
  .histoire-visuel .phone { --w: 290px; }
  .histoires { gap: 72px; padding-block: 48px; }
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .case-large { grid-column: span 2; }
  .offre-cartes { gap: 20px; }
  .offre-carte { padding: 40px; }
  .prive-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 56px; gap: 48px; align-items: center; }
  .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
  .faq .sec-tete { position: sticky; top: 104px; }
  .final-in { padding-top: 80px; }
  .pied-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .legal-in { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1100px) {
  .hero-in { gap: 48px; }
}
@media (max-width: 899px) {
  .hero-visuel { margin-top: 8px; }
  .objectif { width: 200px; right: 2%; }
  .serie { left: 0; }
}
@media (max-width: 420px) {
  .hero-visuel { min-height: 470px; }
  .hero .phone-a { --w: 228px; }
  .hero .phone-b { --w: 196px; }
  .objectif { width: 180px; padding: 14px 16px; bottom: 4%; }
  .objectif .o-chiffre b { font-size: 32px; }
  .etagere { --rang: 176px; --s: .78; padding: 20px 14px; column-gap: 4px; }
  .tranche span { font-size: 11px; }
  .histoire-visuel { min-height: 440px; padding-inline: 12px; padding-top: 48px; }
  .histoire-visuel .phone { --w: 230px; }
  .c-pages, .c-citation { left: 4%; }
  .c-etoiles, .c-note, .c-anneau, .c-calendrier { transform: scale(.92); }
  .c-citation { max-width: 250px; }
  .c-citation blockquote { font-size: 16px; }
}

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