/* ==========================================================================
   Kaiak — feuille de style
   ========================================================================== */

:root {
  --ink: #13294B;
  --blue: #1D4E89;
  --text: #2E3F57;
  --muted: #46586E;
  --sky: #EAF4FB;
  --sky-2: #BFDDF1;
  --water: #7FB3D8;
  --sun: #F7C548;
  --sun-paper: #FFF3C4;
  --coral: #EE7A5B;
  --coral-paper: #FDE3DA;
  --coral-ink: #9A3412;
  --sun-ink: #6B4200;
  --white: #FFFFFF;

  --font-display: 'Shantell Sans', 'Comic Neue', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-doc: 'Newsreader', Georgia, 'Times New Roman', serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 28px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 750; line-height: 1.08; }
p { margin: 0; }
:lang(fr) { hyphens: manual; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--sun); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h2-sm { font-size: clamp(1.9rem, 4vw, 3rem); }
.lead { margin-top: 18px; max-width: 40rem; font-size: 1.25rem; line-height: 1.6; color: var(--muted); }
.aside-note { font-family: var(--font-display); font-size: 1rem; color: var(--muted); }
.section { padding-block: clamp(80px, 10vw, 120px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0;
  font: inherit; font-size: 1.15rem; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(2px); }
.btn--coral { background: var(--coral); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn--coral:hover { color: var(--ink); box-shadow: 0 2px 0 var(--ink); transform: translateY(2px); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 4px 0 var(--ink); }
.btn--blue:hover { color: var(--white); box-shadow: 0 2px 0 var(--ink); transform: translateY(2px); }
.btn--small { min-height: 46px; padding: 0 22px; font-size: 1rem; box-shadow: none; }
.btn--small:hover { box-shadow: none; transform: none; }
.pill-btn {
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.pill-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__word { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--blue); }
.logo__dot { color: var(--coral); }
.logo__word, .logo__reflet span { white-space: nowrap; }
.logo__reflet { display: block; height: 0.47em; overflow: hidden; margin-top: 2px; font-size: 2rem; }
.logo__reflet span {
  display: block; height: 1em; font-family: var(--font-display); font-weight: 800; line-height: 1em;
  color: var(--water); opacity: .5; transform: scaleY(-1); margin-top: -0.2em;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
          mask-image: linear-gradient(to top, #000 30%, transparent);
}
.logo--light .logo__word { color: var(--white); }
.logo--light .logo__dot { color: var(--sun); }
.logo--light .logo__reflet span { opacity: .6; -webkit-mask-image: none; mask-image: none; }

/* ---------- En-tête ---------- */
.site-top { background: var(--sky); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 22px; }
.nav-toggle { display: none; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; margin: 0; padding: 0; list-style: none; font-size: 1.05rem; }
.site-nav a:not(.btn) { display: inline-block; color: var(--ink); text-decoration: none; padding-block: 10px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
    border: 2px solid var(--ink); border-radius: 999px; background: var(--white);
    font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 12px; }
  .site-nav .btn { margin-top: 8px; }
}

/* ---------- Héro ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-block: 48px 32px; }
.hero__text { flex: 1 1 500px; min-width: 0; }
.hero__kicker { margin-bottom: 20px; font-size: 1.2rem; color: var(--muted); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; }
.hero__sub { margin-top: 28px; max-width: 35rem; font-size: 1.3rem; line-height: 1.6; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 38px; }
.hero__actions a:not(.btn) { font-weight: 700; }
.hero__fine { margin-top: 18px; font-size: 1rem; color: var(--muted); }
.hero__visual { flex: 1 1 360px; min-width: 0; position: relative; display: flex; justify-content: center; padding: 20px 0 30px; }
.photo-slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 32px; background: var(--sky-2); border: 3px dashed var(--water); color: var(--text); font-size: 1.05rem;
}
.photo-slot--arch { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 220px 220px 32px 32px; }
.photo-slot--round { width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: 50%; }
.hero__visual img.photo--arch { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 32px 32px; }
.bubble {
  position: absolute; left: 0; bottom: 24px; max-width: 250px; padding: 16px 20px;
  border-radius: 22px 22px 22px 6px; background: var(--white); box-shadow: 0 8px 24px -10px rgba(19, 41, 75, .35);
  transform: rotate(-3deg); font-family: var(--font-display); font-size: 1.1rem; line-height: 1.35;
}
.sticker {
  position: absolute; padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.sticker--1 { right: 0; top: 6px; background: var(--sun); transform: rotate(5deg); }
.sticker--2 { right: -8px; top: 58px; background: var(--white); transform: rotate(-3deg); }

.wave { display: block; width: 100%; height: clamp(40px, 5vw, 70px); }

/* ---------- Cadre commun démo / agent ---------- */
.frame {
  margin-top: 36px; border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.frame--sky { box-shadow: 8px 8px 0 var(--sky-2); }
.frame--sun { box-shadow: 8px 8px 0 var(--sun-paper); }
.frame__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 18px 28px; border-bottom: 2px solid var(--ink); background: var(--sky);
}
.frame__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.col { padding: 28px 32px 36px; min-width: 0; }
.col__label { margin-bottom: 16px; font-size: .95rem; font-weight: 700; color: var(--muted); }
.col--paper { background: var(--sun-paper); }
.col--paper .col__label { color: #5C4A12; }
.col--dashed { border-left: 2px dashed var(--sky-2); }
.col--mid { background: #F6FAFD; border-inline: 2px dashed var(--sky-2); }
.footnote { margin-top: 18px; font-size: 1rem; color: var(--muted); }

/* ---------- Démo ---------- */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.no-js .demo-tabs, html:not(.js) .demo-tabs { display: none; }
.demo-example + .demo-example { border-top: 2px solid var(--ink); }
.demo-example__title { display: none; }
html:not(.js) .demo-example__title { display: block; padding: 18px 32px 0; font-weight: 700; }
.notes { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.7; color: var(--text); white-space: pre-line; }
.doc { font-family: var(--font-doc); font-size: 1.06rem; line-height: 1.6; color: var(--ink); }
.doc h3 { font-family: var(--font-doc); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
.doc p + p { margin-top: 12px; }
.doc .doc__meta { margin-top: 4px; color: var(--muted); }
.doc .doc__aside { margin-top: 16px; font-family: var(--font-display); font-size: .95rem; color: var(--blue); }
.doc > * { animation: kIn .55s ease both; }
.doc > *:nth-child(2) { animation-delay: .2s; }
.doc > *:nth-child(3) { animation-delay: .45s; }
.doc > *:nth-child(4) { animation-delay: .7s; }
.doc > *:nth-child(5) { animation-delay: .95s; }
.doc > *:nth-child(6) { animation-delay: 1.2s; }
.doc > *:nth-child(7) { animation-delay: 1.45s; }
.doc > *:nth-child(8) { animation-delay: 1.7s; }
@keyframes kIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Agent ---------- */
.agent__ask { font-size: 1.1rem; }
.agent__ask q { font-family: var(--font-display); quotes: none; }
.thoughts { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 1rem; line-height: 1.45; }
.thought { font-family: var(--font-display); font-style: italic; color: var(--blue); }
.action { color: var(--text); }
.tag {
  display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px;
  background: var(--sky); font-size: .82rem; font-weight: 700; font-style: normal; color: var(--blue);
}
.tag--tool { background: var(--sun-paper); color: var(--sun-ink); }
.sources { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.source {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 14px; border: 2px solid var(--ink); background-color: var(--sun-paper); font-size: .95rem;
}
.source__state { font-size: .82rem; font-weight: 700; color: var(--blue); }
.source--locked { border-style: dashed; border-color: #9AAEC0; background: #EEF2F5; color: var(--muted); }
.source--locked .source__state { color: var(--coral-ink); }
.source--locked span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tool { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); background-color: var(--sun-paper); font-size: .9rem; font-weight: 700; }
.tool--off { border-style: dashed; border-color: #9AAEC0; background: #EEF2F5; color: var(--muted); font-weight: 400; }
.subhead { margin: 26px 0 14px; font-size: .95rem; font-weight: 700; color: var(--muted); }

.newsletter { border-radius: 16px; overflow: hidden; border: 1px solid #D5E4EF; background: #FBFCF8; box-shadow: 0 10px 24px -14px rgba(19, 41, 75, .4); }
.newsletter__band { padding: 14px 18px; background: #4E7356; color: var(--white); font-size: .95rem; font-weight: 700; }
.newsletter__photo { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 0 18px; background: #E3EBD9; }
.newsletter__photo span { border-radius: 10px 10px 0 0; }
.newsletter__body { padding: 16px 18px 20px; font-family: var(--font-doc); }
.newsletter__body h4 { margin: 0; font-family: var(--font-doc); font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
main:focus { outline: none; }
.newsletter__body p { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.newsletter__cta { display: inline-block; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: #E3B23C; font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--ink); }
.status { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .95rem; font-weight: 700; color: var(--blue); }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); animation: blink 1.6s ease-in-out infinite; }

[data-anim] { animation: agIn .5s ease both; animation-delay: var(--d, 0s); }
[data-lit] { animation: agLit .6s ease both; animation-delay: var(--d, 0s); }
.js .agent [data-anim], .js .agent [data-lit] { animation-play-state: paused; }
.js .agent.is-playing [data-anim], .js .agent.is-playing [data-lit] { animation-play-state: running; }
@keyframes agIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes agLit { from { background-color: var(--white); border-color: #D5E4EF; } to { background-color: var(--sun-paper); border-color: var(--ink); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.replay { display: none; }
.js .replay { display: inline-flex; align-items: center; }

/* ---------- Cartes « Tu te reconnais ? » ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; margin-top: 56px; }
.card { padding: 34px 32px 36px; border-radius: var(--radius); }
.card--sky { background: var(--sky); }
.card--sun { background: var(--sun-paper); }
.card--coral { background: var(--coral-paper); }
.card__quote { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.35; font-weight: 600; color: var(--blue); }
.card--sun .card__quote { color: var(--sun-ink); }
.card--coral .card__quote { color: var(--coral-ink); }
.card h3 { margin-top: 28px; font-size: 1.3rem; }
.card ul { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; padding-left: 20px; color: var(--text); }

/* ---------- Bande bleue ---------- */
.band { background: var(--blue); color: var(--white); }
.band h2, .band h3 { color: var(--white); }
.band .wave { background: var(--white); }
.band__inner { display: flex; flex-wrap: wrap; gap: 56px 60px; padding-block: 70px 100px; }
.band__intro { flex: 1 1 320px; }
.band__intro p { margin-top: 22px; max-width: 27rem; font-size: 1.25rem; color: #DCEBF7; }
.band__grid { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 44px; }
.band__grid h3 { font-size: 1.3rem; color: var(--sun); }
.band__grid p { margin-top: 10px; color: var(--sky); }
.band a { color: var(--white); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 44px; margin: 56px 0 0; padding: 0; list-style: none; }
.step__head { display: flex; align-items: center; gap: 16px; }
.step__num {
  width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ink);
}
.step:nth-child(1) .step__num { background: var(--sun); }
.step:nth-child(2) .step__num { background: var(--sky-2); }
.step:nth-child(3) .step__num { background: var(--coral-paper); }
.step h3 { margin-top: 24px; font-family: var(--font-display); font-size: 1.6rem; }
.step__meta { margin-top: 4px; font-weight: 700; color: var(--blue); }
.step p:not(.step__meta):not(.aside-note) { margin-top: 12px; color: var(--text); }
.step .aside-note { margin-top: 10px; }

/* ---------- À propos ---------- */
.about { background: var(--sky); }
.about__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.about__photo { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.about__photo picture { display: block; width: 100%; max-width: 380px; }
.about__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 8px 8px 0 var(--sky-2); }
.about__text { flex: 999 1 500px; min-width: 0; }
.about__text p { margin-top: 18px; font-size: 1.2rem; line-height: 1.65; color: var(--text); }
.about__text h2 + p { margin-top: 26px; }
.about__text h3 { margin-top: 40px; font-family: var(--font-display); font-size: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 12px 20px; border-radius: 999px; background: var(--white); font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact { border-radius: 36px; background: var(--sun-paper); padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 48px 56px; }
.contact__intro { flex: 1 1 320px; }
.contact__intro p { margin-top: 22px; max-width: 27rem; font-size: 1.25rem; color: var(--text); }
.contact__intro .aside-note { margin-top: 16px; font-size: 1.05rem; }
.form { flex: 999 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 18px; border: 2px solid var(--ink); border-radius: 16px;
  background: var(--white); font: inherit; color: var(--ink);
}
.field textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.form__foot p { max-width: 27rem; font-size: 1rem; color: var(--muted); }
.honeypot { display: none; }

/* ---------- Pages intérieures ---------- */
.page-head { padding-block: 40px 70px; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.page-head .lead { font-size: 1.3rem; }
.offer { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: 64px; border-top: 2px dashed var(--sky-2); }
.offer:first-of-type { border-top: 0; }
.offer__head { flex: 1 1 300px; }
.offer__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.offer__head .step__meta { margin-top: 10px; }
.offer__body { flex: 999 1 520px; min-width: 0; }
.offer__body > p { font-size: 1.2rem; color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; margin: 28px 0 0; }
.facts div { padding: 20px 22px; border-radius: 20px; background: var(--sky); }
.facts dt { font-weight: 700; color: var(--blue); }
.facts dd { margin: 6px 0 0; color: var(--text); }
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq details { border: 2px solid var(--ink); border-radius: 20px; background: var(--white); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 22px; color: var(--text); }
.faq details > div p + p { margin-top: 12px; }
.cta-band { margin-top: 24px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--sun-paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band p { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 48px; font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--text); }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.callout { margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: var(--sun-paper); color: var(--text); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #DCEBF7; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 40px; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; list-style: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Film de l’agent ---------- */
.film { margin: 36px 0 0; }
.film__frame { background: var(--cream, #F3EBDD); }
.film canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: pointer; }
.film__bar { display: none; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 20px; border-top: 2px solid var(--ink); background: var(--sky); }
.js .film__bar { display: flex; }
html:not(.js) .film__frame { display: none; }
.film__bar input[type="range"] { flex: 1 1 200px; min-height: 44px; accent-color: var(--coral); }
.film__time { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 7ch; }
.film__desc { margin-top: 18px; border: 2px solid var(--ink); border-radius: 20px; background: var(--white); }
.film__desc summary { cursor: pointer; padding: 16px 22px; font-weight: 700; }
.film__desc ol { margin: 0; padding: 0 22px 20px 44px; display: flex; flex-direction: column; gap: 8px; color: var(--text); }

/* ---------- Mascotte de l’accueil ---------- */
.mascot-stage {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1;
  border-radius: 50%; background: var(--sky-2); display: flex; align-items: flex-end; justify-content: center;
}
.mascot { width: 92%; height: auto; overflow: visible; margin-bottom: -6%; }
.mascot__boat { animation: boat 4s ease-in-out infinite; transform-origin: 210px 380px; }
.mascot__bob { animation: bob 2.6s ease-in-out infinite; }
.mascot__wave { transform-box: fill-box; transform-origin: 50% 100%; animation: hello 2.4s ease-in-out 0.6s 2 both; }
.mascot__lid { transform-box: fill-box; transform-origin: 50% 50%; transform: scaleY(0); animation: blink 4.2s steps(1) infinite; }
.mascot__pupil { animation: look 7s ease-in-out infinite; }
.mascot__status { animation: pulse 2.2s ease-in-out infinite; }
.mascot__water path { animation: drift 5s linear infinite; }
@keyframes boat { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg) translateY(4px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hello { 0%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(-18deg); } 30%, 60% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
@keyframes blink { 0%, 95% { transform: scaleY(0); } 96%, 99% { transform: scaleY(0.12); } }
@keyframes look { 0%, 40% { transform: translate(0, 0); } 50%, 85% { transform: translate(22px, -6px); } 100% { transform: translate(0, 0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-40px); } }
.mascot__water { clip-path: inset(0 20px); }

/* ---------- Animation de l’accueil : la liste qui se coche ---------- */
.todo-stage { width: 100%; max-width: 440px; }
.todo { display: block; width: 100%; height: auto; overflow: visible; }
.todo text { font-family: var(--font-body); }
.todo .todo__hand { font-family: var(--font-display); }
.todo__pad { transform-box: fill-box; transform-origin: 50% 50%; animation: padIn 1s ease-out both; }
.todo__check { stroke-dasharray: 32; stroke-dashoffset: 32; animation: todoDraw .35s ease-out var(--d) forwards; }
.todo__strike { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: todoGrow .4s ease-out calc(var(--d) + .25s) forwards; }
.todo__label { animation: todoFade .4s ease calc(var(--d) + .3s) forwards; }
.todo__hl { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: todoGrow .7s cubic-bezier(.5,0,.3,1) var(--d) forwards; }
.todo__heart { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; transform: scale(0); animation: todoPop .5s cubic-bezier(.3,1.6,.6,1) var(--d) forwards, todoBeat 1.6s ease-in-out calc(var(--d) + .6s) infinite; }
.todo__note { opacity: 0; animation: todoShow .5s ease var(--d) forwards; }
@keyframes padIn { from { transform: translateY(16px) rotate(2deg); opacity: 0; } to { transform: rotate(-2.5deg); opacity: 1; } }
@keyframes todoDraw { to { stroke-dashoffset: 0; } }
@keyframes todoGrow { to { transform: scaleX(1); } }
@keyframes todoFade { to { fill: #6B7887; } }
@keyframes todoPop { to { opacity: 1; transform: scale(1); } }
@keyframes todoBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
@keyframes todoShow { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .todo__pad { transform: rotate(-2.5deg); }
  .todo__check { stroke-dashoffset: 0; }
  .todo__strike, .todo__hl { transform: none; }
  .todo__label { fill: #6B7887; }
  .todo__heart, .todo__note { opacity: 1; transform: none; }
}
