/* ============================================================
   BASE — Reset, tipografia, botões, badges, utilitários
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 156px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ── Wrap ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
  margin-bottom: 12px;
}
.eyebrow--solar { color: var(--solar); }
.eyebrow--muted { color: var(--on-dark-muted); }
.eyebrow--ink   { color: var(--sage); }

/* ── Section head ── */
.section-head { max-width: 600px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 10px;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}
.section-head--dark h2 { color: var(--on-dark); }
.section-head--dark p  { color: var(--on-dark-soft); }
.section-head--center  { text-align: center; max-width: 680px; margin: 0 auto; }

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), opacity .22s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solar {
  background: var(--solar);
  color: var(--midnight);
  box-shadow: 0 8px 24px -8px rgba(245,197,24,0.55);
}
.btn--solar:hover { box-shadow: 0 12px 28px -6px rgba(245,197,24,0.70); }

.btn--lime {
  background: var(--lime);
  color: var(--midnight);
  box-shadow: 0 8px 24px -8px rgba(76,214,128,0.50);
}
.btn--lime:hover { box-shadow: 0 12px 28px -6px rgba(76,214,128,0.65); }

.btn--ghost-dark {
  background: transparent;
  border-color: rgba(15,25,35,0.20);
  color: var(--ink);
}
.btn--ghost-dark:hover { background: rgba(15,25,35,0.06); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(237,244,240,0.28);
  color: var(--on-dark);
}
.btn--ghost-light:hover { background: rgba(237,244,240,0.08); }

.btn--outline-lime {
  background: transparent;
  border-color: var(--lime);
  color: var(--lime);
}
.btn--outline-lime:hover { background: var(--lime-dim); }

/* ── Badge / Tag ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.badge--lime    { background: var(--lime-dim); color: var(--lime); border: 1px solid var(--lime-border); }
.badge--solar   { background: var(--solar-dim); color: var(--solar); border: 1px solid var(--solar-border); }
.badge--forest  { background: rgba(13,74,50,0.12); color: var(--sage); border: 1px solid rgba(13,74,50,0.20); }
.badge--on-dark { background: rgba(237,244,240,0.10); color: var(--on-dark-soft); border: 1px solid rgba(237,244,240,0.18); }

/* ── Ícone check ── */
.check-list { display: grid; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 4px;
  width: 16px;
  height: 16px;
  background: var(--lime-dim);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5L9.5 4' stroke='%234CD680' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.check-list--dark li { color: var(--on-dark-soft); }
.check-list--dark li::before { background-color: rgba(76,214,128,0.15); }

/* ── Reveal on scroll — Progressive Enhancement ──
   Estado padrão: VISÍVEL. JS adiciona .js-ready ao body antes de configurar
   o observer — só então o CSS esconde os elementos para animar a entrada.
   Se o JS falhar por qualquer motivo, o conteúdo continua visível. */
.reveal {
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js-ready .reveal              { opacity: 0; transform: translateY(20px); }
.js-ready .reveal.is-visible   { opacity: 1; transform: translateY(0); }
.js-ready .reveal-delay-1      { transition-delay: .1s; }
.js-ready .reveal-delay-2      { transition-delay: .2s; }
.js-ready .reveal-delay-3      { transition-delay: .3s; }
.js-ready .reveal-delay-4      { transition-delay: .4s; }

.consent-banner { position: fixed; z-index: 10000; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 960px; margin: auto; padding: 18px 20px; color: #f7faf8; background: #10251b; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.consent-banner strong { display: block; margin-bottom: 4px; }
.consent-banner p { margin: 0; color: #d7e3dc; font-size: 14px; line-height: 1.5; }
.consent-banner a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-actions button { min-height: 44px; padding: 10px 16px; border: 1px solid #fff; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; }
.consent-reject { color: #fff; background: transparent; }
.consent-accept { color: #10251b; background: #fff; }
@media (max-width: 680px) { .consent-banner { align-items: stretch; flex-direction: column; gap: 14px; } .consent-actions { display: grid; grid-template-columns: 1fr 1fr; } }
.consent-settings { position: fixed; z-index: 9999; left: 12px; bottom: 12px; padding: 8px 12px; color: #fff; background: #10251b; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font: inherit; font-size: 12px; cursor: pointer; }
