/* ============================================================
   Ateliê do Bolo
   Paleta: ganache (chocolate), glacê (fundo), merengue (rosa),
   framboesa (destaque). Tipos: Bodoni Moda + Jost.
   ============================================================ */

:root {
  --ganache: #2A1A17;
  --ganache-2: #3A2420;
  --glace: #FBF4F1;
  --merengue: #F3DCDD;
  --framboesa: #B8325A;
  --framboesa-2: #93203F;
  --cacau: #4A3330;
  --cacau-suave: #7A5F5B;
  --linha: rgba(74, 51, 48, .16);
  --borda-campo: rgba(74, 51, 48, .26);
  --branco: #FFFFFF;
  --whats: #25D366;

  --f-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --f-body: "Jost", Futura, "Century Gothic", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--glace);
  color: var(--cacau);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--framboesa);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--ganache); color: var(--glace);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--ganache);
  margin: 0 0 .45em;
  text-wrap: balance;
}

.section-lead { font-size: 1.1em; margin: 0; max-width: 52ch; }
.section-lead a { color: var(--framboesa); text-underline-offset: 4px; }

.hint { font-size: .88rem; line-height: 1.5; color: var(--cacau-suave); margin: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.6em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-lg { min-height: 56px; padding-inline: 2em; font-size: 1.06rem; }
.btn-primary { background: var(--framboesa); color: var(--branco); }
.btn-primary:hover { background: var(--framboesa-2); }
.btn-outline { border-color: var(--framboesa); color: var(--framboesa); background: transparent; }
.btn-outline:hover { background: var(--framboesa); color: var(--branco); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--branco); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--branco);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgba(251, 244, 241, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ganache);
  box-shadow: 0 1px 0 var(--linha);
}

.header-inner {
  width: min(100% - 2 * var(--gutter), 1280px);
  height: var(--header-h);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand {
  position: relative; z-index: 60;
  display: inline-flex; align-items: baseline; gap: .3em;
  text-decoration: none; line-height: 1; margin: 0;
}
.brand-logo { display: block; height: 52px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25)); }
.footer-logo { display: block; height: 84px; width: auto; margin-bottom: 1rem; }
.brand-mark { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.75rem; }
.brand-sub { font-size: .95rem; letter-spacing: .03em; }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.main-nav a { text-decoration: none; font-size: .98rem; }
.main-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-cta { padding: .5em 1.2em; border: 1.5px solid currentColor; border-radius: 999px; }
.site-header.is-solid .nav-cta { background: var(--framboesa); border-color: var(--framboesa); color: var(--branco); }

.nav-toggle {
  display: none; position: relative; z-index: 60;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: currentColor; transition: transform .25s, top .25s;
}
.nav-toggle-bars { top: 20px; }
.nav-toggle-bars::before { content: ""; left: 0; right: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { top: 24px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--ganache); color: var(--glace);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a { font-family: var(--f-display); font-style: italic; font-size: 1.9rem; }
  .main-nav .nav-cta { font-family: var(--f-body); font-style: normal; font-size: 1.05rem; margin-top: 12px; background: var(--framboesa); border-color: var(--framboesa); color: var(--branco); padding: .8em 1.8em; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--glace); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero (rolagem cinematográfica) ---------- */
.hero {
  --p: 0;
  position: relative;
  height: 320vh;
  background: var(--ganache);
  color: var(--branco);
}

.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-img, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img {
  object-fit: cover;
  transform-origin: 50% 58%;
  transform: scale(calc(1.04 + var(--p) * .32)) translateY(calc(var(--p) * -2%));
  filter: brightness(calc(.95 - var(--p) * .3));
  will-change: transform;
}
.hero.has-frames .hero-img { transform: none; filter: none; }
/* Vídeo claro (bolo branco): véu extra para o texto branco manter contraste */
.hero.has-frames .hero-shade {
  background:
    linear-gradient(rgba(42, 26, 23, .42), rgba(42, 26, 23, .42)),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(42, 26, 23, 0) 35%, rgba(42, 26, 23, .7) 100%),
    linear-gradient(to bottom, rgba(42, 26, 23, .55), rgba(42, 26, 23, 0) 28%, rgba(42, 26, 23, 0) 62%, rgba(42, 26, 23, .8));
}
.hero-canvas { opacity: 0; transition: opacity .5s; }
.hero-canvas.is-ready { opacity: 1; }

.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(42, 26, 23, 0) 35%, rgba(42, 26, 23, .7) 100%),
    linear-gradient(to bottom, rgba(42, 26, 23, .55), rgba(42, 26, 23, 0) 28%, rgba(42, 26, 23, 0) 62%, rgba(42, 26, 23, .8));
}

