/* Mijote-moi — site vitrine. Même identité que l'app : crème, corail, Fraunces + DM Sans.
   Site toujours clair, comme l'app (pas de mode sombre). */
/* Mise en page : colonnes centrées de 1080 px, bandes pleine largeur, gouttière ≥ 16 px. */
:root {
  --cream: #FBF8F5;
  --paper: #FFFFFF;
  --peach: #FFEDE5;
  --coral: #EE6A4D;
  --coral-deep: #C94F35;
  --ink: #221C17;
  --ink-soft: #6F665F;
  --line: #F0E4DA;
  --mint: #1F9D63;
  --butter: #FFF5DA;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "DM Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.1rem, 4.6vw, 3.3rem);
  --step-4: clamp(2.6rem, 7vw, 4.6rem);
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* En-tête */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top.home .brand { visibility: hidden; }
.top .brand img { height: 44px; width: auto; }
.top nav { display: flex; gap: 18px; font-size: var(--step--1); font-weight: 500; }
.top nav a { color: var(--ink-soft); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* Accueil */
.hero { padding-block: 28px 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.biglogo { position: relative; display: block; width: min(520px, 100%); height: auto; margin: -36px 0 18px -6px; filter: drop-shadow(0 10px 18px rgba(201, 79, 53, .18)); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); }
.hero h1 { font-size: var(--step-4); margin-top: 12px; }
.hero h1 em { font-style: italic; color: var(--coral); font-weight: 600; }
.hero .lead { font-size: var(--step-1); color: var(--ink-soft); margin-top: 18px; max-width: 30ch; line-height: 1.45; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px;
  background: var(--ink); color: var(--cream); border-radius: 14px; text-decoration: none;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: .72rem; opacity: .8; }
.store b { font-size: 1.05rem; font-weight: 600; }
.cta .note { font-size: var(--step--1); color: var(--ink-soft); }

.stage { position: relative; display: flex; justify-content: center; padding-block: 8px 20px; }
.phone {
  width: min(300px, 78vw); aspect-ratio: 390 / 844; border-radius: 42px; padding: 10px;
  background: var(--ink); box-shadow: 0 30px 60px -28px rgba(80, 40, 20, .45), 0 0 0 1px rgba(0,0,0,.05);
  max-width: 100%;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; }
.phone.back { position: absolute; transform: translateY(var(--py, 0px)) translate(42%, 9%) rotate(6deg) scale(.86); opacity: .95; z-index: 0; }
.phone.front { position: relative; z-index: 1; transform: translateY(var(--py, 0px)) rotate(-3deg); }
.stage .cuisino { position: absolute; z-index: 2; width: 120px; left: max(0px, calc(50% - 230px)); bottom: -6px; }
.bubble {
  position: absolute; z-index: 2; left: max(0px, calc(50% - 200px)); top: 6%;
  background: var(--paper); border-radius: 18px; padding: 10px 14px; font-size: .9rem; font-weight: 600;
  box-shadow: 0 10px 24px -14px rgba(80, 40, 20, .4); max-width: 210px; line-height: 1.3;
}
.bubble b { color: var(--mint); }

/* Bandes */
.band { padding-block: 64px; }
.band.peach { background: var(--peach); }
.band.paper { background: var(--paper); border-block: 1px solid var(--line); }
.band h2 { font-size: var(--step-3); }
.band .intro { color: var(--ink-soft); margin-top: 12px; max-width: 58ch; }

/* Les trois questions */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.steps .q { font-family: var(--display); font-size: var(--step-1); font-weight: 600; line-height: 1.2; }
.steps .q::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 .85rem var(--body); vertical-align: .18em; }
.steps .a { font-size: var(--step--1); color: var(--ink-soft); }
.steps .chip { display: inline-block; background: var(--peach); color: var(--coral-deep); font-weight: 700; padding: 2px 10px; border-radius: 999px; margin: 2px 4px 2px 0; font-size: .85rem; }
.then { margin-top: 20px; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.then img { width: 64px; flex: none; }

/* Trois boutons */
.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.action { border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; }
.action img { width: 84px; }
.action h3 { font-size: var(--step-2); }
.action p { color: var(--ink-soft); font-size: var(--step--1); }
.example { margin-top: 4px; border-top: 1px dashed var(--line); padding-top: 12px; display: grid; gap: 6px; font-size: .9rem; }
.example .row { display: flex; justify-content: space-between; gap: 10px; }
.example .row span:last-child { color: var(--ink-soft); white-space: nowrap; }

/* Budget */
.budget .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ticket {
  background: var(--paper); border-radius: 18px; padding: 24px 26px; font-variant-numeric: tabular-nums;
  box-shadow: 0 18px 40px -26px rgba(80, 40, 20, .45); max-width: 420px; justify-self: center; width: 100%;
  position: relative;
}
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 10px -2px, transparent 10px, var(--paper) 10.5px) 0 0 / 20px 10px repeat-x; }
.ticket .t-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.ticket .t-head img { width: 56px; }
.ticket .t-head b { font-family: var(--display); font-size: var(--step-1); }
.ticket dl { margin: 14px 0 0; display: grid; gap: 8px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 12px; }
.ticket dt { color: var(--ink-soft); }
.ticket dd { margin: 0; font-weight: 700; }
.ticket .margin { border-top: 1px dashed var(--line); padding-top: 10px; }
.ticket .margin dd { color: var(--mint); }
.ticket .fine { margin-top: 14px; font-size: .78rem; color: var(--ink-soft); }

