/* =========================================================================
   Caderno de Bolos da Vó Truus — Edição Saudável
   Sistema de design: "Aconchego Caseiro"
   Paleta: creme #FFFBF2, marfim #FFF3DB, cacau #3A2A1E, mel #DB9A2C,
           sálvia #6E9A55, terracota (cta hover) #C1502E
   Tipografia: display "Fraunces" (serifada quente, aconchegante) +
               corpo "Inter" (neutro, legível)
   Elemento de assinatura: "vapor" dourado subindo do bolo no hero +
               selos flutuantes (sem açúcar / glúten / lactose) +
               trilha de farinha (scroll progress) no topo
   ========================================================================= */

:root {
  --cream: #fffbf2;
  --ivory: #fff3db;
  --ivory-2: #fceac2;
  --cocoa: #3a2a1e;
  --cocoa-soft: #5a4534;
  --honey: #db9a2c;
  --honey-dark: #b87c17;
  --sage: #6e9a55;
  --sage-dark: #4f7339;
  --terracotta: #c1502e;
  --red-strike: #d1442c;
  --white: #ffffff;
  --shadow-soft: 0 20px 50px -25px rgba(58, 42, 30, 0.35);
  --shadow-card: 0 14px 30px -18px rgba(58, 42, 30, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  min-width: 320px;
  background: var(--cream);
  color: var(--cocoa);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 88px 0; }
section.tight { padding: 56px 0; }

@media (max-width: 768px) {
  section { padding: 60px 0; }
  section.tight { padding: 40px 0; }
}

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--cocoa);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); text-align: center; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { line-height: 1.7; font-size: 1.05rem; color: var(--cocoa-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey-dark);
  background: var(--ivory);
  border: 1px solid rgba(219, 154, 44, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { text-align: center; }

/* ---------- Trilha de progresso (assinatura) ---------- */
.progress-trail {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--honey), var(--sage));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  min-height: 56px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--honey), var(--honey-dark));
  color: var(--white);
  box-shadow: 0 16px 32px -14px rgba(184, 124, 23, 0.65);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--terracotta), var(--red-strike));
  box-shadow: 0 20px 38px -14px rgba(193, 80, 46, 0.6);
}
.btn-block { width: 100%; }
.btn-wrap { display: flex; justify-content: center; margin-top: 36px; }
.btn-sub {
  text-align: center;
  font-size: 0.85rem;
  color: var(--cocoa-soft);
  margin-top: 12px;
}

/* ---------- Header / Hero ---------- */
.hero {
  padding-top: 56px;
  background: radial-gradient(120% 100% at 50% 0%, var(--ivory) 0%, var(--cream) 55%);
  overflow: hidden;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.hero-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-dark);
  background: #eef4e7;
  border: 1px solid rgba(110, 154, 85, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero h1 { text-align: left; }
.hero-copy p.lede { font-size: 1.18rem; max-width: 520px; }
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 28px;
}
.hero-media-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.hero-media-frame img { width: 100%; height: auto; }
.hero-steam {
  position: absolute;
  top: -60px;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(219, 154, 44, 0.35), transparent 70%);
  filter: blur(18px);
  z-index: -1;
  animation: steam-rise 6s ease-in-out infinite;
}
@keyframes steam-rise {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(-18px) scale(1.08); opacity: 0.9; }
}
.hero-float-tag {
  position: absolute;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float-tag 5s ease-in-out infinite;
}
.hero-float-tag.tag-1 { top: 8%; left: -6%; color: var(--sage-dark); animation-delay: 0s; }
.hero-float-tag.tag-2 { bottom: 14%; right: -8%; color: var(--honey-dark); animation-delay: 1.4s; }
.hero-float-tag.tag-3 { bottom: -4%; left: 8%; color: var(--terracotta); animation-delay: 2.6s; }
@keyframes float-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-banner { margin-top: 48px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero h1 { text-align: center; }
  .hero-copy p.lede { margin-left: auto; margin-right: auto; }
  .hero-float-tag { display: none; }
}

/* ---------- Carrossel simples (scroll-snap) ---------- */
.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--honey) transparent;
}
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--honey); border-radius: 999px; }
.carousel-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform 0.35s var(--ease-smooth);
}
.carousel-item:hover { transform: translateY(-6px); }
.carousel-item img { width: 100%; height: 300px; object-fit: cover; }
.carousel-item.tall img { height: 320px; }
.carousel-item.wide { width: 300px; }
.carousel-item.wide img { height: 190px; }

/* ---------- Seção 2: Delícias ---------- */
.delicias { background: var(--ivory); }

/* ---------- Seção 3: O que você vai receber ---------- */
.receber-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.receber-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.receber-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ivory);
  color: var(--honey-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.receber-item p { margin: 0; font-weight: 600; color: var(--cocoa); font-size: 1rem; }
@media (max-width: 768px) { .receber-grid { grid-template-columns: 1fr; } }

/* ---------- Seção 4: Cards de receita ---------- */
.cake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cake-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.cake-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.cake-card-photo { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.cake-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo); }
.cake-card:hover .cake-card-photo img { transform: scale(1.06); }
.cake-card-body { padding: 20px 22px 24px; }
.cake-card-body h3 { margin: 0 0 10px; font-size: 1.1rem; }
.cake-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cake-meta span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-dark);
  background: #eef4e7;
  padding: 5px 10px;
  border-radius: 999px;
}
.cake-tag { font-size: 0.85rem; color: var(--cocoa-soft); }
@media (max-width: 900px) { .cake-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cake-grid { grid-template-columns: 1fr; } }

.mais-receitas { text-align: center; margin-top: 44px; }
.mais-receitas h2 { color: var(--honey-dark); }