.hero-copy {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), 1100px);
  height: 100%; margin-inline: auto;
  display: grid;
}
.hero-stage {
  grid-area: 1 / 1;
  align-self: center; justify-self: center;
  text-align: center;
  will-change: opacity, transform;
}
.hero-stage:not(.hero-stage--abertura) { opacity: 0; }
.hero-stage:not(.is-on) { pointer-events: none; }

.hero-kicker {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, .92rem + .3vw, 1.2rem);
  letter-spacing: .05em;
  opacity: .92;
}
.hero-title {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.6rem, 1.4rem + 11vw, 11.5rem);
  line-height: .9;
  letter-spacing: -.025em;
  text-shadow: 0 4px 60px rgba(0, 0, 0, .3);
  text-wrap: balance;
}
.hero-line {
  margin: 0 auto;
  max-width: 17ch;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.2rem; }

.hero-scroll-hint {
  position: absolute; left: 50%; z-index: 2;
  bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .85rem; letter-spacing: .05em;
  transition: opacity .3s;
}
.hero-scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--branco), transparent); animation: dica 2.2s ease-in-out infinite; }
@keyframes dica {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .12); }
.hero-progress i { display: block; height: 100%; background: var(--framboesa); transform-origin: left; transform: scaleX(var(--p)); }

/* Sem animação (preferência do sistema) */
.hero.is-static { height: auto; }
.hero.is-static .hero-sticky { position: relative; }
.hero.is-static .hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; }
.hero.is-static .hero-stage { opacity: 1 !important; transform: none !important; pointer-events: auto; }
.hero.is-static .hero-stage--meio,
.hero.is-static .hero-scroll-hint,
.hero.is-static .hero-progress { display: none; }
.hero.is-static .hero-img { transform: none; filter: brightness(.8); }

/* ---------- Borda de confeitaria (bico de confeitar) ---------- */
.scallop-top, .scallop-bottom { position: relative; }
.scallop-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background: radial-gradient(circle at 18px 0, var(--ganache) 17.5px, transparent 18.5px) 0 0 / 36px 18px repeat-x;
}
.scallop-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: radial-gradient(circle at 18px 100%, var(--ganache) 17.5px, transparent 18.5px) 0 0 / 36px 18px repeat-x;
}

/* ---------- Formato arco (vitrine) ---------- */
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 14px 14px; background: var(--merengue); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.sobre-foto { aspect-ratio: 4 / 5; max-width: 480px; width: 100%; }
.sobre-texto p { max-width: 58ch; }

.sobre-fatos {
  list-style: none; padding: 0; margin: 2.4rem 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  border-top: 1px solid var(--linha); padding-top: 24px;
  font-size: .95rem; line-height: 1.5;
}
.sobre-fatos strong {
  display: block; margin-bottom: .35rem;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: 1.25rem; color: var(--ganache);
}

/* ---------- Bolos especiais ---------- */
.bolos { padding-top: 0; }
.bolos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(44px, 5vw, 72px) clamp(20px, 3vw, 40px);
}
.bolo-card { display: flex; flex-direction: column; }
.bolo-card .arch { aspect-ratio: 4 / 5; margin-bottom: 1.3rem; }
.bolo-card h3 {
  margin: 0 0 .45rem;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 1.2rem + .6vw, 1.75rem); line-height: 1.15;
  color: var(--ganache);
}
.bolo-card p { margin: 0 0 .7rem; }
.bolo-meta { font-size: .92rem; color: var(--cacau-suave); }
.bolo-preco { font-weight: 500; color: var(--ganache); }
.bolo-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Como encomendar ---------- */
.etapas { background: var(--branco); }
.etapas-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px);
  counter-reset: etapa;
}
.etapas-lista li { counter-increment: etapa; border-top: 1px solid var(--linha); padding-top: 22px; }
.etapas-lista li::before {
  content: counter(etapa);
  display: block; margin-bottom: .7rem;
  font-family: var(--f-display); font-style: italic; font-size: 3.2rem; line-height: 1;
  color: var(--framboesa);
}
.etapas-lista h3 { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 500; color: var(--ganache); }
.etapas-lista p { margin: 0; font-size: .98rem; }

