/* =========================================================
   GUIA +100 RECEITAS — Landing Page
   Design system
   ========================================================= */

:root {
  --verde-escuro: #0F513D;
  --verde-medio: #28785C;
  --verde-suave: #DDEEE6;
  --bg-verde-claro: #F4F8F5;
  --bege-claro: #F8F5EF;
  --branco: #FFFFFF;
  --texto: #161B1F;
  --texto-secundario: #5F6664;
  --linha: #E7EBE8;

  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --section-pad: 90px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 50px rgba(15, 81, 61, 0.10);
  --shadow-soft-sm: 0 10px 24px rgba(15, 81, 61, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 820px; }

.section { padding: var(--section-pad) 0; }
.section--tint { background: var(--bg-verde-claro); }

.hl { color: var(--verde-medio); }

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.25;
  color: var(--texto);
  margin: 0 0 32px 0;
  max-width: 620px;
}
.section-title--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.section-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto-secundario);
  max-width: 480px;
  margin-top: 20px;
}

/* Reveal on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   BOTÕES
   ========================================================= */

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--verde-escuro);
  color: var(--branco);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 18px 30px;
  border-radius: 14px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-soft-sm);
}
.checkout-button:hover {
  background: #0c4433;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.checkout-button i { width: 18px; height: 18px; }

.checkout-button--light {
  background: var(--branco);
  color: var(--verde-escuro);
}
.checkout-button--light:hover { background: var(--verde-suave); }

/* =========================================================
   HERO
   ========================================================= */

.hero { padding: 64px 0 var(--section-pad) 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 64px;
  row-gap: 28px;
  align-items: center;
}

.hero-copy-top { grid-column: 1; grid-row: 1; }
.hero-copy-bottom { grid-column: 1; grid-row: 2; }
.hero-visual { grid-column: 2; grid-row: 1 / 3; align-self: center; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-suave);
  color: var(--verde-escuro);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border-radius: 30px;
  margin-bottom: 26px;
}
.badge-pill i { width: 14px; height: 14px; }

.hero-headline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.22;
  color: var(--texto);
  margin: 0 0 20px 0;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto-secundario);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--texto); font-weight: 600; }

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-bottom: 34px;
}
.benefit-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto);
}
.benefit-row i { width: 18px; height: 18px; color: var(--verde-medio); flex: none; }

.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}
.price-was {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--texto-secundario);
  text-decoration: line-through;
  text-decoration-color: #B8C2BD;
}
.price-now {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  color: var(--verde-escuro);
  line-height: 1;
}
.price-note {
  font-size: 14px;
  color: var(--texto-secundario);
  margin-top: 4px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--texto-secundario);
  margin-top: 16px;
}
.secure-note i { width: 15px; height: 15px; color: var(--verde-medio); }

/* --- Hero visual --- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.visual-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-verde-claro) 0%, rgba(244,248,245,0) 70%);
  z-index: 0;
}

.leaf-deco {
  position: absolute;
  color: var(--verde-suave);
  z-index: 1;
}
.leaf-deco i { width: 100%; height: 100%; }
.leaf-deco--1 { width: 46px; height: 46px; top: 6%; left: 4%; transform: rotate(-18deg); }
.leaf-deco--2 { width: 34px; height: 34px; bottom: 10%; right: 2%; transform: rotate(24deg); }
.leaf-deco--3 { width: 40px; height: 40px; top: -18px; left: -14px; transform: rotate(-12deg); }

.ebook-mockup {
  position: relative;
  width: 280px;
  aspect-ratio: 0.72;
  z-index: 2;
  transform: perspective(1200px) rotateY(-10deg) rotateX(2deg) rotate(-2deg);
}

.ebook-mockup__shadow-page {
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--branco);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.ebook-mockup__cover {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.ebook-mockup__cover .food-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ebook-mockup__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,81,61,0.10) 0%, rgba(15,81,61,0.30) 55%, rgba(15,81,61,0.88) 100%);
}

.ebook-mockup__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: var(--branco);
}

.ebook-mockup__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: auto;
}
.ebook-mockup__brand i { width: 12px; height: 12px; }

.ebook-mockup__title { display: flex; flex-direction: column; line-height: 0.95; }
.ebook-mockup__num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 40px;
}
.ebook-mockup__word {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.ebook-mockup__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
}

.price-badge {
  position: absolute;
  top: 6%;
  right: -2%;
  z-index: 3;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--verde-escuro);
  color: var(--branco);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transform: rotate(8deg);
}
.price-badge span { font-size: 8px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; }
.price-badge strong { font-family: var(--font-title); font-size: 19px; font-weight: 800; margin-top: 2px; }

/* =========================================================
   IDENTIFICAÇÃO
   ========================================================= */

