:root {
  --creme: #FFF6EC;
  --glace: #F7C9D4;
  --glace-claro: #FBE3E8;
  --morango: #D94F6E;
  --morango-escuro: #B03A56;
  --choco: #4A2618;
  --choco-claro: #5E3322;
  --texto: #5B3A2C;
  --pistache: #B9D6A3;
  --dourado: #E7B75F;

  --titulo: "Titan One", "Lilita One", system-ui, sans-serif;
  --subtitulo: "Lilita One", system-ui, sans-serif;
  --sans: "Nunito", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texto);
  font: 600 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--morango); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--titulo); font-weight: 400; color: var(--choco); margin: 0; }
h3 { font-family: var(--subtitulo); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: 0; }
h1 em { font-style: normal; color: var(--morango); display: block; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.05; letter-spacing: 0; }
p { margin: 0; }

.eyebrow {
  font-weight: 800;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--morango);
  margin-bottom: 18px;
}

/* Botões: bala de açúcar, com base "prensada" */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--morango);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--morango-escuro);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--morango-escuro); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--morango-escuro); }
.btn--sm { padding: 10px 20px; font-size: .9375rem; }
.btn--ghost { background: transparent; color: var(--choco); box-shadow: inset 0 0 0 2px var(--choco); }
.btn--ghost:hover { background: var(--choco); color: var(--creme); box-shadow: inset 0 0 0 2px var(--choco); }
.btn--ghost:active { transform: translateY(1px); box-shadow: inset 0 0 0 2px var(--choco); }
.btn--full { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Logo: o acento do í vira uma faísca */
.logo {
  font-family: var(--titulo);
  font-size: 2rem;
  line-height: 1;
  color: var(--creme);
  text-decoration: none;
  letter-spacing: -.02em;
  display: inline-flex;
}
.logo__img { display: none; height: 54px; width: auto; }
.logo.tem-img .logo__img { display: block; }
.logo.tem-img .logo__txt { display: none; }
.logo--big .logo__img { height: clamp(90px, 16vw, 170px); }
.logo__i { position: relative; display: inline-block; }
.logo__i svg { position: absolute; width: .52em; height: .52em; left: 50%; top: -.2em; transform: translateX(-42%); }
.logo .spark { fill: var(--glace); }
.logo--big { font-size: clamp(4.5rem, 14vw, 10rem); color: var(--choco); }
.logo--big .spark { fill: var(--morango); }

/* Topo */
.topo { background: var(--choco); color: var(--creme); position: relative; z-index: 3; }
.topo__in { display: flex; align-items: center; justify-content: center; padding-block: 20px 8px; }

/* Calda (gerada em main.js) */
[data-drip] { position: relative; }
.drip { position: absolute; top: -1px; left: 0; pointer-events: none; z-index: 2; }
.drip .d { transform: translateY(calc(var(--l) * -1px)); }
.drip.pour .d { animation: pour var(--dur) cubic-bezier(.45, 0, .15, 1) var(--delay) forwards; }
.drip.done .d { transform: none; }
@keyframes pour { to { transform: translateY(0); } }

/* Hero */
.hero { padding-top: 150px; padding-bottom: 150px; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__txt { position: relative; z-index: 3; text-align: center; }
.lead { font-size: 1.1875rem; max-width: 30em; margin: 26px auto 0; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }

.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.twinkle.t2 { animation-delay: -1.1s; }
.twinkle.t3 { animation-delay: -2.2s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .55; } }

/* Janela: a confeiteira sobe de trás do parapeito */
.janela__moca {
  transform: translateY(300px);
  animation: surgir 1.1s cubic-bezier(.34, 1.45, .64, 1) 1.2s forwards;
}
@keyframes surgir { to { transform: translateY(0); } }

/* Seções */
.sec { padding-block: 150px 140px; }
.sec--glace { background: var(--glace); }
.sec--creme { background: var(--creme); }
.sec--choco { background: var(--choco); color: #EBD9CC; }
.sec--choco h2, .sec--choco h3 { color: var(--creme); }
.sec--choco .eyebrow { color: var(--glace); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.duo--inv .duo__art { order: 2; }
.duo__art svg { width: 100%; height: auto; max-width: 520px; margin-inline: auto; }
/* Fotos redondas flutuando */
.bolhas { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin-inline: auto; }
.bolhas__fundo { position: absolute; inset: 5%; border-radius: 50%; background: var(--fundo); }
.bolha {
  position: absolute; margin: 0;
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 7px solid #fff;
  background: var(--cor);
  box-shadow: 0 14px 30px rgba(74, 38, 24, .14);
  animation: flutuar var(--d) ease-in-out var(--atraso) infinite alternate;
}
.bolha img { width: 100%; height: 100%; object-fit: cover; display: none; }
.bolha svg { width: 100%; height: 100%; }
.bolha.tem-img img { display: block; }
.bolha.tem-img svg { display: none; }
.bolha--1 { width: 56%; left: 3%; top: 26%; --d: 6s; --atraso: 0s; }
.bolha--2 { width: 40%; right: 3%; top: 5%; --d: 7.4s; --atraso: -2.5s; }
.bolha--3 { width: 33%; right: 11%; bottom: 4%; --d: 6.6s; --atraso: -4.2s; }
@keyframes flutuar {
  from { transform: translateY(-9px) rotate(-2deg); }
  to { transform: translateY(9px) rotate(2deg); }
}
.bolhas__tag {
  position: absolute; left: 6%; top: 9%;
  padding: 8px 16px; border-radius: 12px;
  background: #fff; border: 1.5px solid #EBD9C8;
  font-family: var(--subtitulo); font-size: clamp(1rem, 2vw, 1.3rem); color: var(--choco);
  box-shadow: 0 6px 14px rgba(74, 38, 24, .08);
  animation: flutuar 8s ease-in-out -1s infinite alternate;
  rotate: -7deg;
}
.bolhas__enfeite { position: absolute; width: 7%; animation: twinkle 3.2s ease-in-out infinite; }
.bolhas__enfeite--1 { left: 2%; bottom: 20%; }
.bolhas__enfeite--2 { right: 0; top: 50%; width: 5%; animation-delay: -1.2s; }
.bolhas__enfeite--3 { left: 52%; bottom: 3%; width: 6%; animation-delay: -2.1s; }
.duo__txt > p:not(.eyebrow) { margin-top: 22px; max-width: 30em; }
.duo__txt .btn { display: flex; width: fit-content; margin: 34px auto 0; }


/* Sabores: abas + pílulas */
.abas {
  display: flex; width: fit-content; gap: 4px; margin-top: 30px;
  padding: 5px; border-radius: 999px;
  background: rgba(255, 246, 236, .7);
}
.aba {
  font: 800 .9375rem/1 var(--sans); color: var(--choco);
  border: 0; background: transparent; cursor: pointer;
  padding: 11px 18px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.aba:hover { background: rgba(74, 38, 24, .07); }
.aba[aria-selected="true"] { background: var(--choco); color: var(--creme); }

.painel { margin-top: 22px; animation: aparecer .35s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } }
.painel h3 { font-size: 1.25rem; color: var(--morango); margin: 24px 0 4px; }
.painel h3:first-child { margin-top: 0; }

.sabores {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px;
  max-width: 540px;
}
.sabores li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1.5px dashed rgba(74, 38, 24, .22);
  font-family: var(--subtitulo); font-size: 1.1875rem; line-height: 1.2;
  color: var(--choco);
}
.obs { margin-top: 16px; font-size: .875rem; display: flex; gap: 8px; align-items: center; }
.obs::before { content: "✦"; color: var(--morango); }

.ocasioes { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ocasioes li {
  padding: 8px 16px; border-radius: 999px;
  background: var(--glace-claro); color: var(--choco);
  font-weight: 500; font-size: .9375rem;
  border: 1.5px solid var(--glace);
}

/* Depoimentos: prints em carrossel infinito, sempre andando */
.depo__head { text-align: center; max-width: 620px; }
.depo__head p:not(.eyebrow) { margin-top: 16px; }
.depo { margin-top: 56px; }
.fila {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.trilho {
  display: flex; align-items: center; width: max-content;
  padding: 8px 0 14px;
  animation: correr var(--tempo, 60s) linear infinite;
}
@keyframes correr { to { transform: translateX(-50%); } }

/* Recortes do balão do WhatsApp: todos na mesma escala, pra letra ficar do mesmo tamanho */
.print {
  --escala: .62;
  flex: none; margin: 0;
  width: calc(var(--w, 360) * var(--escala) * 1px); height: auto;
  border-radius: 18px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .2), 0 18px 36px rgba(0, 0, 0, .25);
  background: var(--creme);
}
/* Trabalhos: fotos redondas passando, em alturas e tamanhos alternados */
.fila--redonda .trilho { padding-block: 30px 40px; }
/* margem à direita em vez de gap: assim metade da fileira mede exatamente uma volta */
.trilho > .print { margin-right: 24px; }
.fila--redonda .trilho > .redonda { margin-right: 30px; }
.redonda {
  flex: none; margin: 0;
  width: 240px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 7px solid #fff;
  background: var(--glace-claro);
  box-shadow: 0 14px 30px rgba(74, 38, 24, .14);
  animation: flutuar 6s ease-in-out infinite alternate;
}
.redonda img { width: 100%; height: 100%; object-fit: cover; display: block; }
.redonda:nth-child(3n + 2) { width: 190px; margin-top: -70px; animation-duration: 7.2s; animation-delay: -2.4s; }
.redonda:nth-child(3n) { width: 215px; margin-top: 60px; animation-duration: 6.6s; animation-delay: -4s; }

.print:nth-child(odd) { transform: rotate(-1.5deg); }
.print:nth-child(even) { transform: rotate(1.5deg); }

.print--vazio {
  width: 225px;
  display: grid; place-items: center; text-align: center;
  padding: 24px;
  border: 2px dashed rgba(74, 38, 24, .25);
  color: #9C8173; font-size: .875rem; line-height: 1.4;
}
.print--vazio strong { display: block; font-family: var(--subtitulo); font-weight: 400; font-size: 1.5rem; color: var(--choco); }

.depo__cta { display: flex; justify-content: center; margin-top: 52px; }

/* Rodapé */
.rodape { padding-block: 130px 48px; background: var(--creme); }
.rodape__in { display: flex; justify-content: center; }

/* WhatsApp flutuante */
.wa-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 10;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--morango); color: #fff;
  box-shadow: 0 4px 0 var(--morango-escuro), 0 10px 24px rgba(74, 38, 24, .25);
  transform: translateY(120px); transition: transform .3s ease;
}
.wa-flutuante.on { transform: none; }
.wa-flutuante svg { width: 28px; height: 28px; }

/* Mobile */
@media (max-width: 880px) {
    .hero { padding-top: 110px; padding-bottom: 110px; }
  .hero__in, .duo { grid-template-columns: 1fr; }
  .print { --escala: .56; }
  .redonda { width: 180px; }
  .redonda:nth-child(3n + 2) { width: 140px; margin-top: -50px; }
  .redonda:nth-child(3n) { width: 160px; margin-top: 44px; }
  .print--vazio { width: 180px; }
  .hero__in { gap: 8px; }
  .hero__art { order: -1; max-width: 360px; width: 100%; margin-inline: auto; }
  .duo { gap: 36px; }
  .duo--inv .duo__art { order: 0; }
  .duo__art svg { max-width: 400px; }
  .sec { padding-block: 120px 100px; }
  }
@media (max-width: 480px) {
  .abas { display: flex; }
  .abas { width: auto; }
  .aba { flex: 1; padding-inline: 8px; }
  .sabores { gap: 0 16px; }
  .sabores li { font-size: 1.0625rem; gap: 9px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drip .d { transform: none !important; animation: none !important; }
  .twinkle { animation: none; }
  .btn, .wa-flutuante { transition: none; }
}

/* Titan One desenha o "í" quase sem acento: essa letra usa a Lilita One */
.acento { font-family: var(--subtitulo); }

/* Proteção: imagens não podem ser arrastadas nem selecionadas; texto não seleciona */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img, svg, image { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
a svg { pointer-events: none; }