/* ---------- Carrossel (base) ---------- */
.carousel-track {
  position: relative;
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 auto; scroll-snap-align: start; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.carousel.is-static .carousel-controls { display: none; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; border: 1.5px solid var(--cacau); color: var(--cacau);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.carousel-btn:hover { background: var(--ganache); border-color: var(--ganache); color: var(--glace); }
.carousel-btn svg, .lightbox svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.carousel-dots { display: flex; gap: 2px; }
.carousel-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: rgba(74, 51, 48, .28); transition: width .25s, background-color .25s; }
.carousel-dots button[aria-current="true"]::before { width: 20px; background: var(--framboesa); }

/* ---------- Cardápios ---------- */
.cardapios { background: var(--branco); padding-top: 0; }
.cardapio { width: clamp(240px, 27vw, 330px); margin: 0; }
.cardapio-open {
  display: block; width: 100%; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden;
  background: var(--merengue); cursor: zoom-in;
}
.cardapio-open img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.cardapio-open:hover img { transform: scale(1.03); }
.cardapio figcaption {
  margin-top: .8rem;
  font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--ganache);
}

/* ---------- Depoimentos ---------- */
.depoimentos { background: var(--merengue); }
.depoimento { width: 100%; margin: 0; padding-inline: 8px; text-align: center; }
.estrelas { margin: 0; color: var(--framboesa); letter-spacing: .25em; font-size: 1.05rem; }
.depoimento blockquote { margin: 0; }
.depoimento blockquote p {
  margin: 1rem auto 1.4rem; max-width: 40ch;
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); line-height: 1.2;
  color: var(--ganache); text-wrap: balance;
}
.depoimento cite { font-style: normal; font-weight: 500; color: var(--ganache); }
.depoimento-evento { display: block; font-size: .92rem; color: var(--cacau-suave); }
.carousel--depoimentos .carousel-btn { border-color: var(--ganache); }
.depoimentos-link { text-align: center; margin: 28px 0 0; }
.depoimentos-link a { color: var(--framboesa); text-underline-offset: 4px; }

/* ---------- Chamada Instagram ---------- */
.insta-cta {
  position: relative; overflow: hidden;
  padding-block: clamp(88px, 11vw, 150px);
  color: var(--branco); text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 15% 20%, rgba(243, 220, 221, .28), transparent 60%),
    linear-gradient(125deg, var(--framboesa) 0%, #7E2445 48%, var(--ganache) 100%);
}
.insta-cta--imagem { background-color: var(--ganache); background-position: center; background-size: cover; background-repeat: no-repeat; }
.insta-cta--imagem::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(184, 50, 90, .78), rgba(42, 26, 23, .86));
}
.insta-cta-inner { position: relative; max-width: 720px; }
.insta-cta .section-title { color: var(--branco); margin-bottom: .35em; }
.insta-cta-texto { margin: 0 auto 2rem; max-width: 46ch; font-size: 1.12em; color: rgba(255, 255, 255, .9); }
.insta-cta-user { margin: 1rem 0 0; font-size: .95rem; color: rgba(255, 255, 255, .75); letter-spacing: .02em; }
.btn-claro { background: var(--branco); color: var(--framboesa-2); }
.btn-claro:hover { background: var(--glace); }
.btn-claro svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Cabeçalho de seção com botão ao lado */
.section-head--linha { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.section-head--linha > div { max-width: 640px; }

/* ---------- Orçamento ---------- */
.orcamento { background: var(--ganache-2); color: var(--glace); }
.orcamento .section-title { color: var(--glace); }
.orcamento-intro .hint { color: rgba(251, 244, 241, .7); margin-top: 1.2rem; max-width: 40ch; }
.orcamento-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.orcamento-intro { position: sticky; top: calc(var(--header-h) + 32px); }

.form {
  background: var(--glace); color: var(--cacau);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 48px);
}
.form fieldset { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.form legend {
  display: flex; align-items: baseline; gap: .6em;
  padding: 0; margin-bottom: 18px;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: 1.65rem; color: var(--ganache);
}
.form legend span { font-family: var(--f-body); font-style: normal; font-size: .95rem; font-weight: 500; color: var(--framboesa); }

.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.campo { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.campo--full { grid-column: 1 / -1; }
.campo label, .campo-label { font-size: .95rem; font-weight: 500; color: var(--ganache); }
.opcional { font-weight: 400; color: var(--cacau-suave); }

.form input[type="text"], .form input[type="tel"], .form input[type="email"],
.form input[type="date"], .form input[type="time"], .form input[type="number"],
.form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--borda-campo); border-radius: 10px;
  background: var(--branco);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A3330' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--framboesa);
  box-shadow: 0 0 0 3px rgba(184, 50, 90, .16);
}
.form .is-invalid { border-color: var(--framboesa-2) !important; background-color: #FFF5F7 !important; }
.form .is-highlight { animation: realce 1.6s ease-out 1; }
@keyframes realce {
  0% { box-shadow: 0 0 0 0 rgba(184, 50, 90, .5); }
  100% { box-shadow: 0 0 0 16px rgba(184, 50, 90, 0); }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .5em 1.05em;
  border: 1.5px solid var(--borda-campo); border-radius: 999px;
  background: var(--branco); font-size: .95rem; line-height: 1.3;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip input:checked + span { background: var(--framboesa); border-color: var(--framboesa); color: var(--branco); }
.chip input:focus-visible + span { outline: 2px solid var(--framboesa); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: .4; }

.check { display: inline-flex; align-items: center; gap: .6em; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--framboesa); margin: 0; }

.form-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-erro { margin: 0; color: var(--framboesa-2); font-weight: 500; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--merengue); color: var(--ganache); }
.form-status a { color: var(--framboesa); font-weight: 500; }

