/* =========================================================
   CHEFE WILLIAM (Will Pizzas) — estilo
   Conceito: "a comanda da padaria". Base clara de farinha,
   grafite para contraste, tomate só nas ações e no preço,
   manjericão nos detalhes. Mobile-first.
   ========================================================= */

/* Fontes locais (sem Google): Archivo nos títulos, Figtree no texto, DM Mono na comanda, Lobster no logo */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 700 900; font-stretch: 112% 125%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lobster"; src: url("../fonts/lobster.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* Cores */
  --flour: #fbf8f3;      /* fundo principal */
  --mozz: #f3eadb;       /* seções creme */
  --paper: #fffdf9;      /* cards e comanda */
  --graphite: #1f1b17;   /* textos fortes e seções escuras */
  --graphite-2: #2c2620;
  --ink: #3a332c;        /* texto corrido */
  --muted: #7b6f63;
  --line: #e6dccd;
  --tomato: #ce2b37;     /* ação principal: o vermelho da bandeira da farda */
  --tomato-dark: #a8202b;
  --crust: #e2a33b;      /* destaque quente */
  --basil: #2f6b3a;      /* detalhes e confirmação */
  --basil-soft: #e4efe2;
  --whats: #1e8e4e;
  /* tricolor do bordado da farda (chapéu e dólmã do Chefe William) */
  --it-green: #1f8a4c;
  --it-red: #ce2b37;

  /* Tipografia */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Lobster", "Brush Script MT", cursive;  /* logo, parecida com o bordado da farda */
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Escala */
  --fs-h1: clamp(1.7rem, 8vw, 3.5rem);  /* cabe "para vender, servir" numa linha só */
  --fs-h2: clamp(1.65rem, 4.4vw, 3rem);
  --fs-h3: 1.15rem;

  /* Espaços e formas */
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31, 27, 23, .05), 0 8px 24px rgba(31, 27, 23, .07);
  --shadow-lift: 0 2px 4px rgba(31, 27, 23, .06), 0 18px 40px rgba(31, 27, 23, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--tomato) var(--flour); }
/* Barra de rolagem na cor do site (reserva pra navegador sem scrollbar-color) */
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--flour); }
  ::-webkit-scrollbar-thumb { background: var(--tomato); border-radius: 99px; border: 2px solid var(--flour); }
}
body {
  margin: 0;
  background: var(--flour);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; color: var(--graphite); text-wrap: balance; }
