/* Carla Reis Massas & Buffet — paleta tirada do logo e do cartão de contato */
:root {
  --paper: #FCF5E8;
  --cream: #F7EBD3;
  --sand: #EFDDBB;
  --brown: #4A2216;
  --ink: #2E1610;
  --muted: #6E4E3E;
  --wine: #5B1D16;
  --wine-deep: #3A120E;
  --terra: #A4452A;
  --heart: #B0302C;
  --gold: #E9C38A;
  --line: rgba(74, 34, 22, .16);

  --serif: "Gilda Display", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 18px 40px -22px rgba(58, 18, 14, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; color: var(--brown); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.script { font-family: var(--script); font-weight: 400; color: var(--terra); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.kicker {
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--wine { background: var(--wine); color: var(--paper); box-shadow: var(--shadow); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--ghost { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--ghost:hover { background: var(--brown); color: var(--paper); }
.btn--cream { background: var(--cream); color: var(--wine); }
.btn--cream:hover { background: #fff; }
.btn--full { width: 100%; }
.link { color: var(--wine); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 245, 232, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.topbar.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(58, 18, 14, .5); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { width: 128px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--brown); position: relative; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { background: var(--wine); color: var(--paper) !important; padding: 11px 20px; border-radius: 999px; }
.nav__cta:hover { background: var(--wine-deep); }
.menu-btn { display: none; }

/* Abertura */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -.01em; margin-bottom: 22px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__escolha { font: 400 1.3rem/1.2 var(--serif); color: var(--brown); margin: 28px 0 0; }
.hero__escolha + .hero__ctas { margin-top: 12px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.hero__tags li { font-size: .86rem; color: var(--brown); display: flex; align-items: center; gap: 8px; }
.hero__tags li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--heart); }
.hero__photo { position: relative; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 22% center;
  border-radius: 300px 300px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero__stamp {
  position: absolute; left: -22px; bottom: 36px;
  background: var(--paper); color: var(--brown);
  padding: 14px 22px 12px; border-radius: 999px;
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: var(--shadow); display: flex; align-items: baseline; gap: 8px;
}
.hero__stamp .script { font-size: 1.9rem; text-transform: none; letter-spacing: 0; line-height: .6; }

/* Faixa */
.ribbon { background: var(--wine); color: var(--cream); overflow: hidden; padding: 16px 0; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 40s linear infinite; }
.ribbon span { font: 400 1.25rem/1 var(--serif); padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.ribbon span::after { content: "♥"; color: var(--gold); font-size: .8rem; }
.ribbon span { gap: 26px; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Seções */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--cream); }
.section--wine { background: var(--wine-deep); color: #F3E3CB; }
.section--wine h2, .section--wine h3 { color: var(--paper); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section__head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head--left { text-align: left; margin: 0; }
.section--wine .section__head p { color: #E3CDB0; }

/* Massas */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.card__body { padding: 22px 22px 26px; }
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--muted); }
.card--sauce { background: var(--terra); border-color: transparent; justify-content: flex-end; min-height: 100%; }
.card--sauce .card__body { padding: 30px 26px 30px; }
.card--sauce h3, .card--sauce p { color: var(--paper); }
.card--sauce .link { color: var(--paper); display: inline-block; margin-top: 14px; }
.card .card__script { font-family: var(--script); font-size: 3.4rem; line-height: 1; color: var(--gold) !important; margin-bottom: 6px; }

.formats {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.formats__item { padding: 28px 26px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.formats__item + .formats__item { border-left: 1px solid var(--line); }
.formats__num { grid-row: span 2; font: 400 2.4rem/1 var(--serif); color: var(--terra); }
.formats__item h3 { font-size: 1.45rem; }
.formats__item p { color: var(--muted); font-size: .92rem; }

/* Buffet */
.buffet__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.events { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.events li { border: 1px solid rgba(233, 195, 138, .45); color: var(--gold); padding: 8px 16px; border-radius: 999px; font-size: .86rem; }
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(440px, 48vw, 600px); }
.gallery figure { overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery__a { grid-row: span 2; border-radius: 200px 200px var(--radius) var(--radius) !important; }

.includes {
  list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(233, 195, 138, .25);
}
.includes li { padding: 30px 24px 0 0; }
.includes li + li { padding-left: 24px; border-left: 1px solid rgba(233, 195, 138, .25); }
.includes h3 { font-size: 1.35rem; margin-bottom: 10px; }
.includes p { font-size: .92rem; color: #DCC4A6; }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 24px; }
.about__text h2 .script { font-size: 1.25em; display: inline-block; line-height: .8; }
.about__text > p { color: var(--muted); font-size: 1.04rem; }
.about__inset { margin-top: 30px; max-width: 360px; }
.about__inset img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }

/* Onde comprar */
.where { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.where__card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.where__card h3 { font-size: 1.9rem; margin-bottom: 12px; }
.where__card > p { color: var(--muted); }
.where__card--posto { background: var(--wine); border-color: transparent; color: #EAD5B8; display: flex; flex-direction: column; align-items: flex-start; }
.where__card--posto h3 { color: var(--paper); }
.where__card--posto > p { color: #E3CDB0; }
.where__label { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.where address { font-style: normal; margin: 6px 0 26px; padding-left: 16px; border-left: 2px solid var(--gold); color: var(--paper); }
.where__card--posto .btn { margin-top: auto; border-color: var(--cream); color: var(--cream); }
.where__card--posto .btn:hover { background: var(--cream); color: var(--wine); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; color: var(--muted); }
.steps li::before {
  content: counter(s); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--wine);
  font: 400 1.1rem/1 var(--serif);
}
.steps strong { color: var(--brown); font-weight: 500; }

/* Pedido */
.order { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.order__intro h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }
.order__intro > p { color: var(--muted); }
.order__photo { margin-top: 32px; }
.order__photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__switch { border: 0; padding: 0; margin: 0 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--cream); padding: 6px; border-radius: 999px; }
.form__switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form__switch label { position: relative; cursor: pointer; }
.form__switch input { position: absolute; opacity: 0; inset: 0; }
.form__switch span { display: block; text-align: center; padding: 12px 10px; border-radius: 999px; font-size: .9rem; color: var(--brown); transition: background .2s ease, color .2s ease; }
.form__switch input:checked + span { background: var(--wine); color: var(--paper); }
.form__switch input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field span { font-size: .84rem; font-weight: 500; color: var(--brown); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; min-height: 50px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(164, 69, 42, .15); }
.field input.is-invalid { border-color: var(--heart); }
.form__error { color: var(--heart); font-size: .88rem; margin: -4px 0 0; }

/* Dúvidas */
.faq { max-width: 860px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 400 1.3rem/1.3 var(--serif); color: var(--brown);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 300 1.7rem/1 var(--sans); color: var(--terra); transition: transform .25s ease;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); padding: 0 40px 24px 0; }
.faq__list a { color: var(--wine); }

/* Rodapé */
.footer { background: var(--wine-deep); color: #DCC4A6; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { max-width: 30em; font-size: .92rem; }
.footer__title { font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer__list a { text-decoration: none; overflow-wrap: anywhere; }
.footer__list a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(233, 195, 138, .2); margin-top: 48px; padding-top: 22px; font-size: .82rem; color: #B89A7E; }
.footer__bottom a { color: var(--gold); text-decoration: none; }

/* WhatsApp flutuante (acima do selo do Netlify) */
.wa-float {
  position: fixed; right: 20px; bottom: 24px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

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

/* Tablet */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .includes li:nth-child(3) { padding-left: 0; border-left: 0; }
  .buffet__grid { grid-template-columns: 1fr; }
}

/* Celular */
@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-items: center; gap: 6px; width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; padding: 0;
    align-content: center;
  }
  .menu-btn span { width: 18px; height: 1.5px; background: var(--brown); transition: transform .25s ease; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav__cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; }

  .hero__grid, .about, .where, .order { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
  .hero__photo img { aspect-ratio: 5 / 4; border-radius: 180px 180px var(--radius) var(--radius); }
  .hero__stamp { left: 12px; bottom: 16px; }
  .formats { grid-template-columns: 1fr; }
  .formats__item + .formats__item { border-left: 0; border-top: 1px solid var(--line); }
  .about__photo img { aspect-ratio: 1 / 1; }
  .order__photo { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .topbar__inner { height: 68px; }
  .brand img { width: 108px; }
  .hero__ctas .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 16 / 11; }
  .gallery { height: 420px; gap: 10px; }
  .includes { grid-template-columns: 1fr; }
  .includes li, .includes li + li { padding: 24px 0 0; border-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .form__switch span { font-size: .82rem; padding: 12px 6px; }
  .wa-float { right: 16px; bottom: 20px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery img { transition: none; }
}

/* Dois serviços (início) */
.section--tight { padding-bottom: clamp(24px, 4vw, 48px); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { flex: none; width: 100%; height: 260px; object-fit: cover; transition: transform .8s ease; }
.service:hover img { transform: scale(1.04); }
.service__body { position: relative; flex: 1; background: inherit; padding: 28px 30px 32px; }
.service__label { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.service h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.service__body > p:not(.service__label) { color: var(--muted); }
.service__go { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 500; color: var(--wine); border-bottom: 1px solid currentColor; }
.service--wine { background: var(--wine); border-color: transparent; }
.service--wine h3 { color: var(--paper); }
.service--wine .service__label { color: var(--gold); }
.service--wine .service__body > p:not(.service__label) { color: #E3CDB0; }
.service--wine .service__go { color: var(--paper); }
.service--wine img { object-position: center 30%; }

.hero__ctas--tight { margin: 0; }
.btn--line { border-color: rgba(247, 235, 211, .6); color: var(--cream); }
.btn--line:hover { background: var(--cream); color: var(--wine); }
.nav a[aria-current="page"] { color: var(--terra); }

/* Página do buffet */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.occasions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.occasions li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 28px; }
.occasions__num { display: block; font: 400 2rem/1 var(--serif); color: var(--terra); margin-bottom: 18px; }
.occasions h3 { font-size: 1.4rem; margin-bottom: 10px; }
.occasions p { font-size: .92rem; color: var(--muted); }
.process { list-style: none; padding: 0; margin: 0; counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process li { counter-increment: p; position: relative; padding-top: 70px; }
.process li::before {
  content: counter(p); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine); color: var(--paper); font: 400 1.4rem/1 var(--serif);
}
.process li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 66px; right: -14px; height: 1px; background: var(--line); }
.process h3 { font-size: 1.4rem; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .94rem; }
.crosslink { background: var(--wine-deep); color: #E3CDB0; }
.crosslink__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.crosslink img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.crosslink h2 { color: var(--paper); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.crosslink p:not(.kicker) { margin-bottom: 24px; }

@media (max-width: 1024px) {
  .occasions { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .services, .crosslink__inner { grid-template-columns: 1fr; }
  .service img { height: 200px; }
  .occasions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .occasions, .process { grid-template-columns: 1fr; }
  .process li { padding: 0 0 0 70px; min-height: 52px; }
  .process li::after { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Tabela de preços */
.menu { margin-top: clamp(48px, 6vw, 80px); background: var(--cream); border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 64px); }
.menu__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.menu .menu__script { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--terra); margin: 0; }
.menu__head h3 { font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--terra); line-height: 1; }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.menu__cols > div + div { border-left: 1px solid rgba(164, 69, 42, .35); padding-left: clamp(28px, 5vw, 64px); }
.menu__group + .menu__group { margin-top: 34px; }
.menu__tag { background: var(--terra); color: var(--paper); font: 400 1rem/1 var(--serif); text-align: center; padding: 9px 16px; border-radius: 999px; margin: 0 0 18px; }
.menu__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.menu__row { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.menu__row::before { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(74, 34, 22, .35); transform: translateY(-4px); }
.menu__name { order: 0; font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.15 var(--serif); color: var(--brown); }
.menu__price { order: 2; font: 400 1.25rem/1 var(--serif); color: var(--terra); white-space: nowrap; }
.menu__price small { font-size: .7em; margin-left: 2px; }
.menu__desc { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.menu__cta { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(164, 69, 42, .35); }
.menu__cta p { font-size: .86rem; color: var(--muted); }

/* Macarrão Show */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.show h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 20px; }
.show__title { display: block; font-size: 1.55em; color: var(--terra); line-height: 1; margin-top: 6px; }
.show__board { background: var(--paper); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 24px; }
.show__group h3 { font: 500 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: #566F55; color: #F6ECD6; font: 400 1.05rem/1 var(--serif); padding: 12px 20px; border-radius: 999px; display: flex; align-items: center; gap: 10px; }
.pills li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F6ECD6; }

@media (max-width: 860px) {
  .menu__cols, .show { grid-template-columns: 1fr; }
  .menu__cols > div + div { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .menu { padding: 26px 18px; border-radius: var(--radius); }
  .menu__tag { font-size: .92rem; }
}
.includes { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) {
  .includes { grid-template-columns: repeat(2, 1fr); }
  .includes li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) { .includes { grid-template-columns: 1fr; } }

/* Página de massas: cardápio com pedido */
.hero__photo--center img { object-position: center; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--line-wine { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn--line-wine:hover { background: var(--wine); color: var(--paper); }
.btn.is-done { background: #566F55; border-color: #566F55; color: #fff; }
.nav__badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px;
  border-radius: 999px; background: var(--gold); color: var(--wine); font-size: .76rem; font-weight: 600;
}
.nav__badge[hidden] { display: none; }

.shop { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 44px); align-items: start; }
.shop__group + .shop__group { margin-top: 40px; }
.shop__group > .menu__tag { max-width: 420px; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.prod {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px;
}
.prod__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prod__head h4 { margin: 0; font: 400 1.5rem/1.1 var(--serif); color: var(--brown); }
.prod__price { font: 400 1.15rem/1 var(--serif); color: var(--terra); white-space: nowrap; }
.prod__price small { font-size: .72em; }
.prod__desc { font-size: .84rem; color: var(--muted); margin: -6px 0 0; }
.prod__add { margin-top: auto; align-self: flex-start; }
.opts { border: 0; padding: 0; margin: 0; }
.opts legend { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; padding: 0; }
.opts__row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 8px 13px; border-radius: 999px; font-size: .82rem; line-height: 1.2;
  border: 1px solid var(--line); background: #fff; color: var(--brown); transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip input:checked + span { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }

.sauces { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.sauce { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 14px 18px; }
.sauce + .sauce { border-top: 1px solid var(--line); }
.sauce__name { font: 400 1.25rem/1.2 var(--serif); color: var(--brown); }
.sauce__price { font: 400 1.1rem/1 var(--serif); color: var(--terra); white-space: nowrap; }

.cart { position: sticky; top: 96px; }
.cart__box { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; box-shadow: var(--shadow); }
.cart__box h3 { font-size: 1.7rem; margin-bottom: 14px; }
.cart__empty { font-size: .9rem; color: var(--muted); padding: 14px 0 18px; border-bottom: 1px solid var(--line); margin: 0; }
.cart__lines { list-style: none; padding: 0; margin: 0; max-height: 46vh; overflow-y: auto; }
.cart__line { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info sub" "qty qty"; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__info { grid-area: info; min-width: 0; }
.cart__name { margin: 0; font: 400 1.12rem/1.2 var(--serif); color: var(--brown); }
.cart__meta { margin: 2px 0 0; font-size: .78rem; color: var(--muted); }
.cart__sub { grid-area: sub; margin: 0; font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.cart__qty { grid-area: qty; display: inline-flex; align-items: center; gap: 4px; justify-self: start; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.cart__qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--cream); color: var(--wine); font: 500 1.1rem/1 var(--sans); cursor: pointer; }
.cart__qty button:hover { background: var(--sand); }
.cart__qty span { min-width: 40px; text-align: center; font-size: .9rem; font-weight: 500; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; }
.cart__total span { font-size: .9rem; color: var(--muted); }
.cart__total strong { font: 400 1.6rem/1 var(--serif); color: var(--terra); font-weight: 400; }
.cart__total[hidden] { display: none; }
.cart__form { display: grid; gap: 12px; margin-top: 16px; }
.cart__form .field input, .cart__form .field textarea { min-height: 46px; padding: 11px 12px; }
.cart__form .field textarea { min-height: 64px; }
.cart__note { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }

.cartbar {
  position: fixed; left: 16px; right: 16px; bottom: 62px; z-index: 45;
  display: none; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--wine); color: var(--paper); border-radius: 999px; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); font-size: .92rem;
}
.cartbar strong { font: 400 1.15rem/1 var(--serif); }
.cartbar__go { margin-left: auto; font-weight: 500; }

@media (max-width: 1024px) {
  .shop { grid-template-columns: 1fr; }
  .cart { position: static; }
  .cart__lines { max-height: none; }
  .cartbar:not([hidden]) { display: flex; }
  body.has-cartbar .wa-float { display: none; }
}
@media (max-width: 560px) {
  .prods { grid-template-columns: 1fr; }
  .sauce { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .sauce .btn { grid-column: 1 / -1; justify-self: start; }
  .cart__box { padding: 20px 18px; }
}

/* Depois de enviar o pedido */
.cart__ok { font-size: .9rem; font-weight: 500; color: var(--terra); margin: 14px 0 0; }
.cart__refazer { width: 100%; margin-top: 14px; }
.cart__refazer[hidden], .cart__limpar[hidden] { display: none; }
.cart__limpar { display: block; margin: 12px auto 0; padding: 4px 8px; border: 0; background: none; font: 400 .84rem/1.3 var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 1024px) { body.pedido-visivel .wa-float { display: none; } }

/* Celular em primeiro lugar: texto e botões na primeira tela, foto logo depois */
@media (max-width: 860px) {
  .hero { padding-top: 22px; }
  .hero__photo { order: 0; }
  .hero__photo img { aspect-ratio: 16 / 11; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); margin-bottom: 12px; }
  .hero .lead { font-size: .96rem; line-height: 1.55; }
  .hero__escolha { margin-top: 16px; }
  .hero__ctas { margin: 18px 0 20px; gap: 10px; }
  .hero .crumbs { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .chip span { padding: 12px 15px; font-size: .86rem; }
  .cart__qty button { width: 42px; height: 42px; }
  .link, .service__go { padding-block: 6px; }
}

/* Escolha obrigatória (travessa) */
.opts__obrig { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.prod__aviso { margin: 0; font-size: .86rem; font-weight: 500; color: var(--heart); }
