/* ============================================================
   Kairos 3D — landing.css
   Estilos para landing pages de anúncios e páginas de segmento
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.lp-hero {
  background: linear-gradient(160deg, #0c1520 0%, #1c0e06 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 80% 15%, rgba(255,107,43,.32) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 5%  90%, rgba(255,107,43,.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 45% 50%, rgba(255,255,255,.02) 0%, transparent 70%);
  pointer-events: none;
}

.lp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,107,43,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,43,.03) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  pointer-events: none;
}

.lp-hero-content {
  position: relative;
}
.lp-hero-content::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,43,.10) 0%, transparent 65%);
  pointer-events: none;
}

.lp-hero .container { position: relative; z-index: 1; }

.lp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: start;
  padding: 88px 0;
}

/* Badge */
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,43,.12);
  border: 1px solid rgba(255,107,43,.2);
  border-radius: 100px; padding: 8px 18px;
  font-size: 13px; color: var(--orange);
  margin-bottom: 24px; font-family: var(--font-display);
}
.lp-badge span { font-size: 8px; }

.lp-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -1px;
}

.lp-subtitle {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px; max-width: 560px;
}

.lp-trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
}
.lp-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.75);
  font-family: var(--font-display);
}

/* ── Formulário ───────────────────────────────────────────── */
.lp-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 36px 32px;
  position: sticky; top: 84px;
}
.lp-form-title {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: #fff; margin-bottom: 6px;
}
.lp-form-desc { font-size: 14px; color: rgba(255,255,255,.45); margin-bottom: 22px; }
.lp-form { display: flex; flex-direction: column; gap: 14px; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-field { display: flex; flex-direction: column; gap: 5px; }
.lp-field label {
  font-size: 12px; color: rgba(255,255,255,.55);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px;
}
.lp-field input,
.lp-field textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 11px 13px;
  font-family: var(--font-body); font-size: 15px; color: #fff;
  transition: border-color .2s, background .2s;
  outline: none; width: 100%;
}
.lp-field input::placeholder,
.lp-field textarea::placeholder { color: rgba(255,255,255,.22); }
.lp-field input:focus,
.lp-field textarea:focus { border-color: rgba(255,107,43,.5); background: rgba(255,255,255,.08); }
.lp-field textarea { resize: vertical; min-height: 90px; }
.lp-submit { width: 100%; justify-content: center; padding: 15px 24px; font-size: 16px; }
.lp-form-note { font-size: 11px; color: rgba(255,255,255,.28); text-align: center; margin-top: -2px; }

/* ── Stats bar ────────────────────────────────────────────── */
.lp-stats-bar {
  display: block;
  background: #111;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 40px 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.lp-stats-bar.stats-loaded  { opacity: 1; pointer-events: auto; }
.lp-stats-bar.stats-disabled { display: none; }
.lp-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.lp-stat { display: flex; flex-direction: column; gap: 4px; }
.lp-stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: #fff; }
.lp-stat-label { font-size: 13px; color: rgba(255,255,255,.38); }

/* ── Cabeçalho de seção ───────────────────────────────────── */
.lp-section-header { margin-bottom: 48px; }
.lp-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  margin-bottom: 12px; letter-spacing: -.5px;
}
.lp-section-header p { font-size: 16px; color: var(--gray-500); max-width: 580px; }
.lp-section-header.dark h2 { color: #fff; }
.lp-section-header.dark p { color: rgba(255,255,255,.5); }

/* ── Use Cases ────────────────────────────────────────────── */
.lp-usecases { background: var(--gray-100); padding: 80px 0; }
.lp-usecases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lp-usecase-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px 24px; border: 1px solid rgba(0,0,0,.06); transition: all .3s;
}
.lp-usecase-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(0,0,0,.08); transform: translateY(-2px);
}
.lp-usecase-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--black); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.lp-usecase-icon svg { width: 22px; height: 22px; }
.lp-usecase-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 8px;
}
.lp-usecase-card p { font-size: 14px; line-height: 1.6; color: var(--gray-500); }

/* ── Processo ─────────────────────────────────────────────── */
.lp-process { background: var(--white); padding: 80px 0; }
.lp-process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative;
}
.lp-process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,43,.3), transparent);
}
.lp-process-step { text-align: center; position: relative; }
.lp-process-step .step-number { margin: 0 auto 14px; }
.lp-process-step h3 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.lp-process-step p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ── Benefícios ───────────────────────────────────────────── */
.lp-benefits { background: var(--black); padding: 80px 0; }
.lp-benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lp-benefit-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: all .3s;
}
.lp-benefit-card:hover { border-color: rgba(255,107,43,.3); background: rgba(255,107,43,.05); }
.lp-benefit-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(255,107,43,.12); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.lp-benefit-icon svg { width: 22px; height: 22px; }
.lp-benefit-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.lp-benefit-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* ── Depoimento ───────────────────────────────────────────── */
.lp-testimonial { background: var(--gray-100); padding: 64px 0; }
.lp-quote {
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px 40px; max-width: 720px; position: relative;
  border-left: 4px solid var(--orange);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.lp-quote::before {
  content: '\201C'; font-family: var(--font-display); font-size: 80px;
  color: var(--orange); opacity: .1;
  position: absolute; top: 8px; left: 24px; line-height: 1;
}
.lp-quote p { font-size: 17px; line-height: 1.7; color: var(--gray-700); font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.lp-quote footer { display: flex; align-items: center; gap: 14px; font-style: normal; }
.lp-quote footer strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--black); }
.lp-quote footer span { font-size: 13px; color: var(--gray-500); }

/* ── CTA Final ────────────────────────────────────────────── */
.lp-cta-final {
  background: var(--black); color: #fff; text-align: center; padding: 96px 0;
  position: relative; overflow: hidden;
}
.lp-cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255,107,43,.12) 0%, transparent 70%);
  pointer-events: none;
}
.lp-cta-final h2 { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 42px); font-weight: 700; margin-bottom: 14px; position: relative; }
.lp-cta-final p { font-size: 18px; color: rgba(255,255,255,.5); margin-bottom: 36px; position: relative; }
.lp-cta-final .btn-primary { position: relative; }

/* ── Rodapé mínimo ────────────────────────────────────────── */
.lp-footer {
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.35); padding: 24px 0;
}
.lp-footer .container { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.lp-footer a { color: rgba(255,255,255,.35); transition: color .2s; }
.lp-footer a:hover { color: var(--orange); }

/* ── Responsivo ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 64px; }
  .lp-form-wrap { position: static; max-width: 560px; }
  .lp-process-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .lp-stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .lp-benefits-grid { grid-template-columns: 1fr 1fr; }
  .lp-usecases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .lp-form-row      { grid-template-columns: 1fr; }
  .lp-form-wrap     { padding: 24px 20px; }
  .lp-benefits-grid,
  .lp-usecases-grid { grid-template-columns: 1fr; }
  .lp-process-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .lp-quote         { padding: 28px 24px; }
  .lp-footer .container { flex-direction: column; gap: 8px; text-align: center; }
}
