/* ============================================================
   Les Cahiers d'Arthur — site vitrine
   Charte : violet #6C4DD6 + jaune #FFC247 · encre #2B2350
   Typo : Fredoka (titres) · Nunito (texte)
   ============================================================ */

:root {
  --violet:      #6C4DD6;
  --violet-700:  #5337bd;
  --violet-300:  #b6a4ee;
  --violet-100:  #F2EEFF;
  --violet-050:  #faf9ff;

  --yellow:      #FFC247;
  --yellow-600:  #9b6100;
  --yellow-100:  #FFF7E8;

  --ink:         #241d45;
  --ink-70:      #565073;
  --ink-50:      #67617f;

  --pink:        #ef6a8e;
  --orange:      #f08a3c;
  --green:       #2fae7e;
  --blue:        #4a97f0;

  --white:       #ffffff;
  --line:        #ece7f8;
  --paper:       #fbfaf6;

  --radius-lg:   28px;
  --radius-md:   20px;
  --radius-sm:   14px;

  --shadow-card: 0 22px 48px -30px rgba(36,29,69,.42);
  --shadow-soft: 0 12px 30px -20px rgba(36,29,69,.30);

  --maxw: 1120px;
  --font-title: "Trebuchet MS", system-ui, sans-serif;
  --font-body:  system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--violet); color: #fff; padding: 12px 18px;
  border-radius: 12px; z-index: 1000; font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 16px; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* icônes : trait fin, cohérent partout */
.i { width: 24px; height: 24px; display: block; stroke: currentColor; stroke-width: 1.9;
     stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section-pad { padding-block: clamp(60px, 9vw, 108px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--yellow-600); display: inline-block;
}

.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(29px, 4.4vw, 46px); margin-top: 16px; }
.section-head p { margin-top: 15px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-70); }

/* ---- Boutons « chunky » ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 17px; line-height: 1;
  padding: 16px 26px; border: none; border-radius: 16px; cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(4px); }
.btn .i { width: 20px; height: 20px; }

.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 5px 0 0 var(--violet-700); }
.btn--primary:hover { background: #7a5ce0; }
.btn--primary:active { box-shadow: 0 1px 0 0 var(--violet-700); }

.btn--accent { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 0 var(--yellow-600); }
.btn--accent:hover { background: #ffce6a; }
.btn--accent:active { box-shadow: 0 1px 0 0 var(--yellow-600); }

.btn--ghost { background: #fff; color: var(--violet); box-shadow: inset 0 0 0 2px #e4ddfb; }
.btn--ghost:hover { background: var(--violet-050); }
.btn--ghost:active { transform: translateY(2px); }

.btn--lg { font-size: 18px; padding: 18px 32px; }

/* ---- En-tête ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,246,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(36,29,69,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 74px; }

/* Aucun libellé de l'en-tête ne doit se couper en deux lignes :
   1. white-space: nowrap  → le texte reste d'un seul tenant ;
   2. flex: none           → les blocs ne se compriment plus sous leur largeur
      de contenu (c'est cette compression qui provoquait la césure interne). */
.brand, .nav-links, .nav-cta { flex: 0 0 auto; }
.brand, .nav-links a, .nav-cta .btn { white-space: nowrap; }

