/* ==========================================================================
   Quintal da Dona Maria: site do cliente, direção "Quintal"
   Verde-floresta, linho e tomate. Young Serif (títulos) e Figtree (texto).
   As fontes são hospedadas aqui (assets/fonts), sem Google Fonts.
   ========================================================================== */

@font-face { font-family: 'Young Serif'; src: url('/assets/fonts/YoungSerif-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --linen: #f5f0e6;
  --linen-2: #ece4d2;
  --paper: #fbf8f1;
  --forest: #1f3d2b;
  --forest-2: #2b523a;
  --forest-3: #3c6b4d;
  --tomato: #c23b20;
  --tomato-soft: #d4472b;
  --sun: #f2c230;
  --sun-soft: #f8e3a1;
  --ink: #1a1a17;
  --ink-2: #4a4a42;
  --ink-3: #77766b;
  --line: rgba(26, 26, 23, .14);
  --ok: #2f6b3f;
  --bad: #b3261e;

  --f-display: 'Young Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 26px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --head: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--linen); min-height: 100vh; min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; line-height: 1.08; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 7.4vw, 74px); }
h2 { font-size: clamp(28px, 4.6vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0 0 12px; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--forest); color: var(--linen); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--tomato); margin: 0 0 10px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 24px;
  font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; border: 0; border-radius: var(--r-pill);
  background: var(--forest); color: var(--linen); -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease);
}
.btn:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(31, 61, 43, .55); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.tomato { background: var(--tomato); }
.btn.tomato:hover { background: #a93219; box-shadow: 0 10px 22px -10px rgba(194, 59, 32, .6); }
.btn.big { min-height: 58px; padding: 12px 32px; font-size: 19px; }
.btn.paper { background: var(--paper); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.paper:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--forest), 0 10px 22px -12px rgba(31, 61, 43, .4); }
.btn.ghost { background: transparent; color: var(--forest); padding-inline: 14px; }
.btn.ghost:hover { background: rgba(31, 61, 43, .08); box-shadow: none; transform: none; }
.btn.wa { background: #2c7a3f; }
.btn.wa:hover { background: #236633; }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--forest); }

/* ---------- cabeçalho ---------- */
.site-head { position: sticky; top: 0; z-index: 40; transition: background .3s, box-shadow .3s; background: transparent; }
.site-head.solid, .site-head.inner { background: rgba(245, 240, 230, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: var(--head); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span { font-family: var(--f-display); font-size: 19px; line-height: 1; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 16px; }
.site-head nav a:not(.btn) { text-decoration: none; position: relative; padding: 6px 0; }
.site-head nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tomato); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-head nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .site-head nav a.hide-m { display: none; } .brand span { font-size: 17px; } .site-head nav { gap: 12px; } }
@media (max-width: 400px) { .brand span { display: none; } }

/* ---------- entrada (hero) ---------- */
.hero { padding: 18px 0 40px; }
.hero .wrap { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; } .hero { padding: 34px 0 54px; } }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--tomato); }
.hero .lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--ink-2); max-width: 34em; margin-bottom: 24px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.next { display: inline-flex; align-items: flex-start; gap: 12px; margin-top: 26px; padding: 14px 18px; border-radius: var(--r-md); background: var(--sun-soft); color: var(--forest); max-width: 36em; }
.next svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.next b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; line-height: 1.2; }
.next span { font-size: 15px; }
.next.pre { background: #fff; box-shadow: inset 0 0 0 2px var(--sun); }
.hero-art { position: relative; border-radius: var(--r-lg); background: var(--forest); padding: clamp(18px, 4vw, 38px); overflow: hidden; isolation: isolate; }
.hero-art .leaf { position: absolute; color: var(--forest-2); z-index: -1; }
.hero-art .leaf.l1 { width: 170px; right: -34px; top: -26px; transform: rotate(18deg); }
.hero-art .leaf.l2 { width: 130px; left: -30px; bottom: -22px; transform: rotate(-150deg); color: var(--forest-3); opacity: .6; }
.hero-art img.photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; }
.sticker { position: absolute; right: clamp(10px, 3vw, 24px); top: clamp(10px, 3vw, 24px); width: 112px; height: 112px; border-radius: 50%; background: var(--sun); color: var(--forest); display: grid; place-items: center; text-align: center; line-height: 1.05; transform: rotate(10deg); animation: float 5s ease-in-out infinite; z-index: 2; }
.sticker small { display: block; font-size: 13px; font-weight: 600; }
.sticker b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 27px; }
@keyframes float { 0%, 100% { transform: rotate(10deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-8px); } }

