/* ═══════════════════════════════════════════════════════════════
   GadoX — Landing Page Styles
════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────
   1. VARIÁVEIS & RESET
─────────────────────────────────────────── */
:root {
  --green:      #58C734;
  --green-dark: #1E5A09;
  --green-mid:  #2d7a10;
  --black:      #0a0a0a;
  --white:      #ffffff;
  --gray:       #6b7280;
  --gray-light: #f4f5f2;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ───────────────────────────────────────────
   2. NAVBAR
─────────────────────────────────────────── */
nav#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

nav#nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 48px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  width: 150px;
  height: 36px;
  overflow: hidden;
  text-decoration: none;
}

.nav-logo-img {
  width: 110px;
  height: auto;
  transition: filter 0.3s;
}

nav#nav.scrolled .nav-logo-img { filter: none !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

nav#nav.scrolled .nav-links a { color: var(--gray); }
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: var(--green-dark) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: #45a827 !important; transform: translateY(-1px); }

/* ───────────────────────────────────────────
   3. HERO — FOTO FULL BLEED
─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0;
}

/* Foto de fundo */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background: url('foto-fazenda.png') center center / cover no-repeat;
  z-index: 0;
}

/* Overlay gradiente — escurece embaixo para texto ficar legível */
.hero-bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5, 25, 5, 0.35) 0%,
      rgba(5, 25, 5, 0.5)  40%,
      rgba(5, 25, 5, 0.82) 75%,
      rgba(5, 25, 5, 0.96) 100%
    );
}

/* Conteúdo sobre a foto */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-tag span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 900px;
}

h1 em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 40px rgba(88,199,52,0.4);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.btn-primary {
  background: var(--green);
  color: var(--green-dark);
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(88,199,52,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(88,199,52,0.45);
  background: #65d940;
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
}

.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* Stats bar na parte inferior do hero */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  gap: 0;
}

.hero-stat-item {
  flex: 1;
  max-width: 220px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-num span { color: var(--green); }

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-weight: 500;
}

/* Mockup flutuante abaixo do hero */
.hero-mockup-wrap {
  position: relative;
  z-index: 10;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px 80px;
  background: white;
}

.hero-mockup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
}

.mockup-bar {
  background: #f4f5f2;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e5e7eb;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-content { padding: 20px; }

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-title { font-size: 14px; font-weight: 700; color: #111; }
.mockup-badge {
  background: #dcf5d8;
  color: #1E5A09;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.mcard { padding: 12px; border-radius: 10px; }
.mcard--green { background: linear-gradient(135deg, #58C734, #45a827); }
.mcard--white { background: #f8f9fa; border: 1px solid #f0f0f0; }
.mcard-num { font-size: 24px; font-weight: 800; }
.mcard--green .mcard-num { color: white; }
.mcard--white .mcard-num { color: #111; }
.mcard-label { font-size: 10px; margin-top: 2px; }
.mcard--green .mcard-label { color: rgba(255,255,255,0.8); }
.mcard--white .mcard-label { color: #9ca3af; }

.mockup-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 6px;
}

.mockup-brinco {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #58C734;
  background: #dcf5d8;
  padding: 2px 6px;
  border-radius: 4px;
}

.mockup-info { font-size: 11px; color: #6b7280; flex: 1; }
.mockup-dot { width: 6px; height: 6px; border-radius: 50%; background: #58C734; }
.mockup-dot--inactive { background: #9ca3af; }

/* ───────────────────────────────────────────
   4. SECTIONS (base)
─────────────────────────────────────────── */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
}

/* ───────────────────────────────────────────
   5. FUNCIONALIDADES
─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  border-radius: 20px;
  overflow: hidden;
}

.feature {
  background: var(--gray-light);
  padding: 40px 36px;
  transition: background 0.2s;
}

.feature:hover { background: #eef5eb; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ───────────────────────────────────────────
   6. COMO FUNCIONA
─────────────────────────────────────────── */
.how-section {
  background: var(--gray-light);
  padding: 100px 48px;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.step { position: relative; }

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ───────────────────────────────────────────
   7. PLANOS
─────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.plan {
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.plan--featured {
  border-color: var(--green);
  background: linear-gradient(160deg, #f0fce9 0%, #ffffff 60%);
  box-shadow: 0 8px 32px rgba(88,199,52,0.15);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name { font-size: 14px; font-weight: 700; color: var(--gray); margin-bottom: 12px; }
.plan-price { font-size: 42px; font-weight: 900; letter-spacing: -2px; color: var(--black); }
.plan-price sup { font-size: 18px; font-weight: 700; vertical-align: super; letter-spacing: 0; }
.plan-price sub { font-size: 14px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.plan-animals { font-size: 13px; color: var(--gray); margin: 8px 0 24px; }

.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  font-size: 13px;
  color: var(--black);
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.plan-btn--solid {
  background: var(--green);
  color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(88,199,52,0.3);
}

.plan-btn--solid:hover {
  background: #45a827;
  transform: translateY(-1px);
}

.plan-btn--outline {
  border: 1.5px solid #e5e7eb;
  color: var(--black);
}

.plan-btn--outline:hover { border-color: var(--green); color: var(--green-dark); }

.plans-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 32px;
}

/* ───────────────────────────────────────────
   8. CTA
─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1E5A09 0%, #2d8010 60%, #3da015 100%);
  padding: 80px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }

.cta-tag {
  display: inline-block;
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 20px;
}

.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.7; margin-bottom: 40px; }

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────
   9. FOOTER
─────────────────────────────────────────── */
footer {
  background: #060f04;
  color: white;
  padding: 64px 48px 32px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

.footer-links { display: flex; gap: 48px; }

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.2); }

/* ───────────────────────────────────────────
   10. ANIMAÇÕES
─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────
   11. RESPONSIVO — MOBILE
─────────────────────────────────────────── */
@media (max-width: 768px) {
  nav#nav, nav#nav.scrolled { padding: 16px 24px; }
  .nav-links { display: none; }

  .hero-content { padding: 120px 24px 0; }
  h1 { font-size: 44px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat-item { min-width: 33.33%; max-width: none; border-right: 1px solid rgba(255,255,255,0.1); border-bottom: none; padding: 20px 12px; }
  .hero-stat-item:last-child { border-right: none; }
  .stat-num { font-size: 28px; }
  .hero-mockup-wrap { margin-top: 32px; }

  .section { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .how-section { padding: 64px 24px; }
  .cta-section { padding: 64px 24px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
}

/* ───────────────────────────────────────────
   SHOWCASE — PERFIL DO ANIMAL
─────────────────────────────────────────── */
.showcase-section {
  padding: 100px 48px;
  background: var(--white);
}

.showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-text h2 { margin-bottom: 16px; }

.showcase-text p {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.showcase-list {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  font-size: 15px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-check {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  background: #e8f9e0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-showcase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-showcase:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

.showcase-img-wrap {
  position: relative;
}

.showcase-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);
  display: block;
}

@media (max-width: 768px) {
  .showcase-inner { grid-template-columns: 1fr; gap: 40px; }
  .showcase-section { padding: 64px 24px; }
}
