/* ==========================================================================
   LANDING PAGE DE APRESENTACAO & TESTE GRATUITO (BRANCH DEMO)
   Linguagem visual consistente com a vitrine white-label
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-surface: #0f172a;
  --bg-card: #131d33;
  --bg-card-hover: #17233e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.14);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --whatsapp-color: #25d366;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing-body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

.ambient-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(150px);
  opacity: 0.16;
}

.ambient-glow.top {
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--primary, #2563eb) 0%, transparent 70%);
}

.ambient-glow.middle {
  top: 960px;
  right: -240px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  opacity: 0.11;
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary, #2563eb) 0%, #1e40af 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.68rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-bright);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-cta-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}

.btn-cta-green:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.38);
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary, #2563eb) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-cta-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

.btn-cta-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 auto 1.35rem;
  max-width: 920px;
  color: #ffffff;
}

.hero-gradient-text {
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-reassurance svg {
  color: var(--accent-green);
}

.hero-metrics-bar {
  margin: 3rem auto 0;
  max-width: 980px;
  background: rgba(19, 29, 51, 0.82);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.metric-item {
  text-align: center;
  padding: 0 0.5rem;
  border-right: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-right: none;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.metric-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS BASE
   ========================================================================== */
.landing-section {
  padding: 4.25rem 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.8rem;
}

.badge-heading {
  display: inline-block;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #ffffff;
  line-height: 1.2;
}

.section-subtext {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ==========================================================================
   BENEFITS GRID (PROBLEMS WE SOLVE)
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.35);
  background: var(--bg-card-hover);
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.benefit-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #ffffff;
}

.benefit-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   CLIENT SHOWCASE PRESENTATION (IMAGE FROM /midia/index-presentation.png)
   ========================================================================== */
.showcase-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(19, 29, 51, 0.75) 50%, rgba(15, 23, 42, 0.45) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 3rem;
  align-items: center;
}

.showcase-copy .badge-heading {
  margin-bottom: 1rem;
}

.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 1rem;
}

.showcase-lead {
  color: var(--text-soft);
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.showcase-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.showcase-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.showcase-checklist li strong {
  color: #ffffff;
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.browser-mockup {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #131d33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-address {
  flex: 1;
  max-width: 320px;
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.browser-screen {
  display: block;
  position: relative;
  text-decoration: none;
}

.browser-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.browser-caption {
  padding: 0.85rem 1.1rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.browser-caption a {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.browser-caption a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   HOW THE FREE TRIAL WORKS (3 STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.15rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.6rem;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   FINAL CTA BANNER & FOOTER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(16, 185, 129, 0.14) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 3.25rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.8rem;
}

.cta-banner p {
  color: var(--text-soft);
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}

.landing-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-brand p {
  margin: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .showcase-split {
    grid-template-columns: 1fr;
  }

  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item:nth-child(2) {
    border-right: none;
  }

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

@media (max-width: 768px) {
  .header-nav,
  .hide-mobile {
    display: none;
  }

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

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-metrics-bar {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.9rem;
  }

  .metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
