/* 365soirsavectoi.fr : feuille de style du site (reprise de la maquette d'accueil validée le 2026-10-09).
   Polices hébergées sur le site, sous-ensemble latin de Google Fonts : aucune requête vers Google. */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/playfair-display.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/playfair-display-italic.woff2) format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 200 700; font-display: swap; src: url(/fonts/crimson-pro.woff2) format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: italic; font-weight: 200 700; font-display: swap; src: url(/fonts/crimson-pro-italic.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/montserrat.woff2) format("woff2"); }
/* Écritures manuscrites de « Faites-en le vôtre » */
@font-face { font-family: "Caveat"; font-weight: 400 600; font-display: swap; src: url(/fonts/caveat.woff2) format("woff2"); }
@font-face { font-family: "Homemade Apple"; font-display: swap; src: url(/fonts/homemade-apple.woff2) format("woff2"); }
@font-face { font-family: "Reenie Beanie"; font-display: swap; src: url(/fonts/reenie-beanie.woff2) format("woff2"); }
@font-face { font-family: "La Belle Aurore"; font-display: swap; src: url(/fonts/la-belle-aurore.woff2) format("woff2"); }
@font-face { font-family: "Shadows Into Light Two"; font-display: swap; src: url(/fonts/shadows-into-light-two.woff2) format("woff2"); }
/* Chiffres de Playfair 500 tirés de la police du livre, alignés par défaut : la version Google Fonts
   n'a pas les chiffres alignés et fait descendre le 3 et le 5. Ne sert qu'aux chiffres (unicode-range). */
@font-face { font-family: "Playfair Chiffres"; font-weight: 400 600; font-display: block; unicode-range: U+30-39;
  src: url(/fonts/playfair-chiffres.woff2) format("woff2"); }
/* Concept : un fond clair et calme pour que la couverture prune et les dessins au crayon ressortent.
   Le texte prend le prune de la couverture ; les pages du livre sont posées dessus, en blanc. */
:root {
  --fond: #f8f4f2;        /* papier rosé, un ton sous le blanc des pages */
  --voile: #ebe3e0;       /* fin de page, pied de page */
  --texte: #2f1a21;       /* le prune de la couverture, en encre */
  --doux: #9f5267;        /* vieux rose : sous-titres, légendes, repères (#7a646b avant le 9 oct.) */
  --fil: rgba(47, 26, 33, .14);
  --papier: #fffdfb;      /* la page du livre */
  --encre: #1d1418;
  --gris: #6b6b6b;        /* le gris neutre de l'intérieur imprimé */
  --rose: #a3374e;        /* accent rare : seuil des 18 ans, humeur brûlante */
  --display: "Playfair Chiffres", "Playfair Display", "Didot", Georgia, serif;
  --lecture: "Crimson Pro", "Iowan Old Style", Georgia, serif;
  --repere: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
/* Chiffres alignés partout : le raccourci « font: » remet font-variant-numeric à zéro, pas font-feature-settings */
* { font-feature-settings: "lnum" 1; }
body { background: var(--fond); color: var(--texte); font: 350 1.15rem/1.6 var(--lecture); margin: 0; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 1.5px solid var(--texte); outline-offset: 4px; }
.cadre { max-width: 1140px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 44px); }
.repere { font: 400 .68rem var(--repere); letter-spacing: .42em; text-transform: uppercase; color: var(--doux); }
h2 { font: 400 clamp(2rem, 4.4vw, 3.1rem)/1.08 var(--display); margin: 0; text-wrap: balance; }
h2 em { color: var(--doux); }
.lune { width: .32em; height: .32em; fill: none; stroke: currentColor; stroke-width: 1.1; }
.btn { font: 500 .64rem var(--repere); letter-spacing: .28em; text-transform: uppercase; padding: 16px 24px; border-radius: 99px; border: 1px solid var(--texte); background: var(--texte); color: var(--fond); cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; transition: background .25s, color .25s; }
.btn:hover { background: transparent; color: var(--texte); }
.btn.vide { background: transparent; color: var(--texte); border-color: var(--fil); }
.btn.vide:hover { border-color: var(--texte); }