h1, h2 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.02em;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--graphite); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.sprite { position: absolute; }
:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; margin-top: 40px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--tomato);
}
.tag::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.tag--light { color: var(--crust); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--tomato); color: #fff; box-shadow: 0 8px 20px rgba(206, 43, 55, .25); }
.btn--primary:hover { background: var(--tomato-dark); box-shadow: 0 12px 26px rgba(206, 43, 55, .32); }
.btn--ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--ghost:hover { background: var(--graphite); color: var(--flour); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: #17783f; }
.btn[aria-disabled="true"] { background: #cfc6b9; color: #fff; box-shadow: none; cursor: not-allowed; transform: none; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(31, 27, 23, .06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* marca: o brotinho de chapéu da logo */
.brand__mark { width: 46px; height: 46px; flex: none; margin-block: -6px; }
.brand__name {
  font-family: var(--font-script); font-weight: 400;
  font-size: 1.6rem; color: var(--graphite); line-height: 1; padding-bottom: 2px;
}
.brand__name span { color: var(--tomato); }
/* bandeirinha da Itália, igual ao bordado da farda */
.brand__flag, .tricolor { background: linear-gradient(90deg, var(--it-green) 0 33.33%, #fff 33.33% 66.66%, var(--it-red) 66.66%); }
.brand__flag { width: 20px; height: 13px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(31, 27, 23, .3); }
.tricolor { display: block; width: 48px; height: 7px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(31, 27, 23, .3); }
.brand--light .brand__name { color: var(--flour); }
.brand--light .brand__name span { color: var(--crust); }

.nav__links { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer;
}
.nav__toggle span:not(.sr-only) { display: block; height: 2px; background: var(--graphite); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu aberto no celular */
.nav__links.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 12px var(--gutter) 20px;
  background: var(--flour); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(31, 27, 23, .1);
  animation: drop .25s var(--ease);
}
.nav__links.is-open a:not(.btn) { padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__links.is-open .nav__cta { margin-top: 12px; min-height: 52px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 960px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: 28px; }
  .nav__links a:not(.btn) { font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); position: relative; }
  .nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--tomato); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__links a:not(.btn):hover::after { transform: scaleX(1); }
}

/* ---------- 1. Hero ---------- */
.hero { padding-block: 32px 64px; position: relative; overflow: hidden; }
.hero::before {
  /* textura sutil de farinha */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 27, 23, .045) 1px, transparent 1.2px);
  background-size: 14px 14px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__grid { display: grid; gap: 40px; position: relative; }
.hero__copy { min-width: 0; }
.hero__title { font-size: var(--fs-h1); margin: 18px 0 20px; }
/* título em 3 linhas fixas, pra nunca sobrar palavra sozinha */
.hero__title span { display: block; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 34ch; color: var(--ink); text-wrap: balance; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.hero__tiers {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  overflow: hidden;
}
.hero__tiers li { padding: 12px 10px; text-align: center; border-left: 1px dashed var(--line); }
.hero__tiers li:first-child { border-left: 0; }
.hero__tiers strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(1rem, 3.6vw, 1.25rem); color: var(--graphite); font-variant-numeric: tabular-nums; }
.hero__tiers span { font-size: .78rem; color: var(--muted); }
.hero__tiers li:last-child strong { color: var(--tomato); }

.hero__visual { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.hero__photo { margin: 0; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--graphite); }
/* foto inteira, no formato original (3:4), pra pizza de baixo aparecer toda */
.hero__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero__broto { position: absolute; width: 30%; max-width: 140px; aspect-ratio: 1; filter: drop-shadow(0 12px 18px rgba(31, 27, 23, .3)); }
.hero__broto--a { left: -6%; top: 34%; }
.hero__broto--b { right: -5%; top: 8%; width: 24%; }
.hero__tag {
  /* no canto vazio fora do arco da foto, longe do rosto e do chapéu */
  position: absolute; left: -10px; top: -8px; margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px; border-radius: 999px;
  background: var(--paper); box-shadow: var(--shadow-lift);
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--graphite); white-space: nowrap; transform: rotate(-8deg);
}
.hero__tag .tricolor { width: 22px; height: 14px; }

@media (min-width: 560px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero { padding-block: 56px 96px; }
  .hero__grid { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 64px; }
  .hero__title { font-size: min(3.5rem, 4.7vw); }
  .hero__visual { justify-self: end; }
}

/* ---------- Seções ---------- */
.section { padding-block: 72px; }
.section--cream { background: var(--mozz); }
.section--dark { background: var(--graphite); color: #d8cfc3; }
.section--dark h2, .section--dark h3 { color: var(--flour); }
.section__head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.section__head--split { max-width: none; }
.section__head--split > p { max-width: 40ch; color: var(--muted); }
@media (min-width: 860px) {
  .section { padding-block: 104px; }
  .section__head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); align-items: end; gap: 40px; }
}

/* ---------- 2. Como funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  position: relative; padding: 22px 22px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.step__num { font-family: var(--font-mono); font-size: .9rem; color: var(--tomato); display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .step { border-radius: 0; border-left-width: 0; }
  .step:first-child { border-left-width: 1px; border-radius: var(--radius) 0 0 var(--radius); }
  .step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .step:not(:last-child)::after {
    /* setinha ligando os passos */
    content: ""; position: absolute; right: -9px; top: 26px; width: 16px; height: 16px; z-index: 1;
    background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line);
    transform: rotate(45deg);
  }
}