.brand { display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo-badge {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 3px 0 0 var(--violet-700);
}
.brand b { color: var(--violet); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 16px; list-style: none; padding: 0; }
.nav-links a { font-weight: 700; font-size: 14px; color: var(--ink-70); }
.nav-links a:hover { color: var(--violet); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 14px; font-size: 14.5px; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -12%, #ece5ff 0%, rgba(236,229,255,0) 62%),
    linear-gradient(180deg, var(--paper) 0%, #f6f2ff 100%);
  padding-block: clamp(44px, 6vw, 80px) clamp(56px, 8vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr;
  align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero h1 { font-size: clamp(40px, 6vw, 70px); margin-top: 20px; }
.hero h1 .hl { color: var(--violet); }
.hero-sub { margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-70); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin-top: 24px; font-weight: 700; font-size: 15px; color: var(--ink-70); list-style: none; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { width: 18px; height: 18px; color: var(--green); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 400px; }
.hero-blob {
  position: absolute; inset: 8% 6%;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #efe9ff 60%, rgba(239,233,255,0) 74%);
  border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%;
}
.hero-mascot {
  position: relative; width: min(84%, 360px); height: auto;
  filter: drop-shadow(0 24px 24px rgba(36,29,69,.18));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.chip-float {
  position: absolute; background: #fff; border-radius: 15px; box-shadow: var(--shadow-card);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 15px; color: var(--ink);
  animation: floaty 5.5s ease-in-out infinite;
}
.chip-float .pebble { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.chip-float .pebble .i { width: 18px; height: 18px; }
.chip-1 { top: 6%; left: 0%; animation-delay: .4s; }
.chip-2 { bottom: 16%; right: -2%; animation-delay: 1.1s; }
.chip-3 { bottom: 3%; left: 10%; animation-delay: .8s; }
.peb-yellow { background: var(--yellow-100); color: var(--yellow-600); }
.peb-violet { background: var(--violet-100); color: var(--violet); }
.peb-green  { background: #e4f6ee; color: var(--green); }
.peb-pink   { background: #fdeaf0; color: var(--pink); }
.peb-orange { background: #fdefe2; color: var(--orange); }
.peb-blue   { background: #e8f2fe; color: var(--blue); }

/* ---- Promesse ---- */
.promise { background: var(--white); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { background: var(--violet-050); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 22px; }
.pillar .pic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.pillar h3 { font-size: 20px; margin-bottom: 7px; }
.pillar p { font-size: 15.5px; color: var(--ink-70); }

/* ---- Fonctionnalités ---- */
.features { background: #f6f2ff; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-card); overflow: hidden;
  display: flex; flex-direction: column;
}
.feat .blob-corner { position: absolute; width: 200px; height: 200px; border-radius: 50%;
  top: -80px; right: -60px; opacity: .12; pointer-events: none; }
.feat-tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-family: var(--font-title); font-weight: 600; font-size: 12.5px; letter-spacing: .05em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; position: relative;
}
.feat h3 { font-size: clamp(22px, 2.8vw, 27px); position: relative; }
.feat > p { margin-top: 12px; color: var(--ink-70); font-size: 16.5px; position: relative; }
.feat-foot { margin-top: auto; padding-top: 22px; position: relative; }

.subjects { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; position: relative; }
.subject { display: inline-flex; align-items: center; gap: 7px; background: var(--violet-050);
  border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14.5px;
  padding: 8px 14px; border-radius: 999px; }
.subject .sdot { width: 9px; height: 9px; border-radius: 50%; }

.levels { display: flex; align-items: flex-end; gap: 8px; margin-top: 4px; position: relative; }
.lvl { flex: 1; border-radius: 11px 11px 6px 6px; background: var(--violet-100); color: var(--violet);
  font-family: var(--font-title); font-weight: 600; font-size: 14px; text-align: center;
  padding: 11px 4px; border: 1px solid #e4ddfb; }
.lvl.on { background: var(--violet); color: #fff; border-color: var(--violet); }
.lvl.next { background: var(--yellow); color: var(--ink); border-color: var(--yellow-600); box-shadow: 0 4px 0 0 var(--yellow-600); }

.reward-rows { display: grid; gap: 12px; position: relative; }
.reward-row { display: flex; align-items: center; gap: 14px; background: var(--violet-050);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; }
.reward-row .ri { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.reward-row b { font-family: var(--font-title); font-weight: 600; font-size: 16px; }
.reward-row span { font-size: 14.5px; color: var(--ink-70); display: block; }

.mini-dash { background: var(--violet-050); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; position: relative; }
.mini-dash .md-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mini-dash .md-head .lab { font-weight: 800; font-size: 13.5px; color: var(--ink-70); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-title);
  font-weight: 600; font-size: 12.5px; color: var(--green); background: #e4f6ee; padding: 5px 11px; border-radius: 999px; }
.status-pill .i { width: 14px; height: 14px; }
.bar-row { display: grid; gap: 11px; }
.bar-row .br { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; }
.bar-row .br .nm { font-weight: 700; font-size: 14px; }
.bar-row .br .pc { font-weight: 800; font-size: 13px; color: var(--ink-70); }
.track { height: 11px; border-radius: 999px; background: #e7e1f6; overflow: hidden; }
.track > i { display: block; height: 100%; border-radius: 999px; }

/* ---- Niveaux ---- */
.levels-sec { background: var(--white); }
.level-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.level-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--violet-050); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 20px; color: var(--ink); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.level-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #ded3fa; }
.level-card .lc-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 12px;
}
.level-card h3 { font-size: 19px; }
.level-card p { font-size: 14.5px; color: var(--ink-70); flex: 1; }
.level-card .lc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: var(--font-title); font-weight: 600; font-size: 14.5px; color: var(--violet); }
.level-card .lc-go .i { width: 17px; height: 17px; }

/* ---- Sérénité ---- */
.serenity { background: #f6f2ff; }
.serenity-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); margin: 0; }
.serenity-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Confiance ---- */
.trust { background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trust-card { background: var(--yellow-100); border-radius: var(--radius-md); padding: 24px 20px; border: 1px solid #f4ead0; }
.trust-card .tic { width: 50px; height: 50px; margin-bottom: 14px; border-radius: 14px;
  display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-soft); color: var(--violet); }
.trust-card h3 { font-size: 17px; margin-bottom: 5px; }
.trust-card p { font-size: 14px; color: var(--ink-70); }

/* ---- FAQ ---- */
.faq { background: #f6f2ff; }
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-family: var(--font-title); font-weight: 600;
  font-size: 18px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; background: var(--violet-100); color: var(--violet); transition: transform .2s ease; }
.faq-item summary .chev .i { width: 16px; height: 16px; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-70); font-size: 16px; }
.faq-item .faq-a a { font-weight: 700; }

/* ---- CTA final ---- */
.final {
  background:
    radial-gradient(680px 340px at 88% 112%, #8a6ce8 0%, rgba(138,108,232,0) 60%),
    linear-gradient(135deg, var(--violet) 0%, #8163e4 100%);
  color: #fff; overflow: hidden;
}
.final-inner { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: center; }
.final h2 { color: #fff; font-size: clamp(29px, 4.2vw, 46px); }
.final p { margin-top: 15px; color: rgba(255,255,255,.86); font-size: 18px; max-width: 520px; }

.beta-banner {
  display: flex; align-items: center; gap: 14px; margin-top: 24px; max-width: 520px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-md); padding: 16px 18px;
}
.beta-banner .bb-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid;
  place-items: center; background: var(--yellow); color: var(--ink); }
.beta-banner p { margin: 0; color: rgba(255,255,255,.92); font-size: 15px; }
.beta-banner p strong { color: #fff; }

.signup { display: block; margin-top: 22px; max-width: 520px; }
.signup-row { display: flex; gap: 12px; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; font-family: var(--font-body); font-size: 16px;
  font-weight: 600; padding: 16px 20px; border: none; border-radius: 14px; color: var(--ink); background: #fff; }
.signup input::placeholder { color: var(--ink-50); }
.final-note { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.78); }
.final-note a { color: #fff; text-decoration: underline; font-weight: 700; }

/* honeypot + consentement + message d'état (waitlist) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; max-width: 520px;
  font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; }
.consent a { color: #fff; text-decoration: underline; font-weight: 700; }
.signup-msg { margin-top: 10px; font-weight: 700; font-size: 15px; min-height: 1.2em; }
.signup-msg.ok { color: #9CFFB0; }
.signup-msg.err { color: #FFD2CC; }

.final-card { position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg); padding: 12px 24px; backdrop-filter: blur(4px); }
.final-card .fc-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; }
.final-card .fc-row + .fc-row { border-top: 1px solid rgba(255,255,255,.16); }
.final-card .fc-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid;
  place-items: center; background: rgba(255,255,255,.16); color: #fff; }
.final-card .fc-row b { font-family: var(--font-title); font-weight: 600; font-size: 16px; display: block; }
.final-card .fc-row span { font-size: 13.5px; color: rgba(255,255,255,.8); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 52px 30px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { max-width: 340px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand b { color: var(--yellow); }
.footer-brand p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.62); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: 15px; font-weight: 600; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---- Responsive ---- */

/* En-tête · palier compact.
   1120px = --maxw : au-delà, .wrap est à sa largeur pleine, soit 1076px utiles ;
   la navigation complète y occupe ~1005px (marge ~70px). En dessous le conteneur
   rétrécit, donc le bouton secondaire — qui pointe vers « Confiance », déjà
   présent dans les liens — s'efface. */
@media (max-width: 1119.98px) {
  .nav-cta .btn--ghost { display: none; }
}

/* En-tête · menu burger.
   La navigation compacte (marque + 6 liens + bouton principal) occupe ~874px.
   À 980px de fenêtre il reste 936px utiles, soit la même marge (~6,5%) qu'au
   palier complet ; en dessous elle fond, donc on bascule en burger. */
@media (max-width: 979.98px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: none; background: var(--violet-100); color: var(--violet); cursor: pointer; }
  .nav-menu-open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff; padding: 16px 22px 22px;
    box-shadow: var(--shadow-card); border-bottom: 1px solid var(--line); }
  .nav-menu-open .nav-links a { padding: 10px 0; font-size: 18px; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; min-height: 330px; }
  .feat-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .level-grid { grid-template-columns: repeat(3, 1fr); }
  .final-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .level-grid { grid-template-columns: 1fr 1fr; }
  .feat { padding: 26px 22px; }
  .hero-cta .btn, .signup-row .btn { width: 100%; }
  .bar-row .br { grid-template-columns: 78px 1fr auto; }
  /* marque + libellé du bouton + burger ne coexistent plus sur une seule ligne :
     le CTA s'efface de la barre (il reste en pleine largeur dans le héros juste dessous). */
  .nav-cta .btn--primary { display: none; }
}
@media (max-width: 400px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand .logo-badge { width: 36px; height: 36px; }
  .nav-toggle { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
