/* =========================================================
   Les aventures de Poussin : feuille de style
   Couleurs et polices tirées des albums.
   ========================================================= */

@font-face { font-family: "Baloo 2"; src: url(../fonts/Baloo2-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url(../fonts/Baloo2-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(../fonts/Nunito-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(../fonts/Nunito-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(../fonts/Nunito-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --creme: #F7F1E8;
  --creme-2: #EFE5D3;
  --marine: #0F1F45;
  --bleu: #2350B0;
  --jaune: #F5C518;
  --rouge: #D7372B;
  --blanc: #FFFDF8;
  --titre: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --texte: "Nunito", system-ui, sans-serif;
  --rayon: 28px;
  --menu-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--creme); color: var(--marine);
  font: 600 1.0625rem/1.6 var(--texte); overflow-x: hidden;
}
/* léger grain papier, comme dans l'album */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
a { color: var(--bleu); }
:focus-visible { outline: 4px solid var(--bleu); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--marine); color: #fff; padding: .8rem 1.2rem; border-radius: 12px; }
.evitement:focus { top: 1rem; }
.surtitre { font: 800 .9rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin-bottom: .8rem; }

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 52px; padding: .7rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bleu); color: #fff; font: 800 1.05rem/1 var(--texte); text-decoration: none;
  box-shadow: 0 5px 0 #173a85; transition: transform .15s, box-shadow .15s;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #173a85; }
.bouton:active { transform: translateY(3px); box-shadow: 0 2px 0 #173a85; }
.bouton--jaune { background: var(--jaune); color: var(--marine); box-shadow: 0 5px 0 #c49a00; }
.bouton--jaune:hover { box-shadow: 0 7px 0 #c49a00; }
.bouton--petit { min-height: 48px; padding: .6rem 1.1rem; font-size: .95rem; }

/* ---------- bulles de BD ---------- */
.bulle {
  position: relative; display: inline-block; background: #fff; color: var(--marine);
  font: 800 1.15rem/1.2 var(--titre); padding: .7rem 1.1rem; border-radius: 22px;
  border: 3px solid var(--marine); box-shadow: 4px 4px 0 var(--marine);
}
.bulle::after {
  content: ""; position: absolute; left: 28px; bottom: -16px; width: 22px; height: 18px;
  background: #fff; border: 3px solid var(--marine); border-top: 0; border-left: 0;
  transform: skewX(-25deg) rotate(8deg); clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ---------- menu fixe ---------- */
.menu {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--menu-h);
  display: flex; align-items: center; gap: 1rem; padding: 0 clamp(16px, 3vw, 40px);
  background: rgba(247, 241, 232, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(15, 31, 69, .08);
}
.menu__logo img { height: 50px; width: auto; }
.menu__mot { margin: 0 auto 0 1rem; font-size: .92rem; color: #46557a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu__mot span { font-weight: 800; color: var(--rouge); }
.menu__mot q { font-style: italic; }
.menu__liens { display: flex; gap: .3rem; align-items: center; }
.menu__liens a {
  min-height: 48px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px;
  color: var(--marine); font-weight: 800; text-decoration: none;
}
.menu__liens a:hover { background: var(--creme-2); }
.menu__liens .menu__cta { background: var(--jaune); }
.menu__burger { display: none; }

@media (max-width: 860px) {
  .menu__mot { display: none; }
  .menu__burger {
    display: grid; place-content: center; gap: 5px; margin-left: auto; width: 52px; height: 52px;
    border: 0; border-radius: 50%; background: var(--jaune); cursor: pointer;
  }
  .menu__burger i { display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--marine); transition: transform .2s, opacity .2s; }
  .menu__burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(8px) rotate(45deg); }
  .menu__burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .menu__burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu__liens {
    position: absolute; top: var(--menu-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 1rem 16px 1.4rem; background: var(--creme); border-bottom: 2px solid rgba(15,31,69,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .menu__liens.ouvert { transform: none; opacity: 1; visibility: visible; }
  .menu__liens a { font-size: 1.2rem; justify-content: center; }
}

/* ---------- musique ---------- */
.son-bouton { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 2px solid var(--marine); background: var(--creme); color: var(--marine); display: grid; place-items: center; cursor: pointer; }
.son-bouton[aria-pressed="true"] { background: var(--jaune); }
.son-barre { position: absolute; width: 30px; height: 3px; background: var(--rouge); border-radius: 2px; transform: rotate(-45deg); }
.son-bouton[aria-pressed="true"] .son-barre { display: none; }
.son-invite { position: absolute; right: clamp(16px, 4vw, 48px); bottom: 4vh; z-index: 4; display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: 0 1.3rem; border-radius: 999px; border: 3px solid var(--marine); background: #fff; color: var(--marine); font: 800 1rem/1 var(--texte); white-space: nowrap; box-shadow: 4px 4px 0 var(--marine); cursor: pointer; animation: invite 2.4s ease-in-out infinite; }
.son-invite[hidden] { display: none; }
@keyframes invite { 50% { transform: translateY(-4px) rotate(-2deg); } }
@media (max-width: 860px) { .son-bouton { margin-left: auto; } .menu__burger { margin-left: .5rem; } .son-invite { right: 50%; transform: translateX(50%); bottom: 11vh; animation: none; } }

/* ---------- 1. éclosion ---------- */
.eclosion { position: relative; height: 100vh; height: 100svh; background: radial-gradient(ellipse at 50% 62%, #F6EBDC 0%, #F5ECDF 40%, var(--creme) 75%, var(--creme-2) 100%); }
.eclosion__scene { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh; padding: calc(var(--menu-h) + 2vh) 16px 8vh; overflow: hidden; }
.eclosion__titre { position: relative; text-align: center; z-index: 3; }
.eclosion__sur { font: 800 clamp(1.1rem, 2.4vw, 1.6rem)/1 var(--titre); color: var(--rouge); margin: 0 0 .2em; }
.eclosion__sur .car { display: inline-block; }
.eclosion h1 { margin: 0; }
.eclosion__logo { width: min(420px, 70vw, 40vh); margin: 0 auto; }
.oeuf { position: relative; width: min(560px, 94vw, 56vh * 800 / 720); aspect-ratio: 800 / 720; flex: none; }
.oeuf > * { position: absolute; }
.oeuf__fixe, .oeuf__film { inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 68%, transparent 100%); }
.bulle--coucou { left: 66%; top: 4%; font-size: clamp(1.3rem, 3vw, 1.8rem); opacity: 0; transform: scale(.4); }
.defile { position: absolute; bottom: 3vh; font: 800 1rem/1 var(--texte); color: var(--bleu); text-align: center; z-index: 3; }
.defile span { display: block; font-size: 1.4rem; animation: rebond 1.4s infinite; }
@keyframes rebond { 50% { transform: translateY(8px); } }

/* ---------- 2. il veut être grand ---------- */
.grand { position: relative; }
.grand__scene { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
/* même vague que l'océan, à l'envers, entre l'éclosion (crème) et le ciel du champ */
.grand__vagues { position: absolute; top: -2px; left: 0; width: 200%; height: 14vh; z-index: 3; pointer-events: none; }
.vague-haut--1 { fill: rgba(255, 255, 255, .45); }
.vague-haut--2 { fill: #F4ECE0; }
/* et en bas, une vague crème qui mène à la famille */
.grand__vagues-bas { position: absolute; bottom: -2px; left: 0; width: 200%; height: 11vh; z-index: 3; pointer-events: none; }
.vague-bas--1 { fill: rgba(239, 229, 211, .55); }
.vague-bas--2 { fill: var(--creme-2); }
.grand__fond { position: absolute; inset: -6% -4%; background: url(../img/scenes/champ.webp) center 60% / cover no-repeat; }
/* petits nuages légers qui traversent le ciel */
.grand__nuages { position: absolute; inset: 0 0 45% 0; overflow: hidden; pointer-events: none; }
.nuage { position: absolute; left: 0; display: block; opacity: .75; filter: blur(1.5px) drop-shadow(0 6px 10px rgba(255,255,255,.4)); animation: nuage-passe linear infinite; will-change: transform; }
.nuage svg { display: block; width: 100%; height: auto; fill: #fff; }
.nuage--1 { top: 24%; width: clamp(110px, 14vw, 220px); animation-duration: 70s; animation-delay: -12s; }
.nuage--2 { top: 46%; width: clamp(80px, 9vw, 150px); animation-duration: 95s; animation-delay: -55s; opacity: .6; }
.nuage--3 { top: 64%; width: clamp(140px, 18vw, 280px); animation-duration: 120s; animation-delay: -30s; opacity: .55; }
.nuage--4 { top: 36%; width: clamp(70px, 7vw, 120px); animation-duration: 80s; animation-delay: -68s; opacity: .7; }
@keyframes nuage-passe { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
.grand__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,241,232,.0) 40%, rgba(15,31,69,.25)); }
.grand__lignes { position: absolute; top: calc(var(--menu-h) + 6vh); left: 0; right: 0; text-align: center; padding: 0 16px; margin: 0; color: #fff; text-shadow: 0 3px 0 var(--marine), 0 6px 22px rgba(15,31,69,.45); }
.grand__ligne { display: block; font-size: clamp(1.7rem, 4.4vw, 3rem); }
.grand__ligne:nth-child(2) { font-size: clamp(2rem, 5.4vw, 3.8rem); }
.grand__ligne:nth-child(3) { font-size: clamp(2.4rem, 7vw, 5.2rem); color: var(--jaune); }
.grand__poussin { position: absolute; bottom: 6vh; left: 0; width: clamp(130px, 18vw, 230px); filter: drop-shadow(0 12px 10px rgba(0,0,0,.25)); }
.grand__herbes { position: absolute; left: -8%; right: -14%; bottom: -2px; height: 14vh; background:
  radial-gradient(60% 120% at 10% 100%, #5f9a2a 50%, transparent 52%),
  radial-gradient(50% 140% at 40% 100%, #6fae31 50%, transparent 52%),
  radial-gradient(60% 120% at 75% 100%, #5f9a2a 50%, transparent 52%),
  radial-gradient(40% 150% at 98% 100%, #6fae31 50%, transparent 52%); }

/* ---------- 3. famille ---------- */
.famille { background: var(--creme-2); overflow: hidden; }
.famille__epingle { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--menu-h) + 2rem) 0 2rem; }
.famille__tete { padding: 0 clamp(16px, 6vw, 80px); }
.famille__piste { display: flex; gap: clamp(16px, 3vw, 40px); padding: 1rem clamp(16px, 6vw, 80px) 2rem; width: max-content; }
.carte {
  width: min(560px, 82vw); display: grid; grid-template-columns: 42% 1fr; align-items: end; gap: 1rem;
  background: var(--creme); border-radius: var(--rayon); padding: 1.6rem 1.6rem 1.4rem; border: 3px solid var(--marine);
  box-shadow: 8px 8px 0 var(--marine);
}
.carte img { max-height: 52vh; width: auto; margin: 0 auto; filter: drop-shadow(0 10px 8px rgba(0,0,0,.18)); }
.carte__texte { align-self: center; }
.carte .bulle { margin-bottom: 1.4rem; font-size: 1.05rem; }
.carte h3 { color: var(--bleu); }
.carte p:not(.bulle) { font-size: .98rem; }
.carte--bichette h3, .carte--maman h3 { color: var(--rouge); }

/* ---------- 4. fiche technique ---------- */
.fiche { overflow: hidden; padding: clamp(4rem, 10vw, 8rem) clamp(16px, 6vw, 80px); background: var(--marine); color: var(--creme); }
.fiche__cadre { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.fiche__visuel { position: relative; background: radial-gradient(circle at 50% 45%, #22346a 0%, transparent 65%); border-radius: 50%; padding: 2rem; text-align: center; }
.fiche__visuel img { margin: 0 auto; max-height: 420px; width: auto; filter: drop-shadow(0 20px 18px rgba(0,0,0,.4)); }
.fiche__ref { font: 700 clamp(.6rem, 2.8vw, .8rem)/1 var(--texte); letter-spacing: clamp(.08em, 1vw, .2em); white-space: nowrap; text-transform: uppercase; opacity: .6; margin-top: 1.4rem; }
.fiche h2 { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--jaune); }
.fiche .surtitre { color: #8fa6dd; }
.fiche__liste { margin: 0; }
.fiche__liste div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(247,241,232,.18); }
.fiche__liste dt { font-weight: 600; opacity: .7; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; align-self: center; }
.fiche__liste dd { margin: 0; font: 800 1.15rem/1.3 var(--texte); text-align: right; }

/* ---------- 5. albums ---------- */
.albums { overflow: hidden; padding: clamp(4rem, 10vw, 8rem) clamp(16px, 6vw, 80px); }
.albums__tete { text-align: center; max-width: 640px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.album { max-width: 1200px; margin: 0 auto clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.album__tome { font: 800 1rem/1 var(--titre); color: #fff; background: var(--rouge); display: inline-block; padding: .4rem .9rem; border-radius: 999px; }
.album__details { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.6rem; list-style: none; }
.album__details li { background: var(--creme-2); padding: .35rem .9rem; border-radius: 999px; font-weight: 800; font-size: .9rem; }
.livre { position: relative; aspect-ratio: 2 / 1; perspective: 1800px; }
.livre__page { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(15,31,69,.25); }
.livre__page img { width: 100%; height: 100%; object-fit: cover; }
.livre__couv { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: 0 50%; transform-style: preserve-3d; z-index: 2; }
.livre__couv img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 0 10px 30px rgba(15,31,69,.35); backface-visibility: hidden; }
.doubles { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.4rem); }
.double { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px rgba(15,31,69,.18); transform-origin: 0 50%; }
.etiquette {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  background: var(--jaune); color: var(--marine); font: 800 .9rem/1.1 var(--texte); padding: .45rem .8rem; border-radius: 999px;
  border: 2px solid var(--marine); white-space: nowrap; box-shadow: 3px 3px 0 var(--marine);
}
.etiquette::before { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 18px; background: var(--marine); }
.album--noel .album__tome { background: #1f6b3a; }

/* ---------- 6. océan ---------- */
.ocean { position: relative; height: 80vh; min-height: 480px; overflow: hidden; display: grid; align-content: start; justify-items: start; padding: 10vh clamp(16px, 6vw, 80px) 0; }
.ocean__fond { position: absolute; inset: -8% 0; background: url(../img/scenes/ocean.webp) 60% 40% / cover no-repeat; }
.ocean__vagues { position: absolute; bottom: -2px; left: 0; width: 200%; height: 18vh; }
.vague--1 { fill: rgba(80, 170, 230, .55); }
.vague--2 { fill: var(--creme); }
.ocean__titre { position: relative; max-width: 9ch; font-size: clamp(2.6rem, 8vw, 6.2rem); color: #fff; text-align: left; text-wrap: balance; text-shadow: 0 4px 0 var(--marine), 0 10px 30px rgba(15,31,69,.5); }

/* ---------- 7. compteur ---------- */
.compteur { text-align: center; padding: clamp(4rem, 10vw, 8rem) 16px; }
.compteur__nombre { font: 800 clamp(5rem, 22vw, 15rem)/.9 var(--titre); color: var(--bleu); margin: 0; font-variant-numeric: tabular-nums; }
.compteur__note { margin-top: 1rem; font-style: italic; color: #4b5b80; }

/* ---------- 8. coloriages ---------- */
.coloriages { background: var(--blanc); padding-bottom: clamp(4rem, 8vw, 7rem); }
.coloriages__epingle { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding: calc(var(--menu-h) + 2rem) clamp(16px, 6vw, 80px) 2rem; max-width: 1200px; margin: 0 auto; }
.remplissage { position: relative; width: min(420px, 100%); aspect-ratio: 620 / 950; margin: 0 auto; }
.remplissage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.remplissage__fond { opacity: 0; }
.grille { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.coloriage { background: var(--creme); border-radius: 20px; padding: 1rem 1rem 1.2rem; text-align: center; border: 2px solid var(--creme-2); transition: transform .2s; display: flex; flex-direction: column; align-items: center; }
.coloriage .bouton { margin-top: auto; }
.coloriage:hover { transform: rotate(-1.5deg) translateY(-4px); }
.coloriage img { border-radius: 10px; margin: 0 auto .8rem; background: #fff; box-shadow: 0 6px 16px rgba(15,31,69,.12); }
.coloriage h3 { font-size: 1.3rem; }
.coloriage--large { display: flex; flex-direction: column; align-items: center; }
.coloriage--large img { width: 100%; margin-top: auto; }
.coloriage--large .bouton { margin-top: auto; }
.pastille { font: 800 .75rem/1 var(--texte); background: #1f6b3a; color: #fff; padding: .25rem .55rem; border-radius: 999px; vertical-align: middle; }
.cahier { position: relative; z-index: 1; text-align: center; margin-top: clamp(3rem, 5vw, 4.5rem); }

/* ---------- 9. noël ---------- */
.noel__scene { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #0d1d48; }
.noel__fond { position: absolute; left: 0; top: 0; height: 100%; width: auto; min-width: 100%; max-width: none; object-fit: cover; transform-origin: 0 100%; will-change: transform; }
.noel__neige { position: absolute; inset: 0; width: 100%; height: 100%; }
.noel__texte { position: absolute; left: clamp(16px, 6vw, 80px); top: calc(var(--menu-h) + 4vh); max-width: 480px; color: #fff; background: rgba(13, 29, 72, .72); padding: 1.6rem 1.8rem; border-radius: var(--rayon); backdrop-filter: blur(4px); }
.noel__texte .surtitre { color: var(--jaune); }
.noel h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); white-space: nowrap; }
.bulle--tchou { position: absolute; right: -30px; top: -34px; transform: rotate(6deg); }

/* ---------- 10. autrice ---------- */
.autrice { max-width: 900px; margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) clamp(16px, 6vw, 80px); display: grid; grid-template-columns: 160px 1fr; gap: 2.4rem; align-items: center; }
.autrice img { width: 140px; transform: rotate(-6deg); }
.a-completer { background: #fff3c4; border: 2px dashed #c49a00; padding: 1rem 1.2rem; border-radius: 14px; }

/* ---------- 11. faq ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 0 clamp(16px, 6vw, 80px) clamp(4rem, 10vw, 8rem); text-align: center; }
.faq__liste { text-align: left; margin-top: 2rem; }
.faq details { background: #fff; border: 3px solid var(--marine); border-radius: 22px; margin-bottom: 1rem; box-shadow: 5px 5px 0 var(--marine); }
.faq summary { cursor: pointer; list-style: none; min-height: 56px; padding: 1rem 3.4rem 1rem 1.4rem; font: 800 1.2rem/1.3 var(--titre); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; background: var(--jaune); border-radius: 50%; font-size: 1.4rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.4rem 1.3rem; font-size: 1.1rem; color: var(--bleu); font-weight: 800; }

/* ---------- 12. lettre ---------- */
.lettre { background: var(--jaune); padding: clamp(4rem, 9vw, 7rem) clamp(16px, 6vw, 80px); display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 4vw, 4rem); overflow: hidden; }
.lettre__roger { width: clamp(110px, 16vw, 200px); filter: drop-shadow(0 14px 12px rgba(0,0,0,.2)); }
.lettre__boite { max-width: 600px; background: var(--creme); border-radius: var(--rayon); padding: clamp(1.6rem, 4vw, 2.6rem); border: 3px solid var(--marine); box-shadow: 8px 8px 0 var(--marine); }
.bulle--roger { margin-bottom: 1.6rem; transform: rotate(-2deg); }
.formulaire label { font-weight: 800; display: block; margin-bottom: .4rem; }
.formulaire__ligne { display: flex; gap: .6rem; flex-wrap: wrap; }
.formulaire input[type="email"] { flex: 1 1 220px; min-height: 52px; padding: 0 1.1rem; border-radius: 999px; border: 3px solid var(--marine); font: 700 1rem var(--texte); background: #fff; color: var(--marine); }
.formulaire__rgpd { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 600 !important; font-size: .9rem; margin-top: 1rem; }
.formulaire__rgpd input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--bleu); }
.formulaire__message { margin: 1rem 0 0; font-weight: 800; color: var(--bleu); min-height: 1.6em; }

/* ---------- pied ---------- */
.pied { background: var(--marine); color: var(--creme); text-align: center; padding: 0 16px 8rem; }
.pied__bande { background: var(--creme); margin: 0 -16px 2.4rem; padding: 1.6rem 16px; }
.pied__bande img { width: 220px; margin: 0 auto; }
.pied nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1rem 0; }
.pied a { color: var(--jaune); font-weight: 800; min-height: 48px; display: inline-flex; align-items: center; }
.pied__copy { opacity: .6; font-size: .85rem; }

/* ---------- bouton retour en haut (Roger) ---------- */
.remonter { position: fixed; right: 14px; bottom: 10px; z-index: 95; display: flex; align-items: flex-end; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(30px); transition: .3s; }
.remonter.visible { opacity: 1; visibility: visible; transform: none; }
.remonter img { width: 54px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
.remonter .bulle { position: absolute; right: 52px; bottom: 70px; width: max-content; max-width: 210px; font-size: .9rem; opacity: 0; transform: scale(.8); transform-origin: 100% 100%; transition: .2s; pointer-events: none; }
.remonter .bulle::after { left: auto; right: 14px; }
.remonter:hover .bulle, .remonter:focus-visible .bulle { opacity: 1; transform: none; }

/* ---------- curseur plume ---------- */
/* vrai curseur du système : suit la souris sans retard, la pointe de la plume est le point cliqué */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url(../img/plume.png) 6 27, auto; cursor: -webkit-image-set(url(../img/plume.png) 1x, url(../img/plume@2x.png) 2x) 6 27, auto; cursor: image-set(url(../img/plume.png) 1x, url(../img/plume@2x.png) 2x) 6 27, auto; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .fiche__cadre, .album, .coloriages__epingle { grid-template-columns: 1fr; }
  .fiche__visuel img { max-height: 280px; }
  .doubles { grid-template-columns: 1fr; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .coloriage { padding: .7rem .6rem 1rem; }
  .coloriage h3 { font-size: 1.1rem; }
  .coloriage .bouton--petit { font-size: .85rem; padding: .5rem .7rem; width: 100%; }
  .remonter img { width: 44px; }
  .ocean__fond { background-position: 62% 30%; }
  .ocean { align-content: end; padding-bottom: 16vh; }
  .coloriages__texte { text-align: center; }
  .remplissage { width: min(300px, 80%); }
  .famille__piste { flex-direction: column; width: auto; }
  .carte { width: 100%; grid-template-columns: 38% 1fr; padding: 1.2rem; }
  .carte img { max-height: 300px; }
  .autrice { grid-template-columns: 1fr; text-align: center; }
  .autrice img { margin: 0 auto; width: 110px; }
  .lettre { flex-direction: column; align-items: center; }
  .lettre__roger { order: 2; }
  .etiquette { font-size: .75rem; padding: .3rem .6rem; }
  .noel__texte { right: 16px; top: calc(var(--menu-h) + 2vh); padding: 1.2rem 1.3rem; }
  .bulle--tchou { right: 10px; top: auto; bottom: -26px; }
}

/* ---------- réduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bulle--coucou { opacity: 1; transform: none; }
  .remplissage__fond { opacity: 0; }
}