/* ---------- Seção 5: Vó Truus ---------- */
.vo-section { background: var(--ivory); }
.vo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.vo-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.vo-copy .eyebrow { background: var(--white); }
.vo-copy p { font-size: 1.08rem; }
.vo-signature { font-family: "Fraunces", serif; font-style: italic; color: var(--honey-dark); margin-top: 18px; }
@media (max-width: 900px) {
  .vo-grid { grid-template-columns: 1fr; text-align: center; }
  .vo-photo { max-width: 320px; margin: 0 auto; }
  .vo-copy .eyebrow { margin-left: auto; margin-right: auto; }
}

/* ---------- Seção 6: Categorias ---------- */
.categoria-block { margin-bottom: 44px; }
.categoria-block:last-child { margin-bottom: 0; }
.categoria-block h3 { text-align: center; margin-bottom: 18px; color: var(--honey-dark); }

/* ---------- Seção 7: Bônus ---------- */
.bonus-section { background: linear-gradient(180deg, var(--cocoa) 0%, #2c2015 100%); color: var(--cream); }
.bonus-section h2, .bonus-section .eyebrow { color: var(--cream); }
.bonus-section .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--ivory-2); }
.bonus-section .section-head p { color: #d8c9b6; }
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bonus-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.bonus-card img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); margin: 0 auto 18px; }
.bonus-card h3 { color: var(--cream); font-size: 1rem; margin-bottom: 12px; }
.bonus-price { font-size: 1.3rem; font-weight: 700; }
.bonus-price del { color: #ff9d85; font-weight: 500; margin-right: 8px; }
.bonus-price .free { color: #8fe08a; }
@media (max-width: 900px) { .bonus-grid { grid-template-columns: 1fr; } }

/* ---------- Seção 8: Para quem ---------- */
.publico-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.publico-list li {
  background: var(--white);
  border: 1px solid var(--ivory-2);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}
.publico-list li b { color: var(--sage-dark); margin-right: 6px; }

/* ---------- Seção 9: Depoimentos ---------- */
.depo-section { background: var(--ivory); }
.depo-carousel .carousel-item { width: 210px; }
.depo-carousel .carousel-item img { height: 280px; }

/* ---------- Seção 10: Oferta ---------- */
.oferta-section {
  background: radial-gradient(120% 100% at 50% 0%, var(--ivory) 0%, var(--cream) 60%);
}
.oferta-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.oferta-card { align-items: center; }
.oferta-media { background: var(--ivory); display: flex; align-items: center; justify-content: center; padding: 32px; align-self: stretch; }
.oferta-media img { width: 100%; max-width: 260px; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.oferta-body { padding: 40px 40px 44px; text-align: center; }
.oferta-body h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-align: center; }
.oferta-includes { text-align: left; max-width: 320px; margin: 0 auto 22px; }
.oferta-includes li { display: flex; gap: 8px; padding: 4px 0; font-weight: 600; color: var(--cocoa-soft); font-size: 0.95rem; }
.oferta-includes li b { color: var(--sage-dark); }
.price-old { color: var(--red-strike); text-decoration: line-through; font-size: 1.1rem; font-weight: 600; }
.price-main { font-family: "Fraunces", serif; font-size: clamp(2.1rem, 4vw, 2.8rem); color: var(--honey-dark); margin: 6px 0 2px; }
.price-alt { color: var(--cocoa-soft); font-weight: 600; margin-bottom: 6px; }
.price-anchor { font-size: 0.9rem; color: var(--sage-dark); font-weight: 600; margin-bottom: 22px; }
.oferta-urgency {
  margin-top: 16px;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}
@media (max-width: 820px) {
  .oferta-card { grid-template-columns: 1fr; }
  .oferta-media { padding: 28px; }
}

/* ---------- Seção 11: Como vou receber ---------- */
.receber2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.receber2-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-weight: 600;
  border-bottom: 1px dashed var(--ivory-2);
}
.receber2-list li:last-child { border-bottom: none; }
.receber2-list li b { color: var(--sage-dark); }
.receber2-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
@media (max-width: 900px) {
  .receber2-grid { grid-template-columns: 1fr; text-align: center; }
  .receber2-list { text-align: left; max-width: 420px; margin: 0 auto; }
}

/* ---------- Seção 12: Garantia ---------- */
.garantia-section { background: var(--ivory); }
.garantia-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 44px;
  text-align: center;
}
.garantia-card img.seal { width: 120px; margin: 0 auto 20px; }
.garantia-card p { max-width: 520px; margin: 0 auto; }
.garantia-strip {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.garantia-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ivory-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-weight: 600;
  color: var(--cocoa-soft);
  background: var(--cream);
}
@media (max-width: 560px) {
  .garantia-strip { grid-template-columns: 1fr; }
}

/* ---------- Seção 13: FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--ivory-2);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--cocoa);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--honey-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease-smooth);
  font-weight: 900;
}
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); background: var(--honey); color: var(--white); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.35s var(--ease-smooth);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { min-height: 0; overflow: hidden; padding: 0 24px; }
.faq-item.is-open .faq-answer-inner { padding: 0 24px 20px; }
.faq-answer-inner p { margin: 0; }

/* ---------- Rodapé ---------- */
footer {
  background: var(--cocoa);
  color: #d8c9b6;
  padding: 40px 0;
  text-align: center;
  font-size: 0.88rem;
}
footer a { text-decoration: underline; }
.footer-links { margin-top: 10px; }
.footer-links a { margin: 0 8px; }

/* ---------- CTA fixo mobile ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 -12px 30px -18px rgba(58,42,30,0.4);
  padding: 10px 16px;
  transform: translateY(120%);
  transition: transform 0.4s var(--ease-out-expo);
  display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }
.reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible { transform: translate(0) scale(1); }

.magnetic-btn { will-change: transform; }
