/* Landing Domínios Expirados Brasil – mesmo padrão CSS e tokens do Lovable (variáveis :root + gradientes) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

.landing {
  /* Tokens do Lovable (index.css :root) */
  --background: 220 20% 7%;
  --foreground: 210 20% 92%;
  --card: 220 18% 10%;
  --card-foreground: 210 20% 92%;
  --primary: 155 60% 45%;
  --primary-foreground: 220 20% 7%;
  --secondary: 220 15% 16%;
  --secondary-foreground: 210 20% 85%;
  --muted: 220 15% 14%;
  --muted-foreground: 215 15% 55%;
  --accent: 155 50% 35%;
  --border: 220 15% 18%;
  --input: 220 15% 18%;
  --ring: 155 60% 45%;
  --radius: 0.5rem;
  --glow-primary: 0 0 20px hsl(155 60% 45% / 0.3);
  --gradient-hero: linear-gradient(135deg, hsl(155 60% 45% / 0.15) 0%, hsl(220 20% 7%) 50%, hsl(210 80% 55% / 0.08) 100%);
  --gradient-card: linear-gradient(145deg, hsl(220 18% 12%) 0%, hsl(220 18% 9%) 100%);
  --gradient-badge: linear-gradient(135deg, hsl(155 60% 45%) 0%, hsl(155 70% 55%) 100%);
}

.landing * { box-sizing: border-box; }

a{outline: none!important;}

.landing {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.landing h1, .landing h2, .landing h3 { font-family: 'Space Grotesk', system-ui, sans-serif; }

.landing .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.landing .container--narrow { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Ícones SVG – mesmo padrão Lucide (stroke, round caps) */
.landing .landing-icon { flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }

/* Nav */
.landing .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}
.landing .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.landing .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
  text-decoration: none;
}
.landing .nav-logo:focus { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.landing .nav-logo .landing-icon { color: hsl(var(--primary)); }
.landing .nav-links { display: flex; gap: 1.5rem; font-size: 0.875rem; }
.landing .nav-links a { color: hsl(var(--muted-foreground)); text-decoration: none; }
.landing .nav-links a:hover { color: hsl(var(--foreground)); }

.landing .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius);
}
.landing .nav-toggle:hover { background: hsl(var(--secondary)); }
.landing .nav-toggle:focus { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.landing .nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .landing .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    flex-wrap: nowrap;
  }
  .landing .nav-logo {
    min-width: 0;
  }
  .landing .nav-logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .landing .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .landing .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .landing .nav-links.is-open {
    max-height: 200px;
    opacity: 1;
  }
  .landing .nav-links a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    color: hsl(var(--foreground));
    border-bottom: 1px solid hsl(var(--border));
  }
  .landing .nav-links a:last-child { border-bottom: none; }
  .landing .nav-links a:hover {
    background: hsl(var(--secondary) / 0.5);
  }
}

/* Hero – bg igual Lovable */
.landing .hero {
  padding: 4rem 0 5rem;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}
.landing .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  margin-bottom: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
}
.landing .hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--primary));
  animation: landing-pulse 2s ease-in-out infinite;
}
@keyframes landing-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.landing .hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
.landing .hero h1 .highlight {
  background: linear-gradient(135deg, hsl(155 60% 45%), hsl(155 70% 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing .hero-desc { margin: 0 auto 1.25rem; max-width: 36rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }

/* Prova social – portais em grayscale */
.landing .hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}
.landing .hero-trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  width: 100%;
}
@media (min-width: 480px) { .landing .hero-trust-label { width: auto; } }
.landing .hero-trust-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: hsl(0 0% 55%);
  filter: grayscale(1);
  background: hsl(220 15% 18%);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
}
.landing .hero-trust-logo:hover { color: hsl(0 0% 65%); }

/* CTA principal – botão sólido */
.landing .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: calc(var(--radius) + 2px);
  background: hsl(var(--primary));
  color: hsl(220 20% 8%);
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 0 20px hsl(var(--primary) / 0.35);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.landing .hero-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 24px hsl(var(--primary) / 0.45);
  color: hsl(220 20% 8%);
}
.landing .hero-cta:focus { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }

.landing .hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: fit-content;
  position: relative;
}
.landing .hero-cards::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, hsl(155 60% 45% / 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
@media (min-width: 640px) {
  .landing .hero-cards { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .landing .hero-card { min-width: 160px; }
}
.landing .hero-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
}
.landing .hero-card-icon {
  color: hsl(155 70% 52%);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 6px hsl(155 60% 45% / 0.35));
}
.landing .hero-card-title { font-size: 0.875rem; font-weight: 600; margin: 0 0 0.25rem; color: hsl(var(--foreground)); }
.landing .hero-card-desc { font-size: 0.75rem; margin: 0; color: hsl(var(--muted-foreground)); }