/* ---------- 3. Sabores ---------- */
.flavors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.flavor {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); padding: 12px 12px 14px;
  box-shadow: var(--shadow); border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.flavor:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.flavor__media { position: relative; border-radius: 14px; background: radial-gradient(circle at 50% 45%, #f6eee1, #eadcc6); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.flavor__media canvas, .flavor__media img { width: 86%; aspect-ratio: 1; transition: transform .5s var(--ease); }
.flavor__media img { width: 100%; height: 100%; object-fit: cover; }
.flavor:hover .flavor__media canvas { transform: rotate(14deg) scale(1.04); }
.flavor:hover .flavor__media img { transform: scale(1.06); }
.flavors__note { margin-top: 14px; font-size: .8rem; color: var(--ink); text-align: right; }
.flavor__body { display: flex; flex-direction: column; flex: 1; padding: 12px 4px 0; }
.flavor__body h3 { font-size: .92rem; letter-spacing: -.01em; }
.flavor__body p { font-size: .86rem; color: var(--muted); margin: 4px 0 4px; flex: 1; line-height: 1.45; }
@media (min-width: 720px) {
  .flavors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .flavor { padding: 14px 14px 18px; }
  .flavor__body h3 { font-size: 1.15rem; }
  .flavor__body p { font-size: .92rem; }
}

/* ---------- 4. Calculadora ---------- */
.calc__grid { display: grid; gap: 24px; align-items: start; }
.calc__list { display: grid; gap: 10px; min-width: 0; }

.row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; align-items: center;
  padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .25s, background-color .25s;
}
.row.is-in { border-color: var(--basil); background: #fbfdf9; }
.row canvas, .row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.row__name { font-weight: 700; color: var(--graphite); line-height: 1.25; }
.row__controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.row__controls .stepper { margin-right: auto; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--flour); }
.stepper button {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.35rem; line-height: 1; color: var(--graphite); border-radius: 50%;
  transition: background-color .2s;
}
.stepper button:hover { background: var(--mozz); }
.stepper input {
  width: 52px; height: 44px; border: 0; background: transparent; text-align: center;
  font: 500 1.05rem var(--font-mono); color: var(--graphite);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quick { min-height: 44px; padding: 0 14px; border: 1px dashed var(--line); border-radius: 999px; background: transparent; cursor: pointer; font: 500 .85rem var(--font-mono); color: var(--ink); transition: border-color .2s, color .2s; }
.quick:hover { border-color: var(--tomato); color: var(--tomato); }

@media (min-width: 560px) {
  .row { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .row canvas, .row img { width: 52px; height: 52px; }
  .row__controls { grid-column: auto; }
  .row__controls .stepper { margin-right: 4px; }
}

/* Comanda */
.ticket {
  position: relative; background: var(--paper);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 20px 26px; box-shadow: var(--shadow-lift);
  font-family: var(--font-mono); color: var(--graphite);
  margin-bottom: 14px;
}
.ticket::after {
  /* borda picotada embaixo */
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: radial-gradient(circle at 10px 0, var(--paper) 9px, transparent 9.5px) 0 0 / 20px 12px repeat-x;
}
.ticket__head { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.ticket__lines { list-style: none; margin: 0; padding: 12px 0; min-height: 64px; border-bottom: 1px dashed var(--line); }
.ticket__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .92rem; animation: lineIn .3s var(--ease); }
.ticket__lines li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ticket__lines .empty { color: var(--muted); font-family: var(--font-body); font-size: .92rem; animation: none; }
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } }

/* Régua de desconto */
.ticket__ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.tier { position: relative; padding: 10px 6px 8px; border-radius: 10px; background: var(--flour); text-align: center; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, color .3s; }
.tier small { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.tier b { font-weight: 500; font-size: .95rem; font-variant-numeric: tabular-nums; }
.tier.is-active { background: var(--graphite); border-color: var(--graphite); color: var(--flour); }
.tier.is-active small { color: #cbbfb1; }
.tier.is-done { background: var(--basil-soft); border-color: #cfe0cc; }
.ticket__progress { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 4px; }
.ticket__progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--crust), var(--tomato)); border-radius: 3px; transition: width .45s var(--ease); }
.ticket__hint { font-family: var(--font-body); font-size: .9rem; margin: 10px 0 4px; min-height: 1.5em; color: var(--ink); }
.ticket__hint strong { color: var(--tomato); }
.ticket__hint.is-best strong { color: var(--basil); }

.ticket__totals { margin: 12px 0 18px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ticket__totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
.ticket__totals dt { font-size: .82rem; color: var(--muted); }
.ticket__totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.ticket__grand { margin-top: 6px; padding-top: 10px !important; border-top: 2px solid var(--graphite); }
.ticket__grand dt { font-size: .9rem; color: var(--graphite); font-weight: 500; white-space: nowrap; }
.ticket__grand dd { font-family: var(--font-display); font-stretch: 112%; font-weight: 900; font-size: clamp(1.5rem, 6.4vw, 2.4rem); color: var(--tomato); line-height: 1; white-space: nowrap; }
.ticket__grand dd.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--basil); } }