/* entrada em sequência */
.js .rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- a marmita desenhada ---------- */
.boxsvg { width: 100%; height: auto; }
.boxsvg .b-lid { fill: #f5f0e6; }
.boxsvg .b-tray { fill: #e3dac5; }
.boxsvg .b-c { fill: #efe8d8; }
.boxsvg .f { opacity: 0; transform: scale(.35); transform-box: fill-box; transform-origin: center; transition: opacity .45s var(--ease), transform .7s var(--spring); }
.boxsvg .f.on { opacity: 1; transform: none; }
.boxsvg .prot { fill: var(--prot, #9c4a2a); } .boxsvg .prot-h { fill: var(--prot, #bb6a43); filter: brightness(1.22); } .boxsvg .grill { stroke: #7a3720; stroke-width: 4; stroke-linecap: round; fill: none; }
.boxsvg .rice { fill: #fff; } .boxsvg .bean { fill: var(--side, #5a2e1e); filter: brightness(.55); }
.boxsvg .brc { fill: var(--veg, #3f7a3a); } .boxsvg .brc2 { fill: var(--veg, #4f8f46); filter: brightness(1.15); } .boxsvg .stem { fill: #7ea65c; } .boxsvg .car { fill: #e58a2b; }
.hero .boxsvg .f-prot { animation: pop .8s var(--spring) .55s forwards; }
.hero .boxsvg .f-side { animation: pop .8s var(--spring) .85s forwards; }
.hero .boxsvg .f-veg { animation: pop .8s var(--spring) 1.15s forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: none; } }

/* ---------- faixa de pratos ---------- */
.marquee { overflow: hidden; background: var(--forest); color: var(--linen); padding: 14px 0; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 0; animation: marquee 48s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: 21px; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: ''; width: 9px; height: 9px; background: var(--sun); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.sec { padding: clamp(54px, 9vw, 104px) 0; }
.sec.alt { background: var(--linen-2); }
.sec.dark { background: var(--forest); color: var(--linen); }
.sec.dark h2, .sec.dark h3 { color: var(--linen); }
.sec-head { max-width: 40em; margin-bottom: clamp(26px, 5vw, 48px); }
.sec-head p { font-size: 19px; color: var(--ink-2); }

.trust { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); padding: 26px 0; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
.trust div { display: flex; align-items: center; gap: 14px; }
.trust svg { width: 38px; height: 38px; flex: none; color: var(--tomato); }
.trust b { display: block; font-weight: 600; }
.trust span { font-size: 15px; color: var(--ink-2); }

/* como montar */
.how { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .how { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 70px; align-items: start; } }
.how-art { position: sticky; top: 78px; z-index: 5; background: var(--forest); border-radius: var(--r-lg); padding: 22px; }
.how-art .cap { margin: 12px 0 0; text-align: center; color: var(--sun-soft); font-weight: 500; min-height: 1.5em; }
@media (max-width: 899px) { .how-art { padding: 12px; } .how-art .boxsvg { max-height: 150px; } .how-art .cap { margin-top: 4px; font-size: 14px; } }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 26px 0; border-top: 1.5px solid var(--line); transition: opacity .4s; }
.js .step { opacity: .45; }
.js .step.active { opacity: 1; }
@media (min-width: 900px) { .step { padding: 44px 0; } }
.step .n { font-family: var(--f-display); font-size: 54px; line-height: .9; color: var(--tomato); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r-pill); padding: 4px 14px; font-size: 15px; }
.how-note { margin-top: 8px; padding: 14px 18px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }

/* cardápio */
.menu-block + .menu-block { margin-top: clamp(40px, 7vw, 72px); }
.menu-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.price-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.pill { background: var(--forest); color: var(--linen); padding: 5px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; }
.pill small { font-weight: 400; opacity: .85; }
.grp-title { font-family: var(--f-display); font-size: 21px; color: var(--forest); margin: 26px 0 12px; }
.ing-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .ing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.ing { margin: 0; }
.ph { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--c, #9c4a2a); display: grid; place-items: center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ph .mono { font-family: var(--f-display); font-size: clamp(38px, 7vw, 56px); color: rgba(255, 255, 255, .92); text-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ing:hover .ph { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(31, 61, 43, .55); }
.ing:hover .ph img { transform: scale(1.07); }
.ing figcaption { margin-top: 9px; font-weight: 500; line-height: 1.25; }
.ing figcaption small { display: block; color: var(--tomato); font-weight: 600; font-size: 14px; }
.dishes { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; } }
.dish { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-md); transition: background .25s; }
.dish:hover { background: var(--paper); }
.dish .ph { width: 76px; border-radius: 14px; }
.dish .ph .mono { font-size: 28px; }
.dish b { display: block; font-weight: 600; line-height: 1.2; }
.dish span { font-size: 14px; color: var(--ink-2); }
.dish .pr { font-family: var(--f-display); font-size: 20px; color: var(--forest); text-align: right; white-space: nowrap; }
.dish .pr small { display: inline; margin-left: 5px; font-family: var(--f-body); font-size: 12px; color: var(--ink-3); }

/* galeria */
.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 16px; } }
.gallery img { width: 100%; height: auto; border-radius: 18px; margin: 0 0 12px; break-inside: avoid; transition: transform .6s var(--ease); }
.gallery img:hover { transform: scale(1.02); }

/* retirada e entrega */
.local { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .local { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.local article { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 34px); box-shadow: inset 0 0 0 1.5px var(--line); }
.local h3 { margin-bottom: 8px; }
.contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* perguntas */
.faq { border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-family: var(--f-display); font-size: clamp(19px, 3vw, 24px); color: var(--forest); display: flex; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-family: var(--f-body); font-size: 30px; line-height: 1; color: var(--tomato); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 4px 22px; color: var(--ink-2); max-width: 46em; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* chamada final */
.final { text-align: center; }
.final h2 { margin-bottom: 14px; }
.final p { color: rgba(245, 240, 230, .85); font-size: 19px; margin-bottom: 26px; }

/* rodapé */
.foot { background: var(--ink); color: #d8d2c3; padding: 36px 0 44px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.foot .brand { color: var(--linen); }
.foot a { color: #d8d2c3; }
.foot .sp { margin-left: auto; }

/* ---------- revelar ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   Formulários e montagem do pedido
   ========================================================================== */
.page { padding: 26px 0 40px; }
.page h1 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 16px; }
.card { background: var(--paper); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1.5px var(--line); padding: clamp(18px, 3.4vw, 28px); margin: 0 0 18px; }
.card > h2 { font-size: clamp(22px, 3.4vw, 28px); margin-bottom: 12px; }
.card > h3 { margin-bottom: 8px; }
label.field, div.field { display: block; margin: 0 0 14px; }
label.field > span, .lbl { display: block; font-weight: 600; margin: 0 0 6px; font-size: 16px; }
input[type=text], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 52px; padding: 10px 14px; background: #fff; border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(26, 26, 23, .22);
  transition: box-shadow .2s;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--forest), 0 0 0 4px rgba(31, 61, 43, .15); }
.hint { font-size: 15px; color: var(--ink-3); margin: 6px 0 0; }
.err { color: var(--bad); font-weight: 600; min-height: 1.4em; margin: 8px 0 0; }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--linen-2); }
.seg button { flex: 1; border: 0; background: transparent; padding: 12px 10px; min-height: 48px; font-weight: 600; border-radius: var(--r-pill); color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed=true] { background: var(--forest); color: var(--linen); box-shadow: 0 6px 14px -8px rgba(31, 61, 43, .7); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 48px; padding: 8px 18px; border-radius: var(--r-pill); background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px rgba(26, 26, 23, .2); font-weight: 500; text-align: left; line-height: 1.2; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.chip:active { transform: scale(.97); }
.chip small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-3); }
.chip[aria-pressed=true] { background: var(--forest); color: var(--linen); box-shadow: none; }
.chip[aria-pressed=true] small { color: var(--sun-soft); }
.acc { border-radius: var(--r-md); margin: 0 0 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; transition: box-shadow .25s; }
.acc.open { box-shadow: inset 0 0 0 2px var(--forest); }
.acc-h { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: transparent; border: 0; font-weight: 600; font-size: 18px; text-align: left; }
.acc-h::after { content: '+'; font-size: 26px; line-height: 1; color: var(--tomato); transition: transform .3s var(--ease); order: 3; }
.acc.open .acc-h::after { transform: rotate(45deg); }
.acc-h small { margin-left: auto; font-weight: 500; color: var(--ink-3); font-size: 14px; }
.acc.open .acc-h { background: var(--sun-soft); }
.acc-b { padding: 14px 16px 16px; animation: fade .35s var(--ease); }
.stepper { display: inline-flex; align-items: center; background: var(--linen-2); border-radius: var(--r-pill); padding: 4px; }
.stepper button { width: 46px; height: 46px; border: 0; background: #fff; border-radius: 50%; font-size: 24px; font-weight: 600; color: var(--forest); transition: transform .2s var(--spring); }
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 44px; text-align: center; font-weight: 700; font-size: 20px; }
.days { display: grid; gap: 10px; }
.day { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; width: 100%; transition: box-shadow .2s, background .2s; }
.day:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.day[aria-pressed=true] { background: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--forest); }
.day b { font-family: var(--f-display); font-weight: 400; font-size: 21px; color: var(--forest); }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); margin: 0 0 10px; animation: fade .4s var(--ease); }
.line .tx { overflow-wrap: anywhere; font-weight: 500; }
.line .pv { font-family: var(--f-display); font-size: 20px; color: var(--forest); white-space: nowrap; }
.line .acts { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; padding-top: 8px; border-top: 1.5px dashed var(--line); }
.box { padding: 16px 18px; border-radius: var(--r-md); background: var(--sun-soft); margin: 0 0 16px; }
.okbox { padding: 14px 18px; background: #e3eddc; border-radius: var(--r-md); margin: 0 0 14px; color: #1d3d28; }
.warn { padding: 14px 18px; background: var(--sun-soft); border-radius: var(--r-md); margin: 0 0 14px; font-weight: 500; }
.empty { text-align: center; padding: 28px 16px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); margin: 0 0 18px; }
.stat { display: inline-block; padding: 3px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; background: var(--sun-soft); color: var(--forest); white-space: nowrap; }
.stat.ok { background: #d7e8cf; color: #1d3d28; }
.stat.no { background: #f6d6d0; color: #7a1d10; }
.price-row { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1.5px dashed var(--line); }
.price-row .n { flex: 1; min-width: 0; }
.price-row b { font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--forest); white-space: nowrap; }

/* barra do pedido */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; background: var(--forest); color: var(--linen); border-radius: var(--r-pill); padding: 8px 8px 8px 24px; box-shadow: 0 18px 34px -14px rgba(31, 61, 43, .8); max-width: 640px; margin: 0 auto; animation: rise .6s var(--spring); }
.cartbar .in { display: flex; align-items: center; gap: 14px; }
.cartbar b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--sun); line-height: 1.05; }
.cartbar .small { color: rgba(245, 240, 230, .85); line-height: 1.1; }
.cartbar .btn { margin-left: auto; background: var(--tomato); }
.pad-bottom { height: 100px; }
.loading { padding: 60px 0; text-align: center; font-family: var(--f-display); font-size: 24px; color: var(--forest); }
.toasts { position: fixed; left: 0; right: 0; bottom: 104px; display: grid; justify-items: center; gap: 8px; z-index: 100; pointer-events: none; padding: 0 14px; }
.toast { background: var(--ink); color: var(--linen); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 500; max-width: 480px; animation: rise .4s var(--spring); }
.toast.bad { background: #7a1d10; }
.priv h3 { margin: 22px 0 6px; }
.priv ul { margin: 0 0 12px; padding-left: 22px; }
.grid2 { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .rise, .js .step { opacity: 1 !important; transform: none !important; }
  .boxsvg .f { opacity: 1; transform: none; }
  .marquee .track { animation: none; }
}


/* ==========================================================================
   Montagem do pedido em passos
   ========================================================================== */
.wrap.page.pedir { width: min(1060px, 100% - 32px); }
.pedir h1 { margin-bottom: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 15px; color: var(--ink-2); }
.builder { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.live { order: -1; display: flex; gap: 14px; align-items: center; background: var(--forest); color: var(--linen); border-radius: var(--r-lg); padding: 10px 16px 10px 10px; position: sticky; top: calc(var(--head) + 4px); z-index: 6; box-shadow: 0 14px 26px -18px rgba(31, 61, 43, .8); }
.live-box { width: 118px; flex: none; }
.live-info { min-width: 0; }
.live-price { font-family: var(--f-display); font-size: 30px; color: var(--sun); line-height: 1; }
.live-names { margin: 6px 0 0; font-size: 14px; line-height: 1.3; color: var(--linen); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-sub { margin: 3px 0 0; font-size: 13px; color: var(--sun-soft); }
@media (min-width: 900px) {
  .builder { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
  .live { order: 0; flex-direction: column; align-items: stretch; padding: 24px; top: 84px; }
  .live-box { width: 100%; }
  .live-price { font-size: 42px; }
  .live-names { font-size: 16px; -webkit-line-clamp: 5; }
}
.wiz .prog { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.bar { flex: 1; height: 6px; border-radius: 99px; background: var(--linen-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--tomato); transform-origin: left; transition: transform .5s var(--ease); border-radius: 99px; }
.panel { animation: fade .4s var(--ease); }
.panel h2 { margin-bottom: 6px; outline: none; }
.panel > p.muted { margin-bottom: 18px; }
.opts { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .opts:not(.two) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opt { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 18px; border-radius: var(--r-md); background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.opt b { font-family: var(--f-display); font-weight: 400; font-size: 25px; color: var(--forest); line-height: 1.1; }
.opt span { font-size: 15px; color: var(--ink-2); }
.opt em { font-style: normal; font-weight: 600; color: var(--tomato); margin-top: 6px; }
.opt:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--forest); }
.opt[aria-pressed=true] { background: var(--forest); box-shadow: none; }
.opt[aria-pressed=true] b, .opt[aria-pressed=true] span { color: var(--linen); }
.opt[aria-pressed=true] em { color: var(--sun); }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; display: flex; flex-direction: column; text-align: left; background: transparent; border: 0; padding: 0; gap: 8px; }
.tile .ph { transition: transform .35s var(--spring), box-shadow .3s; }
.tile:hover .ph { transform: translateY(-3px); }
.tile[aria-pressed=true] .ph { box-shadow: 0 0 0 4px var(--forest); transform: scale(.95); }
.tile .tn { font-weight: 600; line-height: 1.2; }
.tile small { color: var(--tomato); font-weight: 600; margin-top: -4px; }
.tick { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--spring); }
.tick svg { width: 18px; height: 18px; }
.tile[aria-pressed=true] .tick { transform: scale(1); }
.wiznav { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; max-width: 700px; margin: 0 auto; background: var(--forest); border-radius: var(--r-pill); padding: 8px; box-shadow: 0 18px 34px -14px rgba(31, 61, 43, .8); animation: rise .5s var(--spring); }
.wiznav .in { display: flex; align-items: center; gap: 10px; }
.wiznav .btn.ghost { color: var(--linen); }
.wiznav .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.wiznav .wp { margin-left: auto; font-family: var(--f-display); font-size: 22px; color: var(--sun); padding: 0 8px; }
.wiznav .btn:not(.ghost) { background: var(--sun); color: var(--forest); }
.wiznav .btn.tomato { background: var(--tomato); color: #fff; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px; margin-bottom: 14px; border-top: 1.5px solid var(--line); font-size: 18px; }
.total-line b { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--forest); }
.pedir .cta-row { margin: 6px 0 12px; }
.pedir .box { margin-bottom: 14px; }
