/* ===========================================================
   DEL PUERTO — Cocina e Pizzería Uruguaya
   Design system: dark + dourado, pegada luxuosa
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* cores */
  --bg-base: #12100D;
  --bg-alt: #1A1712;
  --bg-card: #211D16;
  --gold: #D4AF37;
  --gold-light: #F0D178;
  --text-main: #F5F1E8;
  --text-soft: #B8AF9E;
  --line-gold: rgba(212, 175, 55, 0.18);
  --error: #B5533C;

  /* tipografia */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* espaçamento */
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --container-w: 1180px;

  --radius: 3px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 2.5rem;
  font-size: 0.98rem;
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.6rem 0;
  opacity: 0.6;
}

.divider.center { margin-inline: auto; }

section { padding: var(--section-pad) 0; }

.section-alt { background: var(--bg-alt); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-solid {
  background: var(--gold);
  color: #171410;
}
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #171410; }

.btn-ghost {
  border-color: transparent;
  color: var(--text-soft);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--gold); }

/* ===========================================================
   HEADER
   =========================================================== */
#top-bar {
  background: #0C0A08;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.45rem 1rem;
}
#top-bar b { color: var(--gold-light); font-weight: 500; }

header#sp-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(18, 16, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-gold);
  transition: padding var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  max-width: var(--container-w);
  margin: 0 auto;
}

.navbar-brand img { height: 72px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-phone {
  font-size: 0.82rem;
  color: var(--text-soft);
}
.nav-phone b { color: var(--gold-light); font-weight: 500; }

.navbar-toggler {
  display: none;
  background: none;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}
.navbar-toggler span,
.navbar-toggler span::before,
.navbar-toggler span::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  position: relative;
}
.navbar-toggler span::before { top: -6px; }
.navbar-toggler span::after { top: 5px; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(18,16,13,0.55) 0%, rgba(18,16,13,0.85) 100%), url('../imagens/casa/2.jpg') center/cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px 40px rgba(0,0,0,0.65);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }

.hero p {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.hero-offer {
  position: absolute;
  right: 7%;
  top: 18%;
  z-index: 2;
  aspect-ratio: 1;
  width: 190px;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(212,175,55,0.14), rgba(18,16,13,0.92) 70%);
  box-shadow:
    inset 0 0 0 1px var(--gold),
    inset 0 0 0 6px rgba(18,16,13,0.9),
    inset 0 0 0 7px rgba(212,175,55,0.55);
}
.hero-offer b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-offer span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.4;
}

/* mobile: badge ancorado no topo do hero (logo abaixo do header), afastado da borda */
@media (max-width: 960px) {
  .hero-offer {
    top: 28px;
    right: 7%;
    width: 148px;
    padding: 12px;
    box-shadow:
      inset 0 0 0 1px var(--gold),
      inset 0 0 0 5px rgba(18,16,13,0.9),
      inset 0 0 0 6px rgba(212,175,55,0.55);
  }
  .hero-offer b { font-size: 1.9rem; margin-bottom: 0.25rem; }
  .hero-offer span { font-size: 0.68rem; letter-spacing: 0.06em; }
}

/* ===========================================================
   A CASA
   =========================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sobre-text p { color: var(--text-soft); margin-bottom: 1.2rem; }

.sobre-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.features-list img { width: 12px; opacity: 0.85; }

/* carrossel da casa */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8rem;
  pointer-events: none;
}
.carousel-nav button {
  pointer-events: all;
  background: rgba(18,16,13,0.55);
  border: 1px solid var(--line-gold);
  color: var(--gold-light);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-display);
}
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.carousel-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245,241,232,0.4);
  cursor: pointer;
}
.carousel-dots span.active { background: var(--gold); }

/* ===========================================================
   CARDÁPIO
   =========================================================== */
.menu-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
}

.menu-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: sticky;
  top: 110px;
  align-self: start;
}

