:root {
  --creme: #FBE8E4;
  --creme-claro: #FFF6F3;
  --rosa: #ED738C;
  --rosa-escuro: #D9566F;
  --pessego: #FFCDB6;
  --choco: #776269;
  --raio: 20px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Quicksand", system-ui, sans-serif;
  color: var(--choco);
  background: var(--creme-claro);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--rosa-escuro); }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 2rem; }
.script { font-family: "Sacramento", cursive; color: var(--rosa); font-size: 2.2rem; line-height: 1; margin-bottom: .3rem; }
.pequeno { font-size: .85rem; opacity: .85; }

/* botões */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--rosa); color: #fff; font: 700 1rem "Quicksand", sans-serif;
  padding: .85rem 1.6rem; border-radius: 999px; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--rosa-escuro); transform: translateY(-1px); }
.btn-linha { background: transparent; color: var(--rosa-escuro); box-shadow: inset 0 0 0 2px var(--rosa); }
.btn-linha:hover { background: var(--rosa); color: #fff; }
.largo { width: 100%; text-align: center; }

/* topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 246, 243, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--creme);
}
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.marca img { width: 44px; height: 44px; border-radius: 50%; }
.marca span { font-family: "Sacramento", cursive; font-size: 2rem; color: var(--rosa); line-height: 1; }
.marca small { font-family: "Quicksand"; font-size: .9rem; color: var(--choco); }
.topo nav { display: flex; gap: 1.4rem; }
.topo nav a { text-decoration: none; color: var(--choco); font-weight: 600; }
.topo nav a:hover { color: var(--rosa); }
.btn-sacola {
  border: 0; cursor: pointer; background: var(--rosa); color: #fff;
  font: 700 .95rem "Quicksand"; padding: .55rem 1.1rem; border-radius: 999px;
  display: flex; align-items: center; gap: .5rem;
}
.contador { background: #fff; color: var(--rosa); border-radius: 999px; min-width: 1.5rem; padding: 0 .4rem; }
.btn-sacola.pulse { animation: pulse .5s; }
@keyframes pulse { 50% { transform: scale(1.12); } }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  max-width: 1150px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}
.hero-texto > p { margin-bottom: 1.5rem; max-width: 34rem; }
.hero-acoes { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.regiao { font-weight: 600; font-size: .95rem; }
.hero-foto { position: relative; }
.hero-foto img {
  border-radius: 200px 200px var(--raio) var(--raio);
  box-shadow: 0 0 0 10px var(--creme), 0 0 0 12px var(--pessego);
  margin: 12px; width: calc(100% - 24px); aspect-ratio: 4/5; object-fit: cover;
}
.coracao { position: absolute; color: var(--rosa); font-size: 2.4rem; }
.c1 { top: 4%; left: -4%; transform: rotate(-15deg); }
.c2 { bottom: 10%; right: -3%; font-size: 1.6rem; transform: rotate(12deg); }

/* passos */
.passos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 1050px; margin: 0 auto 2rem; padding: 0 clamp(1rem, 4vw, 3rem);
}
.passos div { background: var(--creme); border-radius: var(--raio); padding: 1.6rem; text-align: center; }
.passos span {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--rosa); color: #fff; font-weight: 700; margin-bottom: .6rem;
}
.passos h3 { margin-bottom: .3rem; }

/* seções */
.secao { max-width: 1150px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); text-align: center; }

/* produtos */
.produtos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 1.8rem; text-align: left; }
.produto {
  background: #fff; border-radius: var(--raio); overflow: hidden;
  box-shadow: 0 0 0 1px var(--creme); display: flex; flex-direction: column;
}
.produto-fotos { position: relative; aspect-ratio: 4/4.2; background: var(--creme); }
.produto-fotos img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.produto-fotos img.ativa { opacity: 1; }
.produto-fotos img.redonda { inset: 12%; width: 76%; height: 76%; border-radius: 50%; transform: scale(1.4); }
.produto-fotos .redonda-moldura { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; }
.produto-corpo { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.produto-corpo .cat { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rosa); font-weight: 700; }
.produto-corpo h3 { font-size: 1.4rem; }
.produto-corpo p { font-size: .95rem; }
.precos { list-style: none; padding: 0; border-top: 1px dashed var(--pessego); padding-top: .7rem; font-size: .95rem; }
.precos li { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.precos small { opacity: .75; }
.precos b { white-space: nowrap; }
.produto .btn { margin-top: auto; }
.nota-sabores { margin-top: 2rem; font-size: .95rem; }

/* galeria */
.galeria-secao .btn { margin-top: 2rem; }
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.galeria img { border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .3s; }
.galeria img:hover { transform: scale(1.03); }

/* sobre */
.sobre {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center;
  max-width: 1050px; margin: 0 auto clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--creme); border-radius: 32px;
}
.sobre img { border-radius: var(--raio); aspect-ratio: 4/5; object-fit: cover; }
.sobre h2 { margin-bottom: 1rem; }
.sobre p + p { margin-top: .8rem; }

/* rodapé */
.rodape { text-align: center; padding: 3rem 1rem; background: var(--rosa); color: #fff; }
.rodape img { width: 80px; border-radius: 50%; margin: 0 auto 1rem; }
.rodape .script { color: #fff; }
.rodape a { color: #fff; font-weight: 700; }
.rodape p { margin-top: .4rem; }

/* whats flutuante */
.whats-flutuante {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 15;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* modal */
.modal { border: 0; border-radius: 24px; padding: 0; width: min(460px, 94vw); color: var(--choco); }
.modal::backdrop { background: rgba(119, 98, 105, .45); }
.modal form { padding: 2rem 1.8rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.modal h3 { font-size: 1.5rem; padding-right: 2rem; }
label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .95rem; }
input, select, textarea {
  font: 500 1rem "Quicksand", sans-serif; color: var(--choco);
  padding: .7rem .9rem; border: 1.5px solid var(--pessego); border-radius: 12px; background: var(--creme-claro);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rosa); border-color: var(--rosa); }
.dica { font-weight: 500; font-size: .82rem; opacity: .8; }
.fechar {
  position: absolute; top: .9rem; right: 1rem; border: 0; background: none; cursor: pointer;
  font-size: 2rem; line-height: 1; color: var(--choco);
}

/* sacola */
.sacola {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100vw); z-index: 40;
  background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
.sacola.aberta { transform: none; }
.sacola-topo { position: relative; padding: 1.4rem 1.5rem 1rem; border-bottom: 1px solid var(--creme); }
#sacolaItens { padding: 1rem 1.5rem; }
.item { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px dashed var(--pessego); }
.item div { flex: 1; font-size: .92rem; }
.item b { font-size: 1rem; }
.item button { border: 0; background: none; color: var(--rosa-escuro); cursor: pointer; font: 600 .85rem "Quicksand"; align-self: flex-start; }
.vazio { text-align: center; padding: 2rem 0; }
.total { display: flex; justify-content: space-between; font-weight: 700; padding-top: .8rem; }
.pedido { padding: 0 1.5rem 2rem; display: flex; flex-direction: column; gap: .9rem; }
.whats-btn { background: #25D366; }
.whats-btn:hover { background: #1ebe5a; }
.veu { position: fixed; inset: 0; z-index: 30; background: rgba(119, 98, 105, .4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.veu.ativo { opacity: 1; pointer-events: auto; }

/* responsivo */
@media (max-width: 860px) {
  .hero, .sobre { grid-template-columns: 1fr; }
  .hero-foto { max-width: 380px; margin: 0 auto; order: -1; }
  .passos { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .topo nav { display: none; }
}
