/* Les Zaventures de Zoé — feuille de style du site */

@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../assets/fonts/nunito.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../assets/fonts/caveat.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --pink: #e6187d;
  --pink-deep: #c62571;
  --purple: #5a287f;
  --purple-deep: #35134f;
  --ink: #1d1d1b;
  --text: #3a3340;
  --muted: #6f6677;
  --cream: #fff8f3;
  --lilac: #f5eefb;
  --rose: #ffe9f3;
  --yellow: #ffd23f;
  --white: #fff;
  /* couleurs des familles de mots des panneaux */
  --t-orange: #fbd3ae; --t-orange-b: #f28c28;
  --t-pink: #e6b3dc;   --t-pink-b: #b04aa0;
  --t-blue: #b5dcf7;   --t-blue-b: #3d8fd1;
  --t-yellow: #fdf2ae; --t-yellow-b: #f1cf1f;
  --t-grey: #e9e9e9;   --t-grey-b: #1d1d1b;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 50px -18px rgba(53, 19, 79, .35);
  --shadow-sm: 0 8px 24px -12px rgba(53, 19, 79, .3);
  --slant: clamp(28px, 5vw, 80px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--pink-deep); text-underline-offset: .18em; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 800; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 1rem; }

.hand { font-family: var(--font-hand); font-size: 1.5em; line-height: 1.1; color: var(--pink); font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 1.8em; height: 3px; border-radius: 3px; background: currentColor; }
.lead { font-size: 1.18em; color: var(--text); }
.z { color: var(--pink); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--pink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.1;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--bg) 70%, #000);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); color: var(--fg); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--bg) 70%, #000); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--purple { --bg: var(--purple); }
.btn--white { --bg: #fff; --fg: var(--purple); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.14); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--purple); border-color: var(--purple); box-shadow: none; }
.btn--outline:hover { background: var(--purple); color: #fff; box-shadow: none; }
.btn--sm { font-size: .92rem; padding: .7em 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.heart { animation: beat 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } 36% { transform: scale(1.18); } 48% { transform: scale(1); } }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 700; line-height: 1; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; }
.brand:hover { color: #fff; }
.brand__mark { width: 62px; height: 44px; position: relative; flex: none; transition: transform .3s ease; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.brand__mark .is-color { opacity: 0; }
.brand__txt span { display: block; }
.brand__txt b { color: var(--yellow); font-weight: 700; transition: color .3s; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) { color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 500; padding: .55em .9em; border-radius: 999px; position: relative; transition: background-color .2s, color .2s; }
.nav a:not(.btn):hover { background: rgba(255,255,255,.16); }
.nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: .9em; right: .9em; bottom: .15em; height: 3px; border-radius: 3px; background: var(--yellow); }
.nav .btn { margin-left: .5rem; }
.nav .nav__social { display: none; }

.header.is-solid { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 24px -14px rgba(53,19,79,.45); --header-h: 66px; }
.header.is-solid .brand { color: var(--ink); }
.header.is-solid .brand__txt b { color: var(--pink); }
.header.is-solid .brand__mark .is-color { opacity: 1; }
.header.is-solid .brand__mark .is-white { opacity: 0; }
.header.is-solid .nav a:not(.btn) { color: var(--ink); }
.header.is-solid .nav a:not(.btn):hover { background: var(--lilac); }
.header.is-solid .nav a[aria-current="page"]:not(.btn)::after { background: var(--pink); }
.header.is-solid .burger { color: var(--ink); }

.burger { display: none; width: 46px; height: 46px; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 12px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 3px; border-radius: 3px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21.5px; } .burger span:nth-child(3) { top: 29px; }
.nav-open .burger { color: #fff !important; }
.nav-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: .4rem;
    background: linear-gradient(150deg, var(--purple-deep), var(--purple) 55%, var(--pink));
    padding: 5rem 1.5rem 2rem; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s .3s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
  .nav a:not(.btn), .header.is-solid .nav a:not(.btn) { color: #fff; font-size: 1.7rem; font-weight: 600; }
  .header.is-solid .nav a:not(.btn):hover { background: rgba(255,255,255,.16); }
  .nav a[aria-current="page"]:not(.btn)::after, .header.is-solid .nav a[aria-current="page"]:not(.btn)::after { background: var(--yellow); }
  .nav .btn { margin: 1.2rem 0 0; font-size: 1.15rem; }
  .nav .nav__social { display: flex; gap: .8rem; margin-top: 1.4rem; }
  .nav .nav__social a { padding: 0; }
  .nav-open { overflow: hidden; }
  .nav-open .header { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .brand { position: relative; z-index: 120; color: #fff !important; }
  .nav-open .brand__mark .is-color { opacity: 0 !important; } .nav-open .brand__mark .is-white { opacity: 1 !important; }
  .nav-open .brand__txt b { color: var(--yellow) !important; }
}
@media (max-width: 420px) { .brand__txt { font-size: .86rem; } .brand__mark { width: 52px; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 6rem)) 0 calc(var(--slant) + clamp(3rem, 7vw, 6rem));
  background: linear-gradient(140deg, var(--purple-deep) 0%, var(--purple) 42%, var(--pink) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero--home { min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero--page { padding-bottom: calc(var(--slant) + clamp(2.5rem, 5vw, 4rem)); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .kicker { color: var(--yellow); }
.hero .lead { color: rgba(255,255,255,.92); max-width: 34em; }
.hero .hand { color: var(--yellow); display: block; margin: -.2rem 0 1rem; transform: rotate(-2deg); transform-origin: left; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero--page .hero__grid { grid-template-columns: 1.2fr .8fr; }
.hero__bg { position: absolute; inset: -20% 0; z-index: -1; pointer-events: none; }
.hero__band { position: absolute; left: -10%; right: -10%; height: 34%; transform: rotate(-9deg); border-radius: 40px; }
.hero__band--1 { top: 8%; background: rgba(255,255,255,.055); }
.hero__band--2 { top: 52%; background: rgba(29,29,27,.16); height: 22%; }
.hero__band--3 { top: 78%; background: rgba(230,24,125,.5); height: 30%; }
.hero__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1.6px, transparent 1.6px); background-size: 26px 26px; mask-image: radial-gradient(60% 55% at 78% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 55% at 78% 40%, #000, transparent 75%); }

.hero__art { position: relative; justify-self: center; --s: clamp(250px, 36vw, 480px); width: var(--s); height: calc(var(--s) * 1.16); }
.hero__ring { position: absolute; left: 50%; bottom: calc(var(--s) * -.07); width: calc(var(--s) * 1.14); aspect-ratio: 1; margin-left: calc(var(--s) * -.57); border-radius: 50%; border: 3px dashed rgba(255,255,255,.5); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__disc { position: absolute; left: 0; bottom: 0; width: var(--s); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff, #ffe3f1 75%); box-shadow: 0 30px 70px -20px rgba(29,0,50,.6); }
.hero__photo { position: absolute; inset: 0; border-radius: 0 0 calc(var(--s) / 2) calc(var(--s) / 2); overflow: hidden; }
.hero__photo img { width: 100%; height: auto; margin-top: 3%; }
.hero__badge { position: absolute; right: -6%; top: 14%; width: clamp(92px, 11vw, 132px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1; box-shadow: var(--shadow); rotate: 10deg; }
.hero__badge b { font-size: clamp(2rem, 3.6vw, 3rem); display: block; }
.hero__badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.hero__scroll { position: absolute; left: 50%; bottom: calc(var(--slant) + 1rem); translate: -50% 0; color: rgba(255,255,255,.8); display: none; }
@media (min-width: 961px) and (min-height: 760px) { .hero--home .hero__scroll { display: block; animation: bob 2s ease-in-out infinite; } }
@keyframes bob { 50% { transform: translateY(8px); } }

.hero__img { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__img img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px -22px rgba(29,0,50,.7); border: 6px solid #fff; rotate: 3deg; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero__img--wide { width: min(100%, 560px); }
.hero__img--wide img { aspect-ratio: 10 / 7; rotate: 2deg; }
.hero__img--book img { aspect-ratio: auto; }

/* tuiles pictogrammes flottantes */
.tile {
  --bg: var(--t-yellow); --bd: var(--t-yellow-b);
  position: absolute; z-index: 2; display: grid; justify-items: center; gap: .1rem;
  width: clamp(64px, 7.4vw, 96px); padding: .45rem .3rem .5rem; border-radius: 14px;
  background: var(--bg); border: 3px solid var(--bd); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(.68rem, .9vw, .85rem); line-height: 1.1; text-align: center;
  box-shadow: 0 14px 28px -12px rgba(29,0,50,.6);
}
.tile i { font-style: normal; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; }
.tile--orange { --bg: var(--t-orange); --bd: var(--t-orange-b); }
.tile--pink { --bg: var(--t-pink); --bd: var(--t-pink-b); }
.tile--blue { --bg: var(--t-blue); --bd: var(--t-blue-b); }
.tile--grey { --bg: var(--t-grey); --bd: var(--t-grey-b); }
.float { animation: float 7s ease-in-out infinite; }
.float:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
.float:nth-child(3n) { animation-duration: 8s; animation-delay: -5s; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: var(--r, -6deg); } 50% { translate: 0 -12px; rotate: calc(var(--r, -6deg) + 4deg); } }

.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape--star { width: 34px; color: var(--yellow); }
.shape--circle { width: 120px; aspect-ratio: 1; border-radius: 50%; border: 14px solid rgba(255,255,255,.12); }
.shape--blob { width: 280px; aspect-ratio: 1; border-radius: 46% 54% 60% 40% / 45% 40% 60% 55%; background: var(--rose); }

@media (max-width: 860px) {
  .hero__grid, .hero--page .hero__grid { grid-template-columns: 1fr; }
  .hero--home .hero__art { order: -1; --s: min(64vw, 330px); margin-top: .5rem; }
  .hero--page .hero__img { width: min(78%, 340px); }
  .hero--page .hero__img--wide { width: min(100%, 460px); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--lilac { background: var(--lilac); }
.section--white { background: #fff; }
.section--rose { background: var(--rose); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.86); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--purple { background: linear-gradient(140deg, var(--purple-deep), var(--purple)); color: rgba(255,255,255,.9); }
.section--purple h2, .section--purple h3, .section--purple strong { color: #fff; }
.section--purple .kicker, .section--dark .kicker { color: var(--yellow); }
.section--purple a:not(.btn), .section--dark a:not(.btn) { color: var(--yellow); }
.slant-both { clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); margin-block: calc(var(--slant) * -1); padding-block: calc(clamp(3.5rem, 8vw, 7rem) + var(--slant)); z-index: 1; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker::after { content: ""; width: 1.8em; height: 3px; border-radius: 3px; background: currentColor; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- Chiffres ---------- */
.stats { position: relative; z-index: 3; margin-top: calc(var(--slant) * -1 - 2.2rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: clamp(1.1rem, 2.4vw, 1.9rem) clamp(.8rem, 2vw, 1.5rem); text-align: center; border-left: 2px dashed var(--lilac); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1; color: var(--pink); }
.stat:nth-child(even) b { color: var(--purple); }
.stat span { display: block; margin-top: .4rem; font-size: .92rem; line-height: 1.3; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 2px dashed var(--lilac); } }

/* ---------- Collage photo ---------- */
.collage { position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; margin-inline: auto; width: 100%; }
.collage__item { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: #fff; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item--a { left: 0; top: 6%; width: 62%; aspect-ratio: 3 / 4; rotate: -4deg; }
.collage__item--b { right: 0; top: 0; width: 44%; aspect-ratio: 1; rotate: 5deg; border-radius: 50%; }
.collage__item--c { right: 3%; bottom: 0; width: 50%; aspect-ratio: 4 / 5; rotate: 3deg; }
.collage__note { position: absolute; left: 2%; bottom: 3%; z-index: 3; background: var(--yellow); color: var(--ink); padding: .5rem 1rem; border-radius: 14px; rotate: -5deg; font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.1; box-shadow: var(--shadow-sm); }
.collage .shape--blob { left: -12%; top: 18%; width: 80%; z-index: -1; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
a.card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow); color: inherit; }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--lilac); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__body p { margin: 0; color: var(--muted); font-size: .98em; }
.card__tag { align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; background: var(--rose); color: var(--pink-deep); }
.card__more { margin-top: auto; padding-top: .8rem; font-family: var(--font-display); font-weight: 600; color: var(--pink); display: inline-flex; align-items: center; gap: .4em; }
.card__more svg { width: 1.1em; transition: transform .3s; }
a.card:hover .card__more svg { transform: translateX(6px); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 1.1rem; }
.fact { background: #fff; border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); border-top: 6px solid var(--pink); }
.fact:nth-child(2) { border-color: var(--purple); } .fact:nth-child(3) { border-color: var(--yellow); } .fact:nth-child(4) { border-color: var(--t-blue-b); }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.05; color: var(--ink); margin-bottom: .35rem; }
.fact p { margin: 0; font-size: .97em; color: var(--muted); }

.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.icon-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.icon-list li > span:first-child { width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-content: center; background: var(--rose); font-size: 1.3rem; }
.section--purple .icon-list li > span:first-child, .section--dark .icon-list li > span:first-child { background: rgba(255,255,255,.14); }
.icon-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem 2rem; }

.note { background: #fff; border-left: 6px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); color: var(--text); }
.note p:last-child { margin: 0; }
.small { font-size: .88em; color: var(--muted); }

/* ---------- Bandeau parallaxe ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(5rem, 13vw, 10rem) 0; text-align: center; }
.band__bg { position: absolute; inset: -22% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(53,19,79,.96), rgba(90,40,127,.93) 50%, rgba(198,37,113,.92)); }
.band blockquote { margin: 0 auto; max-width: 21em; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1rem + 3.2vw, 3.2rem); line-height: 1.15; text-wrap: balance; }
.band blockquote::before { content: "“"; display: block; font-size: 2.2em; line-height: .6; color: var(--yellow); }
.band cite { display: block; margin: 1.4rem auto 0; max-width: 30em; line-height: 1.2; font-style: normal; font-family: var(--font-hand); font-size: 1.6rem; color: var(--yellow); }

/* ---------- Instagram ---------- */
.insta { position: relative; border-radius: var(--radius-lg); padding: clamp(1.8rem, 5vw, 4rem); color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); box-shadow: var(--shadow); }
.insta h2 { color: #fff; }
.insta p { max-width: 32em; color: rgba(255,255,255,.95); }
.insta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.insta__handle { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem); display: inline-flex; align-items: center; gap: .5em; color: #fff; text-decoration: none; background: rgba(255,255,255,.18); padding: .4em .9em; border-radius: 999px; margin-bottom: 1rem; }
.insta__handle svg { width: 1.3em; }
.insta__handle:hover { color: #fff; background: rgba(255,255,255,.3); }
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem .6rem; justify-items: center; }
.story { display: grid; justify-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; text-align: center; line-height: 1.2; }
.story:hover { color: #fff; }
.story i { font-style: normal; width: clamp(62px, 8vw, 84px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; font-size: clamp(1.5rem, 2.6vw, 2.1rem); background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 10px 20px -10px rgba(0,0,0,.5); transition: transform .3s cubic-bezier(.2,.8,.2,1.4); }
.story:hover i { transform: scale(1.12) rotate(-6deg); }
.insta .shape--circle { right: -40px; top: -40px; width: 200px; border-width: 26px; z-index: -1; }
@media (max-width: 820px) { .insta__grid { grid-template-columns: 1fr; } }

.social { display: flex; gap: .6rem; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; background: rgba(255,255,255,.14); color: #fff; transition: transform .25s ease, background-color .25s ease; }
.social a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--pink); color: #fff; }
.social a svg { width: 22px; height: 22px; }
.hero .social { margin-top: 1.6rem; }
.hero .social a:hover { background: var(--yellow); color: var(--ink); }

/* ---------- Appel au don ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--pink); color: #fff; text-align: center; padding: calc(clamp(4rem, 9vw, 7rem) + var(--slant)) 0 clamp(4rem, 9vw, 7rem); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); z-index: 2; }
.cta__bg { position: absolute; inset: -30% 0; z-index: -1; background: repeating-linear-gradient(-9deg, transparent 0 90px, rgba(255,255,255,.06) 90px 180px), radial-gradient(60% 60% at 80% 20%, rgba(90,40,127,.75), transparent 70%), radial-gradient(50% 60% at 10% 90%, rgba(53,19,79,.6), transparent 70%); }
.cta h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 4vw, 4rem); margin-bottom: .3em; }
.cta h2 em { font-style: normal; color: var(--yellow); display: block; }
.cta p { max-width: 38em; margin-inline: auto; color: rgba(255,255,255,.95); }
.cta .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta__hero { width: 76px; margin: 0 auto 1rem; color: #fff; }
.section:has(+ .cta) { padding-bottom: calc(clamp(3.5rem, 8vw, 7rem) + var(--slant)); }

/* ---------- Frise ---------- */
.timeline { position: relative; display: grid; gap: clamp(1.6rem, 4vw, 3rem); padding: 1rem 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: repeating-linear-gradient(to bottom, var(--pink) 0 14px, transparent 14px 26px); }
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 7vw, 6rem); align-items: center; }
.tl::before { content: attr(data-emoji); position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-content: center; font-size: 1.6rem; box-shadow: 0 0 0 6px var(--lilac), var(--shadow-sm); z-index: 1; }
.tl__card { background: #fff; border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.tl__card p:last-child { margin: 0; }
.tl__date { font-family: var(--font-display); font-weight: 700; color: var(--pink); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .2rem; }
.tl:nth-child(even) .tl__card { grid-column: 2; }
.tl:nth-child(odd) .tl__side { grid-column: 2; }
.tl:nth-child(even) .tl__side { grid-column: 1; grid-row: 1; text-align: right; }
.tl__side { font-family: var(--font-hand); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; color: var(--purple); }
.tl__side img { border-radius: var(--radius); border: 5px solid #fff; box-shadow: var(--shadow-sm); width: min(100%, 260px); display: inline-block; rotate: 2deg; }
@media (max-width: 760px) {
  .timeline::before { left: 28px; }
  .tl { grid-template-columns: 1fr; padding-left: 74px; gap: .6rem; }
  .tl::before { left: 28px; top: 28px; }
  .tl:nth-child(n) .tl__card, .tl:nth-child(n) .tl__side { grid-column: 1; grid-row: auto; text-align: left; }
}

/* ---------- Fiche d'identité ---------- */
.idcard { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.8rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem); position: relative; rotate: -1.2deg; border: 3px solid var(--ink); }
.idcard::before { content: "Carte de super-héroïne"; position: absolute; top: -1rem; left: 1.6rem; background: var(--ink); color: var(--yellow); font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .35em 1em; border-radius: 999px; }
.idcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; }
.idcard dt { font-family: var(--font-display); font-weight: 600; color: var(--purple); white-space: nowrap; }
.idcard dd { margin: 0; }
@media (max-width: 480px) { .idcard dl { grid-template-columns: 1fr; gap: 0; } .idcard dd { margin-bottom: .7rem; } }

/* ---------- Livre / explications enfants ---------- */
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.qa__item { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.qa__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.qa__body { padding: 1.3rem 1.4rem 1.5rem; }
.qa__q { font-family: var(--font-hand); font-size: 1.65rem; line-height: 1.1; color: var(--pink); margin-bottom: .5rem; }
.qa__body p:last-child { margin: 0; }
.book img { border-radius: 6px 16px 16px 6px; box-shadow: 24px 30px 60px -22px rgba(29,0,50,.6); rotate: -4deg; width: min(100%, 360px); margin-inline: auto; }
.pricelist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pricelist li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .8rem 1.1rem; background: rgba(255,255,255,.08); border-radius: 14px; }
.pricelist b { font-family: var(--font-display); color: var(--yellow); white-space: nowrap; font-size: 1.1em; }

/* ---------- Panneaux TLA ---------- */
.panel-stage { perspective: 1400px; }
.panel-stage img { border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(29,0,50,.8); transform: rotateY(-14deg) rotateX(6deg) rotate(1deg); border: 5px solid #fff; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.panel-stage:hover img { transform: rotateY(-4deg) rotateX(2deg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; }
.shot { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shot button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.shot button:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
.shot img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.shot figcaption { padding: .9rem 1.1rem 1.1rem; }
.shot figcaption b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.shot figcaption span { font-size: .9rem; color: var(--muted); }
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1.2rem; }
.place { color: var(--text); background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.place::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--pink), var(--purple)); }
.place__soon { position: absolute; top: 1.4rem; right: 1.2rem; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .3em .9em; border-radius: 999px; rotate: 4deg; }
.place__pin { font-size: 2rem; line-height: 1; }
.place h3 { margin: .5rem 0 .1rem; color: var(--ink); }
.place__dep { font-weight: 700; color: var(--pink); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.place ul { margin: .8rem 0 0; padding-left: 1.1em; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .9rem; list-style: none; padding: 0; margin: 0; }
.legend li { --bg: var(--t-yellow); --bd: var(--t-yellow-b); background: var(--bg); border: 3px solid var(--bd); border-radius: 16px; padding: .9rem 1rem; color: var(--ink); }
.legend b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.legend span { font-size: .92rem; }

.board { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(.8rem, 2vw, 1.4rem); box-shadow: var(--shadow); }
.board__strip { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 16px; padding: .6rem .7rem; min-height: 68px; margin-bottom: clamp(.6rem, 1.6vw, 1rem); }
.board__words { flex: 1; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: clamp(1rem, .9rem + .6vw, 1.3rem); }
.board__words:empty::before { content: "Touchez les images pour faire une phrase…"; color: var(--muted); font-weight: 500; font-size: .95rem; }
.board__words span { background: var(--lilac); padding: .15em .6em; border-radius: 10px; animation: pop .3s cubic-bezier(.2,.8,.2,1.6); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.board__act { border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 14px; display: grid; place-content: center; background: var(--pink); color: #fff; flex: none; transition: transform .2s; }
.board__act:hover { transform: scale(1.08); }
.board__act--clear { background: var(--lilac); color: var(--purple); }
.board__act svg { width: 24px; height: 24px; }
.board__hint { margin: .8rem .4rem 0; color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; }
.board__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.3rem, 1vw, .6rem); }
.key { --bg: var(--t-yellow); --bd: var(--t-yellow-b); appearance: none; cursor: pointer; background: var(--bg); border: 3px solid var(--bd); border-radius: 12px; padding: .35rem .15rem .45rem; display: grid; justify-items: center; gap: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(.62rem, .5rem + .7vw, .92rem); color: var(--ink); line-height: 1.1; transition: transform .15s ease, filter .15s; min-width: 0; }
.key i { font-style: normal; font-size: clamp(1.3rem, 1rem + 2vw, 2.1rem); line-height: 1.25; }
.key:hover { transform: translateY(-3px) scale(1.04); filter: brightness(1.05); }
.key:active, .key.is-hit { transform: scale(.92); }
.key--orange, .legend .l-orange { --bg: var(--t-orange); --bd: var(--t-orange-b); }
.key--pink, .legend .l-pink { --bg: var(--t-pink); --bd: var(--t-pink-b); }
.key--blue, .legend .l-blue { --bg: var(--t-blue); --bd: var(--t-blue-b); }
.key--grey, .legend .l-grey { --bg: var(--t-grey); --bd: var(--t-grey-b); }
@media (max-width: 520px) { .board__grid { grid-template-columns: repeat(4, 1fr); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(29, 8, 44, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 12px; margin: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; font-family: var(--font-display); }
.lightbox__close { position: absolute; top: -18px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }

/* ---------- Contact ---------- */
.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); width: 100%; padding: .85em 1em; border-radius: 14px; border: 2px solid #e4d9ee; background: #fdfbff; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(230,24,125,.14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d32f2f; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .92rem; color: var(--muted); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--pink); }
.turnstile { min-height: 65px; }
.turnstile[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { border-radius: 14px; padding: .9rem 1.1rem; font-weight: 700; display: none; }
.form__status.is-ok { display: block; background: #e6f7ec; color: #17683a; }
.form__status.is-err { display: block; background: #fdeaea; color: #a32020; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); color: var(--text); }
.contact-card i { font-style: normal; width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-content: center; color: #fff; background: var(--purple); }
.contact-card i svg { width: 1.5rem; height: 1.5rem; }
.contact-card--ig i { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.contact-card--fb i { background: #1877f2; }
.contact-card--ha i { background: var(--pink); }
.contact-card b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.08rem; }
.contact-card span { font-size: .92rem; color: var(--muted); word-break: break-word; }

/* ---------- Pages de texte ---------- */
.prose h2 { margin-top: 2.2em; padding-top: .4em; border-top: 4px solid var(--pink); display: inline-block; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; color: var(--purple); }
.prose li { margin-bottom: .45em; }
.todo { background: var(--yellow); color: var(--ink); padding: .05em .4em; border-radius: 6px; font-weight: 700; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; position: relative; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.4rem; }
.footer__logo { width: 150px; margin-bottom: 1rem; }
.footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer__bottom { margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .86rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: var(--purple); color: #fff; display: grid; place-content: center; box-shadow: var(--shadow-sm); opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .3s, translate .3s, background-color .2s; }
.to-top.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--pink); }
.to-top svg { width: 22px; }

/* ---------- Animations d'apparition ---------- */
[data-parallax] { will-change: transform; }
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal--left { transform: translateX(-40px); }
.js .reveal--right { transform: translateX(40px); }
.js .reveal--zoom { transform: scale(.9); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .header, .to-top, .cta, .hero__bg { display: none; } .hero { color: #000; clip-path: none; background: none; } }