/* "Enviar pedido pelo WhatsApp" numa linha só, mesmo no celular estreito */
.ticket .btn--lg { padding-inline: 12px; font-size: clamp(.86rem, 4.1vw, 1.05rem); white-space: nowrap; }
.ticket__clear { display: block; margin: 12px auto 0; background: none; border: 0; padding: 8px; color: var(--muted); font: 500 .85rem var(--font-body); text-decoration: underline; cursor: pointer; }
.ticket__note { font-family: var(--font-body); font-size: .78rem; color: var(--muted); text-align: center; margin-top: 4px; }

@media (min-width: 960px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .ticket { position: sticky; top: 92px; padding: 26px 26px 30px; }
}

/* ---------- 5. Por que comprar ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.benefit { padding: 26px 24px; background: var(--graphite); transition: background-color .3s; }
.benefit:hover { background: var(--graphite-2); }
.benefit__icon { width: 30px; height: 30px; color: var(--crust); margin-bottom: 16px; }
.benefit h3 { margin-bottom: 6px; }
.benefit p { font-size: .95rem; color: #b9ad9f; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } .benefit { padding: 34px 30px; } }

/* ---------- 6. Para quem é ---------- */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.audience__item {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s;
}
.audience__item:hover { transform: translateY(-3px); border-color: var(--crust); }
.audience__item svg { width: 34px; height: 34px; color: var(--tomato); margin-bottom: 10px; }
.audience__item span { font-weight: 700; color: var(--graphite); font-size: 1.02rem; line-height: 1.25; }
.audience__item small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
@media (min-width: 860px) { .audience { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .audience__item { padding: 26px 24px; } }

/* ---------- 7. Sobre ---------- */
.about { display: grid; gap: 40px; align-items: center; }
.about__photo { position: relative; margin: 0 0 40px; }
.about__photo > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% center; border-radius: var(--radius); }
.about__portrait {
  position: absolute; left: 16px; bottom: -40px; width: 38%; max-width: 190px;
  aspect-ratio: 1; object-fit: cover; object-position: center 18%;
  border-radius: 50%; border: 6px solid var(--mozz); box-shadow: var(--shadow-lift);
}
.about__copy { min-width: 0; }
.about__copy h2 { margin: 14px 0 18px; font-size: clamp(1.65rem, 4vw, 3rem); }
.about__lead { font-size: 1.12rem; max-width: 56ch; color: var(--ink); }
.about__facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.about__facts li { display: flex; flex-direction: column; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); }
.about__facts strong { font-family: var(--font-display); font-stretch: 115%; font-size: 1.15rem; color: var(--graphite); }
.about__facts span { font-size: .9rem; color: var(--muted); }
@media (min-width: 640px) { .about__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .about { grid-template-columns: .95fr 1.05fr; gap: 72px; }
  .about__photo { margin-bottom: 0; }
  /* na coluna estreita os 3 fatos ficam um embaixo do outro ("Sob encomenda" quebrava em duas linhas) */
  .about__facts { grid-template-columns: 1fr; }
  .about__facts li { flex-direction: row; align-items: baseline; gap: 12px; }
}

