/* =========================================
   TOPMEMBERS LANDING PAGE
   Arquivo: landing.css
========================================= */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --green: #22c55e;
  --yellow: #f59e0b;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

/* =========================================
   RESET / BASE
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

/* =========================================
   COMPONENTES
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .28);
  transition: .2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: none;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 800;
  font-size: 13px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
  transition: .2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .10);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

/* =========================================
   HEADER
========================================= */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 170px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at top left, #dbeafe 0, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -2.2px;
  margin: 16px 0;
  font-weight: 900;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-card {
  background: white;
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transform: rotate(1.2deg);
}

.hero-card img {
  border-radius: 22px;
  border: 1px solid var(--border);
}

.floating-card {
  margin-top: -38px;
  margin-left: -22px;
  width: 78%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
  position: relative;
}

.floating-card strong {
  display: block;
  font-size: 15px;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

/* =========================================
   SEÇÕES GERAIS
========================================= */

section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-title h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
}

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

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

/* =========================================
   DORES
========================================= */

.pain {
  background: var(--soft);
}

.pain .card {
  border-left: 5px solid var(--yellow);
}

/* =========================================
   MÓDULOS
========================================= */

.modules {
  background: white;
}

.module-card {
  min-height: 225px;
}

.module-card small {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 800;
}

/* =========================================
   INTELIGÊNCIA PASTORAL
========================================= */

.pastoral-intelligence {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.pastoral-intelligence .section-title {
  margin-bottom: 34px;
}

.pastoral-intelligence .card {
  border-top: 5px solid var(--primary);
}

/* =========================================
   SPLIT / BENEFÍCIOS
========================================= */

.split {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
}

.split-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.split h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.split p {
  color: #cbd5e1;
  font-size: 18px;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-item {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 18px;
  border-radius: 18px;
}

.benefit-item strong {
  display: block;
  margin-bottom: 4px;
}

/* =========================================
   GALERIA DE SCREENSHOTS
========================================= */

.screens {
  background: var(--soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
}

.gallery-large {
  grid-row: span 2;
  min-height: 460px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(12px);
  color: white;
}

.gallery-caption strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.gallery-caption span {
  font-size: 12px;
  color: #cbd5e1;
}

/* =========================================
   CTA
========================================= */

.cta {
  padding: 64px 0;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, .25), transparent 28%),
    linear-gradient(135deg, #2563eb, #0f172a);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  max-width: 820px;
  margin: auto;
}

.cta p {
  color: #dbeafe;
  font-size: 19px;
  margin: 18px 0 30px;
}

/* =========================================
   FAQ
========================================= */

.faq {
  background: white;
}

.faq-list {
  max-width: 850px;
  margin: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: white;
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--muted);
}

/* =========================================
   FOOTER
========================================= */

footer {
  background: #020617;
  color: #94a3b8;
  padding: 36px 0;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-grid a {
  color: white;
  font-weight: 700;
}

/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-large {
    grid-row: span 1;
    min-height: 300px;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 54px;
  }

  .floating-card {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    height: 70px;
  }

  .logo img {
    width: 145px;
  }

  .hero h1 {
    letter-spacing: -1.4px;
  }

  .hero p,
  .section-title p,
  .split p,
  .cta p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-large {
    min-height: 260px;
  }
}