/* En-tête */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--fond) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
/* Le logo du livre (page de titre, un_par_page.py) : « 365 » Playfair 500 en chiffres alignés,
   lune en exposant (haut .08em, droite -.3em, taille .22em), « soirs avec toi » en Crimson italique à .385em */
.logo { display: inline-grid; justify-items: center; text-align: center; }
.logo .n { font: 500 1em/1 var(--display); position: relative; }
.logo .n svg { position: absolute; top: .08em; right: -.3em; width: .22em; height: .22em; fill: none; stroke: currentColor; stroke-width: 1.1; }
.logo .st { font: italic 400 .385em/1.2 var(--lecture); margin-top: .1em; color: var(--doux); }
.marque { display: flex; align-items: baseline; gap: 14px; text-decoration: none; white-space: nowrap; }
.marque .n { font: 500 1.7rem/1 var(--display); position: relative; }
.marque .n svg { position: absolute; top: .08em; right: -.3em; width: .22em; height: .22em; fill: none; stroke: currentColor; stroke-width: 1.1; }
.marque .st { font: italic 400 1.15rem var(--lecture); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { font: 400 .64rem var(--repere); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; color: var(--doux); }
nav a:hover { color: var(--texte); border-color: var(--doux); }
nav a.btn { color: var(--fond); border-bottom: 1px solid var(--texte); padding: 11px 18px; }
nav a.btn:hover { color: var(--texte); }
@media (max-width: 820px) { nav a.option { display: none; } }
@media (max-width: 420px) { .marque .st { display: none; } }

/* Ouverture : le titre de la couverture, puis le livre */
.ouverture { padding-block: clamp(28px, 5vw, 64px) clamp(64px, 9vw, 120px); overflow: hidden; }
.ouverture .cadre { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px 64px; align-items: center; }
@media (max-width: 860px) { .ouverture .cadre { grid-template-columns: 1fr; } }
.titre { margin: 18px 0 0; font-size: clamp(6rem, 17vw, 11.5rem); }
.sous { font: italic 300 clamp(1.2rem, 2vw, 1.4rem)/1.45 var(--lecture); color: var(--texte); max-width: 32ch; margin-top: 22px; }
.prevenir { display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px; margin-top: 34px; }
.prevenir input { flex: 1 1 220px; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--doux); color: var(--texte); font: italic 300 1.2rem var(--lecture); padding: 12px 2px; }
.prevenir input::placeholder { color: var(--doux); }
.prevenir input:focus { outline: none; border-color: var(--texte); }
.merci { margin-top: 12px; font-style: italic; color: var(--doux); font-size: 1rem; min-height: 1.6em; }
.acheter { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.ou-acheter { margin: 14px 0 30px; font: italic 300 1.05rem var(--lecture); color: var(--doux); }
.faits { display: flex; flex-wrap: wrap; gap: 10px 26px; font: 400 .6rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: var(--texte); }
.faits b { font: 400 .95rem var(--display); letter-spacing: 0; color: var(--doux); margin-right: 6px; }
.livre { position: relative; justify-self: center; width: min(400px, 82vw); }
.livre img { width: 100%; height: auto; border-radius: 2px 4px 4px 2px; box-shadow: -1px 0 0 rgba(0,0,0,.35) inset, 30px 50px 70px -30px rgba(47,26,33,.55), 8px 12px 24px -10px rgba(47,26,33,.35); transform: rotate(2.4deg); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.livre:hover img { transform: rotate(0deg) translateY(-6px); }
.livre .sortie { position: absolute; left: -18px; bottom: 34px; background: var(--doux); color: var(--fond); font: 500 .58rem var(--repere); letter-spacing: .28em; text-transform: uppercase; padding: 10px 14px; transform: rotate(-4deg); }

/* Bloc courant */
.bloc { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--fil); }
.entree { display: grid; gap: 16px; max-width: 520px; }
.entree p { font-style: italic; color: var(--texte); font-size: 1.12rem; }

/* Les extraits : la vraie page du livre, aux mesures de un_par_page.py (page de 127 mm de large,
   toutes les cotes en cqw = % de la largeur). Les pages tournent quand on change d'extrait. */
.soir .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 48px 80px; align-items: center; }
@media (max-width: 900px) { .soir .cadre { grid-template-columns: 1fr; } .soir .pile { justify-self: center; } }
.pile { container-type: inline-size; position: relative; width: 100%; max-width: 470px; aspect-ratio: 5 / 8; transform: rotate(-1.2deg); perspective: 2200px; }
.pile::before, .pile::after { content: ""; position: absolute; inset: 0; background: #f8f4f1; border: 1px solid rgba(47,26,33,.06); }
.pile::before { transform: translate(7px, 6px); box-shadow: 0 40px 70px -36px rgba(47,26,33,.45); }
.pile::after { transform: translate(3.5px, 3px); }
.page-livre { position: absolute; inset: 0; z-index: 1; background: var(--papier); color: var(--encre); box-shadow: 0 1px 2px rgba(47,26,33,.08); transform-origin: left center; backface-visibility: hidden; overflow: hidden; }
.page-livre::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 6cqw; background: linear-gradient(90deg, rgba(29,20,24,.08), transparent); pointer-events: none; }
.page-livre .courant { position: absolute; top: 9.5cqw; left: 0; right: 0; text-align: center; font: italic 400 2.92cqw var(--lecture); color: var(--gris); }
.page-livre .lettre { position: absolute; top: 27cqw; left: 17.3cqw; font: italic 400 2.92cqw var(--lecture); color: var(--gris); }
.page-livre .lettre sup { font-size: .65em; }
.page-livre blockquote { position: absolute; top: 38.4cqw; left: 17.3cqw; right: 14cqw; margin: 0; font: italic 400 3.61cqw/1.58 var(--lecture); }
.page-livre blockquote s { color: var(--gris); text-decoration-thickness: 1px; }
.page-livre .griffonne { position: absolute; right: 11cqw; bottom: 15.75cqw; max-width: 36.2cqw; max-height: 45.7cqw; transform: rotate(-4deg); mix-blend-mode: multiply; }
.page-livre .griffonne[hidden] { display: none; }
.page-livre .folio { position: absolute; top: 148.7cqw; left: 0; right: 0; text-align: center; font: italic 400 2.36cqw var(--lecture); color: var(--gris); }
.page-livre.tourne { z-index: 3; pointer-events: none; }
.page-livre .ombre { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,20,24,0), rgba(29,20,24,.18)); opacity: 0; pointer-events: none; }
.pilote { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.fleche { background: none; border: 1px solid var(--fil); border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; color: var(--texte); }
.fleche:hover { border-color: var(--texte); }
.fleche svg { width: 20px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.pilote .ou { font: 400 .6rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: var(--doux); }
.pilote .ou b { font-weight: 500; color: var(--texte); }
.voix { margin-left: auto; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 10px; font: 400 .58rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: var(--doux); padding: 8px 0; }
.voix:hover { color: var(--texte); }
.voix .rond { width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.voix .onde { display: flex; gap: 2px; align-items: center; height: 12px; }
.voix .onde i { width: 1.5px; height: 3px; background: currentColor; border-radius: 2px; }
.voix.joue .onde i { animation: onde 1s ease-in-out infinite; }
.voix .onde i:nth-child(2) { animation-delay: .15s } .voix .onde i:nth-child(3) { animation-delay: .3s } .voix .onde i:nth-child(4) { animation-delay: .45s }
@keyframes onde { 50% { height: 12px; } }
.compte { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--fil); }
.compte p { font: 400 1.3rem/1.35 var(--display); }
.compte p em { color: var(--doux); }

/* Les dessins : crayon d origine, sans cadre, en quinconce */
.dessins .cadre { display: grid; gap: 56px; }
.galerie { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; align-items: end; }
.galerie figure { margin: 0; display: grid; gap: 14px; }
.galerie img { mix-blend-mode: multiply; width: 100%; height: auto; max-height: 300px; object-fit: contain; object-position: left bottom; transition: transform .6s; }
.galerie figure:hover img { transform: translateY(-4px) rotate(-1deg); }
.galerie figcaption { display: grid; gap: 2px; }
.galerie figcaption span { font-style: italic; color: var(--doux); font-size: 1rem; }
.galerie .g1 { grid-column: 1 / span 2; }
.galerie .g2 { grid-column: 3 / span 2; padding-bottom: 60px; }
.galerie .g3 { grid-column: 5 / span 2; }
.galerie .g4 { grid-column: 2 / span 2; }
.galerie .g5 { grid-column: 4 / span 1; }
.galerie .g6 { grid-column: 5 / span 2; padding-top: 30px; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie figure { grid-column: auto !important; padding: 0 !important; }
}
.galerie .libre div { aspect-ratio: 3 / 4; border: 1px dashed var(--doux); display: grid; place-items: center; font-style: italic; color: var(--doux); text-align: center; padding: 12px; max-width: 100%; }

/* Les humeurs : cinq mots */
.humeurs .cadre { display: grid; gap: 34px; }
.mots-humeur { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; }
.mots-humeur button { background: none; border: 0; cursor: pointer; font: italic 400 clamp(2.2rem, 6vw, 4.4rem)/1.15 var(--display); color: var(--texte); padding: 0 .2em; transition: color .3s; }
.mots-humeur button:hover, .mots-humeur button[aria-pressed="true"] { color: var(--doux); }
.mots-humeur button.b:hover, .mots-humeur button.b[aria-pressed="true"] { color: var(--rose); }
.mots-humeur .point { font: 400 clamp(1.4rem, 3vw, 2rem) var(--display); color: var(--fil); }
.humeurs .aide { font-style: italic; color: var(--texte); max-width: 52ch; }
.humeurs .aide b { font-weight: 400; color: var(--rose); font-style: normal; font: 400 .6rem var(--repere); letter-spacing: .3em; text-transform: uppercase; }

/* Comment le lire */
.lire .cadre { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px 80px; }
@media (max-width: 860px) { .lire .cadre { grid-template-columns: 1fr; } }
.facons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
@media (max-width: 560px) { .facons { grid-template-columns: 1fr; } }
.facons div { border-top: 1px solid var(--fil); padding-block: 22px; display: grid; gap: 6px; }
.facons strong { font: 400 1.4rem var(--display); }
.facons p { color: var(--texte); font-size: 1.05rem; font-style: italic; }
.voix-duo { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.voix-duo button { background: none; border: 1px solid var(--fil); border-radius: 99px; padding: 10px 18px 10px 12px; cursor: pointer; display: flex; align-items: center; gap: 10px; font: 400 .6rem var(--repere); letter-spacing: .28em; text-transform: uppercase; }
.voix-duo button:hover { border-color: var(--texte); }
.voix-duo .rond { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }


/* Présentation : ce qu'est le livre, repris de la description Amazon */
.presente .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 80px; align-items: start; }
@media (max-width: 860px) { .presente .cadre { grid-template-columns: 1fr; } }
.presente h2 { margin-top: 16px; }
.presente .recit { display: grid; gap: 18px; max-width: 56ch; }
.presente .recit p { font-size: 1.2rem; }
.presente .recit blockquote { margin: 8px 0 0; padding-left: 20px; border-left: 1px solid var(--doux); font: italic 300 1.4rem/1.5 var(--lecture); color: var(--doux); }

/* Noël : le livre commence le 1er janvier, il s'offre juste avant */
.noel { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--fil); }
.noel .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px 72px; align-items: center; }
@media (max-width: 760px) { .noel .cadre { grid-template-columns: 1fr; } .noel img { width: 200px; } }
.noel h2 em { color: var(--rose); }
.noel p { font-style: italic; color: var(--texte); font-size: 1.15rem; max-width: 46ch; margin-top: 16px; }
.noel .btn { margin-top: 28px; }
.noel img { width: 100%; height: auto; mix-blend-mode: multiply; transform: rotate(3deg); }

