*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Paleta oficial do Guia de identidade visual DivertiPass (v1.0); tipografia e componentes
   seguem o layout de referência aprovado em set/2026 (apresentação comercial).
   produto.html repete estes tokens e parte dos componentes no próprio <style> — manter iguais. */
:root {
  --green: #1E3D26;  /* Verde Floresta — textos, seções escuras, rodapé */
  --orange: #F25E1F; /* Laranja Energia — ação: botões, rótulos de seção, números */
  --yellow: #F4B809; /* Amarelo Sol — destaques em fundo verde e cartões de ênfase */
  --cream: #F7F4E8;  /* Creme Natural — fundo das páginas */
  --white: #ffffff;
  /* Linhas e neutros derivados da paleta */
  --line: rgba(30, 61, 38, .15);
  --line-dark: rgba(247, 244, 232, .25);
  --text-muted: #5C6B60;
  --font-title: 'Baloo 2', 'Nunito Sans', system-ui, sans-serif;
  --font-text: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--green); font-family: var(--font-text); font-size: 1rem; line-height: 1.35; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--font-title); font-weight: 800; }
h1 { font-size: clamp(2.25rem, 6.5vw, 5.25rem); line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; }
.balance { text-wrap: balance; }
section[id] { scroll-margin-top: 72px; }

/* CABEÇALHO */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 232, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(30, 61, 38, .1); }
.site-header-inner { max-width: 1248px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* Logo: sempre o SVG oficial de img/ (positivo em fundo claro, negativo em fundo escuro).
   Nunca abaixo de 140px de largura; o espaço ao redor garante a área de proteção. */
.logo { display: block; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-link, .header-link { color: var(--green); font-size: .875rem; font-weight: 700; text-decoration: none; }
.nav-link:hover, .header-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header .btn { white-space: nowrap; }

/* BOTÕES */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; border: 0; border-radius: 999px; padding: 10px 18px; font-family: var(--font-text); font-size: .875rem; font-weight: 800; line-height: 1.25; text-decoration: none; cursor: pointer; transition: opacity .15s; }
.btn:hover { opacity: .88; }
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(247, 244, 232, .4); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* SEÇÕES — alternam creme (fundo da página), branco e verde */
.section { padding: 96px 24px; }
.section-white { background: var(--white); }
.section-dark { background: var(--green); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.flow { display: grid; gap: 40px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: start; }
.stack { display: grid; gap: 28px; align-content: start; }
.stack > .btn { justify-self: start; }
.section-head { display: grid; gap: 18px; max-width: 820px; }
.eyebrow { display: block; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.section-dark .eyebrow { color: var(--yellow); }
.lead { font-size: 1.1875rem; line-height: 1.55; }
.note { font-size: 1.0625rem; line-height: 1.5; max-width: 760px; }
.section-dark .lead, .section-dark .note { color: var(--cream); }

/* HERO (capa verde) */
.hero { padding: 96px 24px 110px; }
.hero-inner { display: grid; gap: 40px; }
.hero-logo { height: 64px; width: auto; justify-self: start; }
.hero .eyebrow { font-size: .875rem; }
.hero h1 { max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.45; max-width: 720px; color: var(--cream); }

/* CARTÕES */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.stack-cards { display: grid; gap: 16px; }
.card { border-radius: 24px; padding: 32px; display: grid; gap: 12px; align-content: start; }
.card-lg { border-radius: 28px; padding: 40px; gap: 14px; }
.card p { font-size: 1.125rem; line-height: 1.5; }
.card-green { background: var(--green); color: var(--white); }
.card-orange { background: var(--orange); color: var(--white); }
.card-yellow { background: var(--yellow); color: var(--green); }
.card-white { background: var(--white); }
.card-label { font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-lg .card-label { font-size: .8125rem; }
.card-green .card-label { color: var(--yellow); }
.card-orange .card-label { color: var(--green); }
.card .card-text-lg { font-size: 1.3125rem; line-height: 1.45; }
.card-title, .card-statement p { font-family: var(--font-title); font-weight: 800; font-size: 1.875rem; line-height: 1.1; }
.card-statement { padding-block: 32px; }
.card-rule { gap: 18px; }
.card-rule p { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .35); }

/* VITRINE DE OFERTAS (cards de parceiros com link; montados por parceiros.js) */
.tickets-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.ticket { background: var(--white); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--green); transition: transform .15s; }
.ticket:hover { transform: translateY(-3px); }
.ticket-image { width: 100%; height: 200px; background-color: var(--cream); }
.ticket-body { padding: 24px 26px 26px; display: grid; gap: 8px; }
.ticket-name { font-family: var(--font-title); font-weight: 700; font-size: 1.625rem; line-height: 1.1; }
.ticket-desc { font-size: 1rem; line-height: 1.5; }
.ticket-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.ticket-price s { color: var(--text-muted); font-size: .9375rem; }
.ticket-price strong { font-family: var(--font-title); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--orange); }
.ticket-price-pending { color: var(--text-muted); }
.ticket-price-pending b { color: var(--green); }
.ticket-link { font-size: .9375rem; font-weight: 800; margin-top: 6px; }
.section-white .ticket { background: var(--cream); }

/* LISTAS */
.points { list-style: none; display: grid; gap: 18px; }
.points li { display: grid; gap: 4px; padding-top: 18px; border-top: 2px solid var(--line); }
.points strong { font-size: 1.1875rem; }
.points p { font-size: 1.0625rem; line-height: 1.5; }
/* Passos numerados em fundo verde; o último fica em laranja */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.step { border: 1.5px solid var(--line-dark); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.step-num { font-family: var(--font-title); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--yellow); }
.step strong { font-size: 1.25rem; }
.step p { font-size: 1rem; line-height: 1.5; color: var(--cream); }
.step-highlight { background: var(--orange); border-color: var(--orange); }
.step-highlight .step-num, .step-highlight p { color: var(--white); }
/* Passos numerados em fundo claro (círculo verde) */
.num-list { list-style: none; display: grid; gap: 14px; }
.num-list li { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: 20px; padding: 22px; }
.num-list div { display: grid; gap: 4px; }
.num-badge { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--yellow); display: grid; place-items: center; font-weight: 800; }
.num-list strong { font-size: 1.125rem; }
.num-list p { font-size: 1rem; line-height: 1.5; }

/* RODAPÉ */
.site-footer { background: var(--green); color: rgba(247, 244, 232, .75); padding: 48px 24px; font-size: .875rem; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.footer-logo { height: 48px; width: auto; }
.site-footer-flush { padding-top: 0; }

@media (max-width: 900px) {
  .nav-link { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 72px 24px; }
  .hero { padding: 72px 24px 88px; }
  .card, .card-lg { padding: 28px 24px; }
}
@media (max-width: 400px) {
  .site-header-inner { padding: 10px 16px; gap: 8px; }
  .logo img { width: 140px; height: auto; }
  .site-header .btn { padding: 9px 13px; font-size: .8125rem; }
}