.id-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.check-points { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.check-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--texto);
}
.check-points i {
  width: 20px; height: 20px; flex: none;
  color: var(--verde-medio);
  background: var(--verde-suave);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
}
.check-points--list { margin-top: 26px; margin-bottom: 0; gap: 14px; }

.category-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.category-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-photo .food-image {
  width: 100%;
  aspect-ratio: 0.8;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft-sm);
}
.category-photo figcaption {
  font-size: 13px;
  font-weight: 600;
  color: var(--texto);
  text-align: center;
}

/* =========================================================
   CATEGORIAS
   ========================================================= */

.categories-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 12px;
  border-right: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}
.category-item:nth-child(4n) { border-right: none; }
.category-item:nth-last-child(-n+4) { border-bottom: none; }
.category-item i { width: 26px; height: 26px; color: var(--verde-medio); }
.category-item__name { font-family: var(--font-title); font-weight: 600; font-size: 14.5px; color: var(--texto); }
.category-item__count { font-size: 12.5px; color: var(--texto-secundario); }

/* =========================================================
   O QUE VOCÊ RECEBE
   ========================================================= */

.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.receive-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--linha);
}
.receive-item:last-child { border-bottom: none; }
.receive-item__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-escuro);
  display: flex; align-items: center; justify-content: center;
}
.receive-item__icon i { width: 22px; height: 22px; }
.receive-item h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16.5px;
  margin: 0 0 4px 0;
  color: var(--texto);
}
.receive-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--texto-secundario);
}

.mockup-stack {
  position: relative;
  height: 460px;
}

.page-card {
  position: absolute;
  width: 230px;
  background: var(--branco);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--linha);
}

.page-card--recipe { top: 0; left: 6%; z-index: 3; transform: rotate(-4deg); }
.page-card--list { top: 14%; right: 2%; z-index: 2; transform: rotate(5deg); width: 200px; }
.page-card--plan { bottom: 0; left: 20%; z-index: 1; transform: rotate(2deg); width: 215px; }

.page-card__photo { width: 100%; height: 110px; background-size: cover; background-position: center; }
.page-card__body { padding: 14px 16px 16px; }

.page-card__badges { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.page-card__badges span {
  display: flex; align-items: center; gap: 3px;
  font-size: 8.5px; font-weight: 600; color: var(--verde-escuro);
  background: var(--verde-suave); padding: 3px 6px; border-radius: 20px;
}
.page-card__badges i { width: 9px; height: 9px; }

.page-card h4 {
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--texto);
  margin: 0 0 8px 0;
}

.page-card__label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde-medio);
  margin: 8px 0 4px 0;
}

.page-card__lines li, .page-card__steps li, .page-card__checks li {
  font-size: 10.5px;
  color: var(--texto);
  line-height: 1.7;
  padding-left: 10px;
  position: relative;
}
.page-card__lines li::before, .page-card__checks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 3px; height: 3px; border-radius: 50%; background: var(--verde-medio);
}
.page-card__steps { counter-reset: s; }
.page-card__steps li { counter-increment: s; padding-left: 14px; }
.page-card__steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--verde-escuro); color: #fff; font-size: 6.5px;
  display: flex; align-items: center; justify-content: center;
}

.page-card__kicker {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--verde-escuro);
  margin-bottom: 10px;
}
.page-card__group { margin-bottom: 8px; }

.mini-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.mini-table th, .mini-table td {
  font-size: 8px; padding: 4px 3px; text-align: left; color: var(--texto-secundario);
  border-bottom: 1px solid var(--linha);
}
.mini-table th { color: var(--verde-escuro); font-weight: 700; }
.mini-table td:first-child { font-weight: 600; color: var(--texto); }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
}
.step__icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-escuro);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step__icon i { width: 30px; height: 30px; }
.step__num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  color: var(--verde-medio);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.step h3 { font-family: var(--font-title); font-size: 16.5px; font-weight: 600; margin: 0 0 6px 0; }
.step p { font-size: 13.5px; color: var(--texto-secundario); line-height: 1.6; }

.step-arrow { width: 22px; height: 22px; color: var(--verde-suave); margin-top: 34px; flex: none; }

/* =========================================================
   PARA QUEM É
   ========================================================= */

