/* Nutrily — page d'accueil (refaite le 30/11/2026). Couleurs chaudes de l'appli (thème « cosy »),
   vrais écrans de l'appli dans des iPhone dessinés, fond qui change de teinte au fil des sections. */
:root {
  --ink: #2b2217;
  --muted: #776853;
  --line: rgba(80, 58, 25, 0.12);
  --card: #fffdf7;
  --green: #4d9a3c;
  --green-dark: #3e7d2f;
  --honey: #e0a52c;
  --radius: 22px;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  background: #fbf5e9;
  transition: background-color 0.7s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--round); letter-spacing: -0.02em; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
section { position: relative; padding: clamp(4rem, 8vw, 6.5rem) clamp(1.2rem, 4vw, 3rem); }
.head { max-width: 640px; margin: 0 auto 2.8rem; text-align: center; }
.head p:not(.kicker) { color: var(--muted); margin: 0.8rem 0 0; }
.kicker {
  display: inline-block; margin: 0 0 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; color: var(--green); background: rgba(77, 154, 60, 0.12);
}

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1120px, calc(100% - 24px)); display: flex; align-items: center; gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 0.9rem; border-radius: 20px;
  background: rgba(255, 251, 242, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 8px 30px -18px rgba(80, 55, 15, 0.35);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(255, 251, 242, 0.92); box-shadow: 0 12px 34px -16px rgba(80, 55, 15, 0.4); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 8px rgba(60, 40, 10, 0.18); }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 0.93rem; font-weight: 600; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 700; font-size: 0.93rem; color: #fff; background: #111;
  padding: 0.5rem 1rem 0.5rem 0.7rem; border-radius: 13px; transition: transform 0.2s, background 0.2s;
}
.nav-cta svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.nav-cta:hover { transform: translateY(-1px); background: #2a2a2a; }
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(80, 58, 25, 0.08); cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform 0.25s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; gap: 0.4rem; padding: 6rem 1.5rem 2rem;
  background: rgba(251, 245, 233, 0.97); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { text-decoration: none; font-family: var(--round); font-size: 1.4rem; font-weight: 700; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-menu .nav-cta { margin-top: 1rem; text-align: center; border: 0; font-size: 1.05rem; padding: 1rem; }

/* ---------- boutons ---------- */
.actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero .actions { justify-content: center; width: 100%; max-width: 520px; }   /* bouton App Store seul, au milieu */
.actions.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; background: #111;
  padding: 0.65rem 1.25rem 0.65rem 1rem; border-radius: 15px; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.55); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font-size: 1.12rem; font-weight: 700; line-height: 1.1; }