/* ---------- 8. FAQ ---------- */
.faq { max-width: 860px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s; }
.faq details[open] { border-color: var(--graphite); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; color: var(--graphite); min-height: 56px; text-wrap: balance;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--font-mono); color: var(--tomato); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink); max-width: 64ch; }
.faq details a { color: var(--tomato); }

/* ---------- 9. CTA final ---------- */
.final {
  background: var(--tomato); color: #fff; text-align: center; padding-block: 80px;
  position: relative; overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: radial-gradient(circle, #fff 2px, transparent 2.5px);
  background-size: 28px 28px;
}
.final__inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.final h2 { color: #fff; max-width: 20ch; font-size: clamp(1.7rem, 4.6vw, 3rem); }
.final p { max-width: 46ch; color: #ffe3da; font-size: 1.08rem; }
.final .btn--primary { background: var(--graphite); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); margin-top: 8px; }
.final .btn--primary:hover { background: #000; }
@media (min-width: 860px) { .final { padding-block: 112px; } }

/* ---------- 10. Footer ---------- */
.footer { position: relative; background: var(--graphite); color: #b9ad9f; padding-block: 56px calc(96px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--it-green) 0 33.33%, #fff 33.33% 66.66%, var(--it-red) 66.66%); }
.footer__grid { display: grid; gap: 32px; }
.footer__grid > div p { margin-top: 12px; max-width: 32ch; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer__list li { display: flex; flex-direction: column; }
.footer__list li > span:first-child { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8e8275; }
.footer__list a, .footer__list li > span:last-child { color: var(--flour); text-decoration: none; overflow-wrap: anywhere; }
.footer__list a:hover { color: var(--crust); }
.footer__bottom a { color: var(--flour); text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--crust); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (min-width: 760px) {
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .footer__grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .footer__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Barra do pedido (celular) ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: var(--graphite); color: var(--flour); text-decoration: none;
  box-shadow: 0 14px 30px rgba(31, 27, 23, .35);
  animation: barIn .35s var(--ease);
}
.mbar__info { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-mono); }
.mbar__info strong { font-weight: 500; font-size: .8rem; color: #cbbfb1; }
.mbar__info span { font-size: 1.1rem; color: #fff; font-variant-numeric: tabular-nums; }
.mbar__cta { background: var(--tomato); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
@keyframes barIn { from { transform: translateY(120%); } }
@media (min-width: 960px) { .mbar { display: none !important; } }

/* ---------- WhatsApp flutuante ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); color: #fff; box-shadow: 0 12px 26px rgba(30, 142, 78, .4);
  transition: transform .25s var(--ease), opacity .25s;
}
.fab svg { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.06); }
body.has-order .fab { opacity: 0; pointer-events: none; transform: scale(.6); }
@media (min-width: 960px) { body.has-order .fab { opacity: 1; pointer-events: auto; transform: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: calc(80px + env(safe-area-inset-top, 0px)); z-index: 70;
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--graphite); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lift); white-space: nowrap;
  transition: opacity .25s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Preloader ---------- */
/* As entradas (topo e revelações no scroll) são do GSAP, em js/main.js. */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--flour); }
.preloader::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(31, 27, 23, .05) 1px, transparent 1.2px); background-size: 14px 14px;
}
.preloader__palco { position: relative; display: grid; justify-items: center; gap: 26px; }
.preloader__logo { width: min(300px, 72vw); height: auto; }
.preloader__barra { width: 150px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.preloader__barra span { display: block; height: 100%; background: linear-gradient(90deg, var(--crust), var(--tomato)); transform-origin: left; transform: scaleX(0); }
.carregado .preloader { display: none; }
/* Garantia: se o js/main.js não carregar, o preloader sai sozinho em 8 s */
.preloader { animation: preloader-saida 0s linear 8s forwards; }
@keyframes preloader-saida { to { visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* o preloader continua saindo sozinho se o JavaScript falhar */
  .preloader { animation: preloader-saida 0s linear 8s forwards !important; }
}