.for-who-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.for-who-photo {
  position: relative;
}
.for-who-photo .food-image {
  width: 100%;
  aspect-ratio: 1.05;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   FAQ
   ========================================================= */

.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--texto);
  text-align: left;
}
.accordion-trigger i { width: 18px; height: 18px; color: var(--verde-medio); flex: none; transition: transform 0.25s ease; }
.accordion-item.is-open .accordion-trigger i { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel p {
  padding: 0 22px 20px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--texto-secundario);
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.final-cta {
  background: var(--verde-escuro);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  color: var(--branco);
}

.final-cta__mockup { display: flex; justify-content: center; }
.ebook-mockup--small { width: 150px; transform: rotate(-4deg); }
.ebook-mockup--small .ebook-mockup__cover { box-shadow: 0 16px 34px rgba(0,0,0,0.28); }
.ebook-mockup--small .ebook-mockup__num { font-size: 26px; }
.ebook-mockup--small .ebook-mockup__word { font-size: 15px; }
.ebook-mockup--small .ebook-mockup__content { padding: 12px; }

.final-cta__copy h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  margin: 0 0 10px 0;
}
.final-cta__copy p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  max-width: 340px;
}

.final-cta__buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}
.final-cta__price { font-family: var(--font-title); font-weight: 800; font-size: 34px; }
.final-cta__note { font-size: 12.5px; color: rgba(255,255,255,0.72); margin-bottom: 10px; }

/* =========================================================
   RODAPÉ
   ========================================================= */

.footer {
  padding: 48px 0 32px 0;
  border-top: 1px solid var(--linha);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
  color: var(--texto);
}
.footer-brand i { width: 16px; height: 16px; color: var(--verde-medio); }
.footer-tagline { font-size: 13px; color: var(--texto-secundario); margin-top: 6px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-links a { font-size: 13px; color: var(--texto-secundario); }
.footer-links a:hover { color: var(--verde-escuro); }

.footer-legal { text-align: right; }
.footer-legal p {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--texto-secundario);
  margin-bottom: 8px;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1080px) {
  .final-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 48px 32px; }
  .final-cta__buy { align-items: center; text-align: center; }
  .final-cta__copy p { max-width: 420px; }
}

@media (max-width: 860px) {
  :root { --section-pad: 56px; }

  /* texto centralizado em toda a página no mobile */
  .hero-copy-top,
  .hero-copy-bottom,
  .section-title,
  .section-text,
  .id-grid > div:first-child,
  .receive-grid > div:first-child,
  .for-who-grid > div:first-child {
    text-align: center;
  }
  .section-title, .section-text, .hero-headline, .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero { padding: 40px 0 var(--section-pad) 0; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 28px; }
  .hero-copy-top, .hero-visual, .hero-copy-bottom { grid-column: auto; grid-row: auto; }
  .hero-visual { min-height: 380px; }
  .hero-copy-top, .hero-copy-bottom { display: flex; flex-direction: column; align-items: center; }

  .badge-pill, .benefit-row, .secure-note { justify-content: center; }
  .price-block { align-items: center; }
  .check-points { align-items: center; }
  .check-points li { justify-content: center; }

  .id-grid, .receive-grid, .for-who-grid { grid-template-columns: 1fr; gap: 40px; }
  .id-grid > div:last-child, .for-who-grid > .for-who-photo { order: -1; }

  .receive-item { flex-direction: column; align-items: center; text-align: center; }

  .category-photos { max-width: 420px; margin: 0 auto; }

  .categories-row { grid-template-columns: repeat(2, 1fr); }
  .category-item:nth-child(4n) { border-right: 1px solid var(--linha); }
  .category-item:nth-child(2n) { border-right: none; }
  .category-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--linha); }
  .category-item:nth-last-child(-n+2) { border-bottom: none; }

  .mockup-stack { width: 100%; height: 460px; max-width: 380px; margin: 0 auto; }
  .page-card--recipe { width: 185px; left: 0; top: 0; }
  .page-card--recipe .page-card__photo { height: 80px; }
  .page-card--recipe .page-card__steps { display: none; }
  .page-card--list { width: 150px; right: 0; top: 4%; }
  .page-card--plan { width: 175px; left: 20%; bottom: 0; z-index: 4; }

  .steps-row { flex-direction: column; align-items: center; gap: 36px; }
  .step-arrow { display: none; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-links { align-items: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .benefit-row { gap: 14px 20px; }
  .price-now { font-size: 44px; }
  .checkout-button { width: 100%; }
  .ebook-mockup { width: 230px; }
  .price-badge { width: 78px; height: 78px; top: 2%; right: 0; }
  .category-photos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mockup-stack { transform: scale(0.92); }
}
