/* Un petit éditeur de livres illustrés : du papier blanc, l'encre du livre, les illustrations en premier.
   Polices du système uniquement (la CSP interdit les polices externes) : Charter comme le texte des livres,
   Gill Sans comme leurs numéros de page. Palette de la collection jeunesse, le corail en accent rare. */
:root {
  --papier: #fff;
  --encre: #182438;        /* l'encre du texte des livres */
  --encre-douce: #4a5566;  /* texte secondaire : 7,4:1 sur blanc */
  --filet: #dfe3e8;
  --champ: #7b8594;        /* bord des champs : 3,7:1 sur blanc */
  --profond: #1f4e79;      /* liens, boutons */
  --profond-fonce: #163a5b;
  --lagon: #5dbbc9;
  --lagon-pale: #edf7f9;
  --algue: #7a9a3a;
  --nacre: #f4c9c2;
  --corail: #f2876b;
  --recitatif: #fbf0c2;    /* les cartouches de la bande dessinée */
  --rouge: #a8281c;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Gill Sans", "Gill Sans MT", Seravek, "Avenir Next", "Segoe UI", Calibri, sans-serif;
  --large: 1120px;
  --etroit: 42rem;
  --gouttiere: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.125rem/1.6 var(--serif);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--profond); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--profond-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--profond); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.375rem); line-height: 1.08; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); line-height: 1.15; letter-spacing: -0.006em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-style: italic; }
p { margin: 0 0 1rem; max-width: 38em; }
ol, ul { margin: 0 0 1rem; }

.cadre { width: 100%; max-width: calc(var(--large) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.etroit { max-width: calc(var(--etroit) + 2 * var(--gouttiere)); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- En-tête et pied de page --- */
.entete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px;
          padding-block: 22px 20px; border-bottom: 1px solid var(--filet); }
.marque { color: var(--encre); text-decoration: none; font-size: 1.625rem; letter-spacing: 0.01em; }
.marque:hover { color: var(--encre); }
.entete nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; font: 1.125rem/1.4 var(--sans); }
.entete nav a { color: var(--encre); text-decoration: none; }
.entete nav a:hover, .entete nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.entete form { margin: 0; }
.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--profond); text-decoration: underline;
        text-decoration-thickness: 1px; text-underline-offset: 0.18em; cursor: pointer; }
.entete .lien { color: var(--encre-douce); text-decoration: none; }

.pied { margin-top: 96px; border-top: 1px solid var(--filet); padding-block: 36px 48px; font: 1rem/1.55 var(--sans);
        color: var(--encre-douce); }
