/* LeCadencier — landing. Polices auto-hébergées (sous-ensemble latin) : aucun appel à un tiers. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/dm-sans-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Lora';font-style:italic;font-weight:400 700;font-display:swap;src:url(fonts/lora-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Lora';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/lora-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400 900;font-display:swap;src:url(fonts/playfair-display-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 900;font-display:swap;src:url(fonts/playfair-display-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ── Design system v2 : crème / terracotta (docs/lecadencier-redesign-v2.html) ── */
:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE6D6;
  --terracotta: #C0624A;
  --terracotta-deep: #8B3B28;
  --terracotta-light: #D4856E;
  --terracotta-pale: #F2DDD7;
  --sage: #7A9E8A;
  --sage-pale: #E4EDE7;
  --charcoal: #2D2926;
  --warm-gray: #7A6F61;
  --gold-pale: #F5EDD6;
  --ink: #1E1A16;
  --white: #FEFCF8;
  --border: rgba(45, 41, 38, .09);

  --serif: 'Playfair Display', Georgia, serif;
  --prose: 'Lora', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(45,41,38,.05), 0 12px 32px rgba(45,41,38,.08);
  --shadow-lg: 0 2px 6px rgba(45,41,38,.06), 0 30px 70px rgba(45,41,38,.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
h1 em, h2 em, h3 em { color: var(--terracotta); font-weight: 600; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--terracotta-pale); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ── Apparition au scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Logo / pastilles ── */
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; text-decoration: none; color: var(--charcoal); }
.logo em { color: var(--terracotta); }
.logo.small { font-size: .95rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); white-space: nowrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 0 rgba(192,98,74,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(192,98,74,0); } 100% { box-shadow: 0 0 0 0 rgba(192,98,74,0); } }

.kicker { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); display: flex; align-items: center; gap: .8rem; }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.kicker.light { color: var(--terracotta-light); }

