/* ================================================
   VIRAVÍCIO — Landing Page Styles
   Depende de tokens.css (vars + fontes)
   ================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font-body); background: var(--bg-page); color: var(--fg-primary); width: 100%; overflow-x: clip; }
img { max-width: 100%; display: block; }
picture { display: contents; }
a { text-decoration: none; }

/* ── UTILITIES ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-sm { padding: clamp(40px, 6vw, 64px) 0; }
.lead { font-size: 18px; }
.overline { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-muted); }
.overline-pink { color: var(--accent); }
.text-center { text-align: center; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(52px,6.5vw,88px); font-weight: 400; }
h2 { font-size: clamp(36px,5vw,56px); font-weight: 700; }
h3 { font-size: clamp(22px,3vw,30px); font-weight: 700; }
p { line-height: 1.7; color: var(--fg-secondary); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer; border: none; border-radius: var(--r-full); transition: all .2s ease; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 16px 32px; box-shadow: var(--shadow-pink); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,33,120,.35); }
.btn-dark { background: var(--bg-dark); color: #fff; padding: 16px 32px; }
.btn-dark:hover { background: var(--choc-600); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--fg-primary); padding: 14px 30px; border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 20px 40px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-white { background: #fff; color: var(--accent); padding: 18px 36px; box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── WHATSAPP ICON ── */
.wa-icon { width: 22px; height: 22px; fill: currentColor; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,251,248,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--fg-primary); letter-spacing: -.03em; }
.nav-logo em { color: var(--accent); font-style: italic; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── HERO ── */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 68px; padding-bottom: 48px; background: var(--white-warm); position: relative; overflow: hidden; }
.hero-bg-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-bg-blob--tr { width: 600px; height: 600px; background: var(--pink-50); top: -100px; right: -150px; opacity: .7; }
.hero-bg-blob--bl { width: 300px; height: 300px; background: var(--pink-100); bottom: -80px; left: -80px; opacity: .5; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text { position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--pink-50); border: 1.5px solid var(--pink-200); border-radius: var(--r-full); padding: 6px 16px; margin-bottom: 28px; white-space: nowrap; }
.hero-tag span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hero-title { margin-bottom: 24px; color: var(--fg-primary); }
.hero-title em { color: var(--accent); }
.hero-sub { font-size: 18px; line-height: 1.7; color: var(--fg-secondary); max-width: 460px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 20px; }
.hero-stars { color: var(--accent); font-size: 18px; letter-spacing: 2px; }
.hero-proof-text { font-size: 13px; color: var(--fg-muted); font-weight: 500; }
.hero-proof-text strong { color: var(--fg-primary); }

/* Hero visual */
.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.hero-circle { width: min(460px, 42vw); height: min(460px, 42vw); border-radius: 50%; background: var(--pink-100); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-circle > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-placeholder { font-size: 12px; color: var(--pink-400); font-family: monospace; text-align: center; }
.hero-badge-float { position: absolute; background: var(--bg-dark); color: #fff; border-radius: var(--r-lg); padding: 12px 18px; box-shadow: var(--shadow-md); }
.hero-badge-float--bl { bottom: 40px; left: -20px; }
.hero-badge-float--tr { top: 40px; right: -30px; }
.hero-badge-float--accent { background: var(--accent); }
.hero-badge-float__label { font-size: 10px; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.hero-badge-float--accent .hero-badge-float__label { color: rgba(255,255,255,.8); letter-spacing: 0; text-transform: none; }
.hero-badge-float__name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }
.hero-badge-float--accent .hero-badge-float__name { font-size: 15px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--bg-dark); padding: 28px 0; }
.trust-bar-inner { display: flex; justify-content: center; gap: 64px; align-items: center; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-divider { color: rgba(255,255,255,.2); font-size: 24px; line-height: 1; }
.trust-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--pink-400); line-height: 1; }
.trust-label { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 4px; }

/* ── PRODUTOS ── */
.produtos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.produtos-grid-brigadeirao { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; max-width: 700px; margin-left: auto; margin-right: auto; }
.produto-card { background: var(--bg-surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.produto-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.produto-img { height: 200px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; overflow: hidden; }
.produto-img > img { width: 100%; height: 100%; object-fit: cover; }
.produto-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.produto-desc { font-size: 13px; line-height: 1.55; color: var(--fg-muted); margin-bottom: 14px; flex: 1; }
.produto-overline { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; color: var(--accent); }
.produto-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--fg-primary); margin-bottom: 6px; line-height: 1.2; }
.produto-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-full); }
.produto-badge-dark { background: var(--bg-dark); }

/* ── COMO FUNCIONA ── */
.como-bg { background: var(--white-cream); border-radius: var(--r-xl); padding: 64px; }
.como-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.step { text-align: center; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 28px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-pink); }
.step-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--pink-200); font-size: 28px; padding-top: 24px; }