.pied p { margin: 0 0 0.5rem; max-width: 46em; }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 1rem 0; }
.pied nav a { color: var(--encre); }
.pied .editeur { font-size: 0.875rem; }
.a-completer { background: var(--rouge); color: #fff; padding: 0 6px; font-weight: 600; }

/* --- Boutons --- */
.bouton {
  display: inline-block;
  padding: 14px 28px 15px;
  background: var(--profond);
  color: #fff;
  border: 0;
  border-radius: 3px;
  font: 500 1.125rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
.bouton:hover { background: var(--profond-fonce); color: #fff; }
.bouton.petit { padding: 8px 16px 9px; font-size: 0.9375rem; }
.univers-adulte .bouton, .adulte .bouton { background: var(--encre); }
.univers-adulte .bouton:hover, .adulte .bouton:hover { background: #000; }

/* --- Accueil --- */
.ouverture { padding-top: 32px; }
.ouverture-image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.ouverture-texte { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px 64px; align-items: start; padding-top: 36px; }
.ouverture-texte p { font-size: 1.1875rem; color: var(--encre-douce); margin-top: 0.35rem; }

.univers { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 88px; }
.univers article { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 28px; padding-top: 28px;
                  border-top: 1px solid var(--encre); }
.univers article > :first-child { align-self: end; }
.univers h2 { margin-bottom: 0.6rem; }
.univers p { color: var(--encre-douce); }
.univers-enfant .vignette { display: flex; gap: 24px; align-items: flex-end; }
.univers-enfant .vignette img { width: 46%; }

/* --- Un livre posé sur la table : la seule ombre du site --- */
.objet-livre { position: relative; box-shadow: 0 1px 2px rgb(24 36 56 / 0.14), 0 22px 40px -22px rgb(24 36 56 / 0.45); }
.objet-livre::before, .objet-livre::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; }
.objet-livre::before { left: 7px; background: rgb(24 36 56 / 0.16); }
.objet-livre::after { left: 8px; background: rgb(255 255 255 / 0.45); }

/* --- Une planche de bande dessinée, avant le dessin --- */
.planche-texte { margin: 0; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case { position: relative; min-height: 168px; padding: 8px 8px 12px; border: 1.5px solid var(--encre); background: var(--papier);
        display: flex; flex-direction: column; justify-content: space-between; gap: 18px; font: 0.9375rem/1.3 var(--sans); }
.recitatif { align-self: flex-start; margin: 0; padding: 3px 7px; background: var(--recitatif); border: 1px solid var(--encre); }
.bulle { position: relative; align-self: flex-end; margin: 0 0 6px; padding: 8px 11px; max-width: 92%;
         border: 1.5px solid var(--encre); border-radius: 18px; background: var(--papier); text-align: center; }
.bulle::after { content: ""; position: absolute; bottom: -7px; left: 24%; width: 11px; height: 11px; background: var(--papier);
                border: solid var(--encre); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) skew(12deg, 12deg); }
.planche-texte figcaption, .double figcaption, .legende { margin-top: 10px; font-size: 0.9375rem; font-style: italic; color: var(--encre-douce); }

/* --- Bande dessinée pour adulte --- */
.adulte { margin-top: 112px; }
.adulte-tete { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px 64px; padding-top: 28px; border-top: 1px solid var(--encre); }
.adulte-tete p { color: var(--encre-douce); }
.exemple-bd { display: grid; gap: 20px; }
.notes { margin: 0; padding: 4px 0 0 20px; border-left: 2px solid var(--recitatif); }
.notes p:first-child { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin-bottom: 0.4rem; }
.notes p:last-child { font-style: italic; font-size: 1.1875rem; }

.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
          padding: 0; margin: 64px 0 0; }
.etapes li { counter-increment: etape; padding-top: 14px; border-top: 1px solid var(--filet); }
.etapes li::before { content: counter(etape); display: block; margin-bottom: 4px; font: 400 1.75rem/1 var(--serif); color: var(--encre-douce); }
.prix-ligne { margin-top: 32px; font: 1.125rem/1.5 var(--sans); }

/* --- Page enfant --- */
.livre { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 56px; }
.livre-couverture { max-width: 460px; justify-self: end; width: 100%; }
.collection-nom { font: italic 1.0625rem/1.4 var(--serif); color: var(--encre-douce); margin-bottom: 0.9rem; }
.livre h1 { margin-bottom: 1.25rem; }
.fiche-livre { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 1.75rem 0 2rem; padding-block: 18px;
               border-block: 1px solid var(--filet); font: 1.0625rem/1.45 var(--sans); }
.fiche-livre dt { color: var(--encre-douce); }
.fiche-livre dd { margin: 0; }
.note { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin-top: 0.9rem; }
.bientot { font: italic 0.9375rem/1.5 var(--serif); color: var(--encre-douce); }
form > .bientot { margin: 40px 0 0; }

.feuilleter { margin-top: 120px; }
.feuilleter > h2, .dans-le-livre h2, .questions > h2 { margin-bottom: 0.5rem; }
.chapeau { color: var(--encre-douce); margin-bottom: 36px; }
.double { margin: 0; }
.double img { width: 100%; outline: 1px solid rgb(24 36 56 / 0.08); }
.doubles-paire { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }

.dans-le-livre { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 120px; }
.dans-le-livre h3 { margin: 1.6rem 0 0.3rem; }
.dans-le-livre p { color: var(--encre-douce); margin: 0; }

.questions { margin-top: 104px; }
.questions h3 { margin: 1.75rem 0 0.3rem; }
.questions p { color: var(--encre-douce); }

/* --- Formulaires --- */
.atelier { margin-top: 112px; padding-block: 64px 72px; }
.atelier-enfant { background: var(--lagon-pale); }
.adulte .atelier { margin-top: 72px; padding: 0; }
.atelier h2 { margin-bottom: 0.5rem; }
.atelier > .cadre > p, .adulte .atelier > p { color: var(--encre-douce); }
.adulte .atelier { border-top: 1px solid var(--encre); padding-top: 28px; max-width: var(--etroit); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.etape { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(24 36 56 / 0.14); }
.etape > legend { float: left; width: 100%; padding: 0 0 0.5rem; margin: 0; font-size: 1.5rem; line-height: 1.2; }
.etape > legend + * { clear: both; }
.num { display: inline-block; min-width: 1.5em; color: var(--encre-douce); }
.sous-groupe { margin-top: 1.5rem; }
.sous-groupe > legend, label, .etiquette { display: block; padding: 0; margin: 1.5rem 0 0.4rem; font: 500 1.0625rem/1.4 var(--sans); }
.sous-groupe > legend { margin-top: 0; }
.facultatif { font-weight: 400; color: var(--encre-douce); }

input:not([type="radio"], [type="checkbox"]), select, textarea {
  display: block;
  width: 100%;
  max-width: 34rem;
  padding: 11px 13px;
  background: var(--papier);
  color: var(--encre);
  border: 1px solid var(--champ);
  border-radius: 3px;
  font: 1.0625rem/1.4 var(--sans);
}
textarea { resize: vertical; max-width: 40rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--profond); outline-offset: 0; }
input[type="file"] { padding: 9px 10px; font-size: 0.9375rem; }
input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 7px 14px;
  background: var(--papier);
  color: var(--profond);
  border: 1px solid var(--profond);
  border-radius: 3px;
  font: 500 0.9375rem/1.2 var(--sans);
  cursor: pointer;
}
input[type="radio"], input[type="checkbox"] { accent-color: var(--profond); }

.aide { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin: 0.45rem 0 0; max-width: 40rem; }
.conseils { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin: 0.6rem 0 0; padding-left: 1.1rem; max-width: 40rem; }

.erreur { margin: 24px 0; padding: 12px 16px; background: #fcecea; border-left: 3px solid var(--rouge); color: var(--encre);
          font: 1.0625rem/1.5 var(--sans); max-width: 40rem; }
.succes { margin: 24px 0; padding: 12px 16px; background: #f1f5e8; border-left: 3px solid var(--algue); font: 1.0625rem/1.5 var(--sans); }

/* choix : un bouton radio visible, le libellé à côté ; l'option choisie se lit au cadre */
.options { display: grid; gap: 12px; margin-top: 0.4rem; }
.options-2 { grid-template-columns: repeat(2, minmax(0, 15rem)); }
.option {
  display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 13px 14px;
  background: var(--papier); border: 1px solid var(--champ); border-radius: 3px;
  font: 1.0625rem/1.4 var(--sans); cursor: pointer;
}
.option input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.option:has(input:checked) { border-color: var(--profond); box-shadow: inset 0 0 0 1px var(--profond); }
.option:has(input:focus-visible) { outline: 3px solid var(--profond); outline-offset: 2px; }
.option:has(input:disabled) { cursor: default; color: var(--encre-douce); border-style: dashed; }
.option strong { display: block; font-weight: 500; }
.option .detail { display: block; color: var(--encre-douce); font-size: 1rem; }

/* les titres de la collection, présentés comme des couvertures */
.titres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.titres .option { flex-direction: column; gap: 10px; padding: 12px 12px 14px; }
.choix { display: flex; gap: 10px; align-items: flex-start; }
.plat { display: flex; align-items: flex-end; aspect-ratio: 3 / 4; width: 100%; padding: 12px; color: #fff;
        font: italic 1.125rem/1.2 var(--serif); }
.plat-etoiles { background: var(--profond); }
.plat-foret { background: var(--algue); }
.plat img { width: 100%; height: 100%; object-fit: cover; }
.plat:has(img) { padding: 0; }

.accord { display: flex; gap: 12px; align-items: flex-start; margin: 1rem 0 0; max-width: 40rem; font: 1.0625rem/1.5 var(--sans); }
.accord input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; }
.envoi { margin-top: 40px; }
.envoi .note { max-width: 34rem; }

.styles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 40rem; }

