/* =========================================================
   A História dos Cromos — Folha de estilos
   ========================================================= */

:root {
  --green-900: #06251a;
  --green-800: #0b2e1f;
  --green-700: #0b6e4f;
  --green-500: #14a06b;
  --gold: #f4c430;
  --gold-soft: #ffd76a;
  --red: #d8232a;
  --red-soft: #e8474d;
  --cream: #f7f3e9;
  --ink: #0d130f;
  --muted: #9bb0a4;
  --card: #103127;
  --card-2: #0e271e;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--green-900);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .6rem;
  letter-spacing: .3px;
}

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

.accent { color: var(--gold); }
.accent-red { color: var(--red-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: .92rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: .82rem; }

.btn-primary { background: var(--gold); color: #2a1d00; box-shadow: 0 10px 24px rgba(244, 196, 48, .28); }
.btn-primary:hover { background: var(--gold-soft); }

.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-buy { background: var(--red); color: #fff; width: 100%; box-shadow: 0 10px 24px rgba(216,35,42,.3); }
.btn-buy:hover { background: var(--red-soft); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 37, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.18rem; text-decoration: none; letter-spacing: .5px; }
.brand-ball { font-size: 1.4rem; }
.brand-text em { color: var(--gold); font-style: normal; }

.nav-links { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .5px; color: var(--cream); opacity: .9; transition: color .2s, opacity .2s; }
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta { border: 2px solid var(--gold); color: var(--gold) !important; padding: 7px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--gold); color: #2a1d00 !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--cream); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Herói ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(20,160,107,.35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(216,35,42,.22), transparent 55%),
    linear-gradient(180deg, var(--green-800), var(--green-900));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 90px 22px; max-width: 920px; }
.kicker {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: .82rem;
  color: var(--gold);
  border: 1px solid rgba(244,196,48,.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: "Anton", "Oswald", sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1.2rem;
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); max-width: 640px; color: #d8e6dd; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: .7rem; color: var(--muted);
  z-index: 2;
}
.mouse { width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.wheel { width: 4px; height: 8px; background: var(--gold); border-radius: 4px; animation: wheel 1.6s ease infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } }

/* ---------- Secções ---------- */
.section { padding: 92px 0; position: relative; }
.section-intro { background: linear-gradient(180deg, var(--green-900), var(--green-800)); }
.section-eyebrow {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .8rem; color: var(--gold); margin-bottom: .6rem;
}
.section h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
.section .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #e7efe9; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-sub { color: #cdddd3; }

/* ---------- Linha do tempo ---------- */
.section-timeline { background: var(--green-800); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--red) 92%, transparent);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 42px 56px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-year {
  position: absolute; top: 0;
  font-family: "Anton", sans-serif; font-size: 1.55rem; color: var(--gold);
  background: var(--green-900); padding: 2px 12px; border-radius: 8px; border: 1px solid var(--line);
  z-index: 2;
}
.tl-item:nth-child(odd) .tl-year { right: -56px; }
.tl-item:nth-child(even) .tl-year { left: -56px; }
.tl-item::after {
  content: ""; position: absolute; top: 12px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--green-900); box-shadow: 0 0 0 3px rgba(244,196,48,.25); z-index: 3;
}
.tl-item:nth-child(odd)::after { right: -8px; }
.tl-item:nth-child(even)::after { left: -8px; }

