/* =========================================================
   Chef Renata Zamith — estilos
   Paleta: carvão quente + dourado champanhe + creme
   Para trocar a identidade visual, edite apenas :root
   ========================================================= */
:root {
  --bg: #0d0b09;
  --bg-alt: #13100d;
  --surface: #1a1612;
  --surface-2: #221d17;
  --line: rgba(243, 236, 226, .10);
  --line-strong: rgba(243, 236, 226, .2);

  --text: #f3ece2;
  --muted: #b5a998;
  --faint: #8a7f71;

  --gold: #c9a46a;
  --gold-2: #e2c48f;
  --gold-ink: #1a140c;
  --wa: #25d366;
  --wa-ink: #062b14;
  --danger: #e5947d;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 68px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll, body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--gold-ink); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.center { text-align: center; }
.mt { margin-top: 40px; }
.mt-sm { margin-top: 12px; }
.muted { color: var(--muted); }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section__head--center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.h-display { font-family: var(--serif); font-size: clamp(42px, 8vw, 88px); line-height: 1; letter-spacing: -.01em; }
.h-section { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); letter-spacing: -.005em; }
.h-display em, .h-section em { font-style: italic; color: var(--gold-2); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 60ch; margin-top: 18px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--wa { background: var(--wa); color: var(--wa-ink); font-weight: 600; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .6); }
.btn--wa:hover { background: #3be07a; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(13, 11, 9, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--outline { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--gold-ink); }
.link-btn { background: none; border: 0; color: var(--faint); text-decoration: underline; font-size: 14px; padding: 8px; margin-inline: auto; display: block; }
.link-btn:hover { color: var(--text); }

.badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--gold-ink); color: var(--gold-2); font-size: 12px; font-weight: 600;
  display: inline-grid; place-items: center;
}

/* ---------- Mídia + placeholder (quando a foto ainda não existe) ---------- */
.media {
  position: relative; overflow: hidden;
  /* fundo elegante enquanto a foto carrega (ou se ela ainda não existir) */
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(201, 164, 106, .22), transparent 60%),
    radial-gradient(90% 80% at 80% 90%, rgba(120, 60, 30, .35), transparent 60%),
    linear-gradient(160deg, #2a221a, #15110d);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.media.is-empty img { opacity: 0; }
.media.is-empty::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(243, 236, 226, .45);
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled, body.nav-open .topbar { background: rgba(13, 11, 9, .86); backdrop-filter: blur(14px); border-color: var(--line); }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-family: var(--serif); font-size: 26px; line-height: 1; display: flex; flex-direction: column; }
.brand small { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-size: 14px; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover { color: var(--text); }
.nav > a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; position: relative; z-index: 2; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--topbar-h) 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-family: var(--serif); font-size: 30px; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav .btn { margin-top: 28px; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--topbar-h) + 60px) 0 clamp(48px, 9vh, 96px); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 11, 9, .55) 0%, rgba(13, 11, 9, .15) 35%, rgba(13, 11, 9, .85) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13, 11, 9, .7), transparent 70%);
}
.hero__bg.is-empty::after { display: none; }
.hero__bg img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { position: relative; }
.hero .lead { color: #d7ccbd; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 640px; }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold-2); line-height: 1.1; }
.hero__proof span { font-size: 13px; color: var(--muted); }

@media (max-width: 560px) {
  .hero__ctas .btn { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__proof strong { font-size: 24px; }
  .hero__proof span { font-size: 12px; line-height: 1.35; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 11vw, 128px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* Animação de entrada (só com JS ativo) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__photo { position: relative; }
.about__photo .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.about__photo::before {
  content: ''; position: absolute; inset: -10px; border: 1px solid var(--gold); border-radius: calc(var(--radius) + 10px); opacity: .45; z-index: -1;
}
.about__text .muted { margin-top: 16px; max-width: 60ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 36px; }
.pillar { padding-top: 16px; border-top: 1px solid var(--line); }
.pillar h3 { font-family: var(--serif); font-size: 22px; color: var(--gold-2); margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 15px; }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.credentials li { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); }
.signature { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--gold); margin-top: 28px; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; width: calc(100% - 20px); margin-inline: auto; }
}
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Portfólio ---------- */
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.chip {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font-size: 14px; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.gallery__item { position: relative; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; background: none; text-align: left; }
.gallery__item .media { position: absolute; inset: 0; }
.gallery__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6n + 4) { grid-row: span 2; }
.gallery__cap {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px; font-size: 13px; color: var(--text); z-index: 1;
  background: linear-gradient(transparent, rgba(13, 11, 9, .9));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 8px; }
  .gallery__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
  .gallery__item:nth-child(6n + 4) { grid-row: span 1; }
  .gallery__cap { opacity: 1; transform: none; font-size: 12px; padding: 28px 10px 10px; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: var(--text); }
.lightbox::backdrop { background: rgba(8, 6, 5, .94); backdrop-filter: blur(6px); }
.lightbox__inner { position: relative; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); width: 100%; }
.lightbox .media { width: 100%; max-height: 76vh; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.lightbox .media img { object-fit: contain; background: #000; }
.lightbox figcaption { text-align: center; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(26, 22, 18, .8); font-size: 26px; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-close { top: 12px; right: 12px; font-size: 18px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 12px; translate: none; } }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; counter-reset: passo; }
.step { counter-increment: passo; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; }
.step::before { content: '0' counter(passo); font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; border: 0; border-radius: 0; background: none; padding: 16px 18px; }
  .step + .step { border-top: 1px solid var(--line); }
  .step::before { grid-row: span 2; font-size: 28px; margin: 0; }
}

/* ---------- Cardápio ---------- */
.tabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter);
  justify-content: safe center; scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; scroll-snap-align: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 14px; transition: all .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 500; }