/* --- Suivi de commande --- */
.suivi { padding-top: 56px; }
.suivi h1 { margin-bottom: 1rem; }
.suivi .sous-titre { font-style: italic; color: var(--encre-douce); margin-top: -0.4rem; }
.attente { color: var(--encre-douce); }
.attente::before { content: ""; display: block; width: 48px; height: 2px; margin-bottom: 28px; background: var(--lagon); }
.apercu { width: 100%; max-width: 900px; margin: 32px 0; outline: 1px solid rgb(24 36 56 / 0.08); }
.commande { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--filet); max-width: var(--etroit); }
.prix { font-size: 1.75rem; margin: 0 0 0.25rem; }
.commande form { margin: 1rem 0 1.25rem; }
.commande .bouton { margin-top: 1.5rem; }
.suivi > .bouton { margin: 0.5rem 0 1.5rem; }

.pitchs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 1.75rem 0 2rem; }
.pitch { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 18px 18px 20px; border: 1px solid var(--champ);
         border-radius: 3px; font: 400 1rem/1.5 var(--serif); cursor: pointer; }
.pitch input { width: 18px; height: 18px; margin: 0 0 4px; }
.pitch .genre { font: italic 0.9375rem/1.4 var(--serif); color: var(--encre-douce); }
.pitch .genre::first-letter { text-transform: uppercase; }
.pitch strong { font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.pitch:has(input:checked) { border-color: var(--profond); box-shadow: inset 0 0 0 1px var(--profond); }
.pitch:has(input:focus-visible) { outline: 3px solid var(--profond); outline-offset: 2px; }

/* --- Pages de texte (légal, compte, contact) --- */
.texte { padding-top: 56px; }
.texte h1 { margin-bottom: 1.25rem; }
.texte h2 { font-size: 1.375rem; margin: 2.5rem 0 0.5rem; }
.texte ol, .texte ul { padding-left: 1.3rem; max-width: 38em; }
.texte li { margin-bottom: 0.45rem; }
.texte table { border-collapse: collapse; width: 100%; margin: 0.5rem 0 1.25rem; font: 1rem/1.45 var(--sans); }
.texte th, .texte td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.texte th { font-weight: 500; border-bottom-color: var(--encre); }
.texte form .bouton { margin-top: 1.5rem; }
.date { font: 1rem/1.5 var(--sans); color: var(--encre-douce); }
.albums { list-style: none; padding: 0; margin: 1.5rem 0; max-width: none; }
.albums li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.albums strong { flex: 1 1 14rem; font-weight: 400; font-size: 1.1875rem; }
.albums span { font: 1rem/1.4 var(--sans); color: var(--encre-douce); }

/* --- Petits écrans --- */
/* Les deux formats du livre enfant : PDF ou livre relié */
.formats { margin-top: 88px; }
.formats-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.format { position: relative; padding: 28px; border: 1px solid var(--filet); border-radius: 6px; background: var(--papier); }
.format-relie { border: 2px solid var(--profond); }
.format h3 { margin: 0; }
.format-conseil { position: absolute; top: -0.85em; left: 20px; margin: 0; padding: 2px 12px; border-radius: 99px;
  background: var(--profond); color: #fff; font: 0.9375rem/1.5 var(--sans); }
.format-prix { margin: 0.25rem 0 1rem; font: 400 2rem/1.2 var(--serif); }
.format-prix span { font: 1rem/1.5 var(--sans); color: var(--encre-douce); }
.format ul { margin: 0; padding-left: 1.2em; font: 1.0625rem/1.55 var(--sans); }
.format li + li { margin-top: 0.35rem; }
.choix-format { margin: 0 0 1.5rem; padding: 0; border: 0; display: grid; gap: 12px; }
.choix-format legend { padding: 0; margin-bottom: 12px; font: 400 1.5rem/1.2 var(--serif); }
.choix-format .format { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; cursor: pointer; font: 1.0625rem/1.5 var(--sans); }
.choix-format .format input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; }
.choix-format .format > span > span { display: block; color: var(--encre-douce); }
.choix-format .format:has(input:checked) { border-color: var(--profond); box-shadow: 0 0 0 1px var(--profond); }
.choix-format .format:focus-within { outline: 2px solid var(--profond); outline-offset: 2px; }

/* Un petit éditeur de livres illustrés : du papier blanc, l'encre du livre, les illustrations en premier.
   Polices du système uniquement (la CSP interdit les polices externes) : Charter comme le texte des livres,
   Gill Sans comme leurs numéros de page. Palette de la collection jeunesse, le corail en accent rare. */
:root {
  --papier: #fff;
  --encre: #182438;        /* l'encre du texte des livres */
  --encre-douce: #4a5566;  /* texte secondaire : 7,4:1 sur blanc */
  --filet: #dfe3e8;
  --champ: #7b8594;        /* bord des champs : 3,7:1 sur blanc */
  --profond: #1f4e79;      /* liens, boutons */
  --profond-fonce: #163a5b;
  --lagon: #5dbbc9;
  --lagon-pale: #edf7f9;
  --algue: #7a9a3a;
  --nacre: #f4c9c2;
  --corail: #f2876b;
  --recitatif: #fbf0c2;    /* les cartouches de la bande dessinée */
  --rouge: #a8281c;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Gill Sans", "Gill Sans MT", Seravek, "Avenir Next", "Segoe UI", Calibri, sans-serif;
  --large: 1120px;
  --etroit: 42rem;
  --gouttiere: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.125rem/1.6 var(--serif);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--profond); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--profond-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--profond); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.375rem); line-height: 1.08; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); line-height: 1.15; letter-spacing: -0.006em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-style: italic; }