/* Faites-en le vôtre : des pages du livre annotées, chaque main a son écriture et son stylo */
.votre .cadre { display: grid; gap: 56px; }
.annotes { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 36px; }
.annotes figure { margin: 0; width: min(280px, 100%); display: grid; gap: 18px; container-type: inline-size; }
.annotes figure:nth-child(odd) .feuillet { transform: rotate(-1.6deg); }
.annotes figure:nth-child(even) .feuillet { transform: rotate(1.4deg); margin-top: 28px; }
.feuillet { position: relative; aspect-ratio: 5 / 8; max-width: 100%; background: var(--papier); color: var(--encre); padding: 9cqw 11cqw; box-shadow: 0 1px 0 rgba(47,26,33,.06), 0 30px 50px -30px rgba(47,26,33,.45); overflow: hidden; }
.feuillet .courant { font: italic 400 3.3cqw var(--lecture); color: var(--gris); text-align: center; }
.feuillet .lettre { font: italic 400 4.2cqw var(--lecture); color: var(--gris); margin-top: 10cqw; }
.feuillet .lettre sup { font-size: .65em; }
.feuillet blockquote { margin: 6cqw 0 0; font: italic 400 5cqw/1.55 var(--lecture); }
.feuillet blockquote s { color: var(--gris); text-decoration-thickness: 1px; }
.feuillet .folio { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; font: italic 3.3cqw var(--lecture); color: var(--gris); }
.main { position: absolute; line-height: 1.15; white-space: nowrap; }
.main svg { display: block; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.bic { color: #24408e; font: 500 7.4cqw "Caveat", cursive; }
.feutre { color: #1d1418; font: 400 4.2cqw/1.7 "Homemade Apple", cursive; }
.crayon { color: #77777a; font: 400 8.4cqw "Reenie Beanie", cursive; }
.sepia { color: #6b4a2f; font: 400 5.6cqw/1.45 "La Belle Aurore", cursive; }
.vert { color: #2f6b4f; font: 400 6cqw "Shadows Into Light Two", cursive; }
.rouge { color: #c0392b; }
.corne { position: absolute; top: 0; right: 0; width: 15cqw; height: 15cqw; background: linear-gradient(225deg, var(--fond) 50%, #ece5e1 50%); box-shadow: -2px 2px 4px rgba(47,26,33,.12); }
.billet { position: absolute; left: 9%; top: 61%; width: 58%; background: #f3ead8; border: 1px dashed #c9b99a; padding: 3.2cqw 4cqw; transform: rotate(-6deg); font: 500 2.6cqw var(--repere); letter-spacing: .12em; text-transform: uppercase; color: #6b5a44; display: grid; gap: 1.6cqw; box-shadow: 0 3px 6px rgba(47,26,33,.12); }
.billet b { font: 400 5cqw var(--display); letter-spacing: 0; text-transform: none; color: #3e3226; }
.billet::before { content: ""; position: absolute; top: -3.4cqw; left: 35%; width: 30%; height: 7cqw; background: rgba(214, 190, 205, .7); transform: rotate(4deg); }
.annotes figcaption { display: grid; gap: 4px; padding-inline: 4px; }
.annotes figcaption span { font-style: italic; color: var(--doux); font-size: 1.02rem; line-height: 1.45; }
.votre .exemples { font: 400 .58rem var(--repere); letter-spacing: .24em; text-transform: uppercase; color: var(--doux); text-align: center; }

/* Un mot d'Iris : message audio */
.message { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.message button { background: none; border: 1px solid var(--texte); border-radius: 99px; padding: 10px 20px 10px 10px; cursor: pointer; display: flex; align-items: center; gap: 12px; font: 500 .62rem var(--repere); letter-spacing: .26em; text-transform: uppercase; }
.message button:hover { background: var(--texte); color: var(--fond); }
.message .rond { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.message .duree { font: 400 .58rem var(--repere); letter-spacing: .24em; text-transform: uppercase; color: var(--doux); }
.transcription { margin-top: 14px; max-width: 52ch; }
.transcription summary { cursor: pointer; font: 400 .58rem var(--repere); letter-spacing: .24em; text-transform: uppercase; color: var(--doux); }
.transcription p { margin-top: 12px; font-style: italic; color: var(--texte); font-size: 1.02rem; }

/* Fin : la fenêtre de nuit des ouvertures de mois */
.fin { background: var(--voile); padding-block: clamp(72px, 10vw, 120px); }
.fin .cadre { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 40px 80px; align-items: center; }
@media (max-width: 760px) { .fin .cadre { grid-template-columns: 1fr; } .fin img { width: 180px; } }
.fin img { width: 100%; height: auto; mix-blend-mode: multiply; }
.fin h2 { margin-top: 14px; }
.fin blockquote { margin: 26px 0 0; font: italic 300 1.45rem/1.5 var(--lecture); max-width: 34ch; }
.fin .sign { margin-top: 18px; color: var(--texte); font-size: 1.02rem; max-width: 48ch; }
.fin .sign a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fin .btn { margin-top: 30px; }

footer { background: var(--voile); border-top: 1px solid var(--fil); padding-block: 28px 40px; }
footer .cadre { display: flex; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; align-items: baseline; }
footer p, footer a { font: 400 .58rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: var(--doux); text-decoration: none; }
footer .liens { display: flex; gap: 22px; flex-wrap: wrap; }

/* Seuil 18 ans */
.voile-seuil { position: fixed; inset: 0; z-index: 20; background: rgba(47, 26, 33, .45); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; }
.seuil { background: var(--papier); border: 1px solid var(--fil); padding: 48px 28px 40px; max-width: 440px; width: 100%; display: grid; justify-items: center; text-align: center; gap: 16px; }
.seuil svg { width: 26px; height: 26px; fill: none; stroke: var(--rose); stroke-width: 1.1; }
.seuil h3 { font: 400 1.7rem/1.2 var(--display); margin: 0; }
.seuil p { font-style: italic; color: var(--texte); }
.seuil .boutons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .livre img, .galerie img { transition: none; } .voix.joue .onde i { animation: none; } }

/* ---- Ajouts du site en ligne ---- */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--texte); color: var(--fond); padding: 10px 16px; font: 500 .7rem var(--repere); letter-spacing: .2em; text-transform: uppercase; }
.evitement:focus { top: 12px; }
.prevenir .accord { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-style: italic; color: var(--texte); line-height: 1.45; }
.prevenir .accord input { flex: none; width: 17px; height: 17px; margin: 4px 0 0; accent-color: var(--texte); }
.prevenir .accord a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prevenir .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prevenir button[disabled] { opacity: .6; cursor: wait; }
.merci.ok { color: var(--texte); }

/* Questions fréquentes : réponses courtes, lisibles par les moteurs et les assistants */
.questions .cadre { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px 80px; }
@media (max-width: 860px) { .questions .cadre { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--fil); }
.faq details:last-child { border-bottom: 1px solid var(--fil); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; font: 400 1.25rem/1.35 var(--display); }
.faq summary h3 { font: inherit; margin: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.4rem/1 var(--repere); color: var(--doux); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 62ch; font-size: 1.1rem; }

footer .liens a:hover { color: var(--texte); }

/* Pages de texte : mentions légales, confidentialité, 404 */
.page-texte { padding-block: clamp(40px, 7vw, 88px) clamp(72px, 10vw, 120px); }
.page-texte .cadre { max-width: 760px; }
.page-texte h1 { font: 400 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--display); margin: 14px 0 28px; }
.page-texte h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.page-texte p, .page-texte li { font-size: 1.12rem; }
.page-texte p + p { margin-top: 12px; }
.page-texte ul { padding-left: 1.2em; margin: 12px 0; }
.page-texte a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.page-texte .chapeau { font-style: italic; font-size: 1.25rem; }
.page-texte .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.ariane { font: 400 .6rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: var(--doux); }
.ariane ol { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; flex-wrap: wrap; }
.ariane li + li::before { content: "·"; margin-right: 10px; }
.ariane a { text-decoration: none; }
.ouverture .repere { display: block; line-height: 1.9; }

/* Page de l'autrice */
.fin .sign a + a, .sign a[href="/iris-duvernet/"] { margin-left: 4px; }
.portrait { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.portrait .cadre { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 80px; align-items: center; }
@media (max-width: 860px) { .portrait .cadre { grid-template-columns: 1fr; } .portrait img { width: 220px; } }
.portrait .ariane { margin-bottom: 36px; }
.portrait h1 { font: 400 clamp(3.2rem, 8vw, 5.6rem)/1.02 var(--display); margin: 14px 0 0; }
.portrait h1 em { color: var(--doux); }
.portrait .chapeau { font: italic 300 clamp(1.3rem, 2.2vw, 1.55rem)/1.45 var(--lecture); margin-top: 20px; max-width: 34ch; }
.portrait .recit { display: grid; gap: 16px; margin-top: 30px; max-width: 58ch; }
.portrait .recit p { font-size: 1.15rem; }
.portrait img { width: 100%; height: auto; mix-blend-mode: multiply; justify-self: center; }
.livres-iris .cadre { display: grid; gap: 48px; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
@media (max-width: 860px) { .deux { grid-template-columns: 1fr; } }
.deux article { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 480px) { .deux article { grid-template-columns: 1fr; } .deux .vignette { width: 150px; } }
.deux h3 { font: 400 1.7rem/1.15 var(--display); margin: 10px 0 12px; }
.deux h3 a { text-decoration: none; }
.deux h3 a:hover { color: var(--doux); }
.deux p { font-size: 1.08rem; }
.deux .btn { margin-top: 22px; }
.vignette img { width: 100%; height: auto; box-shadow: 14px 24px 34px -18px rgba(47,26,33,.5); transform: rotate(2deg); }
.fin .cadre.seul { grid-template-columns: 1fr; max-width: 760px; }
.fin .cadre.seul blockquote { max-width: none; }
.vignette { display: grid; gap: 14px; text-decoration: none; }
.vignette .legende { font: italic 400 .95rem var(--lecture); color: var(--doux); text-align: center; }
.voix-iris p { font-style: italic; }
.voix-iris .signe { font: italic 400 1.6rem var(--display); color: var(--doux); }

/* Page du bonus audio (/ecouter/, adresse imprimée dans le livre) : un cadeau qu'on ouvre la nuit */
.cadeau-nuit { --creme: #f8f4f2; --rose-clair: #e7a9b8; background: radial-gradient(120% 90% at 20% 0%, #4a2a35 0%, #2f1a21 55%, #241318 100%); color: var(--creme); padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px); overflow: hidden; }
.cadeau-nuit .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px 80px; align-items: center; }
@media (max-width: 900px) { .cadeau-nuit .cadre { grid-template-columns: 1fr; } .carte-cadeau { justify-self: center; } }
.cadeau-nuit .repere { color: var(--rose-clair); }
.cadeau-nuit h1 { font: 400 clamp(2.8rem, 6.4vw, 4.8rem)/1.04 var(--display); margin: 16px 0 0; text-wrap: balance; }
.cadeau-nuit h1 em { color: var(--rose-clair); }
.texte-cadeau { display: grid; gap: 14px; margin-top: 26px; max-width: 46ch; }
.texte-cadeau p { font-size: 1.15rem; color: rgba(248,244,242,.9); }
.ondes { display: grid; gap: 10px; margin-top: 34px; max-width: 420px; }
.ondes div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.ondes span { font: 400 .6rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: var(--rose-clair); }
.ondes svg { width: 100%; height: 22px; fill: none; stroke: rgba(248,244,242,.7); stroke-width: 1; stroke-linejoin: round; }
.ondes div:last-child svg { stroke: var(--rose-clair); }
.cadeau-texte .details { margin-top: 18px; font: 400 .6rem var(--repere); letter-spacing: .3em; text-transform: uppercase; color: rgba(248,244,242,.6); line-height: 2; }

/* La carte : papier crème, un cachet de cire rose qui saute à l'ouverture */
.carte-cadeau { position: relative; width: 100%; max-width: 440px; background: var(--papier); color: var(--encre); padding: 34px 32px 30px; transform: rotate(1.2deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 2px 0 rgba(255,255,255,.04); }
.carte-cadeau::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(159,82,103,.25); pointer-events: none; }
.carte-dessin { display: block; width: 62%; height: auto; margin: 0 auto 6px; mix-blend-mode: multiply; }
.sceau { position: absolute; top: -26px; right: 26px; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b8657c, #9f5267 55%, #7d3d50); color: var(--creme); display: grid; place-items: center; box-shadow: inset 0 0 0 5px rgba(255,255,255,.08), inset 0 -4px 8px rgba(0,0,0,.25), 0 8px 16px -6px rgba(0,0,0,.45); transform: rotate(-10deg); transition: transform .65s cubic-bezier(.3,.6,.3,1.4), opacity .65s; }
.sceau .n { font: 500 1.35rem/1 var(--display); position: relative; }
.sceau .n svg { position: absolute; top: .08em; right: -.3em; width: .22em; height: .22em; fill: none; stroke: currentColor; stroke-width: 1.1; }
.carte-cadeau.ouverte .sceau { transform: translate(40px, -60px) rotate(40deg) scale(.6); opacity: 0; }
.etape { position: relative; display: grid; gap: 12px; }
.etape .repere { color: var(--doux); text-align: center; }
.etape .question { font: italic 400 1.2rem/1.45 var(--lecture); text-align: center; }
.etape .question b { font-style: normal; font-weight: 500; color: var(--doux); white-space: nowrap; }
.etape .ligne { display: flex; gap: 10px; flex-wrap: wrap; }
.etape input[type=text], .etape input[type=email] { flex: 1 1 160px; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--doux); color: var(--encre); font: italic 300 1.2rem var(--lecture); padding: 10px 2px; }
.etape input::placeholder { color: var(--doux); }
.etape input:focus { outline: none; border-color: var(--encre); }
.retour-enigme { min-height: 1.4em; font-style: italic; font-size: .98rem; color: var(--rose); text-align: center; }
.autre { justify-self: center; background: none; border: 0; cursor: pointer; font: 400 .58rem var(--repere); letter-spacing: .24em; text-transform: uppercase; color: var(--doux); text-decoration: underline; text-underline-offset: 4px; }
.carte-cadeau .prevenir { margin-top: 0; max-width: none; }
.carte-cadeau .prevenir .btn { width: 100%; }
.carte-cadeau .note-bonus { font-size: .95rem; font-style: italic; color: var(--doux); text-align: center; }
.carte-cadeau.ouverte .etape:not([hidden]) { animation: apparait .6s ease-out; }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } }

/* Avant-goût des scènes */
.scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .scenes { grid-template-columns: 1fr; } }
.scene { margin: 0; background: var(--papier); padding: 26px 24px 22px; display: grid; gap: 14px; align-content: start; box-shadow: 0 24px 44px -32px rgba(47,26,33,.5); }
.scene:nth-child(odd) { transform: rotate(-.8deg); } .scene:nth-child(even) { transform: rotate(.7deg); margin-top: 18px; }
.scene blockquote { margin: 0; font: italic 400 1.18rem/1.5 var(--lecture); color: var(--encre); }
.scene figcaption { font: 400 .56rem var(--repere); letter-spacing: .24em; text-transform: uppercase; color: var(--doux); }
.scene.brulante .repere { color: var(--rose); }
.avant-gout .cadre { display: grid; gap: 48px; }
.pas-encore { text-align: center; font-style: italic; color: var(--texte); }
.pas-encore a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* Page d'écoute privée (adresse envoyée par e-mail, 2026-11-20) */
.ecoute-nuit { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.ecoute-nuit .cadre { grid-template-columns: 1fr; }
.scene.ecoute h2 { font: 400 1.7rem/1.1 var(--display); color: var(--texte); }
.scene.ecoute audio { width: 100%; height: 40px; margin-top: 4px; }
.scene.ecoute .duree { font: 400 .56rem var(--repere); letter-spacing: .24em; text-transform: uppercase; color: var(--doux); }
@media (prefers-reduced-motion: reduce) { .sceau { transition: none; } .carte-cadeau.ouverte .etape:not([hidden]) { animation: none; } }

/* Bandeau de consentement (src/js/consentement.js) */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--fond); border-top: 1px solid var(--doux); box-shadow: 0 -10px 30px rgba(47, 26, 33, .12); font-size: 1rem; line-height: 1.5; padding-bottom: env(safe-area-inset-bottom, 0px); }
.cookies .cadre { display: grid; gap: 14px; padding-block: 18px; }
.cookies p { margin: 0; }
.cookies a { color: var(--doux); }
.cookies-detail { display: grid; gap: 8px; }
.cookies-detail[hidden] { display: none; }
.cookies-detail label { display: flex; gap: 10px; align-items: start; color: var(--texte); }
.cookies-detail input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--texte); }
.cookies-boutons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies-boutons .btn { padding: 12px 18px; }
