/* NIDEVA, site vitrine. Fond poudré, ruban rose vers pêche, titres en deux voix :
   Montserrat pour le fond, Playfair Display en italique framboise pour l'accent. */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-600-italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --blush: #FBF0EE;
  --blush-2: #F6E3DF;
  --nacre: #FFF8F6;
  --white: #FFFFFF;
  --ink: #2A1F24;
  --muted: #6E5F66;
  --line: #EED9D4;
  --framboise: #A8466A;
  --wine: #6B2242;
  --rose: #F4B2C3;
  --peche: #F9D0B4;
  --dark: #1F1519;
  --radius: 28px;
  --shadow: 0 30px 60px -28px rgba(107, 34, 66, 0.35);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--framboise); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* Titres en deux voix */
.title { display: grid; gap: 0.02em; letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; }
.title span { text-wrap: balance; }
.title .sans { font-family: var(--sans); }
.title .serif { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--framboise); letter-spacing: -0.01em; }
h1.title { font-size: clamp(2.2rem, 1.1rem + 3.4vw, 3.9rem); }
h2.title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); }
h3.title { font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.6rem); }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 40em; }
.fine { font-size: 0.86rem; color: var(--muted); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; transition: background-color .3s, box-shadow .3s; }
.top.scrolled { background: rgba(251, 240, 238, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .name { width: 104px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink); opacity: .8; }
.nav a:hover { opacity: 1; color: var(--framboise); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.button.dark { background: var(--dark); color: var(--white); }
.button.dark:hover { background: var(--wine); }
.button.small { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }

/* Badges des stores */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 172px; height: 54px; padding: 0 18px 0 14px;
  background: #000; color: #fff; border: 1px solid #A6A6A6; border-radius: 12px;
  text-decoration: none; line-height: 1.05;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; }
.store small { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.01em; }
.store b { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
a.store:hover { background: #1c1c1c; }

/* Ruban : il se dessine au fil du défilement (site.js) ; sans script, voir le <noscript> de la page. */
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .9; }
.ribbon path { stroke-dasharray: 10000 20000; stroke-dashoffset: 10000; }
main { position: relative; }
.trail { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; opacity: .9; }
.trail-on main > section > .wrap { position: relative; z-index: 2; }

/* Héros */
.hero { position: relative; overflow: hidden; padding: 40px 0 88px; }
.hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero .lead { margin-top: 2px; }
.hero-stage { position: relative; width: min(760px, 100%); display: grid; place-items: center; padding: 28px 0 8px; }
.hero .note { color: var(--muted); font-size: 0.92rem; }

/* Téléphone */
.phone { position: relative; width: 290px; margin: 0; }
.phone.tilt { transform: rotate(-5deg); }
.device {
  position: relative; aspect-ratio: 780 / 1688; border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #2C2226, #120C0F 60%, #2A2024); box-shadow: var(--shadow), inset 0 0 0 1.5px #4A3C42;
}
.device video { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--nacre); }
.film-toggle {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 46px; background: transparent; cursor: pointer;
}
.film-toggle:focus-visible { outline: 3px solid var(--framboise); outline-offset: 4px; }
.film-toggle::before {
  content: ''; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%23A8466A'/%3E%3C/svg%3E") 56% 50% / 26px no-repeat;
  box-shadow: 0 16px 30px -16px rgba(42, 31, 36, .55);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.film-toggle[data-paused]::before { opacity: 1; transform: none; }

/* Tuiles illustrées qui flottent */
.tile {
  position: absolute; width: 132px; height: 132px; padding: 14px; object-fit: contain;
  background: rgba(255, 255, 255, 0.72); border-radius: 32px; box-shadow: 0 24px 40px -24px rgba(107, 34, 66, .45);
  animation: float 7s ease-in-out infinite alternate;
}
.hero .t1 { left: 4%; top: 10%; animation-delay: -1s; }
.hero .t2 { right: 4%; top: 18%; animation-delay: -3s; }
.hero .t3 { left: 9%; bottom: 14%; animation-delay: -5s; }
.hero .t4 { right: 8%; bottom: 8%; animation-delay: -2s; }
@keyframes float { from { transform: translateY(-7px) rotate(-2deg); } to { transform: translateY(7px) rotate(2deg); } }

/* L'app en action */
.moments { padding: 96px 0 40px; background: linear-gradient(var(--blush), var(--nacre) 18%, var(--nacre) 82%, var(--blush)); }
.moments > .wrap > .lead { margin-top: 14px; }
.moment {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'visual text' 'visual beats';
  align-items: center; column-gap: clamp(32px, 6vw, 96px); row-gap: 26px; padding: 72px 0;
}
.moment.flip { grid-template-areas: 'text visual' 'beats visual'; }
.moment-visual { grid-area: visual; position: relative; display: grid; place-items: center; padding: 36px 0; }
.moment-text { grid-area: text; align-self: end; display: grid; gap: 16px; }
.moment-text > p:not(.kicker):not(.fine) { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.kicker { color: var(--framboise); font-weight: 700; font-size: 0.98rem; }
.blob { position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: linear-gradient(150deg, var(--rose), #F8C6CF); opacity: .75; }
.blob.peach { background: linear-gradient(150deg, var(--peche), #F7C1B9); }
.moment .tile.side { width: 120px; height: 120px; left: 2%; top: 6%; z-index: 2; }
.moment.flip .tile.side { left: auto; right: 2%; }
.moment .phone { width: 270px; z-index: 1; transform: rotate(3deg); }
.moment.flip .phone { transform: rotate(-3deg); }

.beats { grid-area: beats; align-self: start; display: grid; gap: 4px; counter-reset: beat; max-width: 380px; }
.beats li { position: relative; counter-increment: beat; }
.beats button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 0; border-radius: 16px;
  background: transparent; text-align: left; font-weight: 600; font-size: 1.02rem; color: var(--muted); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.beats button::before {
  content: counter(beat); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blush-2); color: var(--framboise); font-weight: 800; font-size: 0.9rem;
}
.beats button:hover { color: var(--ink); }
.js .beats li.on button { background: var(--white); color: var(--ink); box-shadow: 0 14px 28px -20px rgba(107, 34, 66, .5); }
.js .beats li.on button::before { background: var(--framboise); color: var(--white); }
.beats li::after {
  content: ''; position: absolute; left: 58px; right: 18px; bottom: 7px; height: 3px; border-radius: 3px;
  background: var(--framboise); transform-origin: left; transform: scaleX(0); opacity: 0;
}
.js .beats li.on::after { opacity: .35; transform: scaleX(var(--p, 0)); }

/* Bento */
.bento-wrap { padding: 72px 0 40px; }
.bento {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 16px;
  grid-template-areas: 'big big a gift' 'big big b gift' 'c d e f';
}
.bento .big { grid-area: big; } .bento .a { grid-area: a; } .bento .b { grid-area: b; } .bento .tall { grid-area: gift; }
.bento .c { grid-area: c; } .bento .d { grid-area: d; } .bento .e { grid-area: e; } .bento .f { grid-area: f; }
.cell { position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.cell > p { position: relative; z-index: 1; }
.cell .num { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.cell .what { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; }
.cell .say { font-size: 0.95rem; opacity: .85; max-width: 22em; margin-top: 6px; }
.cell img { position: absolute; width: 46%; max-width: 190px; right: 6%; top: 8%; filter: drop-shadow(0 18px 24px rgba(107, 34, 66, .25)); }
.cell.big .num { font-size: clamp(4rem, 2.6rem + 5vw, 7.5rem); }
.cell.big img { width: 52%; max-width: 280px; }
.cell.tall img { width: 54%; left: 23%; right: auto; top: 6%; }
.cell .go { margin-top: 10px; }
.cell .go .link { color: inherit; }
.rose { background: linear-gradient(155deg, #F7C2CE, #F9D6C7); }
.peach { background: linear-gradient(155deg, #FAD9C3, #F7C2B6); }
.wine { background: linear-gradient(155deg, #8A2E55, var(--wine)); color: var(--white); }
.nacre { background: var(--white); }
.gift { background: linear-gradient(170deg, #C25A80, var(--framboise)); color: var(--white); }

/* Cartes du quotidien */
.cards-wrap { padding: 72px 0 40px; }
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 22px 0; display: grid; justify-items: center; text-align: center; gap: 8px; min-height: 470px; align-content: start; }
.card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.card p { font-size: 0.95rem; color: var(--muted); max-width: 18em; }
.card img { margin-top: 18px; width: 82%; border-radius: 22px 22px 0 0; box-shadow: var(--shadow); transform: rotate(-3deg) translateY(10px); }
.card:nth-child(even) img { transform: rotate(3deg) translateY(10px); }
.c1 { background: linear-gradient(170deg, #F8C7D1, #FBE3DD); }
.c2 { background: linear-gradient(170deg, #FBE0D2, #F9CDBA); }
.c3 { background: linear-gradient(170deg, #F2D2DC, #F7C0CC); }
.c4 { background: linear-gradient(170deg, #FFE9E2, #F8CFC4); }
.cards-wrap + .cards-wrap { padding-top: 48px; }
.cards-wrap .fine { margin-top: 28px; max-width: 34em; }

/* Sources */
.sources { padding: 96px 0; }
.sources .lead { margin-top: 16px; }
.wall { margin: 44px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 18px 38px; max-width: 980px; color: #5B4B52; }
.wall li { white-space: nowrap; }
.w1 { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.w2 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; }
.w3 { font-weight: 500; font-size: 1.25rem; letter-spacing: 0.01em; }
.quote { margin: 48px auto 18px; max-width: 760px; padding: 36px clamp(24px, 5vw, 56px); background: var(--white); border-radius: var(--radius); text-align: center; box-shadow: 0 30px 60px -44px rgba(107, 34, 66, .5); }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem); line-height: 1.3; color: var(--wine); }
.quote figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
.sources .fine { max-width: 46em; }

/* Gratuit et Premium */
.premium { padding: 72px 0; }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin-inline: auto; }
.plan { position: relative; overflow: hidden; border-radius: var(--radius); padding: 34px clamp(24px, 4vw, 40px); display: grid; align-content: start; gap: 14px; }
.plan h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.plan.free { background: var(--white); }
.plan.plus { background: linear-gradient(160deg, #C25A80, var(--framboise) 55%, #8F3658); color: var(--white); }
.plan.plus img { position: absolute; width: 112px; right: 22px; top: 18px; filter: drop-shadow(0 18px 24px rgba(40, 8, 22, .35)); }
.plan.plus h3, .plus-intro { padding-right: 120px; }
.plus-intro { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--blush-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23A8466A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan.plus .checks li::before { background-color: rgba(255,255,255,.22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gift-line { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.3); font-size: 0.95rem; }

/* Vie privée */
.privacy { padding: 40px 0 72px; }
.privacy-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4vw, 52px); }
.privacy-card img { width: 100%; }
.three { margin: 22px 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.three h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.three p { color: var(--muted); font-size: 0.95rem; }
.link { color: var(--framboise); font-weight: 700; text-underline-offset: 4px; }

/* Questions */
.faq { padding: 56px 0 96px; }
.faq-list { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--blush-2); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--framboise); border-bottom: 2.5px solid var(--framboise); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Appel final */
.cta { position: relative; overflow: hidden; padding: 110px 0 120px; background: linear-gradient(var(--blush), var(--blush-2)); }
.cta-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 18px; }
.app-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: var(--shadow); }
.cta p { color: var(--muted); }

/* Pied de page */
.foot { background: var(--dark); color: #E9DCE0; padding: 48px 0 40px; }
.foot-inner { display: grid; gap: 14px; justify-items: center; text-align: center; }
.foot .brand { background: var(--blush); padding: 10px 16px; border-radius: 16px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-weight: 600; }
.foot nav a { text-underline-offset: 4px; }
.foot .legal { font-size: 0.8rem; color: #B9A8AF; max-width: 46em; }

/* Apparition douce au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.seen { opacity: 1; transform: none; }

/* Pages légales */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
.doc .wrap { max-width: 780px; display: grid; gap: 18px; background: var(--white); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 60px); }
.doc h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 8px; }
.doc h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: #3D3439; }
.doc ul { padding-left: 1.2em; list-style: disc; display: grid; gap: 10px; }
.doc a { color: var(--framboise); text-underline-offset: 3px; }
.todo { background: #FFF0D2; color: #7A4B00; padding: 1px 6px; border-radius: 6px; font-weight: 600; font-size: 0.92em; }

/* Guide « Je peux manger ça ? » (aliments.html, écrit par scripts/aliments.mjs) */
.guide-hero { padding: clamp(40px, 6vw, 80px) 0 16px; }
.guide-hero .lead { margin-top: 16px; }
/* Recherche des guides (assets/js/recherche.js) : le champ, les exemples de l'app, puis les fiches trouvées. */
.guide-search { max-width: 660px; margin: 28px auto 0; }
.guide-search .field { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 10px 0 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(107, 34, 66, .45); color: var(--framboise); }
.guide-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.guide-search .clear { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 19px; background: var(--blush); color: var(--wine); cursor: pointer; }
.guide-search .clear[hidden] { display: none; }
.guide-search .field:focus-within { outline: 3px solid var(--framboise); outline-offset: 3px; }
.guide-search svg { flex: none; }
.guide-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); padding: 16px 0; }
.guide-search input:focus { outline: none; }
.guide-search input::placeholder { color: var(--muted); opacity: 1; font-weight: 500; }
.search-suggest { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.search-suggest button { min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
@media (hover: hover) { .search-suggest button:hover { border-color: var(--framboise); } }
.search-suggest button[aria-pressed="true"] { background: var(--framboise); border-color: var(--framboise); color: var(--white); }
.search-results { max-width: 980px; margin-inline: auto; }
.search-results .count { margin-top: 28px; text-align: center; font-weight: 700; }
.search-results .count:empty { display: none; }
/* Les fiches trouvées restent centrées, même seules ; trois, deux puis une par ligne comme .siblings. */
.search-results .siblings { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; }
.search-results .siblings a { flex: 0 1 calc((100% - 24px) / 3); }
.search-empty { max-width: 560px; margin: 10px auto 0; text-align: center; color: var(--muted); }
.siblings .sub { display: block; margin-top: 4px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.families { margin-top: 36px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.families a { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px 8px 16px; border-radius: 22px; background: var(--white); text-decoration: none; font-weight: 700; font-size: 0.9rem; line-height: 1.25; text-align: center; transition: transform .2s, box-shadow .2s; }
.families a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.families img { width: 84px; height: 84px; object-fit: contain; }
.food-family { padding: 48px 0 8px; }
.family-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.family-title img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.foods { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.food { background: var(--white); border-radius: var(--radius); padding: 22px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 84px; column-gap: 12px; row-gap: 10px; align-content: start; scroll-margin-top: 96px; }
.food > * { grid-column: 1 / -1; }
.food h3 { grid-column: 1; grid-row: 1; align-self: end; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.food .verdict { grid-column: 1; grid-row: 2; align-self: start; }
.food img { grid-column: 2; grid-row: 1 / span 2; width: 84px; height: 84px; object-fit: contain; margin: -8px -8px 0 0; align-self: start; }
.verdict { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.95rem; }
.verdict::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.verdict.eviter { color: #A12A3C; }
.verdict.limiter { color: #8A5300; }
.verdict.oui-si, .verdict.oui { color: #2F6B4F; }
.food .answer { font-weight: 600; }
.food .tips { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; color: #3D3439; font-size: 0.95rem; }
.food .risk { font-size: 0.88rem; color: var(--muted); }
.food blockquote { border-left: 3px solid var(--rose); padding-left: 12px; font-style: italic; color: #4A3D43; font-size: 0.95rem; }
.food .cite { font-size: 0.82rem; color: var(--muted); }
.food .cite a { color: var(--framboise); text-underline-offset: 3px; }
/* Le nom d'une fiche mène à sa page (aliments/<nom>.html) */
.food h3 a { color: inherit; text-decoration: none; }
.food h3 a:hover, .food h3 a:focus-visible { color: var(--framboise); text-decoration: underline; text-underline-offset: 4px; }
.crumbs { text-align: center; font-weight: 600; font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--framboise); text-underline-offset: 3px; }
.food-single .food { max-width: 680px; margin: 8px auto 0; grid-template-columns: minmax(0, 1fr) 128px; padding: 28px 30px 30px; }
.food-single .food h2 { grid-column: 1; grid-row: 1; align-self: end; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.food-single .food img { width: 128px; height: 128px; }
.food-single .food .answer { font-size: 1.1rem; }
.center-title { justify-content: center; }
.siblings { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.siblings a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border-radius: var(--radius); text-decoration: none; color: inherit; line-height: 1.25; transition: transform .2s, box-shadow .2s; }
.siblings a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.siblings img { width: 60px; height: 60px; object-fit: contain; flex: none; }
.siblings strong { display: block; font-weight: 700; }
.siblings .verdict { margin-top: 4px; font-size: 0.85rem; }
.guide-end { padding: 64px 0 96px; }
.guide-note { background: var(--white); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; max-width: 820px; margin-inline: auto; text-align: center; justify-items: center; }
.guide-note p { color: #3D3439; max-width: 40em; }
.guide-note .button { margin-top: 8px; }

/* Tes droits (droits.html, écrit par scripts/droits.mjs) : la mise en page des fiches aliments, avec les chiffres clés */
.families.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.rights { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.right { background: var(--white); border-radius: var(--radius); padding: 22px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 84px; column-gap: 12px; row-gap: 12px; align-content: start; scroll-margin-top: 96px; }
.right > * { grid-column: 1 / -1; }
.right h3 { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.right img { grid-column: 2; grid-row: 1; width: 84px; height: 84px; object-fit: contain; margin: -8px -8px 0 0; }
.highlights { list-style: none; padding: 0; display: grid; gap: 10px; }
.highlights li { display: grid; }
.highlights strong { color: var(--framboise); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.highlights span { color: var(--muted); font-size: 0.88rem; line-height: 1.35; }
.right .answer { color: #3D3439; font-size: 0.97rem; }
.right .cite { font-size: 0.82rem; color: var(--muted); }
.right .cite a { color: var(--framboise); text-underline-offset: 3px; }
.right h3 a { color: inherit; text-decoration: none; }
.right h3 a:hover, .right h3 a:focus-visible { color: var(--framboise); text-decoration: underline; text-underline-offset: 4px; }
/* Page d'un droit (droits/<fiche>.html) : la fiche à lire de l'app, chiffres clés puis parties */
.right-single .wrap > * { max-width: 760px; margin-inline: auto; }
.right-art { display: block; width: 160px; height: 160px; object-fit: contain; margin-top: -8px; margin-bottom: 8px; }
.fact-tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.fact-tiles li { background: var(--white); border-radius: var(--radius); padding: 18px 20px; display: grid; align-content: start; gap: 4px; }
.fact-tiles strong { color: var(--framboise); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.fact-tiles span { color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.facts-quotes { margin-top: 10px; }
.read { margin-top: 16px; background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); display: grid; gap: 12px; }
.read h2 { margin-top: 14px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.read h2:first-child { margin-top: 0; }
.read > p, .read li { color: #3D3439; }
.read .checks, .read .numbered { list-style: none; padding: 0; display: grid; gap: 10px; }
.read .checks li { position: relative; padding-left: 32px; }
.read .checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #FBE4EC; }
.read .checks li::after { content: ''; position: absolute; left: 8px; top: 7px; width: 5px; height: 9px; border-right: 2px solid var(--framboise); border-bottom: 2px solid var(--framboise); transform: rotate(45deg); }
.read .numbered { counter-reset: step; gap: 12px; }
.read .numbered li { counter-increment: step; position: relative; padding-left: 40px; min-height: 28px; }
.read .numbered li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--framboise); color: var(--white); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; }
.read .table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.read table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.read th, .read td { padding: 10px 14px; text-align: right; white-space: nowrap; }
.read thead th { background: #FBE4EC; color: var(--framboise); font-size: 0.85rem; font-weight: 800; }
.read th:first-child { text-align: left; white-space: normal; }
.read tbody th { font-weight: 700; }
.read tbody tr + tr > * { border-top: 1px solid var(--line); }
.read td { color: var(--muted); font-weight: 600; }
.read td.total { color: var(--framboise); font-weight: 800; }
.read .good { margin-top: 8px; background: #FBE4EC; border-radius: 18px; padding: 16px 18px; display: grid; gap: 6px; }
.read .good .part { color: var(--framboise); font-weight: 800; font-size: 0.92rem; }
.read .cite { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.read .cite a { color: var(--framboise); text-underline-offset: 3px; }

/* Les petits maux (symptomes.html, écrit par scripts/symptomes.mjs) : l'urgence en tête, puis les fiches par famille */
.urgent { margin: 36px auto 0; max-width: 820px; background: var(--wine); color: #FBEFF3; border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 36px); display: grid; gap: 12px; scroll-margin-top: 96px; }
.urgent h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--white); }
.urgent .calls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.urgent .calls .button { background: var(--white); color: var(--wine); flex-direction: column; align-items: flex-start; gap: 0; min-height: 56px; padding: 8px 20px; line-height: 1.2; }
.urgent .calls .button:hover { background: var(--blush); }
.urgent .calls .sub { font-size: 0.8rem; font-weight: 600; opacity: .8; }
.urgent ul { display: grid; gap: 8px; padding-left: 1.1em; list-style: disc; font-size: 0.95rem; }
.urgent .cite { font-size: 0.82rem; opacity: .8; }
.urgent .cite a { color: inherit; text-underline-offset: 3px; }
.urgent summary, .symptom .more summary { cursor: pointer; width: fit-content; font-weight: 700; min-height: 32px; display: flex; align-items: center; gap: 10px; list-style: none; }
.urgent summary { color: var(--white); }
.urgent details[open] summary { margin-bottom: 6px; }
.urgent .srcs summary { font-size: 0.86rem; opacity: .85; }
.urgent summary::-webkit-details-marker, .symptom .more summary::-webkit-details-marker { display: none; }
.urgent summary::after, .symptom .more summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.urgent details[open] summary::after, .symptom .more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.groups.wide { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1080px; }
.groups.wide a { flex: 0 1 140px; }
.symptoms { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.symptom { background: var(--white); border-radius: var(--radius); padding: 22px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 84px; column-gap: 12px; row-gap: 12px; align-content: start; scroll-margin-top: 96px; }
.symptom > * { grid-column: 1 / -1; }
.symptom h3 { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.symptom img { grid-column: 2; grid-row: 1; width: 84px; height: 84px; object-fit: contain; margin: -8px -8px 0 0; }
.symptom .intro { color: var(--muted); font-size: 0.95rem; }
.symptom .part { font-weight: 800; font-size: 0.92rem; margin-bottom: 6px; }
.symptom ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; color: #3D3439; font-size: 0.95rem; }
.symptom .help .part { color: var(--framboise); }
.symptom .more summary { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.symptom .more summary:hover { color: var(--framboise); }
.symptom .more ul { margin-top: 6px; }
.symptom .consult { background: #FFF4E5; border-radius: 18px; padding: 14px 16px; }
.symptom .consult .part { color: #7A4B00; }
.symptom .cite { font-size: 0.82rem; color: var(--muted); }
.symptom .cite a { color: var(--framboise); text-underline-offset: 3px; }
.symptom h3 a { color: inherit; text-decoration: none; }
.symptom h3 a:hover, .symptom h3 a:focus-visible { color: var(--framboise); text-decoration: underline; text-underline-offset: 4px; }
/* Page d'une fiche (symptomes/<fiche>.html) : la fiche entière, puis les appels d'urgence */
.symptom-single .symptom { max-width: 680px; margin: 8px auto 0; grid-template-columns: minmax(0, 1fr) 128px; padding: 28px 30px 30px; }
.symptom-single .symptom > h2 { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--framboise); }
.symptom-single .symptom img { width: 128px; height: 128px; }
.symptom-single .symptom ul { font-size: 1rem; }
.symptom-single .urgent, .symptom-single .rule { margin-top: 16px; max-width: 680px; }
.symptom-single svg.alert { width: 128px; height: 128px; }
.siblings svg.alert { width: 60px; height: 60px; flex: none; }
.urgent .more-link { color: var(--white); font-weight: 700; text-underline-offset: 3px; }

/* Vitamines (vitamines.html, écrit par scripts/vitamines.mjs) : la règle commune en tête, puis les fiches des petits maux avec l'étiquette de l'app */
.rule { margin: 36px auto 0; max-width: 820px; background: var(--white); border: 2px solid var(--rose); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 36px); display: grid; gap: 12px; scroll-margin-top: 96px; }
.rule h2 { font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--wine); }
.rule p { color: #3D3439; }
.rule ul { display: grid; gap: 8px; padding-left: 1.1em; list-style: disc; color: #3D3439; font-size: 0.95rem; }
.rule summary { cursor: pointer; width: fit-content; font-weight: 700; color: var(--framboise); min-height: 32px; display: flex; align-items: center; gap: 10px; list-style: none; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.rule details[open] summary { margin-bottom: 6px; }
.rule details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.rule .srcs summary { color: var(--muted); font-size: 0.86rem; }
.rule .cite { font-size: 0.82rem; color: var(--muted); }
.rule .cite a { color: var(--framboise); text-underline-offset: 3px; }
.families.five { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.families .count { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
svg.alert { width: 84px; height: 84px; }
svg.alert > circle:first-child { fill: #FFF0D2; }
svg.alert path { stroke: #A15C00; }
svg.alert > circle:last-child { fill: #A15C00; }
.nutrient h3 { align-self: end; }
.nutrient > img, .nutrient > svg { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: -8px -8px 0 0; }
.nutrient:not(:has(.tag)) > img, .nutrient:not(:has(.tag)) > svg { grid-row: 1; }
.nutrient .tag { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 0.82rem; }
.tag.sage { background: #E3EFE7; color: #2F6B4F; }
.tag.accent { background: var(--blush-2); color: var(--framboise); }
.tag.caution { background: #FFF0D2; color: #7A4B00; }
.nutrient .help p:not(.part), .nutrient .why p { color: #3D3439; font-size: 0.95rem; }
.nutrient .plate .part { color: #2F6B4F; }

/* Après la naissance (apres-naissance.html, écrit par scripts/apres.mjs) : une frise par groupe */
.after-art { display: block; width: 150px; height: 150px; object-fit: contain; margin: 0 auto 10px; }
.groups { margin: 32px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.groups a { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 16px 10px; border-radius: 22px; background: var(--white); text-decoration: none; font-weight: 800; line-height: 1.25; text-align: center; transition: transform .2s, box-shadow .2s; }
.groups a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.groups .count { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.after-group { padding: 48px 0 8px; scroll-margin-top: 72px; }
.after-group .family-title, .steps { max-width: 820px; margin-inline: auto; }
.steps { list-style: none; margin-top: 26px; padding: 0 0 0 30px; border-left: 2px solid var(--rose); display: grid; gap: 36px; }
.step { position: relative; display: grid; gap: 10px; scroll-margin-top: 96px; }
.step::before { content: ''; position: absolute; left: -39px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--framboise); box-shadow: 0 0 0 5px var(--blush); }
.step .when { color: var(--framboise); font-weight: 800; font-size: 0.95rem; }
.step h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.step .answer { color: #3D3439; max-width: 40em; }
.bring { background: var(--white); border-radius: 20px; padding: 16px 20px; display: grid; gap: 8px; max-width: 40em; }
.bring-title { font-weight: 800; font-size: 0.92rem; color: var(--muted); }
.bring ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; color: #3D3439; font-size: 0.95rem; }
.calls { display: flex; flex-wrap: wrap; gap: 8px; }
.quotes summary { cursor: pointer; width: fit-content; color: var(--muted); font-weight: 700; font-size: 0.92rem; min-height: 32px; display: flex; align-items: center; gap: 10px; list-style: none; }
.quotes summary::-webkit-details-marker { display: none; }
.quotes summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.quotes[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.quotes summary:hover { color: var(--framboise); }
.quotes[open] summary { margin-bottom: 8px; }
.quotes blockquote { border-left: 3px solid var(--rose); padding-left: 12px; font-style: italic; color: #4A3D43; font-size: 0.95rem; max-width: 40em; }
.quotes blockquote + blockquote { margin-top: 8px; }
.step .cite { font-size: 0.82rem; color: var(--muted); max-width: 46em; }
.step .cite a { color: var(--framboise); text-underline-offset: 3px; }

/* Tablette */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'big big' 'a gift' 'b gift' 'c d' 'e f'; }
  .cell.big { min-height: 320px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .families { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foods, .rights, .siblings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-results .siblings a { flex-basis: calc((100% - 12px) / 2); }
  .three { grid-template-columns: 1fr; gap: 14px; }
}

/* Téléphone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top-bar { height: 64px; justify-content: space-between; }
  .hero { padding: 24px 0 64px; }
  .hero-stage { padding: 18px 0 4px; }
  .phone, .moment .phone { width: 220px; }
  .device { border-radius: 36px; padding: 7px; }
  .device video { border-radius: 30px; }
  .tile { width: 84px; height: 84px; padding: 9px; border-radius: 22px; }
  .hero .t1 { left: 0; top: 6%; }
  .hero .t2 { right: 0; top: 14%; }
  .hero .t3 { left: 2%; bottom: 12%; }
  .hero .t4 { right: 2%; bottom: 6%; }
  .moments { padding-top: 72px; }
  .moment, .moment.flip { grid-template-columns: 1fr; grid-template-areas: 'text' 'visual' 'beats'; padding: 48px 0; row-gap: 14px; }
  .moment-text { text-align: center; justify-items: center; }
  .moment .tile.side { width: 84px; height: 84px; }
  .beats { justify-self: center; width: 100%; }
  .bento { gap: 12px; }
  .cell { padding: 20px; }
  .cell.big { min-height: 280px; }
  .cell .what { font-size: 1.12rem; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .card { scroll-snap-align: start; min-height: 440px; }
  .families { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 104px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .families a { scroll-snap-align: start; }
  .foods, .rights, .symptoms, .siblings { grid-template-columns: 1fr; }
  .search-results .siblings a { flex-basis: 100%; }
  .food-single .food { grid-template-columns: minmax(0, 1fr) 96px; padding: 22px 20px 24px; }
  .food-single .food img { width: 96px; height: 96px; }
  .symptom-single .symptom { grid-template-columns: minmax(0, 1fr) 96px; padding: 22px 20px 24px; }
  .symptom-single .symptom img, .symptom-single svg.alert { width: 96px; height: 96px; }
  /* Tableau d'un droit : chaque ligne devient un bloc, la colonne nommée au-dessus de sa valeur */
  .read thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .read tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 14px; }
  .read tbody tr + tr > * { border-top: 0; }
  .read tbody tr + tr { border-top: 1px solid var(--line); }
  .read tbody th { grid-column: 1 / -1; padding: 0 0 4px; }
  .read td { padding: 0; text-align: left; }
  .read td::before { content: attr(data-col); display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
  .families.four { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .families.five { grid-template-columns: none; max-width: none; margin-inline: -20px; }
  .food-family { padding-top: 36px; }
  .plans { grid-template-columns: 1fr; }
  .plan.plus img { position: static; width: 120px; justify-self: center; margin-bottom: -6px; }
  .plan.plus h3, .plus-intro { padding-right: 0; }
  .privacy-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .privacy-card img { width: 120px; }
  .three { text-align: left; }
  .stores { gap: 10px; }
  .store { min-width: 0; height: 50px; padding: 0 14px 0 11px; gap: 8px; }
  .store svg { width: 22px; height: 22px; }
  .store b { font-size: 1.02rem; }
  h1.title { font-size: 2.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon path { stroke-dashoffset: 0; }
  .tile { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