/* ---------- Dúvidas ---------- */
.duvidas-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.faq-lista { border-top: 1px solid var(--linha); }
.faq-lista details { border-bottom: 1px solid var(--linha); }
.faq-lista summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.3;
  color: var(--ganache);
}
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background:
    linear-gradient(var(--framboesa), var(--framboesa)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--framboesa), var(--framboesa)) center / 1.5px 100% no-repeat;
  transition: transform .25s;
}
.faq-lista details[open] summary::after { transform: rotate(45deg); }
.faq-resposta { padding: 0 0 24px; }
.faq-resposta p { margin: 0; max-width: 62ch; }

/* ---------- Onde estamos ---------- */
.local { background: var(--branco); padding-bottom: calc(var(--section) + 18px); }
.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.local-info address { font-size: 1.1rem; margin-bottom: 1.6rem; }
.horarios { margin: 0 0 1rem; border-top: 1px solid var(--linha); }
.horarios div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.horarios dt { font-weight: 500; color: var(--ganache); }
.horarios dd { margin: 0; }
.local-info .btn { margin-top: 1.6rem; }
.local-mapa { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--merengue); }
.local-mapa iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ganache); color: rgba(251, 244, 241, .82);
  padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: .98rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--branco); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.brand--footer { color: var(--glace); margin-bottom: 1rem; }
.brand--footer .brand-mark { font-size: 2.2rem; }
.footer-marca p:last-child { max-width: 28ch; margin: 0; }
.footer-titulo { margin: 0 0 .8rem; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.25rem; color: var(--glace); }
.site-footer address, .site-footer p { line-height: 1.8; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251, 244, 241, .14); font-size: .88rem; color: rgba(251, 244, 241, .6); }
.footer-base p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; z-index: 45;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 16px;
  border-radius: 999px; background: var(--whats); color: var(--branco);
  text-decoration: none; font-weight: 500;
  box-shadow: 0 10px 28px rgba(42, 26, 23, .3);
  transition: transform .2s;
}
.whats-float:hover { transform: translateY(-2px); }
.whats-float svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 700px) {
  .whats-float { width: 58px; height: 58px; min-width: 0; padding: 0; justify-content: center; }
  .whats-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Cardápio em tela cheia ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--branco);
}
.lightbox::backdrop { background: rgba(42, 26, 23, .94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px 40px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.lightbox img { max-width: min(92vw, 720px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; }
.lightbox-fechar, .lightbox-nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 0; color: var(--branco); cursor: pointer;
}
.lightbox-fechar:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox-fechar { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lightbox-prev { left: 14px; top: 50%; margin-top: -24px; }
.lightbox-next { right: 14px; top: 50%; margin-top: -24px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .bolos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapas-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .sobre-grid, .orcamento-grid, .duvidas-grid, .local-grid { grid-template-columns: 1fr; }
  .sobre-foto { max-width: 400px; margin-inline: auto; }
  .orcamento-intro { position: static; }
  .duvidas .section-head { margin-bottom: 8px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 44px; }
  .sobre-fatos { grid-template-columns: 1fr; gap: 18px; }

  .bolos-grid {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); padding-bottom: 6px;
  }
  .bolos-grid::-webkit-scrollbar { display: none; }
  .bolo-card { flex: 0 0 80%; scroll-snap-align: start; }

  .etapas-lista { grid-template-columns: 1fr; }
  .cardapio { width: 72vw; }
  .campos { grid-template-columns: 1fr; }
  .form { border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox-inner { padding: 64px 12px 24px; }
  .lightbox-nav { top: auto; bottom: 18px; margin-top: 0; }
  .local-mapa { aspect-ratio: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