/* ── BENEFÍCIOS ── */
.beneficios { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.beneficios-visual { background: var(--pink-50); border-radius: var(--r-xl); height: 480px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.beneficios-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-xl); }
.beneficios-feature { position: absolute; background: #fff; border-radius: var(--r-lg); padding: 14px 18px; box-shadow: var(--shadow-md); }
.beneficios-feature--bl { bottom: 24px; left: 24px; }
.beneficios-feature--tr { top: 24px; right: 24px; }
.beneficios-feature--dark { background: var(--bg-dark); }
.beneficios-feature__label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.beneficios-feature__label--accent { color: var(--accent); }
.beneficios-feature__label--pink { color: var(--pink-400); }
.beneficios-feature__name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-primary); }
.beneficios-feature__name--light { color: #fff; }
.beneficio-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.beneficio-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--pink-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px; border: 1.5px solid var(--pink-100); }
.beneficio-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.beneficio-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.beneficios-cta { margin-top: 8px; }

/* ── DEPOIMENTOS ── */
.depo-bg { background: var(--bg-dark); border-radius: var(--r-xl); padding: 72px 64px; }
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.depo-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 28px; }
.depo-stars { color: var(--pink-400); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.depo-text { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.depo-author { display: flex; align-items: center; gap: 10px; }
.depo-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-400); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; }
.depo-name { font-size: 13px; font-weight: 700; color: #fff; }
.depo-sub { font-size: 11px; color: rgba(255,255,255,.4); }

/* ── FORMATOS ── */
.formatos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin-top: 48px; }
.formato-card { background: var(--bg-surface); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; border: 2px solid var(--border); transition: all .2s; cursor: pointer; }
.formato-card:hover, .formato-card.featured { border-color: var(--accent); background: var(--pink-50); box-shadow: var(--shadow-pink); transform: translateY(-4px); }
.formato-icon { font-size: 36px; margin-bottom: 12px; }
.formato-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.formato-desc { font-size: 12px; color: var(--fg-muted); line-height: 1.5; }
.formato-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: var(--r-full); margin-bottom: 12px; }

/* ── FAQ ── */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { background: var(--bg-surface); border-radius: var(--r-lg); border: 1.5px solid var(--border); overflow: hidden; }
.faq-q { padding: 22px 28px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--fg-primary); user-select: none; transition: color .15s; }
.faq-q:hover { color: var(--accent); }
.faq-q .arrow { color: var(--accent); font-size: 18px; transition: transform .2s; flex-shrink: 0; }
.faq-a { padding: 0 28px 22px; font-size: 15px; color: var(--fg-secondary); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--accent); }