.menu-panel__desc { text-align: center; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 20px; margin-bottom: 28px; }

.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dish {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s var(--ease);
}
.dish:hover { border-color: rgba(201, 164, 106, .4); transform: translateY(-3px); }
.dish:hover .dish__media img { transform: scale(1.04); }
.dish__media { aspect-ratio: 16 / 11; }
.dish__media .tag {
  position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(13, 11, 9, .78); color: var(--gold-2); backdrop-filter: blur(4px);
}
.dish__media .tag + .tag { left: auto; right: 12px; }
.dish__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish__top h3 { font-family: var(--serif); font-size: 24px; }
.dish__price { font-weight: 600; color: var(--gold-2); white-space: nowrap; }
.dish__desc { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.dish__unit { font-size: 13px; color: var(--faint); }
.dish__soldout { font-size: 13px; color: var(--faint); font-style: italic; }
.dish.is-off { opacity: .55; }
.dish.is-off:hover { transform: none; }

@media (max-width: 560px) {
  /* no celular: card horizontal compacto, mais itens por tela */
  .dishes { grid-template-columns: 1fr; gap: 12px; }
  .dish { flex-direction: row; }
  .dish__media { width: 112px; flex: none; aspect-ratio: auto; }
  .dish__media .tag { top: 8px; left: 8px; font-size: 9px; padding: 3px 7px; }
  .dish__media .tag + .tag { display: none; }
  .dish__media.is-empty::after { font-size: 14px; }
  .dish__body { padding: 14px; }
  .dish__top { flex-direction: column; gap: 2px; }
  .dish__top h3 { font-size: 20px; }
  .dish__desc { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dish__foot { margin-top: 10px; padding-top: 10px; }
}

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--gold); border-radius: 999px; height: 40px; }
.stepper button { width: 40px; height: 100%; border: 0; background: none; color: var(--gold-2); font-size: 20px; line-height: 1; border-radius: 999px; }
.stepper button:hover { background: rgba(201, 164, 106, .15); }
.stepper output { min-width: 24px; text-align: center; font-weight: 600; }
.stepper--sm { height: 34px; }
.stepper--sm button { width: 34px; font-size: 18px; }

.menu-note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 36px; max-width: 70ch; margin-inline: auto; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.service--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 164, 106, .1), var(--surface) 45%); }
.service__flag {
  position: absolute; top: -12px; left: 24px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  background: var(--gold); color: var(--gold-ink); padding: 4px 12px; border-radius: 999px;
}
.service h3 { font-family: var(--serif); font-size: 28px; }
.service__desc { color: var(--muted); font-size: 15px; margin-top: 10px; }
.service__list { margin: 20px 0 24px; display: grid; gap: 8px; flex: 1; }
.service__list li { font-size: 14px; padding-left: 24px; position: relative; }
.service__list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border: solid var(--gold); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.service__price { font-family: var(--serif); font-size: 32px; color: var(--gold-2); margin-bottom: 18px; line-height: 1.1; }
.service__price small { font-family: var(--sans); font-size: 12px; color: var(--faint); letter-spacing: .02em; }
.service__price small:first-child { display: block; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: .2em; font-size: 14px; }
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 14px 0 20px; flex: 1; }
.quote footer { font-size: 13px; color: var(--faint); }
@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ---------- Orçamento ---------- */
.quote-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-list { margin-top: 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.contact-list a:hover { color: var(--gold-2); }
.dot { width: 8px; height: 8px; margin: 0 6px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
@media (max-width: 860px) { .quote-wrap { grid-template-columns: 1fr; } }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; color: var(--muted); font-weight: 500; padding: 0; margin-bottom: 0; }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font-size: 16px; /* 16px evita zoom automático no iPhone */
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 106, .2); }
textarea.input { min-height: 110px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn { flex: 1 1 220px; }
.form__hint { font-size: 13px; color: var(--faint); text-align: center; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: grid; place-items: center; min-height: 40px; border-radius: 999px; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .2s; }
.segmented input:checked + span { background: var(--gold); color: var(--gold-ink); font-weight: 500; }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* ---------- Rodapé ---------- */
.footer { padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer .muted { max-width: 38ch; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-2); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Flutuantes ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--wa-ink);
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s var(--ease), bottom .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 41;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--gold); color: var(--gold-ink); font-size: 15px; box-shadow: var(--shadow);
  animation: slideUp .35s var(--ease);
}
.cart-bar__cta { font-weight: 600; }
@keyframes slideUp { from { transform: translateY(120%); } to { transform: none; } }
@media (max-width: 900px) {
  body.has-cart .cart-bar { display: flex; }
  body.has-cart .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.has-cart .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

.toast {
  position: fixed; left: 50%; top: calc(var(--topbar-h) + 12px); z-index: 70; translate: -50% -16px;
  padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* ---------- Drawer do carrinho ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(5, 4, 3, .7); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--bg-alt); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-size: 30px; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; font-size: 16px; }
.drawer__close:hover { border-color: var(--gold); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); }

.cart-list { display: grid; }
.cart-item { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.cart-item__meta { font-size: 13px; color: var(--faint); margin-top: 2px; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.cart-item__right strong { font-size: 15px; color: var(--gold-2); }
.cart-empty { text-align: center; padding: 48px 0; color: var(--muted); display: grid; gap: 18px; justify-items: center; }

.checkout { display: grid; gap: 16px; padding-top: 20px; }
.cart-summary { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.cart-summary strong { font-family: var(--serif); font-size: 30px; color: var(--text); font-weight: 500; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(229, 148, 125, .1); border: 1px solid rgba(229, 148, 125, .35); color: var(--danger); font-size: 14px; }

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