p { margin: 0 0 1rem; max-width: 38em; }
ol, ul { margin: 0 0 1rem; }

.cadre { width: 100%; max-width: calc(var(--large) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.etroit { max-width: calc(var(--etroit) + 2 * var(--gouttiere)); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- En-tête et pied de page --- */
.entete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px;
          padding-block: 22px 20px; border-bottom: 1px solid var(--filet); }
.marque { color: var(--encre); text-decoration: none; font-size: 1.625rem; letter-spacing: 0.01em; }
.marque:hover { color: var(--encre); }
.entete nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; font: 1.125rem/1.4 var(--sans); }
.entete nav a { color: var(--encre); text-decoration: none; }
.entete nav a:hover, .entete nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.entete form { margin: 0; }
.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--profond); text-decoration: underline;
        text-decoration-thickness: 1px; text-underline-offset: 0.18em; cursor: pointer; }
.entete .lien { color: var(--encre-douce); text-decoration: none; }

.pied { margin-top: 96px; border-top: 1px solid var(--filet); padding-block: 36px 48px; font: 1rem/1.55 var(--sans);
        color: var(--encre-douce); }
.pied p { margin: 0 0 0.5rem; max-width: 46em; }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 1rem 0; }
.pied nav a { color: var(--encre); }
.pied .editeur { font-size: 0.875rem; }
.a-completer { background: var(--rouge); color: #fff; padding: 0 6px; font-weight: 600; }

/* --- Boutons --- */
.bouton {
  display: inline-block;
  padding: 14px 28px 15px;
  background: var(--profond);
  color: #fff;
  border: 0;
  border-radius: 3px;
  font: 500 1.125rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
.bouton:hover { background: var(--profond-fonce); color: #fff; }
.bouton.petit { padding: 8px 16px 9px; font-size: 0.9375rem; }
.univers-adulte .bouton, .adulte .bouton { background: var(--encre); }
.univers-adulte .bouton:hover, .adulte .bouton:hover { background: #000; }

/* --- Accueil --- */
.ouverture { padding-top: 32px; }
.ouverture-image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.ouverture-texte { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px 64px; align-items: start; padding-top: 36px; }
.ouverture-texte p { font-size: 1.1875rem; color: var(--encre-douce); margin-top: 0.35rem; }

.univers { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 88px; }
.univers article { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 28px; padding-top: 28px;
                  border-top: 1px solid var(--encre); }
.univers article > :first-child { align-self: end; }
.univers h2 { margin-bottom: 0.6rem; }
.univers p { color: var(--encre-douce); }
.univers-enfant .vignette { display: flex; gap: 24px; align-items: flex-end; }
.univers-enfant .vignette img { width: 46%; }

/* --- Un livre posé sur la table : la seule ombre du site --- */
.objet-livre { position: relative; box-shadow: 0 1px 2px rgb(24 36 56 / 0.14), 0 22px 40px -22px rgb(24 36 56 / 0.45); }
.objet-livre::before, .objet-livre::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; }
.objet-livre::before { left: 7px; background: rgb(24 36 56 / 0.16); }
.objet-livre::after { left: 8px; background: rgb(255 255 255 / 0.45); }

/* --- Une planche de bande dessinée, avant le dessin --- */
.planche-texte { margin: 0; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case { position: relative; min-height: 168px; padding: 8px 8px 12px; border: 1.5px solid var(--encre); background: var(--papier);
        display: flex; flex-direction: column; justify-content: space-between; gap: 18px; font: 0.9375rem/1.3 var(--sans); }
.recitatif { align-self: flex-start; margin: 0; padding: 3px 7px; background: var(--recitatif); border: 1px solid var(--encre); }
.bulle { position: relative; align-self: flex-end; margin: 0 0 6px; padding: 8px 11px; max-width: 92%;
         border: 1.5px solid var(--encre); border-radius: 18px; background: var(--papier); text-align: center; }
.bulle::after { content: ""; position: absolute; bottom: -7px; left: 24%; width: 11px; height: 11px; background: var(--papier);
                border: solid var(--encre); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) skew(12deg, 12deg); }
.planche-texte figcaption, .double figcaption, .legende { margin-top: 10px; font-size: 0.9375rem; font-style: italic; color: var(--encre-douce); }

/* --- Bande dessinée pour adulte --- */
.adulte { margin-top: 112px; }
.adulte-tete { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px 64px; padding-top: 28px; border-top: 1px solid var(--encre); }
.adulte-tete p { color: var(--encre-douce); }
.exemple-bd { display: grid; gap: 20px; }
.notes { margin: 0; padding: 4px 0 0 20px; border-left: 2px solid var(--recitatif); }
.notes p:first-child { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin-bottom: 0.4rem; }
.notes p:last-child { font-style: italic; font-size: 1.1875rem; }

.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
          padding: 0; margin: 64px 0 0; }
.etapes li { counter-increment: etape; padding-top: 14px; border-top: 1px solid var(--filet); }
.etapes li::before { content: counter(etape); display: block; margin-bottom: 4px; font: 400 1.75rem/1 var(--serif); color: var(--encre-douce); }
.prix-ligne { margin-top: 32px; font: 1.125rem/1.5 var(--sans); }

/* --- Page enfant --- */
.livre { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 56px; }
.livre-couverture { max-width: 460px; justify-self: end; width: 100%; }
.collection-nom { font: italic 1.0625rem/1.4 var(--serif); color: var(--encre-douce); margin-bottom: 0.9rem; }
.livre h1 { margin-bottom: 1.25rem; }
.fiche-livre { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 1.75rem 0 2rem; padding-block: 18px;
               border-block: 1px solid var(--filet); font: 1.0625rem/1.45 var(--sans); }
.fiche-livre dt { color: var(--encre-douce); }
.fiche-livre dd { margin: 0; }
.note { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin-top: 0.9rem; }
.bientot { font: italic 0.9375rem/1.5 var(--serif); color: var(--encre-douce); }
form > .bientot { margin: 40px 0 0; }

.feuilleter { margin-top: 120px; }
.feuilleter > h2, .dans-le-livre h2, .questions > h2 { margin-bottom: 0.5rem; }
.chapeau { color: var(--encre-douce); margin-bottom: 36px; }
.double { margin: 0; }
.double img { width: 100%; outline: 1px solid rgb(24 36 56 / 0.08); }
.doubles-paire { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }

.dans-le-livre { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 120px; }
.dans-le-livre h3 { margin: 1.6rem 0 0.3rem; }
.dans-le-livre p { color: var(--encre-douce); margin: 0; }

.questions { margin-top: 104px; }
.questions h3 { margin: 1.75rem 0 0.3rem; }
.questions p { color: var(--encre-douce); }

/* --- Formulaires --- */
.atelier { margin-top: 112px; padding-block: 64px 72px; }
.atelier-enfant { background: var(--lagon-pale); }
.adulte .atelier { margin-top: 72px; padding: 0; }
.atelier h2 { margin-bottom: 0.5rem; }
.atelier > .cadre > p, .adulte .atelier > p { color: var(--encre-douce); }
.adulte .atelier { border-top: 1px solid var(--encre); padding-top: 28px; max-width: var(--etroit); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.etape { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(24 36 56 / 0.14); }
.etape > legend { float: left; width: 100%; padding: 0 0 0.5rem; margin: 0; font-size: 1.5rem; line-height: 1.2; }
.etape > legend + * { clear: both; }
.num { display: inline-block; min-width: 1.5em; color: var(--encre-douce); }
.sous-groupe { margin-top: 1.5rem; }
.sous-groupe > legend, label, .etiquette { display: block; padding: 0; margin: 1.5rem 0 0.4rem; font: 500 1.0625rem/1.4 var(--sans); }
.sous-groupe > legend { margin-top: 0; }
.facultatif { font-weight: 400; color: var(--encre-douce); }

input:not([type="radio"], [type="checkbox"]), select, textarea {
  display: block;
  width: 100%;
  max-width: 34rem;
  padding: 11px 13px;
  background: var(--papier);
  color: var(--encre);
  border: 1px solid var(--champ);
  border-radius: 3px;
  font: 1.0625rem/1.4 var(--sans);
}
textarea { resize: vertical; max-width: 40rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--profond); outline-offset: 0; }
input[type="file"] { padding: 9px 10px; font-size: 0.9375rem; }
input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 7px 14px;
  background: var(--papier);
  color: var(--profond);
  border: 1px solid var(--profond);
  border-radius: 3px;
  font: 500 0.9375rem/1.2 var(--sans);
  cursor: pointer;
}
input[type="radio"], input[type="checkbox"] { accent-color: var(--profond); }

.aide { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin: 0.45rem 0 0; max-width: 40rem; }
.conseils { font: 1rem/1.5 var(--sans); color: var(--encre-douce); margin: 0.6rem 0 0; padding-left: 1.1rem; max-width: 40rem; }

.erreur { margin: 24px 0; padding: 12px 16px; background: #fcecea; border-left: 3px solid var(--rouge); color: var(--encre);
          font: 1.0625rem/1.5 var(--sans); max-width: 40rem; }
.succes { margin: 24px 0; padding: 12px 16px; background: #f1f5e8; border-left: 3px solid var(--algue); font: 1.0625rem/1.5 var(--sans); }

/* choix : un bouton radio visible, le libellé à côté ; l'option choisie se lit au cadre */
.options { display: grid; gap: 12px; margin-top: 0.4rem; }
.options-2 { grid-template-columns: repeat(2, minmax(0, 15rem)); }
.option {
  display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 13px 14px;
  background: var(--papier); border: 1px solid var(--champ); border-radius: 3px;
  font: 1.0625rem/1.4 var(--sans); cursor: pointer;
}
.option input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.option:has(input:checked) { border-color: var(--profond); box-shadow: inset 0 0 0 1px var(--profond); }
.option:has(input:focus-visible) { outline: 3px solid var(--profond); outline-offset: 2px; }
.option:has(input:disabled) { cursor: default; color: var(--encre-douce); border-style: dashed; }
.option strong { display: block; font-weight: 500; }
.option .detail { display: block; color: var(--encre-douce); font-size: 1rem; }

/* les titres de la collection, présentés comme des couvertures */
.titres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.titres .option { flex-direction: column; gap: 10px; padding: 12px 12px 14px; }
.choix { display: flex; gap: 10px; align-items: flex-start; }
.plat { display: flex; align-items: flex-end; aspect-ratio: 3 / 4; width: 100%; padding: 12px; color: #fff;
        font: italic 1.125rem/1.2 var(--serif); }
.plat-etoiles { background: var(--profond); }
.plat-foret { background: var(--algue); }
.plat img { width: 100%; height: 100%; object-fit: cover; }
.plat:has(img) { padding: 0; }

.accord { display: flex; gap: 12px; align-items: flex-start; margin: 1rem 0 0; max-width: 40rem; font: 1.0625rem/1.5 var(--sans); }
.accord input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; }
.envoi { margin-top: 40px; }
.envoi .note { max-width: 34rem; }

.styles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 40rem; }

