/* Torcida Premiada — Landing */
:root {
  --tp-deep-green: #064E2B;
  --tp-primary-green: #0B7A3B;
  --tp-energy-yellow: #FFD43B;
  --tp-orange-goal: #FF8A00;
  --tp-charcoal: #111827;
  --tp-bg: #F8FAFC;
  --tp-white: #FFFFFF;
  --tp-muted: #6B7280;
  --tp-border: #E2E8F0;
  --tp-radius-lg: 20px;
  --tp-radius-md: 14px;
  --tp-radius-sm: 10px;
  --tp-container: 1200px;
  --tp-gutter: 20px;
  --tp-section: 80px;
  --tp-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tp-shadow: 0 10px 40px rgba(6, 78, 43, 0.08);
  --tp-gradient-primary: linear-gradient(135deg, var(--tp-primary-green), var(--tp-deep-green));
  --tp-gradient-goal: linear-gradient(135deg, var(--tp-energy-yellow), var(--tp-orange-goal));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.tp-landing-body {
  margin: 0;
  font-family: var(--tp-font);
  color: var(--tp-charcoal);
  background: var(--tp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.tp-container {
  width: min(100% - var(--tp-gutter) * 2, var(--tp-container));
  margin-inline: auto;
}

.tp-section {
  padding-block: var(--tp-section);
}

.tp-section--alt { background: var(--tp-white); }

.tp-section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-primary-green);
  margin-bottom: 12px;
}

.tp-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.tp-section__lead {
  font-size: 1.125rem;
  color: var(--tp-muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.tp-section__header { margin-bottom: 40px; }
.tp-section__header--center { text-align: center; }
.tp-section__header--center .tp-section__lead { margin-inline: auto; }

/* Buttons */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--tp-radius-md);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.tp-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow);
}

.tp-btn--primary {
  background: var(--tp-gradient-primary);
  color: var(--tp-white);
}

.tp-btn--secondary {
  background: var(--tp-white);
  color: var(--tp-deep-green);
  border: 2px solid var(--tp-border);
}

.tp-btn--gold {
  background: var(--tp-gradient-goal);
  color: var(--tp-charcoal);
}

.tp-btn--block { width: 100%; }

/* Cards */
.tp-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius-lg);
  padding: 28px;
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 78, 43, 0.12);
}

.tp-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.tp-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.tp-card__text {
  margin: 0;
  color: var(--tp-muted);
  font-size: 0.95rem;
}

/* Grid */
.tp-grid {
  display: grid;
  gap: 24px;
}

.tp-grid--2 { grid-template-columns: 1fr; }
.tp-grid--3 { grid-template-columns: 1fr; }
.tp-grid--4 { grid-template-columns: 1fr; }

/* Header */
.tp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tp-border);
}

.tp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.tp-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--tp-deep-green);
}

.tp-header__logo { width: 40px; height: 40px; }

.tp-nav { display: none; align-items: center; gap: 28px; }
.tp-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-charcoal);
  transition: color 0.2s;
}
.tp-nav a:hover { color: var(--tp-primary-green); }

.tp-header__actions { display: none; align-items: center; gap: 12px; }

.tp-header__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.tp-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tp-charcoal);
  border-radius: 2px;
  transition: 0.3s;
}

.tp-header__mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px var(--tp-gutter) 24px;
  border-top: 1px solid var(--tp-border);
  background: var(--tp-white);
}

.tp-header__mobile.is-open { display: flex; }
.tp-header__mobile a { font-weight: 600; padding: 8px 0; }

/* Hero */
.tp-hero {
  position: relative;
  overflow: hidden;
  padding-block: 48px 64px;
}

.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(11, 122, 59, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(255, 212, 59, 0.14), transparent 55%),
    var(--tp-bg);
}

.tp-hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.tp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.tp-hero__title span {
  background: var(--tp-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-hero__subtitle {
  font-size: 1.125rem;
  color: var(--tp-muted);
  margin: 0 0 28px;
  max-width: 520px;
}

.tp-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.tp-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tp-metric {
  text-align: center;
  padding: 16px 8px;
  background: var(--tp-white);
  border-radius: var(--tp-radius-md);
  border: 1px solid var(--tp-border);
}

.tp-metric__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tp-primary-green);
}