.menu-tab {
  text-align: left;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.menu-tab:hover { color: var(--text-main); }
.menu-tab.active {
  color: var(--gold-light);
  border-left-color: var(--gold);
  background: rgba(212,175,55,0.06);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.menu-panel-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.menu-panel-note {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.menu-item {
  padding: 1.1rem 1.4rem 1.1rem 0;
  border-bottom: 1px solid var(--line-gold);
}
.menu-item:nth-child(odd) { padding-right: 1.4rem; }
.menu-item:nth-child(even) { padding-left: 1.4rem; }

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-item-name::after {
  content: '';
  flex: 1;
  border-bottom: 1px dotted var(--line-gold);
  transform: translateY(-4px);
}
.menu-item-desc {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.sizes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.size-card {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.size-card b {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.size-card span { color: var(--text-soft); font-size: 0.85rem; }

/* ===========================================================
   TELE-ENTREGA
   =========================================================== */
.tele-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.tele-card {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  background: var(--bg-card);
}
.tele-card b {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.tele-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  align-items: center;
}
.tele-logos img {
  height: 26px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.85;
}

/* banner promos */
.promo-strip { padding: 0; }
.promo-strip .carousel-slide { aspect-ratio: 21/6; }

/* ===========================================================
   CONTATO
   =========================================================== */
.contato-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contato-card {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 2.2rem;
  background: var(--bg-card);
}
.contato-card img { height: 60px; margin-bottom: 1.2rem; }
.contato-card p { color: var(--text-soft); font-size: 0.92rem; margin: 0.3rem 0; }
.contato-card .phone { color: var(--gold-light); font-size: 1rem; margin-top: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-row.full { grid-template-columns: 1fr; }

.field { position: relative; }
.field label {
  position: absolute;
  top: -0.55rem;
  left: 0.8rem;
  background: var(--bg-base);
  padding: 0 0.4rem;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
}
.field select option { background: var(--bg-base); color: var(--text-main); font-size: 0.85rem; padding: 0.3rem; }

/* ---- dropdown customizado (substitui a lista nativa do <select>, que não respeita max-height) ---- */
.custom-select-source { display: none !important; }

.custom-select {
  position: relative;
}
.custom-select-trigger {
  width: 100%;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.custom-select-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: pointer;
}
.custom-select-input::placeholder { color: var(--text-soft); opacity: 1; }
.custom-select-trigger .chevron {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-top: -4px;
}
.custom-select.open .custom-select-trigger .chevron { transform: rotate(-135deg); margin-top: 4px; }

.custom-select-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  display: none;
}
.custom-select.drop-up .custom-select-panel {
  top: auto;
  bottom: calc(100% + 6px);
}
.custom-select.open .custom-select-panel { display: block; }

.custom-select-option {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
  border-bottom: 1px solid var(--line-gold);
}
.custom-select-option:last-child { border-bottom: none; }
.custom-select-option:hover,
.custom-select-option.active { background: rgba(212,175,55,0.15); color: var(--gold-light); }
.custom-select-option.placeholder-option { color: var(--text-soft); }

/* Evita o fundo branco que o Chrome/Edge aplica em campos com autofill */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text-main);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset;
  box-shadow: 0 0 0 1000px var(--bg-card) inset;
  caret-color: var(--text-main);
  transition: background-color 9999s ease-in-out 0s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ===========================================================
   FOOTER
   =========================================================== */
footer.site-footer {
  border-top: 1px solid var(--line-gold);
  background: var(--bg-alt);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-grid.footer-grid-3 { grid-template-columns: 1.3fr 1fr 1fr; }

.footer-brand img { height: 64px; margin-bottom: 1rem; }
.footer-brand p {
  color: var(--text-soft);
  font-size: 0.88rem;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-soft); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { color: var(--text-soft); font-size: 0.88rem; line-height: 1.9; }
.footer-contact b { color: var(--text-main); font-weight: 500; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: #171410; }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--line-gold);
  padding: 1.8rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom .copyright { color: var(--text-soft); font-size: 0.8rem; }
.footer-dev {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.78rem;
}
.footer-dev img { height: 40px; opacity: 0.95; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* floating cta */
.floating-order {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  z-index: 400;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.4);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-order::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  animation: pulse-ring 2.4s ease-out infinite;
}
.floating-order:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 0 1px var(--gold);
}
.floating-order svg {
  width: 26px;
  height: 26px;
  stroke: #171410;
  fill: none;
  stroke-width: 1.8;
}
.floating-order-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--bg-card);
  border: 1px solid var(--line-gold);
  color: var(--text-main);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.floating-order:hover .floating-order-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.35); }
  70% { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* ===========================================================
   NOVO PEDIDO
   =========================================================== */
.pedido-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pedido-wrap {
  flex: 1;
  padding: var(--section-pad) 0;
}
.steps {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.step {
  flex: 1;
  text-align: center;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--line-gold);
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.step.active { color: var(--gold-light); border-color: var(--gold); }
.step.done { color: var(--gold); }

.pedido-form-card {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--bg-card);
  max-width: 880px;
  margin: 0 auto;
}
.pedido-form-card .field label { background: var(--bg-card); }
.pedido-form-card h4 {
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line-gold);
}
.pedido-form-card h4:not(:first-child) { margin-top: 2.2rem; }
.pedido-form-card .section-note { color: var(--text-soft); font-size: 0.85rem; margin: -0.8rem 0 1.2rem; }

/* ---- opção em card (tamanho / massa / borda / forma de pagamento) ---- */
.form-error-list {
  border: 1px solid var(--error);
  border-radius: var(--radius);
  background: rgba(181,83,60,0.12);
  color: var(--text-main);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}
.form-error-list b { color: var(--error); }
.form-error-list ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.form-error-list li { margin: 0.25rem 0; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.option-card {
  position: relative;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.option-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.option-card:has(input:checked) { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.option-card:has(input:focus-visible) { outline: 1px solid var(--gold); }
.option-card b { display: block; font-family: var(--font-display); color: var(--text-main); font-size: 1rem; }
.option-card span { color: var(--text-soft); font-size: 0.8rem; }

/* ---- lista de sabores (checkbox) ---- */
.flavor-group-title {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 0.95rem;
  margin: 1.2rem 0 0.6rem;
}
.flavor-list { display: flex; flex-direction: column; gap: 0; }
.flavor-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-gold);
  cursor: pointer;
}
.flavor-item input { margin-top: 0.3rem; accent-color: var(--gold); cursor: pointer; }
.flavor-item b { color: var(--text-main); font-weight: 500; }
.flavor-item span { color: var(--text-soft); font-size: 0.83rem; display: block; }

/* ---- stepper de quantidade (bebidas) ---- */
.drink-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-gold);
}
.drink-name { color: var(--text-main); font-size: 0.92rem; }
.drink-price { color: var(--text-soft); font-size: 0.8rem; }
.qty-stepper { display: flex; align-items: center; gap: 0.7rem; }
.qty-stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: none;
  color: var(--gold-light);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.qty-stepper button:hover { background: var(--gold); color: #171410; }
.qty-stepper input {
  width: 32px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.95rem;
}

/* ---- itens já no carrinho ---- */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-gold);
}
.cart-item-main b { font-family: var(--font-display); color: var(--text-main); font-size: 1.02rem; }
.cart-item-meta { color: var(--text-soft); font-size: 0.82rem; margin-top: 0.3rem; }
.cart-item-price { color: var(--gold-light); font-size: 0.95rem; white-space: nowrap; }
.cart-item-remove {
  color: var(--text-soft);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.2rem;
}
.cart-item-remove:hover { color: var(--error); }
.cart-empty { color: var(--text-soft); font-size: 0.88rem; padding: 0.6rem 0; }

.cart-totals { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-gold); }
.cart-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.3rem 0;
}
.cart-totals-row.total {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding-top: 0.6rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--line-gold);
}
.cart-totals-row .desconto { color: var(--error); }

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.alert-banner {
  background: rgba(181, 83, 60, 0.12);
  border: 1px solid var(--error);
  color: #E8B4A6;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  font-size: 0.88rem;
  max-width: 880px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.alert-banner button {
  background: none;
  border: 1px solid var(--error);
  color: #E8B4A6;
  border-radius: var(--radius);
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .sobre-grid, .contato-grid, .menu-layout { grid-template-columns: 1fr; }
  .menu-tabs {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
  }
  .menu-tab { border-left: none; border-bottom: 2px solid transparent; padding: 0.5rem 0.2rem; }
  .menu-tab.active { border-bottom-color: var(--gold); background: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item:nth-child(odd), .menu-item:nth-child(even) { padding: 1.1rem 0; }
  .tele-grid { grid-template-columns: 1fr; }
  .sizes-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-menu, .nav-phone { display: none; }
  .navbar-toggler { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--line-gold);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
  }
}