.tl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-top: 40px;
  transition: transform .25s ease, border-color .25s ease;
}
.tl-card:hover { transform: translateY(-4px); border-color: rgba(244,196,48,.35); }
.tl-card h3 { font-size: 1.25rem; color: #fff; }
.tl-card p { color: #c9d8cf; margin: 0; font-size: .98rem; }
.tl-card-final { border-color: rgba(244,196,48,.45); background: linear-gradient(160deg, #14402d, #0e271e); }

.tl-tag {
  display: inline-block; font-family: "Oswald", sans-serif; text-transform: uppercase;
  font-size: .68rem; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 999px; margin: 0 0 .7rem .4rem;
  vertical-align: middle;
}
.tl-item:nth-child(odd) .tl-tag { margin: 0 .4rem .7rem 0; }
.tl-tag-cup { background: rgba(20,160,107,.18); color: var(--green-500); border: 1px solid rgba(20,160,107,.4); }
.tl-tag-panini { background: rgba(216,35,42,.16); color: var(--red-soft); border: 1px solid rgba(216,35,42,.4); }
.tl-tag-pt { background: rgba(244,196,48,.16); color: var(--gold); border: 1px solid rgba(244,196,48,.4); }

/* ---------- Ritual ---------- */
.section-ritual { background: linear-gradient(180deg, var(--green-800), var(--green-900)); text-align: center; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.mini-card {
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow); transition: transform .25s, border-color .25s;
}
.mini-card:hover { transform: translateY(-6px); border-color: rgba(244,196,48,.35); }
.mini-ico { font-size: 2.4rem; margin-bottom: .6rem; }
.mini-card h3 { color: var(--gold); font-size: 1.3rem; }
.mini-card p { color: #c9d8cf; margin: 0; font-size: .96rem; }

/* ---------- Onde comprar ---------- */
.section-comprar {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(216,35,42,.18), transparent 60%),
    var(--green-900);
}
.buy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 920px; margin: 0 auto; }
.buy-card {
  background: linear-gradient(165deg, #133a2a, #0d251c);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.buy-card:hover { transform: translateY(-6px); border-color: rgba(244,196,48,.45); box-shadow: 0 26px 60px rgba(0,0,0,.45); }
.buy-badge {
  align-self: flex-start; font-family: "Oswald", sans-serif; text-transform: uppercase;
  font-size: .7rem; letter-spacing: 1.4px; color: var(--green-500);
  background: rgba(20,160,107,.14); border: 1px solid rgba(20,160,107,.4);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 1rem;
}
.buy-store { font-family: "Anton", sans-serif; font-size: 2.2rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .3rem; }
.buy-product { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--gold); font-size: 1.05rem; margin-bottom: .6rem; }
.buy-desc { color: #c9d8cf; font-size: .96rem; flex: 1; }
.buy-card .btn-buy { margin-top: 1.2rem; }
.buy-note { text-align: center; color: var(--muted); font-size: .86rem; max-width: 640px; margin: 34px auto 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: #051f15; border-top: 1px solid var(--line); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand .brand-ball { font-size: 1.5rem; }
.footer-brand .brand-text { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.2rem; }
.footer-brand .brand-text em { color: var(--gold); font-style: normal; }
.footer-tagline { color: var(--muted); margin-top: .8rem; max-width: 320px; font-size: .92rem; }
.footer-nav h4 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a { text-decoration: none; color: var(--muted); transition: color .2s; font-size: .94rem; }
.footer-nav a:hover { color: var(--gold); }

.footer-legal { border-top: 1px solid var(--line); padding: 26px 22px 30px; }
.disclaimer { color: var(--muted); font-size: .82rem; line-height: 1.6; max-width: 940px; }
.disclaimer strong { color: #c9d8cf; }
.copyright { color: var(--muted); font-size: .82rem; margin: .6rem 0 0; }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: #0c2a1f; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  max-width: 880px; margin: 0 auto;
  animation: slideUp .4s ease;
}
.cookie-banner[hidden] { display: none; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-content { display: flex; align-items: center; gap: 20px; padding: 18px 22px; flex-wrap: wrap; }
.cookie-content p { margin: 0; flex: 1; min-width: 240px; font-size: .9rem; color: #d8e6dd; }
.cookie-content a { color: var(--gold); }
.cookie-actions { display: flex; gap: .6rem; }

/* ---------- Páginas legais ---------- */
.legal-page { background: var(--green-900); min-height: 100vh; }
.legal-hero { padding: 60px 0 30px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
.legal-hero .updated { color: var(--muted); font-size: .9rem; }
.legal-body { max-width: 820px; padding: 48px 22px 90px; }
.legal-body h2 { font-size: 1.45rem; color: var(--gold); margin-top: 2.4rem; text-transform: none; }
.legal-body h3 { font-size: 1.1rem; color: #fff; margin-top: 1.6rem; }
.legal-body p, .legal-body li { color: #d3e0d8; font-size: .98rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-body a { color: var(--gold); }
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); text-decoration: none; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 1.4rem; }
.back-link:hover { text-decoration: underline; }

/* ---------- Animação de revelação ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wheel { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .cards-3 { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(6,37,26,.98); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 22px; }
  .nav-cta { border: 0; border-radius: 0; color: var(--gold) !important; }
  .nav-cta:hover { background: rgba(244,196,48,.1); color: var(--gold) !important; }

  /* Linha do tempo passa a coluna única */
  .timeline::before { left: 20px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding: 0 0 48px 52px;
  }
  .tl-item:nth-child(odd) .tl-tag { margin: 0 .4rem .7rem 0; }
  .tl-year, .tl-item:nth-child(odd) .tl-year, .tl-item:nth-child(even) .tl-year { left: 0; right: auto; font-size: 1.25rem; }
  .tl-item::after, .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: 13px; right: auto; }
  .tl-card { margin-top: 44px; }
}

@media (max-width: 460px) {
  .hero-actions .btn { width: 100%; }
  .cookie-content { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}