.tp-metric__label {
  font-size: 12px;
  color: var(--tp-muted);
  font-weight: 600;
}

.tp-hero__visual { display: flex; justify-content: center; }
.tp-hero__mockup { max-width: 280px; filter: drop-shadow(0 24px 48px rgba(0,0,0,.15)); }

/* App screens carousel */
.tp-screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tp-screens__item {
  text-align: center;
}

.tp-screens__item img {
  margin-inline: auto;
  max-height: 220px;
  transition: transform 0.3s ease;
}

.tp-screens__item:hover img { transform: scale(1.03); }

.tp-screens__item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-muted);
}

/* Ranking live */
.tp-ranking-live {
  display: grid;
  gap: 24px;
  align-items: center;
}

.tp-ranking-live__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tp-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(11, 122, 59, 0.1);
  color: var(--tp-primary-green);
}

.tp-badge--live {
  background: rgba(255, 138, 0, 0.15);
  color: var(--tp-orange-goal);
}

/* Plans */
.tp-plan {
  position: relative;
  text-align: center;
}

.tp-plan--featured {
  border: 2px solid var(--tp-primary-green);
  transform: scale(1.02);
}

.tp-plan__price {
  font-size: 2rem;
  font-weight: 800;
  margin: 16px 0;
}

.tp-plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.tp-plan__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--tp-border);
  font-size: 14px;
}

.tp-plan__list li::before {
  content: "✓ ";
  color: var(--tp-primary-green);
  font-weight: 700;
}

/* Testimonials */
.tp-quote {
  font-style: italic;
  color: var(--tp-muted);
  margin: 0 0 16px;
}

.tp-quote__author {
  font-weight: 700;
  font-size: 14px;
}

/* Download CTA */
.tp-download {
  background: var(--tp-gradient-primary);
  color: var(--tp-white);
  border-radius: var(--tp-radius-lg);
  padding: 48px 32px;
  text-align: center;
}

.tp-download .tp-section__title { color: var(--tp-white); }
.tp-download .tp-section__lead { color: rgba(255,255,255,.85); margin-inline: auto; }

.tp-store-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.tp-store-badge {
  display: inline-flex;
  min-width: 200px;
  justify-content: center;
  padding: 14px 24px;
  background: var(--tp-charcoal);
  color: var(--tp-white);
  border-radius: var(--tp-radius-md);
  font-weight: 700;
  transition: opacity 0.2s;
}

.tp-store-badge:hover { opacity: 0.9; }

/* Footer */
.tp-footer {
  background: var(--tp-charcoal);
  color: rgba(255,255,255,.8);
  padding: 48px 0 24px;
}

.tp-footer__grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.tp-footer__brand { color: var(--tp-white); font-weight: 800; font-size: 1.1rem; }

.tp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.tp-footer__links a:hover { color: var(--tp-white); }

.tp-footer__copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: 13px;
  text-align: center;
}

/* Fade-in animation */
.tp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.tp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (min-width: 768px) {
  .tp-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .tp-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tp-screens { grid-template-columns: repeat(3, 1fr); }
  .tp-hero__actions { flex-direction: row; flex-wrap: wrap; }
  .tp-store-badges { flex-direction: row; justify-content: center; }
  .tp-ranking-live { grid-template-columns: 1fr 1fr; }
  .tp-footer__grid { grid-template-columns: 1fr 2fr; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root { --tp-section: 96px; }

  .tp-nav { display: flex; }
  .tp-header__actions { display: flex; }
  .tp-header__toggle { display: none; }

  .tp-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .tp-grid--4 { grid-template-columns: repeat(4, 1fr); }

  .tp-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tp-hero__visual { justify-content: flex-end; }
  .tp-hero__mockup { max-width: 320px; }

  .tp-screens { grid-template-columns: repeat(6, 1fr); }
}