/* --- Suivi de commande --- */
.suivi { padding-top: 56px; }
.suivi h1 { margin-bottom: 1rem; }
.suivi .sous-titre { font-style: italic; color: var(--encre-douce); margin-top: -0.4rem; }
.attente { color: var(--encre-douce); }
.attente::before { content: ""; display: block; width: 48px; height: 2px; margin-bottom: 28px; background: var(--lagon); }
.apercu { width: 100%; max-width: 900px; margin: 32px 0; outline: 1px solid rgb(24 36 56 / 0.08); }
.commande { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--filet); max-width: var(--etroit); }
.prix { font-size: 1.75rem; margin: 0 0 0.25rem; }
.commande form { margin: 1rem 0 1.25rem; }
.commande .bouton { margin-top: 1.5rem; }
.suivi > .bouton { margin: 0.5rem 0 1.5rem; }

.pitchs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 1.75rem 0 2rem; }
.pitch { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 18px 18px 20px; border: 1px solid var(--champ);
         border-radius: 3px; font: 400 1rem/1.5 var(--serif); cursor: pointer; }
.pitch input { width: 18px; height: 18px; margin: 0 0 4px; }
.pitch .genre { font: italic 0.9375rem/1.4 var(--serif); color: var(--encre-douce); }
.pitch .genre::first-letter { text-transform: uppercase; }
.pitch strong { font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.pitch:has(input:checked) { border-color: var(--profond); box-shadow: inset 0 0 0 1px var(--profond); }
.pitch:has(input:focus-visible) { outline: 3px solid var(--profond); outline-offset: 2px; }

/* --- Pages de texte (légal, compte, contact) --- */
.texte { padding-top: 56px; }
.texte h1 { margin-bottom: 1.25rem; }
.texte h2 { font-size: 1.375rem; margin: 2.5rem 0 0.5rem; }
.texte ol, .texte ul { padding-left: 1.3rem; max-width: 38em; }
.texte li { margin-bottom: 0.45rem; }
.texte table { border-collapse: collapse; width: 100%; margin: 0.5rem 0 1.25rem; font: 1rem/1.45 var(--sans); }
.texte th, .texte td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.texte th { font-weight: 500; border-bottom-color: var(--encre); }
.texte form .bouton { margin-top: 1.5rem; }
.date { font: 1rem/1.5 var(--sans); color: var(--encre-douce); }
.albums { list-style: none; padding: 0; margin: 1.5rem 0; max-width: none; }
.albums li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.albums strong { flex: 1 1 14rem; font-weight: 400; font-size: 1.1875rem; }
.albums span { font: 1rem/1.4 var(--sans); color: var(--encre-douce); }

/* --- Petits écrans --- */
@media (max-width: 860px) {
  .ouverture-texte, .univers, .adulte-tete, .livre, .dans-le-livre { grid-template-columns: 1fr; }
  .univers { gap: 56px; margin-top: 64px; }
  .formats-cartes { grid-template-columns: 1fr; }
  .formats { margin-top: 64px; }
  .livre { gap: 40px; padding-top: 32px; }
  .livre-couverture { justify-self: center; max-width: 340px; }
  .etapes { grid-template-columns: 1fr; gap: 20px; }
  .pitchs { grid-template-columns: 1fr; }
  .feuilleter, .dans-le-livre { margin-top: 88px; }
  .atelier { margin-top: 88px; padding-block: 48px 56px; }
}
@media (max-width: 560px) {
  :root { --gouttiere: 16px; }
  body { font-size: 1.0625rem; }
  .entete { padding-block: 16px 14px; }
  .entete nav { gap: 4px 20px; font-size: 1rem; }
  .doubles-paire { grid-template-columns: 1fr; gap: 28px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case:last-child { grid-column: span 2; min-height: 120px; }
  .titres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .titres .option { padding: 8px 8px 10px; font-size: 0.875rem; }
  .plat { padding: 8px; font-size: 0.9375rem; }
  .options-2, .styles { grid-template-columns: 1fr; }
  .texte table { font-size: 0.875rem; }
  .univers-enfant .vignette img { width: 52%; }
}