.store small { font-size: 0.68rem; font-weight: 500; opacity: 0.8; }
.store.light { background: #fff; color: #111; }
.link { font-weight: 700; text-decoration: none; color: var(--green-dark); border-bottom: 2px solid rgba(62, 125, 47, 0.3); padding-bottom: 2px; transition: border-color 0.2s; }
.link:hover { border-color: var(--green-dark); }

/* ---------- iPhone dessiné (écran 393 × 852, jamais recadré) ---------- */
.iphone {
  --w: 280px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * 0.012);
  border-radius: calc(var(--w) * 0.168);
  background: linear-gradient(140deg, #e8e3da 0%, #a9a49b 22%, #e4dfd6 48%, #8d887f 74%, #d6d1c8 100%);
  box-shadow: 0 calc(var(--w) * 0.12) calc(var(--w) * 0.2) calc(var(--w) * -0.1) rgba(70, 45, 10, 0.45),
    0 calc(var(--w) * 0.02) calc(var(--w) * 0.05) rgba(70, 45, 10, 0.18);
}
.iphone::before, .iphone::after { content: ""; position: absolute; width: calc(var(--w) * 0.012); background: #9d988f; border-radius: 2px; }
.iphone::before { left: calc(var(--w) * -0.009); top: 22%; height: 6%; box-shadow: 0 calc(var(--w) * 0.16) 0 #9d988f, 0 calc(var(--w) * 0.31) 0 #9d988f; }
.iphone::after { right: calc(var(--w) * -0.009); top: 30%; height: 11%; }
.iphone .bezel {
  position: relative; padding: calc(var(--w) * 0.03); border-radius: calc(var(--w) * 0.158); background: #0c0c0d;
}
.iphone .screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * 0.13); aspect-ratio: 393 / 852; background: #f6ead2; }
.iphone .screen > img { width: 100%; height: 100%; object-fit: cover; }
.iphone .island {
  position: absolute; top: 1.35%; left: 50%; transform: translateX(-50%); width: 31.5%; height: 4.3%;
  background: #000; border-radius: 999px; z-index: 3;
}
.iphone .status {
  position: absolute; top: 0; left: 0; right: 0; height: 6.4%; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 0 7.5% 0 10.5%; font: 600 calc(var(--w) * 0.048) / 1 -apple-system, "SF Pro Text", system-ui, sans-serif; color: #1c1813;
}
.iphone .status svg { height: calc(var(--w) * 0.034); width: auto; fill: currentColor; margin-left: calc(var(--w) * 0.014); }
.iphone .status .icons { display: flex; align-items: center; }
.iphone .home-bar { position: absolute; bottom: 0.8%; left: 50%; transform: translateX(-50%); width: 36%; height: 0.55%; border-radius: 999px; background: #1c1813; z-index: 2; }

/* ---------- héros ---------- */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  max-width: 1180px; margin: 0 auto; padding-top: 8rem;
}
.rating {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 1.4rem; padding: 0.42rem 0.85rem 0.42rem 0.7rem;
  border-radius: 999px; background: #fff; box-shadow: 0 4px 16px -8px rgba(80, 55, 15, 0.35); text-decoration: none; font-size: 0.9rem; color: var(--muted);
}
.rating b { color: var(--ink); }
.stars { color: #f2b01e; letter-spacing: 1px; font-size: 0.95rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin: 1.2rem 0 1.8rem; }
.facts { list-style: none; display: flex; gap: 2.2rem; padding: 0; margin: 2.4rem 0 0; }
.facts li { display: flex; flex-direction: column; }
.facts b { font-family: var(--round); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.facts span { font-size: 0.86rem; color: var(--muted); }
.facts b span { font: inherit; color: inherit; }
.promise { margin: 1.1rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--green-dark); }
.hero-visual { position: relative; height: 640px; }
.hero-visual .iphone { position: absolute; }
.hero-visual .front { right: 16%; top: 30px; z-index: 2; transform: rotate(3deg); }
.hero-visual .back { right: 52%; top: 110px; transform: rotate(-7deg); opacity: 0.96; }
.hero-apple { position: absolute; right: -4%; bottom: 0; width: 190px; z-index: 3; }
.hero-apple img { width: 100%; height: auto; aspect-ratio: 1; }
.apple-bubble {
  position: absolute; bottom: 88%; right: 30%; margin: 0; white-space: nowrap; z-index: 1;
  padding: 0.55rem 0.85rem; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink);
  font: 700 0.9rem/1.2 var(--round); box-shadow: 0 10px 24px -12px rgba(80, 55, 15, 0.45);
  opacity: 0; transform: translateY(6px) scale(0.95); animation: bulle 0.5s cubic-bezier(.2, .9, .3, 1.3) 0.9s forwards;
}
@keyframes bulle { to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* ---------- comment ça marche ---------- */
.how-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.how-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 1.8rem 1.6rem 2rem;
  display: flex; flex-direction: column; align-items: flex-start; transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.how-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(80, 55, 15, 0.45); }
.how-card .num {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; margin-bottom: 1rem;
  font-family: var(--round); font-weight: 800; color: #fff; background: var(--green);
}
.how-card p { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0 1.6rem; }
.how-card .iphone { margin: auto auto 0; transform: translateY(30px); transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.how-card.in .iphone { transform: translateY(0); }
.how-card:nth-child(2) { margin-top: 2.2rem; }
.how-card:nth-child(3) { margin-top: 4.4rem; }

/* ---------- ton repas ---------- */
.meal-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.plate { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.plate-photo { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; background: #fff8e8; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.55), 0 30px 60px -30px rgba(90, 60, 15, 0.5); }
.plate-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.06); }
.scan {
  position: absolute; left: 0; right: 0; height: 26%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(77, 154, 60, 0.28) 70%, rgba(77, 154, 60, 0.85) 96%, transparent);
}
.meal-grid.in .scan { animation: scan 2.4s ease-in-out 0.3s 2 both; }
@keyframes scan { 0% { top: -30%; } 100% { top: 104%; } }
.tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
  padding: 0.5rem 0.8rem; border-radius: 14px; background: #fff; font-size: 0.86rem; font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(80, 55, 15, 0.45); opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2, .9, .3, 1.3);
}
.tag b { color: var(--green); font-weight: 700; }
.meal-grid.in .tag { opacity: 1; transform: none; }
.t1 { top: 14%; left: -6%; transition-delay: 1.6s !important; }
.t2 { bottom: 16%; left: -2%; transition-delay: 2s !important; }
.t3 { top: 26%; right: -8%; transition-delay: 2.4s !important; }
.t4 { bottom: 6%; right: 2%; transition-delay: 2.8s !important; }
.sheet { background: var(--card); border-radius: 28px; padding: 1.7rem; box-shadow: 0 30px 60px -36px rgba(80, 55, 15, 0.55); border: 1px solid var(--line); }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.sheet-label { margin: 0; font-weight: 700; color: var(--muted); font-size: 0.92rem; }
.sheet-kcal { margin: 0.2rem 0 0; font-family: var(--round); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sheet-kcal small { font-size: 1rem; color: var(--muted); font-weight: 700; }
.sheet-badge { font-size: 0.84rem; font-weight: 600; padding: 0.45rem 0.7rem; border-radius: 12px; background: rgba(77, 154, 60, 0.12); color: var(--green-dark); }
.bars { display: grid; gap: 0.95rem; margin: 1.6rem 0 1.4rem; }
.bar { display: grid; grid-template-columns: 1fr auto; row-gap: 0.4rem; font-size: 0.92rem; }
.bar span { color: var(--muted); font-weight: 600; }
.bar i { grid-column: 1 / -1; height: 9px; border-radius: 99px; background: rgba(80, 58, 25, 0.09); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: var(--c); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) 0.4s; }
.meal-grid.in .bar i::after { transform: scaleX(1); }
.micro-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.micro-row span { font-size: 0.8rem; color: var(--muted); padding: 0.35rem 0.6rem; border-radius: 10px; background: rgba(80, 58, 25, 0.06); }
.micro-row b { color: var(--ink); }
.note { text-align: center; font-size: 0.82rem; color: var(--muted); margin: 2.4rem 0 0; }

/* ---------- micronutriments ---------- */
.micros-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.micros-text p:not(.kicker) { color: var(--muted); margin: 0.9rem 0 1.6rem; max-width: 470px; }
/* 15 micronutriments : sigle dans un anneau de sa couleur, comme dans l'appli (MicronutrientIcon + couleur de data/micronutrients.ts) */
.micro-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; max-width: 520px; }
.micro-list li {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.65rem; border-radius: 15px; background: #fff;
  font-weight: 650; font-size: 0.86rem; line-height: 1.2; border: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.micro-list.in li { opacity: 1; transform: none; }
.mi {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; position: relative;
  font: 800 0.8rem/1 var(--round); color: var(--c); letter-spacing: -0.02em;
  background: conic-gradient(var(--c) calc(var(--p) * 360deg), rgba(80, 58, 25, 0.1) 0);
}
.mi::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.mi svg { position: relative; width: 15px; height: 15px; fill: var(--c); }
.micro-list .mi { isolation: isolate; }
.micro-list .mi::before { z-index: -1; }
.micro-also { margin: 1rem 0 0 !important; font-size: 0.9rem; }
}
.micros-phone { transform: rotate(-3deg); }

