/* ==========================================================================
   CONFEITARIA — doce e artesanal: creme, rosa e chocolate, serifa Fraunces,
   cantos bem redondos e um bolo desenhado em CSS que muda ao vivo
   ========================================================================== */

body { background: var(--fundo); color: var(--texto); font-size: 16px; }
h1, h2, h3, .marca { font-family: var(--fonte-titulos); letter-spacing: -.01em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
em { font-style: italic; color: var(--destaque); }
section { padding: 84px 6vw; }
.cabeca { text-align: center; margin-bottom: 40px; }
.cabeca p { color: var(--suave); }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primaria); color: #fff; font-weight: 700; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--primaria); transition: transform .15s; }
.botao:hover { transform: translateY(-2px); }
.botao.pequeno { padding: 9px 18px; font-size: .9rem; }
.botao.leve { background: transparent; color: var(--primaria); }
.botao.largo { width: 100%; }
.botao.whats { background: #1f9d55; border-color: #1f9d55; }
.link { color: var(--destaque); font-weight: 700; }
.campo { width: 100%; border: 2px solid var(--linha); border-radius: 16px; padding: 11px 14px; font-size: .95rem; background: var(--papel); color: var(--texto); resize: vertical; }
.campo:focus { outline: none; border-color: var(--destaque); }
.campo-label { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .86rem; }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 26px; padding: 14px 6vw; background: color-mix(in srgb, var(--fundo) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px dashed var(--linha); }
.topo .marca { font-size: 1.4rem; font-style: italic; color: var(--primaria); margin-right: auto; }
.topo-nav { display: flex; gap: 24px; font-weight: 600; }
.topo-nav a:hover { color: var(--destaque); }
.topo-menu-btn { display: none; font-size: 1.5rem; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5vw; align-items: center; padding-top: 50px; }
.fita { display: inline-block; background: var(--creme); color: var(--primaria); font-weight: 700; font-size: .84rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 18px; }
.hero p { color: var(--suave); font-size: 1.1rem; max-width: 500px; margin-bottom: 26px; }
.acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-foto { position: relative; }
.hero-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%; box-shadow: 0 30px 60px rgba(90,46,42,.18); }
.selo { position: absolute; right: 4%; bottom: 8%; width: 120px; height: 120px; border-radius: 50%; background: var(--destaque); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: .8rem; line-height: 1.2; transform: rotate(10deg); box-shadow: 0 12px 28px rgba(232,112,138,.4); }
.selo b { font-family: var(--fonte-titulos); font-size: 1.3rem; }