/* Promesses */
.promises { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.promises li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.promises svg { width: 22px; height: 22px; color: var(--coral); margin-top: 3px; }
.promises b { display: block; }
.promises span { color: var(--ink-soft); font-size: var(--step--1); }

/* Fin */
.end { padding-block: 64px 48px; text-align: center; }
.end img { width: 110px; margin: 0 auto 8px; }
.end h2 { font-size: var(--step-3); }
.end p { color: var(--ink-soft); margin: 12px auto 0; max-width: 46ch; }
.mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 18px; font-weight: 600; }
.mail button { border: 0; background: var(--coral); color: #fff; font: 600 .85rem var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }

footer { border-top: 1px solid var(--line); padding-block: 24px 32px; font-size: var(--step--1); color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--ink-soft); }

/* Pages de texte (assistance, légal) */
.doc { padding-block: 24px 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: var(--step-3); margin-top: 8px; }
.doc .updated { color: var(--ink-soft); font-size: var(--step--1); margin-top: 10px; }
.doc h2 { font-size: var(--step-2); margin-top: 40px; }
.doc h3 { font-size: var(--step-1); margin-top: 28px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc .tablebox { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.doc table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; background: var(--peach); }
.doc tr:last-child td { border-bottom: 0; }
.todo { background: var(--butter); border-bottom: 2px solid #E0A100; padding: 0 3px; border-radius: 3px; }
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin-top: 10px; }
.contactcard { margin-top: 32px; display: flex; gap: 16px; align-items: center; background: var(--peach); border-radius: var(--radius); padding: 20px; }
.contactcard img { width: 72px; flex: none; }

@media (max-width: 820px) {
  .hero .wrap, .budget .wrap { grid-template-columns: minmax(0, 1fr); }
  .stage { margin-top: 8px; }
  .steps, .actions { grid-template-columns: minmax(0, 1fr); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .top nav { display: none; }
  .band { padding-block: 48px; }
}
@media (max-width: 420px) {
  .phone.back { display: none; }
  .bubble { top: 2%; left: 0; }
  .stage .cuisino { left: 0; width: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone.front { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  .stage .cuisino { animation: hop .9s .35s cubic-bezier(.3,1.6,.5,1) both; }
  @keyframes rise { from { translate: 0 18px; opacity: .4; } to { translate: 0 0; opacity: 1; } }
  @keyframes hop { from { translate: 0 14px; scale: .92; } to { translate: 0 0; scale: 1; } }
}

/* Accueil : logo remonté */
.top.home { padding-block: 10px 0; }
.top.home + main .hero { padding-top: 0; }
/* Voici Cuisino */
.band.meet { background: linear-gradient(180deg, var(--peach), var(--cream)); }
.meet .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.meet-pic { width: min(340px, 100%); justify-self: center; filter: drop-shadow(0 22px 30px rgba(201, 79, 53, .25)); }
.meet h2 { font-size: var(--step-3); margin-top: 10px; }
.meet-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.meet-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--paper); border-radius: 18px; padding: 12px 14px; }
.meet-list img { width: 56px; }
.meet-list b { display: block; font-size: .98rem; }
.meet-list span { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; }
.meet-list span b { color: var(--ink); margin-bottom: 2px; }
@media (max-width: 820px) {
  .meet .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .meet .intro { margin-inline: auto; }
  .meet-list { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .meet-pic { width: 220px; }
  .biglogo { margin-top: -8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .meet-pic { animation: bob 4s ease-in-out infinite; }
  @keyframes bob { 50% { translate: 0 -8px; rotate: -2deg; } }
}

/* Parallaxe */
.stage .cuisino, .bubble, .meet-pic, .talk-pic { transform: translateY(var(--py, 0px)); }
.phone, .stage .cuisino, .bubble, .meet-pic { will-change: transform; }
/* Apparition au défilement (seulement si le script tourne) */
.rv-ready .rv:not(.in) { opacity: 0; translate: 0 26px; }
.rv-ready .rv { transition: opacity .6s ease var(--d, 0ms), translate .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
/* Lien « bientôt » en haut, boutons en bas */
.soon { margin-top: 24px; font-weight: 700; }
.soon a { color: var(--coral-deep); text-decoration: none; border-bottom: 2px solid var(--peach); padding-bottom: 2px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.end .mail { margin-top: 26px; }
@media (prefers-reduced-motion: reduce) {
  .phone.back, .phone.front, .stage .cuisino, .bubble, .meet-pic { --py: 0px; }
}

/* Logo : la vapeur oscille au-dessus de la cocotte */
.biglogo .lg-base { width: 100%; height: auto; }
.biglogo .lg-steam { position: absolute; left: 40.667%; top: 0; width: 10%; height: auto; transform-origin: 30% 100%; }
/* Bouton son */
.sound { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 14px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-soft); font: 600 .8rem var(--body); cursor: pointer; }
.sound[aria-pressed="true"] { color: var(--coral-deep); border-color: var(--coral); background: var(--peach); }
/* Cuisino parle des recettes */
.band.talk { padding-block: 40px; }
.talk .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 900px; }
.talk-pic { width: 200px; filter: drop-shadow(0 16px 22px rgba(201, 79, 53, .22)); cursor: pointer; }
.talk-bubble { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 22px 24px; box-shadow: 0 18px 40px -26px rgba(80, 40, 20, .45); }
.talk-bubble::before { content: ""; position: absolute; left: -11px; top: 46%; width: 20px; height: 20px; background: var(--paper); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.talk-bubble p:first-child { font-family: var(--display); font-size: var(--step-1); line-height: 1.4; }
.talk-bubble b { color: var(--coral-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { background: var(--peach); color: var(--coral-deep); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px; }
.meet-pic { cursor: pointer; }
@media (max-width: 820px) {
  .talk .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .talk-pic { width: 150px; }
  .talk-bubble::before { left: 50%; top: -11px; margin-left: -10px; transform: rotate(135deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .biglogo .lg-steam { animation: steam 3.2s ease-in-out infinite; }
  @keyframes steam {
    0%, 100% { transform: skewX(0deg) scaleY(1); opacity: 1; }
    25% { transform: skewX(-7deg) scaleY(1.04); opacity: .85; }
    50% { transform: skewX(4deg) scaleY(.97) translateX(1px); opacity: 1; }
    75% { transform: skewX(-3deg) scaleY(1.05); opacity: .8; }
  }
  .tap.hop { animation: hophop .7s cubic-bezier(.3,1.5,.5,1); }
  .meet-pic.tap.hop { animation: hophop .7s cubic-bezier(.3,1.5,.5,1), bob 4s 0.7s ease-in-out infinite; }
  @keyframes hophop { 0% { scale: 1; rotate: 0deg; } 30% { scale: 1.08 .92; } 55% { translate: 0 -18px; rotate: -4deg; scale: .96 1.05; } 80% { translate: 0 0; rotate: 2deg; scale: 1.03 .97; } 100% { scale: 1; rotate: 0deg; } }
}

/* Captures réelles : cadre au ratio exact des images */
.phone { aspect-ratio: auto; border-radius: 38px; }
.phone img { height: auto; object-fit: initial; border-radius: 30px; }
/* Galerie à faire glisser */
.shots { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px max(20px, calc((100vw - 1080px) / 2)) 28px; margin-top: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--coral) transparent; }
.shot { flex: 0 0 auto; width: min(250px, 66vw); margin: 0; scroll-snap-align: center; display: grid; gap: 14px; align-content: start; }
.shot .phone { width: 100%; padding: 8px; border-radius: 34px; }
.shot .phone img { border-radius: 27px; }
.shot figcaption { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; text-align: center; }
.shot figcaption b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }

/* Captures dans « Trois questions » */
.steps .mini { margin-top: 6px; display: grid; justify-items: center; }
.steps .mini img { width: min(190px, 70%); height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 26px; border: 6px solid var(--ink); box-shadow: 0 20px 40px -24px rgba(80,40,20,.5); }

/* Slogan de saison */
.slogan { margin: 14px 0 0; font-family: var(--display); font-weight: 650; font-style: italic; font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.25; }
.slogan .s1 { display: block; color: var(--ink); }
.slogan .s2 { display: block; font-style: italic; }
.slogan .s2 span { color: var(--coral); }
.slogan[hidden] { display: none; }

/* Noël */
.noel { --peach: #FFE9E3; --butter: #FFF3D6; }
.noel .band.peach { background: linear-gradient(180deg, #FFE9E3, #FFF1EA); }
.noel .eyebrow { color: #B3322F; }
.noel .hero h1 em { color: #D4382C; }
.noel .chip { background: #FFE0DA; color: #B3322F; }
.garland { position: fixed; top: 0; left: 0; right: 0; height: 14px; z-index: 50; pointer-events: none;
  background:
    radial-gradient(circle at 12px 5px, #D4382C 0 4px, transparent 4.5px),
    radial-gradient(circle at 36px 7px, #2E8540 0 4px, transparent 4.5px),
    radial-gradient(circle at 60px 5px, #F2B632 0 4px, transparent 4.5px),
    radial-gradient(circle at 84px 7px, #fff 0 3.5px, transparent 4px);
  background-size: 96px 14px; background-repeat: repeat-x; filter: drop-shadow(0 2px 3px rgba(80,40,20,.25)); animation: twinkle 2.6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .72; } to { opacity: 1; } }
.snow { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.snow i { position: absolute; top: -30px; font-style: normal; color: #B9D4EA; text-shadow: 0 0 4px rgba(255,255,255,.9); animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(var(--dx, 0), 110vh, 0) rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .garland { animation: none; } }