/* ---------- fonctionnalités ---------- */
.bento-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.cell {
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cell:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(80, 55, 15, 0.5); }
.cell .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f7ecd2; font-size: 1.3rem; margin-bottom: 0.9rem; }
.cell p { color: var(--muted); font-size: 0.92rem; margin: 0.4rem 0 0; }
.cell.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff8e6, #f5e3b8); }
.cell.big p { max-width: 260px; }
.cell-photo { position: absolute; right: -12%; bottom: -14%; width: 78%; mix-blend-mode: multiply; transition: transform 0.6s ease; }
.cell.big:hover .cell-photo { transform: rotate(-6deg) scale(1.04); }
.cell.recipes, .cell.wide { grid-column: span 2; }
.thumbs { display: flex; gap: 0.6rem; margin-top: 1rem; }
.thumbs img { width: 86px; height: 86px; border-radius: 18px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.wave { display: flex; align-items: center; gap: 4px; height: 38px; margin-top: 1rem; }
.wave i { width: 5px; border-radius: 4px; background: var(--green); animation: wave 1.1s ease-in-out infinite; height: 30%; }
.wave i:nth-child(3n) { animation-delay: -0.3s; }
.wave i:nth-child(3n + 1) { animation-delay: -0.6s; }
.wave i:nth-child(4n) { animation-delay: -0.85s; }
@keyframes wave { 50% { height: 100%; } }

/* ---------- note App Store ---------- */
.score {
  color: var(--ink); text-align: center; width: min(1120px, calc(100% - 2rem)); margin: 2rem auto; border-radius: 36px;
  background: radial-gradient(90% 130% at 50% 0%, #f6fbe9 0%, #e3f1cc 55%, #d2e8b4 100%);
  border: 1px solid rgba(77, 154, 60, 0.18);
}
.score-inner { max-width: 620px; margin: 0 auto; }
.score-num { font-family: var(--round); font-size: clamp(4rem, 9vw, 6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0; color: var(--ink); }
.score-num span { font-size: 0.35em; color: var(--muted); }
.score-stars { color: #f2b01e; font-size: 1.9rem; letter-spacing: 4px; margin: 0.4rem 0 0.6rem; }
.score-text { margin: 0 0 1.8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 1.15rem 2rem 1.15rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--green); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details div { overflow: hidden; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); }

/* ---------- appel final + pied ---------- */
.final-card {
  max-width: 900px; margin: 0 auto; text-align: center; border-radius: 34px; padding: 3.4rem 1.5rem;
  background: radial-gradient(120% 120% at 50% 0%, #fff7df 0%, #f2deae 100%); border: 1px solid var(--line);
}
.final-apple { width: 110px; margin: -5.5rem auto 0.6rem; animation: bob 4s ease-in-out infinite; }
.final-card p { color: var(--muted); margin: 0.8rem 0 1.8rem; }
.foot { padding: 3rem clamp(1.2rem, 4vw, 3rem) 2rem; border-top: 1px solid var(--line); }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-grid a:not(.brand) { display: block; text-decoration: none; color: var(--muted); font-size: 0.92rem; margin: 0.45rem 0; }
.foot-grid a:not(.brand):hover { color: var(--ink); }
.foot-title { font-weight: 700; margin: 0 0 0.6rem; }
.foot-tag { color: var(--muted); font-size: 0.92rem; }
.foot-note { max-width: 1120px; margin: 2.4rem auto 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- carte QR ---------- */
.qr-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem 1rem 1rem; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -20px rgba(60, 40, 10, 0.45);
  max-width: 330px; animation: toast 0.5s cubic-bezier(.2, .9, .3, 1.2);
}
.qr-toast[hidden] { display: none; }
.qr-toast b { font-size: 0.95rem; }
.qr-toast p { margin: 0.2rem 0 0; font-size: 0.84rem; color: var(--muted); }
.qr-code img, .qr-code canvas { width: 92px !important; height: 92px !important; }
.qr-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; }
@keyframes toast { from { opacity: 0; transform: translateY(20px); } }

/* ---------- apparitions ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- tablette / téléphone ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; margin-left: auto; font-size: 0.88rem; padding: 0.45rem 0.85rem 0.45rem 0.6rem; }
  .nav-cta svg { width: 19px; height: 19px; }
  .nav-burger { display: block; margin-left: 0.1rem; }
  .mobile-menu .nav-cta { display: flex; margin: 1rem 0 0; justify-content: center; font-size: 1.05rem; padding: 1rem; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 7rem; min-height: 0; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .facts { justify-content: center; }
  .hero-visual { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-visual .front { right: 6%; }
  .hero-visual .back { right: auto; left: 4%; }
  .how-grid { grid-template-columns: 1fr; max-width: 440px; }
  .how-card:nth-child(n) { margin-top: 0; }
  .meal-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .micros-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 2.6rem; }
  .micros-text p:not(.kicker) { margin-left: auto; margin-right: auto; }
  .micro-list { margin: 0 auto; text-align: left; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  section { padding-left: 1rem; padding-right: 1rem; }
  .facts { gap: 1.3rem; }
  .facts b { font-size: 1.3rem; }
  .facts span { font-size: 0.76rem; }
  .hero-visual { height: 470px; max-width: 360px; }
  .hero-visual .front { --w: 200px !important; right: 4%; top: 14px; }
  .hero-visual .back { --w: 166px !important; left: 6%; top: 84px; }
  .hero-apple { width: 124px; right: -3%; bottom: -6px; }
  .apple-bubble { font-size: 0.74rem; right: 22%; padding: 0.42rem 0.65rem; }
  .micro-list { grid-template-columns: repeat(2, 1fr); }
  .tag { font-size: 0.74rem; padding: 0.4rem 0.6rem; }
  .t1 { left: -2%; } .t3 { right: -3%; } .t2 { left: 0; }
  .bento-grid { grid-template-columns: 1fr; }
  .cell.big, .cell.recipes, .cell.wide { grid-column: auto; }
  .cell.big { min-height: 330px; }
  .thumbs img { width: 30%; height: auto; aspect-ratio: 1; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .tag, .micro-list li, .apple-bubble { opacity: 1; transform: none; }
  .bar i::after { transform: none; }
}