/* ---------- Montador ---------- */
.montar { background: var(--papel); border-radius: 48px 48px 0 0; }
.montar-grade { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; max-width: 1200px; margin: 0 auto; }
.etapas { display: grid; gap: 14px; }
.etapa { background: var(--fundo); border-radius: 26px; padding: 22px; }
.etapa h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 14px; }
.etapa h3 i { font-style: normal; font-family: var(--fonte-texto); width: 30px; height: 30px; border-radius: 50%; background: var(--destaque); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.etapa h3 small { font-family: var(--fonte-texto); font-size: .8rem; color: var(--suave); font-weight: 600; }
.conv { display: flex; align-items: center; gap: 16px; }
.conv input { flex: 1; accent-color: var(--destaque); }
.conv output { font-weight: 800; min-width: 100px; text-align: right; }
.dica { margin-top: 10px; color: var(--suave); }
.dica b { color: var(--primaria); }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes button { display: inline-flex; align-items: center; gap: 8px; background: var(--papel); border: 2px solid var(--linha); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; }
.opcoes button small { color: var(--suave); font-size: .74rem; }
.opcoes button.ativo { border-color: var(--primaria); background: var(--primaria); color: #fff; }
.opcoes button.ativo small { color: #f7d7c7; }
.cor { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cor.naked { background: repeating-linear-gradient(45deg, #f6dfa8 0 4px, #fff 4px 8px); }
.doces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doce { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; background: var(--papel); border-radius: 18px; padding: 8px; }
.doce img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.doce b { display: block; font-size: .9rem; }
.doce small { color: var(--suave); font-size: .76rem; }
.qtd { display: flex; align-items: center; gap: 6px; }
.qtd button { width: 28px; height: 28px; border-radius: 50%; background: var(--creme); font-weight: 800; }
.qtd span { min-width: 22px; text-align: center; font-weight: 800; font-size: .9rem; }
.dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dias button { background: var(--papel); border: 2px solid var(--linha); border-radius: 14px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.dias b { font-size: 1.1rem; }
.dias small { font-size: .66rem; color: var(--suave); text-transform: capitalize; }
.dias button.ativo { background: var(--destaque); border-color: var(--destaque); color: #fff; }
.dias button.ativo small { color: #fff; }
.dias button:disabled { opacity: .45; cursor: not-allowed; }
.dias button.cheio small { color: #c0392b; }

.vitrine-bolo { position: sticky; top: 86px; display: grid; gap: 10px; }
.palco { position: relative; height: 320px; border-radius: 28px; overflow: hidden; background: var(--creme); }
.palco img { width: 100%; height: 100%; object-fit: cover; display: block; animation: aparece .4s ease; }
@keyframes aparece { from { opacity: .3; } }
.palco-leg { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); border-radius: 16px; padding: 10px 14px; }
.palco-leg small { font-size: .75rem; color: var(--suave); }
.palco-leg b { font-family: var(--fonte-titulos); font-size: 1.1rem; }
.resumo { background: var(--fundo); border-radius: 22px; padding: 18px; }
.resumo dl { display: grid; gap: 6px; font-size: .92rem; }
.resumo dl div { display: flex; justify-content: space-between; gap: 10px; }
.resumo dt small { display: block; color: var(--suave); font-size: .76rem; }
.resumo dd { font-weight: 700; white-space: nowrap; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--linha); margin-top: 12px; padding-top: 12px; }
.total b { font-family: var(--fonte-titulos); font-size: 1.9rem; color: var(--primaria); }
.sinal { color: var(--suave); font-size: .86rem; margin-top: 4px; }
.erro { color: #c0392b; font-weight: 700; font-size: .88rem; min-height: 1em; }

/* ---------- Vitrine ---------- */
.vitrine-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vitrine-grade article { background: var(--papel); border-radius: 26px; overflow: hidden; box-shadow: 0 10px 30px rgba(90,46,42,.06); }
.vitrine-grade img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vitrine-grade div { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.vitrine-grade b { font-family: var(--fonte-titulos); font-size: 1.15rem; }
.vitrine-grade small { color: var(--suave); }
.vitrine-grade .link { align-self: flex-start; margin-top: 6px; }

/* ---------- Sobre, depoimentos, FAQ, loja ---------- */
.sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: center; background: var(--creme); }
.sobre img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 28px 28px; }
.sobre p { color: var(--suave); font-size: 1.05rem; margin-bottom: 24px; }
.passos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.passos li { background: var(--papel); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.passos span { font-size: 1.5rem; }
.passos small { color: var(--suave); }
.depos { text-align: center; }
.depos-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; text-align: left; }
.depos blockquote { background: var(--papel); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.depos blockquote span { color: #f5a400; letter-spacing: 2px; }
.depos cite { font-style: normal; font-weight: 700; color: var(--suave); }
.duvidas { max-width: 860px; margin: 0 auto; }
.duvidas h2 { text-align: center; margin-bottom: 20px; }
.faq-item { border-bottom: 2px dashed var(--linha); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 14px; text-align: left; padding: 18px 0; font-weight: 700; font-size: 1.02rem; }
.faq-item button span { color: var(--destaque); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq-item.aberto button span { transform: rotate(45deg); }
.faq-resp { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-resp p { color: var(--suave); padding-bottom: 18px; }
.loja { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; background: var(--papel); }
.loja p { font-weight: 600; margin-bottom: 8px; }
.loja ul { color: var(--suave); margin-bottom: 20px; }
.loja iframe { width: 100%; height: 320px; border: 0; border-radius: 28px; }
.rodape { background: var(--primaria); color: #fff; text-align: center; padding: 40px 6vw; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rodape .marca { font-size: 1.5rem; font-style: italic; }
.rodape small { opacity: .7; }
.barra { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  section { padding: 60px 5vw; }
  .topo .botao { display: none; }
  .topo-menu-btn { display: block; }
  .topo-nav { position: fixed; inset: 0; z-index: -1; background: var(--fundo); flex-direction: column; justify-content: center; align-items: center; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .topo-nav.aberto { opacity: 1; pointer-events: auto; }
  .hero, .montar-grade, .sobre, .loja { grid-template-columns: 1fr; }
  .hero-foto { max-width: 440px; margin: 0 auto; }
  .vitrine-bolo { position: static; }
  .vitrine-grade { grid-template-columns: 1fr 1fr; }
  .depos-grade { grid-template-columns: 1fr; }
  .montar { border-radius: 32px 32px 0 0; }
  .barra { position: fixed; left: 12px; right: 84px; bottom: 12px; z-index: 800; display: flex; justify-content: space-between; align-items: center; background: var(--primaria); color: #fff; border-radius: 999px; padding: 12px 18px; font-size: .86rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
  body.com-faixa .barra { bottom: 136px; }
}
@media (max-width: 560px) {
  .doces { grid-template-columns: 1fr; }
  .dias { grid-template-columns: repeat(4, 1fr); }
  .passos { grid-template-columns: 1fr; }
  .etapa { padding: 18px 14px; }
}

/* Celular: "Oi, eu sou…" vira um cartão compacto (foto pequena ao lado do texto) */
@media (max-width: 760px) {
  .sobre { grid-template-columns: 76px 1fr; gap: 14px; align-items: start; padding-top: 44px; padding-bottom: 44px; }
  .sobre img { aspect-ratio: 1; border-radius: 50%; }
  .sobre h2 { font-size: 1.35rem; margin-bottom: 6px; }
  .sobre p { font-size: .95rem; margin-bottom: 14px; }
  .sobre .passos { grid-column: 1 / -1; margin-left: -90px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sobre .passos li { padding: 10px 12px; border-radius: 14px; }
  .sobre .passos span { font-size: 1.15rem; }
  .sobre .passos b { font-size: .9rem; }
  .sobre .passos small { font-size: .78rem; line-height: 1.3; }
}

/* Rótulos persistentes dos campos de contato e pedido. */
.campo-rotulado { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; min-width: 0; }
.campo-rotulado > input, .campo-rotulado > select, .campo-rotulado > textarea { width: 100%; min-width: 0; box-sizing: border-box; }