/* ── Navigation ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled { background: rgba(245,240,232,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--warm-gray); transition: color .2s; }
.nav-links a:hover { color: var(--terracotta); }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -8px rgba(192,98,74,.7); }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(139,59,40,.7); }
.btn-ghost { color: var(--charcoal); border: 1px solid rgba(45,41,38,.18); }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); transform: translateY(-2px); }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: 100vh; max-width: 1280px; margin: 0 auto; padding: 8rem 1.5rem 5rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: var(--terracotta-pale); top: 5%; right: -6%; }
.b2 { width: 380px; height: 380px; background: var(--gold-pale); bottom: 0; left: 30%; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: var(--sage-pale); top: 20%; left: -8%; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.08); } }

.eyebrow { font-family: var(--prose); font-style: italic; color: var(--warm-gray); font-size: 1.05rem; margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); color: var(--ink); }
.hero h1 em { display: inline-block; position: relative; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--terracotta); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .7s; opacity: .35; }
.hero h1.in em::after { transform: scaleX(1); }
.lede { font-family: var(--prose); font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: #4a433c; margin-top: 1.6rem; max-width: 34rem; line-height: 1.65; }
.lede strong { color: var(--terracotta); font-weight: 500; font-style: italic; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.signature { margin-top: 2.4rem; font-size: .9rem; color: var(--warm-gray); }
.signature::before { content: ''; display: inline-block; vertical-align: middle; width: 36px; height: 1px; margin-right: .7rem; background: var(--warm-gray); opacity: .5; }
.signature strong { color: var(--charcoal); font-weight: 600; }

/* Démo hero */
.hero-demo { position: relative; padding-bottom: 3rem; }
.window { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; transition: transform 1s var(--ease); }
.hero-demo:hover .window { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.window-bar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); background: var(--cream); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-dark); }
.dots i:first-child { background: var(--terracotta-light); }
.window-title { font-family: var(--serif); font-weight: 700; font-size: .95rem; }
.window-tab { margin-left: auto; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); background: var(--terracotta-pale); padding: .3rem .7rem; border-radius: 999px; }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.day { background: var(--cream); border-radius: 12px; padding: 8px 6px 10px; min-height: 196px; display: flex; flex-direction: column; gap: 6px; border: 1.5px solid transparent; }
.day.today { border-color: var(--terracotta); background: #fff; }
.day-head { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
.day-num { width: 30px; height: 30px; border-radius: 50%; background: var(--terracotta); color: #fff; font-family: var(--serif); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.day.today .day-num { background: var(--charcoal); }
.day-name { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray); }
.slot-label { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9a8f81; margin-top: 2px; }
.slot { min-height: 40px; border-radius: 9px; border: 1.5px dashed rgba(45,41,38,.12); display: flex; }
.meal { flex: 1; background: var(--terracotta-pale); color: var(--terracotta-deep); font-family: var(--prose); font-style: italic; font-size: .75rem; line-height: 1.25; padding: 6px 7px; border-radius: 8px; animation: drop .6s var(--ease) both; }
.meal.sage { background: var(--sage-pale); color: #3f5f4d; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.9); } to { opacity: 1; transform: none; } }

.list-card { position: absolute; right: -1.5rem; bottom: -1rem; width: 250px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.list-head { background: var(--charcoal); color: var(--cream); padding: .9rem 1.1rem .8rem; }
.list-title { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; display: block; }
.list-sub { font-family: var(--prose); font-style: italic; font-size: .78rem; opacity: .65; }
.list { list-style: none; padding: .35rem 0; min-height: 190px; max-height: 214px; overflow: hidden; }
.list li { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .32rem 1.1rem; font-family: var(--prose); font-style: italic; font-size: .85rem; animation: rowin .5s var(--ease) both; transition: background .6s; }
.list li.flash { background: var(--gold-pale); }
.list li b { font-family: var(--sans); font-style: normal; font-weight: 700; color: var(--terracotta); font-size: .82rem; }
.list li small { font-family: var(--sans); font-style: normal; color: var(--warm-gray); font-size: .75rem; margin-left: .2rem; }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.toast { position: absolute; left: 1.5rem; bottom: .2rem; display: flex; align-items: center; gap: .55rem; background: var(--ink); color: var(--cream); font-size: .8rem; font-weight: 500; padding: .6rem 1rem; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

/* ═══════════ BANDEAU ═══════════ */
.marquee { background: var(--terracotta); color: #fff; overflow: hidden; padding: 1.2rem 0; transform: rotate(-1.2deg) scale(1.02); margin: 2rem 0 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.7rem); white-space: nowrap; padding: 0 1.6rem; display: flex; align-items: center; gap: 3.2rem; }
.marquee span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ MANIFESTE ═══════════ */
.manifesto { max-width: 1000px; margin: 0 auto; padding: 9rem 1.5rem 7rem; }
.manifesto-text { font-family: var(--serif); font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.22; letter-spacing: -.015em; margin-top: 1.6rem; color: var(--charcoal); }
.manifesto-text .w { color: rgba(45,41,38,.16); transition: color .35s; }
.manifesto-text .w.lit { color: var(--charcoal); }
.manifesto-text .w.accent.lit { color: var(--terracotta); font-style: italic; }

/* ═══════════ FONCTIONNALITÉS ═══════════ */
.features { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 7rem; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; padding: 5rem 0; }
.feature.flip .feature-copy { order: 2; }
.feature h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ink); }
.feature-copy > p { font-family: var(--prose); font-size: 1.08rem; color: #4a433c; margin-top: 1.3rem; max-width: 32rem; }
.feature-copy .hint { font-family: var(--sans); font-size: .9rem; color: var(--terracotta); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: .9rem; max-width: 32rem; }
.ticks li { position: relative; padding-left: 2rem; font-size: .95rem; color: #4a433c; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .28em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--terracotta-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23C0624A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.ticks strong { color: var(--charcoal); font-weight: 600; }
.feature-visual { display: flex; justify-content: center; }

/* 01 · Dictée */
.dictation { width: 100%; max-width: 440px; background: var(--white); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.mic-row { display: flex; align-items: center; gap: 1rem; }
.mic { width: 52px; height: 52px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(192,98,74,.45); }
.dictation.live .mic { animation: pulse 1.6s infinite; }
.mic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.mic svg rect { fill: #fff; stroke: none; }
.wave { display: flex; align-items: center; gap: 4px; height: 40px; flex: 1; }
.wave i { flex: 1; max-width: 6px; height: 20%; border-radius: 3px; background: var(--terracotta-light); transition: height .3s; }
.dictation.live .wave i { animation: wave 1s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { animation-delay: -.3s !important; }
.wave i:nth-child(3n+1) { animation-delay: -.6s !important; }
.wave i:nth-child(4n) { animation-duration: .7s !important; }
@keyframes wave { from { height: 15%; } to { height: 95%; } }
.transcript { font-family: var(--prose); font-style: italic; font-size: 1.02rem; color: #4a433c; min-height: 3.4em; margin: 1.2rem 0; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--terracotta); vertical-align: -.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.recipe-card { border-radius: 16px; background: var(--cream); padding: 1.1rem 1.2rem; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.dictation.done .recipe-card { opacity: 1; transform: none; }
.recipe-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; display: block; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.badges b { font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--white); color: var(--warm-gray); padding: .25rem .6rem; border-radius: 999px; }
.badges b:first-child { background: var(--terracotta); color: #fff; }
.recipe-ings { list-style: none; padding: 0; margin-top: .9rem; }
.recipe-ings li { display: flex; justify-content: space-between; padding: .4rem 0; border-top: 1px solid var(--border); font-family: var(--prose); font-style: italic; font-size: .92rem; }
.recipe-ings em { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .85rem; color: var(--terracotta); }

/* 02 · Téléphone */
.phone { width: 300px; background: var(--cream); border-radius: 42px; padding: 14px 14px 12px; box-shadow: 0 0 0 10px var(--ink), 0 0 0 11px #3b3530, var(--shadow-lg); position: relative; }
.phone-notch { width: 96px; height: 22px; border-radius: 999px; background: var(--ink); margin: 0 auto 12px; }
.phone-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 10px; }
.phone-week { font-size: .75rem; font-weight: 600; color: var(--warm-gray); }
.phone-days { display: grid; gap: 8px; height: 440px; overflow: hidden; }
.pday { background: var(--white); border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; border: 1.5px solid transparent; }
.pday.today { border-color: var(--terracotta); }
.pday .day-num { width: 36px; height: 36px; font-size: .95rem; }
.pday.today .day-num { background: var(--charcoal); }
.pday-meals { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pmeal { display: flex; align-items: baseline; gap: .5rem; font-family: var(--prose); font-style: italic; font-size: .8rem; color: var(--terracotta-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmeal span { font-family: var(--sans); font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9a8f81; width: 2.8rem; flex-shrink: 0; }
.pmeal.empty { color: #9a8f81; }
.phone-nav { display: flex; justify-content: space-around; margin-top: 10px; padding: 10px 0 2px; border-top: 1px solid var(--border); }
.phone-nav span { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray); }
.phone-nav .on { color: var(--terracotta); }
.feature.in-view .pday { animation: rowin .6s var(--ease) both; }

/* 03 · Fusion des quantités */
.merge { width: 100%; max-width: 440px; }
.merge-row { display: flex; align-items: center; gap: .7rem; }
.chip { flex: 1; background: var(--white); border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow); font-family: var(--serif); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.chip small { display: block; font-family: var(--prose); font-style: italic; font-weight: 400; font-size: .82rem; color: var(--terracotta); margin-top: .25rem; }
.op { font-family: var(--serif); font-size: 1.6rem; color: var(--terracotta); }
.merge-arrow { width: 2px; height: 42px; margin: .6rem auto; background: linear-gradient(var(--terracotta-light), transparent); position: relative; }
.merge-arrow::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px; border-right: 2px solid var(--terracotta-light); border-bottom: 2px solid var(--terracotta-light); transform: translateX(-50%) rotate(45deg); }
.shop { list-style: none; padding: 0; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.shop li + li { border-top: 1px solid var(--border); }
.shop label { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.2rem; cursor: pointer; transition: background .2s; }
.shop label:hover { background: var(--cream); }
.shop input { position: absolute; opacity: 0; pointer-events: none; }
.shop .box { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(45,41,38,.2); background: var(--cream); flex-shrink: 0; transition: all .25s var(--ease); display: grid; place-items: center; }
.shop .box::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .25s var(--ease); }
.shop input:checked + .box { background: var(--sage); border-color: var(--sage); }
.shop input:checked + .box::after { transform: rotate(45deg) scale(1); }
.shop input:focus-visible + .box { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.shop .name { font-family: var(--prose); font-style: italic; font-size: 1rem; flex: 1; position: relative; transition: color .3s; }
.shop .name::after { content: ''; position: absolute; left: 0; top: 55%; height: 1.5px; width: 100%; background: var(--warm-gray); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.shop input:checked ~ .name { color: #a59b8e; }
.shop input:checked ~ .name::after { transform: scaleX(1); }
.shop .qty { font-size: .85rem; color: var(--warm-gray); }
.shop .qty b { color: var(--terracotta); font-size: .95rem; }
.shop li:first-child { background: linear-gradient(90deg, var(--gold-pale), transparent 70%); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 4rem; }
.tile { background: var(--white); border-radius: 26px; padding: 2.2rem; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.tile h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); color: var(--ink); }
.tile p { font-family: var(--prose); color: #4a433c; margin-top: .9rem; font-size: .98rem; }
.tile-ai { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, var(--terracotta) 0%, var(--terracotta-deep) 100%); color: #fff; border: none; }
.tile-ai::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.07); top: -120px; right: -100px; }
.tile-ai h3, .tile-ai h3 em { color: #fff; }
.tile-ai h3 em { color: var(--terracotta-pale); }
.tile-ai p { color: rgba(255,255,255,.85); max-width: 36rem; }
.tile-ai .ai-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; margin-top: auto; padding-top: 2rem; position: relative; }
.ai-day { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: .8rem .6rem; min-height: 190px; display: flex; flex-direction: column; gap: .5rem; }
.ai-day-name { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.ai-meal { font-family: var(--prose); font-style: italic; font-size: .8rem; line-height: 1.3; flex: 1; }
.ai-day.loading .ai-meal { color: transparent; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.08) 100%) 0 0/200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.ai-day.fresh .ai-meal { animation: drop .5s var(--ease) both; }
.regen { align-self: flex-start; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .5s var(--ease); }
.regen:hover { background: rgba(255,255,255,.28); }
.regen svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.regen.spin { transform: rotate(360deg); }
.tile-home { grid-column: 3; }
.invite { margin-top: 1.4rem; background: var(--cream); border-radius: 16px; padding: 1rem; display: grid; gap: .7rem; }
.avatars { display: flex; }
.avatars i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-weight: 700; font-size: .9rem; color: #fff; background: var(--sage); border: 2px solid var(--cream); margin-right: -8px; }
.avatars i:nth-child(2) { background: var(--terracotta); }
.avatars i:nth-child(3) { background: var(--cream-dark); color: var(--warm-gray); }
.invite-text { font-size: .88rem; }
.invite-actions { display: flex; gap: .5rem; }
.invite-actions b, .invite-actions s { font-size: .75rem; font-weight: 600; text-decoration: none; padding: .4rem .9rem; border-radius: 999px; }
.invite-actions b { background: var(--terracotta); color: #fff; }
.invite-actions s { color: var(--warm-gray); border: 1px solid var(--border); }
.tile-small { grid-column: 3; background: var(--sage-pale); border-color: transparent; }
.tile-small .tile-small h3 em { color: #4d7360; }

/* ═══════════ SOUS LE CAPOT ═══════════ */
.stack { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.stack::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 0%, rgba(192,98,74,.18), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(122,158,138,.12), transparent 60%); pointer-events: none; }
.stack-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 8rem 1.5rem; }
.stack h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-top: 1.4rem; max-width: 50rem; color: var(--white); }
.stack h2 em { color: var(--terracotta-light); }
.stack-lede { font-family: var(--prose); font-size: 1.12rem; color: rgba(245,240,232,.72); margin-top: 1.4rem; max-width: 42rem; }

.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 4rem; }
.pipeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(245,240,232,.3) 0 6px, transparent 6px 12px); }
.stage { position: relative; z-index: 1; background: #29241f; border: 1px solid rgba(245,240,232,.1); border-radius: 16px; padding: 1.1rem 1rem; text-align: center; display: flex; flex-direction: column; gap: .3rem; transition: border-color .4s, box-shadow .4s; }
.stage.hot { border-color: var(--terracotta-light); box-shadow: 0 0 0 4px rgba(212,133,110,.12), 0 0 40px rgba(192,98,74,.25); }
.stage-k { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--white); }
.stage-v { font-size: .75rem; color: rgba(245,240,232,.55); }
.packet { position: absolute; top: 50%; left: 10%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--terracotta-light); box-shadow: 0 0 18px 4px rgba(212,133,110,.6); z-index: 2; pointer-events: none; opacity: 0; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 4rem; border-top: 1px solid rgba(245,240,232,.1); border-bottom: 1px solid rgba(245,240,232,.1); padding: 2.4rem 0; }
.stat { display: flex; flex-direction: column; gap: .3rem; }
.stat-n { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1; color: var(--terracotta-light); font-variant-numeric: tabular-nums; }
.stat-l { font-size: .85rem; color: rgba(245,240,232,.6); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 4rem; }
.card { background: rgba(245,240,232,.04); border: 1px solid rgba(245,240,232,.09); border-radius: 20px; padding: 1.8rem; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(212,133,110,.45); background: rgba(245,240,232,.06); }
.card h3 { font-size: 1.35rem; color: var(--white); }
.card p { font-size: .92rem; color: rgba(245,240,232,.7); margin-top: .8rem; line-height: 1.65; }
.card .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.card .tags span { font-size: .68rem; font-weight: 600; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 999px; background: rgba(212,133,110,.14); color: var(--terracotta-light); }

/* ═══════════ FEUILLE DE ROUTE ═══════════ */
.roadmap { max-width: 1200px; margin: 0 auto; padding: 8rem 1.5rem 6rem; }
.roadmap h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-top: 1.4rem; color: var(--ink); }
.timeline { list-style: none; padding: 0; margin-top: 4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--terracotta) 0 55%, var(--cream-dark) 55%); }
.timeline li { position: relative; padding-top: 2.6rem; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 2px solid var(--cream-dark); }
.timeline li.done::before { background: var(--terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; border-color: var(--terracotta); }
.timeline li.now::before { border-color: var(--terracotta); background: var(--white); box-shadow: 0 0 0 0 rgba(192,98,74,.5); animation: pulse 2.2s infinite; }
.timeline li.now::after { content: ''; position: absolute; top: 7px; left: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); }
.t-state { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-gray); }
.done .t-state, .now .t-state { color: var(--terracotta); }
.timeline h3 { font-size: 1.3rem; margin-top: .5rem; }
.timeline p { font-family: var(--prose); font-size: .95rem; color: #4a433c; margin-top: .6rem; }
.timeline .next { opacity: .75; }

/* ═══════════ FINAL ═══════════ */
.final { padding: 0 1.5rem 7rem; }
.final-inner { max-width: 1200px; margin: 0 auto; border-radius: 32px; padding: 5.5rem 2rem; text-align: center; background: linear-gradient(160deg, var(--terracotta) 0%, var(--terracotta-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.final-inner::before, .final-inner::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.final-inner::before { width: 420px; height: 420px; top: -180px; left: -120px; }
.final-inner::after { width: 280px; height: 280px; bottom: -140px; right: -60px; }
.final h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); color: #fff; position: relative; }
.final h2 em { color: var(--terracotta-pale); }
.final p { font-family: var(--prose); font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 1.2rem auto 0; max-width: 34rem; position: relative; }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2.4rem 1.5rem 3rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 2rem; }
.footer p { font-size: .85rem; color: var(--warm-gray); }
.legal { flex-basis: 100%; font-size: .85rem; color: var(--warm-gray); }
.legal summary { cursor: pointer; width: max-content; font-weight: 500; }
.legal summary:hover { color: var(--terracotta); }
.legal p { margin-top: .5rem; max-width: 46rem; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; padding-top: 7.5rem; min-height: 0; }
  .window { transform: none; }
  .hero-demo:hover .window { transform: none; }
  .list-card { right: -.5rem; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding: 4rem 0; }
  .feature.flip .feature-copy { order: 0; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile-ai { grid-column: 1 / -1; grid-row: auto; }
  .tile-home, .tile-small { grid-column: auto; }
  .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 3rem; }
  .timeline::before { display: none; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .pill { margin-left: auto; }
  .nav-inner { padding: .9rem 1rem; }
  .hero { padding: 6.5rem 1rem 3rem; }
  .features, .roadmap, .manifesto { padding-left: 1rem; padding-right: 1rem; }
  .stack-inner { padding: 6rem 1rem; }
  .final { padding: 0 1rem 5rem; }
  .footer-inner { padding-left: 1rem; padding-right: 1rem; }

  /* Démo hero : la semaine passe sur 4 jours visibles */
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px; gap: 6px; }
  .week .day:nth-child(n+5) { display: none; }
  .day { min-height: 176px; }
  .window-bar .dots { display: none; }
  .window-title { white-space: nowrap; }
  .list-card { position: relative; right: auto; bottom: auto; width: auto; margin: -1.5rem 1rem 0; animation: none; }
  .list { min-height: 0; }
  .hero-demo { padding-bottom: 3.5rem; }
  .toast { left: 50%; transform: translate(-50%, 10px); white-space: nowrap; }
  .toast.show { transform: translate(-50%, 0); }

  .manifesto { padding-top: 6rem; padding-bottom: 4rem; }
  .feature { padding: 3rem 0; }
  .dictation { padding: 1.2rem; }
  .merge-row { flex-direction: column; align-items: stretch; }
  .op { text-align: center; line-height: 1; }
  .phone { width: 272px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 1.6rem; }
  .ai-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-week .ai-day:nth-child(n+5) { display: none; }
  .ai-day { min-height: 104px; }
  .pipeline { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .pipeline::before { left: 50%; right: auto; top: 8%; bottom: 8%; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(245,240,232,.3) 0 6px, transparent 6px 12px); }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 2rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 2.2rem; }
  .final-inner { padding: 4rem 1.4rem; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ── Contact (section finale) ── */
.final .final-contact { font-family: var(--sans); font-style: normal; font-size: 1rem; color: #fff; margin-top: 2.4rem; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.2rem; position: relative; }
.btn-white { background: #fff; color: var(--terracotta-deep); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn-white:hover { transform: translateY(-2px); background: var(--cream); }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.final-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.final-cta svg.fill { fill: currentColor; stroke: none; }
.final .btn:focus-visible { outline-color: #fff; }
@media (max-width: 720px) { .final-cta .btn { width: 100%; justify-content: center; } }
