/* Goustave : la marque d'origine (marque/DESIGN.md) sur la mise en page du 14/11.
   Fond blanc, Switzer, le logo en Young Serif. Le vermillon ne sert qu'aux traits du stylo. */
:root {
  --fond: #FFFFFF; --encre: #0A0A0A; --doux: rgba(0, 0, 0, .42); --filet: #ECECEC;
  --second: rgba(0, 0, 0, .56); --trait: #E0301E;
  --bouton: #0A0A0A; --sur-bouton: #FFFFFF;
  --police: "Switzer", system-ui, sans-serif;
  --marge: max(24px, 16vw);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--fond); color: var(--encre); font-family: var(--police); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

/* La colonne de texte, et la largeur des images, calées sur le même bord gauche. */
.col { width: min(760px, 100% - 48px); margin-left: var(--marge); }
.large { width: min(1040px, 100% - 48px); margin-left: var(--marge); }

/* En-tête */
header { display: flex; align-items: center; gap: 40px; padding-top: 36px; font-size: 15px; font-weight: 500; }
/* Le logo : « Goustave » en Young Serif, vectorisé (marque/logo/goustave.svg), 20 px de haut. Le texte ne sert qu'à la version « sans ». */
.logo { display: flex; align-items: center; font-size: 24px; font-weight: 500; letter-spacing: -.015em; line-height: 1; padding: 10px 0; color: var(--encre); }
.logo svg { display: block; height: 20px; width: auto; fill: currentColor; }
.logo span { display: none; }
nav { display: flex; gap: 26px; margin-right: auto; }
nav a { padding: 12px 0; color: var(--second); }
nav a:hover { color: var(--encre); }
.choix { display: flex; align-items: center; gap: 4px; }
.choix span { margin-right: 8px; color: var(--second); font-weight: 400; }
.choix button { all: unset; cursor: pointer; height: 34px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px #DCDCDC; }
.choix button[aria-pressed="true"] { background: var(--encre); color: var(--fond); box-shadow: none; }
.choix button:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

/* La phrase : le début à l'encre, la suite en gris. */
.phrase { font-size: clamp(30px, 3.3vw, 48px); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; text-wrap: pretty; }
.phrase.m { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.16; }
.phrase h1, .phrase h2, .phrase p { display: inline; font: inherit; letter-spacing: inherit; }
.phrase em { font-style: normal; }
.doux { color: var(--doux); }

.hero { padding-top: clamp(88px, 16vh, 160px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 44px; font-weight: 500; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--bouton); color: var(--sur-bouton); }
.lien { padding: 12px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.petit { margin-top: 22px; font-size: 15px; color: var(--second); max-width: 46ch; }
.texte { margin-top: 36px; font-size: 19px; line-height: 1.45; max-width: 60ch; }

section { margin-top: clamp(104px, 17vh, 168px); }
section[id] { scroll-margin-top: 40px; }

/* La VSL : un écran 16:9 sous le premier écran. Tant qu'elle n'est pas tournée, une case grise avec le bouton de lecture. */
.video { margin-top: clamp(56px, 9vh, 88px); }
.ecran { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; background: #F8F8F8; box-shadow: inset 0 0 0 1px var(--filet); display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 24px; }
.ecran video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.lecture { width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--encre); display: grid; place-items: center; }
.lecture::after { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.ecran p { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.ecran .duree-video { font-size: 15px; font-weight: 400; color: var(--second); }

/* Les captures : pas de carte, juste l'image et sa légende. */
figure, .deux, .trois { margin-top: 44px; }
.deux, .trois { display: grid; gap: 24px 20px; }
.deux { grid-template-columns: 1fr 1fr; }
.trois { grid-template-columns: repeat(3, 1fr); }
.deux figure, .trois figure { margin: 0; }
figure img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
figcaption { margin-top: 10px; font-size: 15px; color: var(--second); }

/* Les listes : a, b, c en gris. */
ol { list-style: none; padding: 0; margin-top: 44px; counter-reset: i; border-top: 1px solid var(--filet); }
li { display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; border-bottom: 1px solid var(--filet); font-size: 19px; line-height: 1.42; counter-increment: i; }
li::before { content: counter(i, lower-alpha) "."; color: var(--second); }
li b { font-weight: 600; }
.duree li { grid-template-columns: 34px 1fr auto; column-gap: 0; }
.duree li i { font-style: normal; color: var(--second); font-variant-numeric: tabular-nums; padding-left: 24px; white-space: nowrap; }
mark { background: none; color: inherit; box-shadow: inset 0 -1px 0 var(--encre); }

dl { margin-top: 44px; border-top: 1px solid var(--filet); }
dt { padding-top: 18px; font-size: 19px; font-weight: 500; }
dd { padding: 4px 0 18px; font-size: 19px; line-height: 1.42; color: var(--second); border-bottom: 1px solid var(--filet); }

.fin { margin-bottom: clamp(104px, 17vh, 168px); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 40px; border-top: 1px solid var(--filet); font-size: 15px; color: var(--second); }
.retour { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px; background: #030302; color: #fff; font: 500 14px/1.3 system-ui, sans-serif; white-space: nowrap; }
.retour[hidden] { display: none; }
.retour button { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0A0A0A; }

/* Le pied de page : les pages légales et le lien qui rouvre le choix des cookies. */
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
footer nav a, footer [data-cookies] { padding: 0; color: inherit; }
footer [data-cookies] { all: unset; cursor: pointer; }
footer nav a:hover, footer [data-cookies]:hover { color: var(--encre); }

/* Le bandeau du pixel : une ligne discrète en bas à gauche, avec le retrait du suivi. */
.bandeau { position: fixed; left: 16px; bottom: 16px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; max-width: calc(100% - 32px); padding: 8px 8px 8px 14px; border-radius: 10px; background: var(--fond); box-shadow: 0 0 0 1px var(--filet), 0 4px 14px rgba(0, 0, 0, .06); font-size: 13px; line-height: 1.35; color: var(--second); }
.bandeau a { text-decoration: underline; text-underline-offset: 2px; }
.bandeau button { all: unset; cursor: pointer; padding: 4px 6px; border-radius: 6px; color: var(--encre); text-decoration: underline; text-underline-offset: 2px; }
.bandeau [data-consentement="oui"] { text-decoration: none; font-weight: 500; }
.bandeau button:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }

/* Les pages légales et la page de remerciement : une colonne de texte. */
.page { padding: clamp(56px, 10vh, 96px) 0 clamp(80px, 14vh, 140px); }
.page h1 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
.page h2 { margin-top: 40px; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.page p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--second); }
.page p.petit { margin-top: 10px; font-size: 15px; }
.page ul { list-style: disc; margin-top: 12px; padding-left: 1.2em; border: 0; }
.page ul li { display: list-item; padding: 0; margin-top: 6px; border: 0; font-size: 17px; line-height: 1.55; color: var(--second); }
.page ul li::before { content: none; }
.page a { text-decoration: underline; text-underline-offset: 2px; }
.page mark { background: #FFF2A8; color: var(--encre); }
.page .btn { margin-top: 28px; text-decoration: none; }

@media (max-width: 900px) {
  :root { --marge: 24px; }
  header nav { display: none; }
  header { justify-content: space-between; gap: 16px; }
  .trois { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lecture { width: 56px; height: 56px; margin-bottom: 10px; }
  .ecran p { font-size: 16px; }
  .ecran .duree-video { font-size: 14px; }
  .deux, .trois { grid-template-columns: 1fr; }
  .choix span { display: none; }
  .choix button { height: 44px; }
  .btn { height: 52px; }
  li, dt, dd, .texte { font-size: 17px; }
  .retour { white-space: normal; width: calc(100% - 32px); border-radius: 18px; }
}

/* ── « Sans Goustave » : la même page avec les tics d'une landing générée. ───────────────────────────
   Tout est fait ici, en CSS, sur le même HTML. C'est une caricature, pas une page rendue par une IA. */
[data-v="2"] {
  --fond: #FAF6EE; --encre: #1F1B16; --doux: #6B6257; --second: #6B6257; --filet: rgba(31, 27, 22, .1);
  --bouton: linear-gradient(135deg, #7C3AED, #F97316); --sur-bouton: #fff;
  --police: "Inter", system-ui, sans-serif; --marge: auto;
}
[data-v="2"] body { background:
  radial-gradient(620px 420px at 18% 2%, rgba(168, 85, 247, .30), transparent 70%),
  radial-gradient(720px 520px at 86% 8%, rgba(249, 115, 22, .24), transparent 70%), var(--fond); background-repeat: no-repeat; }
[data-v="2"] .col, [data-v="2"] .large { margin-right: auto; }
[data-v="2"] main { text-align: center; }
[data-v="2"] .phrase { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.01em; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; }
[data-v="2"] .phrase.m { font-size: clamp(30px, 3.4vw, 48px); }
[data-v="2"] .logo svg { display: none; }
[data-v="2"] .logo span { display: inline; }
[data-v="2"] .phrase em, [data-v="2"] .phrase .doux { font-style: italic; color: #C2410C; }
[data-v="2"] .hero .phrase::before { content: "✦  PROPULSÉ PAR L'IA  →"; display: block; width: max-content; margin: 0 auto 26px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid #EADFCE; font: 600 12px/1 "Inter", sans-serif; letter-spacing: .14em; color: #7C3AED; }
[data-v="2"] .phrase[data-sans]::before { content: attr(data-sans); display: block; margin-bottom: 14px; font: 600 12px/1 "Inter", sans-serif; letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: #7C3AED; }
[data-v="2"] .actions { justify-content: center; }
[data-v="2"] .btn { border-radius: 12px; box-shadow: 0 12px 34px rgba(124, 58, 237, .45); }
[data-v="2"] .petit, [data-v="2"] .texte { margin-left: auto; margin-right: auto; }
[data-v="2"] ol { border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(1040px, 100% - 48px); }
[data-v="2"] li, [data-v="2"] .duree li { display: block; text-align: left; padding: 24px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(31, 27, 22, .08); font-size: 15px; }
[data-v="2"] li::before { content: "🚀"; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: #F3E8FF; }
[data-v="2"] li:nth-child(3n+2)::before { content: "⚡"; }
[data-v="2"] li:nth-child(3n)::before { content: "🔒"; }
[data-v="2"] .duree li i { display: block; padding: 8px 0 0; }
[data-v="2"] .ecran { border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(124, 58, 237, .25); }
[data-v="2"] .lecture { background: linear-gradient(135deg, #7C3AED, #F97316); }
[data-v="2"] figure img { border-radius: 20px; box-shadow: 0 24px 60px rgba(124, 58, 237, .25); }
[data-v="2"] dl { text-align: left; border: 0; }
[data-v="2"] footer { margin: 0 auto; }
[data-v="2"] .choix button[aria-pressed="true"] { background: #1F1B16; color: #fff; }
@media (max-width: 900px) { [data-v="2"] ol { grid-template-columns: 1fr; } }
