/* ============================================================
   CotaçãoFácil — Landing Page Styles
   ============================================================ */

:root {
  --primary:      #F97316;   /* laranja */
  --primary-dark: #EA6700;
  --secondary:    #1E3A5F;   /* azul escuro */
  --accent:       #10B981;   /* verde */
  --bg:           #FFFFFF;
  --bg-alt:       #F8FAFC;
  --text:         #1E293B;
  --text-muted:   #64748B;
  --border:       #E2E8F0;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --transition:   .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilitários ── */
.container  { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.text-center{ text-align: center; }
.text-muted { color: var(--text-muted); }
.sr-only    { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary   { background: var(--primary);   color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249,115,22,.35); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #264a74; transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg        { padding: 18px 36px; font-size: 1.1rem; }
.btn-full      { width: 100%; justify-content: center; }

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo  { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img  { height: 36px; }
.nav-logo span { font-size: 1.25rem; font-weight: 800; color: var(--secondary); }
.nav-logo span em { color: var(--primary); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; gap: 12px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ── Hero ── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, #0f2540 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  color: #FDBA74;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 32px 80px rgba(0,0,0,.4); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.hero-stat span   { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ── Seções genéricas ── */
section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  background: rgba(249,115,22,.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; }

/* ── Como Funciona ── */
.how-it-works { background: var(--bg-alt); }
.how-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.how-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.how-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.how-content { display: none; }
.how-content.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.how-step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}
.how-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.how-step p  { font-size: .9rem; color: var(--text-muted); }

/* ── Planos ── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.plan-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  background: var(--bg);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.plan-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.plan-name  { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.plan-desc  { font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }
.plan-price { margin-bottom: 8px; }
.plan-price strong { font-size: 2.4rem; font-weight: 800; color: var(--secondary); }
.plan-price span   { font-size: .95rem; color: var(--text-muted); }
.plan-annual { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-trial { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ── Benefícios ── */
.benefits { background: var(--bg-alt); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.benefits-col h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; color: var(--secondary); }
.benefit-item { display: flex; gap: 16px; margin-bottom: 24px; }
.benefit-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(249,115,22,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.benefit-item h4 { font-weight: 700; margin-bottom: 4px; }
.benefit-item p  { font-size: .9rem; color: var(--text-muted); }

/* ── Depoimentos ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-stars { color: #FBBF24; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text  { font-size: .95rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-weight: 700; font-size: .9rem; }
.testimonial-author span   { font-size: .8rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq { background: var(--bg-alt); }
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
.faq-question .faq-icon { font-size: 1.4rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); font-size: .95rem; line-height: 1.7; text-align: left; }

/* ── CTA Final ── */
.cta-section {
  background: linear-gradient(135deg, var(--secondary), #0f2540);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p  { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.store-badges img { height: 48px; }

/* ── Modal / Formulário de Lead ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: scale(.96);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-alt);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.modal-close:hover { background: var(--border); }
.modal h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; color: var(--secondary); }
.modal p.modal-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 28px; }

/* ── Formulário ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--secondary); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-error { font-size: .8rem; color: #EF4444; margin-top: 4px; display: none; }
.form-success {
  background: rgba(16,185,129,.1);
  border: 1px solid var(--accent);
  color: #065F46;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  display: none;
}

/* ── Footer ── */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .9rem; margin-top: 12px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo span { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-logo span em { color: var(--primary); font-style: normal; }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .95rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: var(--transition);
  font-size: .9rem;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--secondary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9rem;
  z-index: 300;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--accent); }
.toast.error   { background: #EF4444; }

/* ── Phone Mockup (Hero) ── */
.phone-mockup {
  width: 250px;
  margin: 0 auto;
  background: #0A1929;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 2px rgba(255,255,255,.1);
}
.phone-notch {
  width: 90px; height: 20px;
  background: #0A1929;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.phone-screen {
  background: #F8FAFC;
  border-radius: 30px;
  overflow: hidden;
  margin-top: -20px;
}
.app-bar {
  background: var(--secondary);
  color: #fff;
  padding: 28px 16px 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.app-bar-title { font-weight: 700; font-size: .88rem; }
.app-body { padding: 12px; }
.app-section-label {
  font-size: .68rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.app-quote-card {
  background: #fff; border-radius: 10px; padding: 12px;
  border: 1px solid var(--border); margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.app-quote-title { font-weight: 700; font-size: .8rem; color: var(--secondary); margin-bottom: 2px; }
.app-quote-items { font-size: .68rem; color: var(--text-muted); margin-bottom: 8px; }
.app-proposals  { display: flex; flex-direction: column; gap: 4px; }
.app-proposal {
  background: #F1F5F9; border-radius: 6px; padding: 6px 10px;
  font-size: .75rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.app-proposal.best { background: rgba(16,185,129,.12); color: #065F46; }
.app-badge {
  background: var(--accent); color: #fff;
  border-radius: 100px; padding: 1px 7px;
  font-size: .62rem; font-weight: 700;
}
.app-new-btn {
  display: block; width: 100%; background: var(--primary); color: #fff;
  border: none; border-radius: 8px; padding: 9px;
  font-size: .78rem; font-weight: 700; cursor: pointer; font-family: inherit;
}

/* ── Billing Toggle ── */
.billing-switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 40px; }
.toggle-track {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 100px;
  border: none; cursor: pointer;
  position: relative;
  transition: background .25s;
  padding: 0; flex-shrink: 0;
}
.toggle-track.active { background: var(--primary); }
.toggle-knob {
  display: block;
  width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  position: absolute; top: 3px; left: 3px;
  transition: transform .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: none;
}
.toggle-track.active .toggle-knob { transform: translateX(20px); }

/* ── Testimonial Avatar (iniciais) ── */
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-weight: 700; font-size: .9rem; }
.testimonial-author span   { display: block; font-size: .8rem; color: var(--text-muted); }

/* ── Store Badges ── */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #111; color: #fff;
  padding: 10px 20px; border-radius: 12px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  min-width: 150px;
  border: 1px solid rgba(255,255,255,.15);
}
.store-badge:hover { opacity: .82; transform: translateY(-2px); }
.store-badge svg  { flex-shrink: 0; }
.store-badge-text small {
  display: block; font-size: .6rem; opacity: .75;
  text-transform: uppercase; letter-spacing: .07em;
  line-height: 1; margin-bottom: 2px;
}
.store-badge-text strong { display: block; font-size: .95rem; font-weight: 700; line-height: 1; }

/* ── Responsivo ── */
@media (max-width: 900px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-image      { display: none; }
  .benefits-grid   { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .hero-stats  { flex-direction: column; gap: 16px; }
  .hero-ctas   { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; }
}