/* Section titles */
.landing .section-title { text-align: center; margin-bottom: 3rem; }
.landing .section-title h2 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: hsl(var(--foreground)); }
.landing .section-title h2 .highlight {
  background: linear-gradient(135deg, hsl(155 60% 45%), hsl(155 70% 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing .section-title p { margin: 0; color: hsl(var(--muted-foreground)); max-width: 28rem; margin-left: auto; margin-right: auto; }

/* How it works – cards com num + CheckCircle como no Lovable */
.landing .how { padding: 4rem 0; border-top: 1px solid hsl(var(--border)); }
.landing .how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .landing .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .landing .how-grid { grid-template-columns: repeat(4, 1fr); } }
.landing .how-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
}
.landing .how-card-header { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.5rem; }
.landing .how-card-header-row { display: flex; align-items: center; gap: 0.5rem; }
.landing .how-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
}
.landing .how-card .landing-icon { color: hsl(var(--primary) / 0.5); }
.landing .how-card h3 { margin: 0; font-size: 1rem; font-weight: 600; color: hsl(var(--foreground)); }
.landing .how-card p { margin: 0; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }

/* Pricing – badge com Lock, plano com Star, botão com glow */
.landing .pricing { padding: 4rem 0; }
.landing .pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 2rem!important;
}
.landing .pricing-badge .landing-icon { width: 14px; height: 14px; }

/* Modal popup – e-mail e ir ao Mercado Pago */
.landing .pricing-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.landing .pricing-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.landing .pricing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(220 20% 7% / 0.75);
  cursor: pointer;
}
.landing .pricing-modal-box {
  position: relative;
  width: 100%;
  max-width: 22rem;
  padding: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.landing .pricing-modal-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.landing .pricing-modal-price {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}
.landing .pricing-modal .form-assinar-landing { display: flex; flex-direction: column; gap: 0.75rem; }
.landing .pricing-modal .input-email-assinar { width: 100%; }
.landing .pricing-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.landing .pricing-modal-actions .btn-assinar { flex: 1; }
.landing .btn-modal-cancel {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-family: inherit;
}
.landing .btn-modal-cancel:hover { color: hsl(var(--foreground)); border-color: hsl(var(--muted-foreground)); }
.landing .pricing-modal .msg-erro-assinar { margin: 0; }

/* Grid de planos (Starter, Pro, Agency) */
.landing .pricing-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .landing .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.landing .pricing-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.landing .pricing-card--featured {
  border-color: hsl(var(--primary) / 0.6);
  box-shadow: var(--glow-primary);
  background: linear-gradient(145deg, hsl(220 18% 14%) 0%, hsl(220 18% 10%) 100%);
  transform: scale(1.05);
  z-index: 1;
}
@media (max-width: 899px) {
  .landing .pricing-card--featured { transform: scale(1); }
}
.landing .pricing-plan-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.landing .pricing-plan-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}
.landing .pricing-plan-subtitle {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.landing .pricing-plan-price { font-size: 2rem; font-weight: 700; color: hsl(var(--foreground)); line-height: 1; margin:0.5rem 0;}
.landing .pricing-plan-price small { font-size: 0.9rem; font-weight: 400; color: hsl(var(--muted-foreground)); }
.landing .pricing-plan-limit {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-weight: 500;
}
.landing .pricing-plan-limit strong {
  color: hsl(var(--primary));
  font-weight: 700;
  font-size: 0.95em;
}
.landing .pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; min-height: 0; }
.landing .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: hsl(var(--foreground));
}
.landing .pricing-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(220 20% 7%);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.landing .btn-assinar-plan {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid hsl(var(--primary));
  border-radius: var(--radius);
  background: transparent;
  color: hsl(var(--primary));
  cursor: pointer;
  font-family: inherit;
  margin-top: auto;
  flex-shrink: 0;
}
.landing .btn-assinar-plan:hover {
  background: hsl(var(--primary) / 0.15);
}
.landing .pricing-card--featured .btn-assinar-plan {
  background: hsl(var(--primary));
  color: hsl(220 20% 8%);
  box-shadow: 0 0 12px hsl(var(--primary) / 0.4);
}
.landing .pricing-card--featured .btn-assinar-plan:hover {
  filter: brightness(1.08);
  color: hsl(220 20% 8%);
}

.landing .pricing-trust {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--primary));
  font-weight: 500;
  margin-top: 0.75rem;
}
.landing .pricing-cta { flex-shrink: 0; width: 100%; max-width: 18rem; }
@media (min-width: 768px) { .landing .pricing-cta { width: 18rem; } }

/* Form assinar */
.landing .form-assinar-landing { display: flex; flex-direction: column; gap: 0.75rem; }
.landing .input-email-assinar {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border: 2px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: inherit;
}
.landing .input-email-assinar::placeholder { color: hsl(var(--muted-foreground) / 0.8); }
.landing .input-email-assinar:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.2);
}
.landing .btn-assinar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: calc(var(--radius) + 2px);
  cursor: pointer;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  font-family: inherit;
  box-shadow: var(--glow-primary);
}
.landing .btn-assinar:hover { filter: brightness(1.05); color: hsl(var(--primary-foreground)); }
.landing .btn-assinar:disabled { opacity: 0.8; cursor: wait; }
.landing .msg-erro-assinar { font-size: 0.875rem; color: hsl(0 70% 55%); margin: 0; display: none; }
.landing .msg-erro-assinar.is-visible { display: block; }
.landing .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.landing .pricing-note { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 1rem; text-align: center; }
.landing .pricing-extra {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.5);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}
.landing .pricing-extra strong { color: hsl(var(--foreground)); }
.landing .pricing-mp-note { text-align: center; margin-top: 1rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Footer */
.landing .footer {
  border-top: 1px solid hsl(var(--border));
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Skip link */
.landing .skip-link {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  z-index: 100;
}
.landing .skip-link:focus { top: 0.5rem; }
