/* ===== Tokens ===== */
:root {
  --green-950: #0a2418;
  --green-900: #0f3324;
  --green-800: #164430;
  --green-700: #1d5540;
  --gold-400: #e3bf6e;
  --gold-500: #d4a94a;
  --gold-600: #b8862a;
  --navy-900: #17233f;
  --navy-800: #1f2f52;
  --cream-50: #faf7ee;
  --cream-100: #f1ead4;
  --ink-900: #1a1a1a;
  --ink-600: #4a4a4a;
  --radius: 14px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: var(--green-950);
  box-shadow: 0 6px 18px rgba(180, 130, 30, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(180, 130, 30, .45); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-large { padding: 16px 34px; font-size: 1.05rem; }
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 36, 24, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(212, 169, 74, .25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  color: var(--cream-50);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; }
.logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .5px;
  color: var(--gold-400);
}
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: .95rem; font-weight: 500; opacity: .9; }
.main-nav a:hover { opacity: 1; color: var(--gold-400); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(212,169,74,.10), transparent 40%),
    linear-gradient(160deg, var(--green-950), var(--green-900) 55%, var(--green-800));
  color: var(--cream-50);
  padding: 72px 0 88px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(212, 169, 74, .15);
  border: 1px solid rgba(212, 169, 74, .5);
  color: var(--gold-400);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.1rem;
  line-height: 1.08;
  margin: 0 0 18px;
}
.hero h1 .highlight { color: var(--gold-400); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--cream-100);
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn-ghost { color: var(--cream-50); }

/* ===== Image slots (placeholders until real assets are dropped in) ===== */
.img-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot-label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: #7a6a3a;
  background: repeating-linear-gradient(45deg, #f1ead4, #f1ead4 10px, #e7dcb8 10px, #e7dcb8 20px);
  border: 2px dashed #c9a83f;
  border-radius: var(--radius);
}
.img-slot-empty { min-height: 260px; }
.img-slot-empty img { display: none; }
.img-slot-empty .img-slot-label { display: flex; }

.img-slot-hero { aspect-ratio: 4 / 5; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.img-slot-produto { aspect-ratio: 1 / 1; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.img-slot-fundadores { aspect-ratio: 4 / 3; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.img-slot-fundadores img { object-position: center 4%; }

/* ===== Produto ===== */
.produto { padding: 90px 0; }
.produto-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.eyebrow {
  display: inline-block;
  color: var(--green-800);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.produto-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 22px;
  color: var(--navy-900);
}
.serif-accent { color: var(--gold-600); }
.price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  background: var(--cream-100);
  border: 1px solid #e3d6a8;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
}
.price-main { font-family: var(--font-body); font-size: 1.9rem; font-weight: 700; color: var(--green-900); }
.price-detail { font-size: .95rem; color: var(--ink-600); }
.price-pix { width: 100%; font-size: .85rem; font-weight: 600; color: var(--gold-600); }
.produto-desc { color: var(--ink-600); margin: 0 0 16px; }
.check-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  background: var(--green-800);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Caixa (itens) ===== */
.caixa { background: var(--cream-100); padding: 80px 0; }
.section-title { font-family: var(--font-display); font-size: 2rem; color: var(--navy-900); margin: 0 0 10px; }
.section-title.light { color: var(--cream-50); }
.section-sub { color: var(--ink-600); margin: 0 0 44px; }
.section-sub.light { color: var(--cream-100); }
.center { text-align: center; }
.itens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.item-card {
  background: #fff;
  border: 1px solid #e3d6a8;
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-900);
}
.item-icon { display: block; font-size: 1.8rem; margin-bottom: 10px; }
.item-icon-svg {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 auto 10px;
}
.item-note { display: block; margin-top: 4px; font-size: .76rem; font-weight: 500; color: var(--ink-600); }
.age-note { text-align: center; font-size: .8rem; color: #8a7d54; margin: 28px 0 0; }

/* ===== Módulos ===== */
.modulos { padding: 90px 0; }
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.modulo-card {
  border-radius: var(--radius);
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 26px;
}
.modulo-card-content { position: relative; z-index: 2; }
.modulo-disponivel {
  background: linear-gradient(160deg, var(--green-950), var(--green-800));
  color: var(--cream-50);
  box-shadow: 0 16px 30px rgba(10, 36, 24, .3);
}
.modulo-bg-photo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32%;
  max-width: 88px;
  height: auto;
  object-fit: contain;
  opacity: .8;
  z-index: 0;
  pointer-events: none;
}
.modulo-bloqueado {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--cream-50);
  opacity: .62;
}
.modulo-char {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 32%;
  max-width: 88px;
  height: auto;
  object-fit: contain;
  opacity: .85;
  z-index: 0;
  pointer-events: none;
}
.modulo-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-disponivel { background: var(--gold-500); color: var(--green-950); }
.tag-em-breve { background: rgba(250, 247, 238, .18); color: var(--cream-100); }
.modulo-num { display: block; font-family: var(--font-display); font-size: .95rem; opacity: .8; margin-bottom: 4px; }
.modulo-card h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--cream-50); }
.modulo-card p { margin: 0 0 16px; font-size: .92rem; color: var(--cream-100); }
.lock-note { font-size: .85rem; }

/* ===== Fundadores ===== */
.fundadores { padding: 90px 0; background: var(--cream-100); }
.fundadores-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.fundadores-info p { color: var(--ink-600); margin: 0 0 14px; }

/* ===== Formulário / Garantir ===== */
.garantir {
  background: linear-gradient(160deg, var(--green-950), var(--green-900));
  color: var(--cream-50);
  padding: 90px 0;
}
.garantir-inner { max-width: 560px; }
.lead-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,169,74,.25);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 34px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--gold-400); }
.form-row input {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: var(--cream-50);
  font-family: var(--font-body);
  font-size: .98rem;
}
.form-row input::placeholder { color: rgba(250,247,238,.45); }
.form-row input:focus { outline: 2px solid var(--gold-500); }
.form-row input.invalid { outline: 2px solid #e07a5f; }
.cep-endereco { font-size: .8rem; color: var(--cream-100); opacity: .8; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--cream-100);
  margin: 20px 0 24px;
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; }
.form-note { text-align: center; font-size: .8rem; color: var(--cream-100); opacity: .75; margin: 14px 0 0; }

/* ===== Footer ===== */
.site-footer { background: var(--green-950); color: var(--cream-100); padding: 28px 0; }
.footer-inner { text-align: center; font-size: .8rem; }
.footer-brand { font-weight: 600; margin: 0 0 6px; color: var(--gold-400); }
.footer-legal { margin: 0; opacity: .7; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .produto-grid, .fundadores-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .itens-grid { grid-template-columns: repeat(2, 1fr); }
  .modulos-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .hero h1 { font-size: 2.3rem; }
}
@media (max-width: 520px) {
  .itens-grid { grid-template-columns: repeat(2, 1fr); }
  .modulos-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