/* ── CTA FINAL ── */
.cta-final { background: var(--accent); border-radius: var(--r-xl); padding: 80px 64px; text-align: center; position: relative; overflow: hidden; }
.cta-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.cta-blob--tr { width: 400px; height: 400px; top: -120px; right: -100px; }
.cta-blob--bl { width: 250px; height: 250px; bottom: -80px; left: -60px; }
.cta-title { font-family: var(--font-display); font-size: clamp(36px,5vw,60px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.cta-sub { font-size: 18px; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 40px; }

/* ── TEXTURE ELEMENTS ── */
.choc-dots { position: absolute; opacity: .06; pointer-events: none; }
.choc-dot { border-radius: 50%; background: var(--choc-800); }

/* ── FOOTER ── */
footer { background: var(--choc-900); padding: 32px; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--pink-400); letter-spacing: -.02em; margin-bottom: 10px; }
.footer-logo em { font-style: italic; }
.footer-text { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── FLOATING WA ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 998; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(37,211,102,.5); transition: transform .2s; cursor: pointer; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ── TEXTURE BACKGROUND ── */
.texture-dots { background-image: radial-gradient(var(--choc-100) 1.5px, transparent 1.5px); background-size: 28px 28px; }
.texture-dots-pink { background-image: radial-gradient(var(--pink-100) 1.5px, transparent 1.5px); background-size: 28px 28px; }

/* ================================================
   RESPONSIVE — desktop-first, 5 breakpoints
   1024 → tablet large
    900 → tablet portrait (beneficios + depo)
    768 → mobile large (collapse hero)
    640 → mobile (1 coluna premium nos produtos)
    480 → mobile small (densidade compacta)
   ================================================ */

/* ── ≤1024px: TABLET LARGE ── */
@media (max-width: 1024px) {
  .produtos-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .produtos-grid-brigadeirao { gap: 20px; }
  .hero-content { gap: 40px; }
  .hero-circle { width: min(380px, 44vw); height: min(380px, 44vw); }
  .como-bg { padding: 48px; }
  .depo-bg { padding: 56px 48px; }
  .beneficios { gap: 40px; }
}

/* ── ≤900px: BENEFÍCIOS + DEPO viram 1 coluna ── */
@media (max-width: 900px) {
  .beneficios { grid-template-columns: 1fr; gap: 32px; }
  .beneficios-visual { height: auto; aspect-ratio: 4 / 5; max-height: 480px; }
  .beneficios-cta { display: flex; width: 100%; justify-content: center; margin-top: 16px; padding: 16px 24px; }
  .depo-bg { padding: 56px 32px; }
  .depo-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* ── ≤768px: HERO empilhado, COMO 1 coluna ── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 20px; height: 64px; }
  .nav-logo { font-size: 22px; }

  /* Hero */
  .hero { min-height: auto; padding-top: 88px; padding-bottom: 56px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-tag { margin-bottom: 20px; }
  .hero-sub { font-size: 16px; max-width: none; margin-bottom: 28px; }
  .hero-ctas { width: 100%; flex-direction: column; margin-bottom: 32px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-proof { justify-content: center; flex-wrap: wrap; }
  .hero-circle { width: min(360px, 80vw); height: min(360px, 80vw); }
  .hero-bg-blob--tr { width: 320px; height: 320px; top: -80px; right: -120px; }
  .hero-bg-blob--bl { width: 200px; height: 200px; bottom: -60px; left: -60px; }
  .hero-badge-float--bl { bottom: 16px; left: 8px; }
  .hero-badge-float--tr { top: 16px; right: 8px; }

  /* Trust */
  .trust-bar-inner { gap: 28px 32px; }
  .trust-divider { display: none; }
  .trust-num { font-size: 28px; }

  /* Como funciona */
  .como-bg { padding: 40px 24px; border-radius: var(--r-lg); }
  .como-steps { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .step-arrow { display: none; }

  /* CTA Final */
  .cta-final { padding: 56px 28px; border-radius: var(--r-lg); }
  .cta-sub { font-size: 16px; }
  .cta-final .btn-white { width: 100%; justify-content: center; padding: 16px 24px; }
  .cta-blob--tr { width: 240px; height: 240px; top: -60px; right: -60px; }
  .cta-blob--bl { width: 160px; height: 160px; bottom: -50px; left: -40px; }
}

/* ── ≤640px: PRODUTOS 1 coluna premium ── */
@media (max-width: 640px) {
  .produtos-grid { grid-template-columns: 1fr; gap: 20px; max-width: 440px; margin-left: auto; margin-right: auto; }
  .produtos-grid-brigadeirao { grid-template-columns: 1fr; max-width: 440px; gap: 20px; }
  .produto-img { height: auto; aspect-ratio: 1 / 1; }
  .produto-title { font-size: 22px; }
  .produto-body { padding: 22px 22px 26px; }
  .produto-card .btn-sm { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14px; }
}

/* ── ≤480px: MOBILE SMALL — densidade compacta ── */
@media (max-width: 480px) {
  /* Trust em 2x2 grid */
  .trust-bar-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Tipografia escalada */
  .lead { font-size: 16px; }
  .hero-tag { padding: 6px 14px; }
  .hero-tag span { font-size: 11px; }

  /* Hero badges menores */
  .hero-badge-float { padding: 8px 12px; }
  .hero-badge-float__name { font-size: 14px; }
  .hero-badge-float--accent .hero-badge-float__name { font-size: 13px; }

  /* Beneficios floating menores + visual mais compacto */
  .beneficios-visual { aspect-ratio: 1 / 1; }
  .beneficios-feature { padding: 10px 14px; }
  .beneficios-feature--bl { bottom: 16px; left: 16px; }
  .beneficios-feature--tr { top: 16px; right: 16px; }
  .beneficios-feature__name { font-size: 13px; }

  /* Depoimentos compactos */
  .depo-bg { padding: 40px 20px; }
  .depo-card { padding: 22px; }

  /* Formatos 2 colunas compactas */
  .formatos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .formato-card { padding: 22px 16px; }
  .formato-icon { font-size: 30px; }
  .formato-name { font-size: 16px; }
  .formato-desc { font-size: 11px; }

  /* FAQ compacta */
  .faq-q { padding: 18px 20px; font-size: 15px; }
  .faq-a { padding: 0 20px 18px; font-size: 14px; }

  /* CTA Final ainda menor */
  .cta-blob--tr { width: 200px; height: 200px; top: -50px; right: -50px; }
  .cta-blob--bl { width: 140px; height: 140px; }

  /* Footer + WA flutuante reduzido */
  footer { padding: 24px 20px; }
  .wa-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
  .wa-float svg { width: 28px; height: 28px; }
}
