/* =========================================================
   HOME.CSS - Estilos exclusivos da página inicial
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(255, 184, 28, 0.15), transparent 60%),
    linear-gradient(135deg, var(--su-blue-dark) 0%, var(--su-blue) 60%, #0B4A8C 100%);
  color: var(--su-white);
  padding: 96px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255,184,28,0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(225,37,27,0.10) 0%, transparent 40%);
  pointer-events: none;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  fill: var(--su-white);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero { padding: 56px 0 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.hero h1 {
  color: var(--su-white);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--su-yellow), #FFE066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero p.subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}
.hero p.subtitle strong {
  color: var(--su-yellow);
  font-weight: 700;
}
@media (max-width: 960px) { .hero p.subtitle { margin-left: auto; margin-right: auto; } }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
@media (max-width: 960px) { .hero-stats { justify-content: center; } }
.hero-stats .stat {
  display: flex;
  flex-direction: column;
}
.hero-stats .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--su-yellow);
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 960px) { .hero-ctas { justify-content: center; } }

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 960px) { .hero-badges { justify-content: center; } }
.hero-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.hero-badge-inline [data-lucide] {
  width: 16px; height: 16px;
  color: var(--su-yellow);
}

/* Imagem hero */
.hero-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
}
.hero-image .img-placeholder {
  min-height: 420px;
  border-radius: var(--r-xl);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}
.hero-image .img-placeholder strong { color: var(--su-yellow); }
.hero-image .img-placeholder code {
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.9);
}

/* Floating badge sobre imagem */
.hero-ans-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--su-white);
  color: var(--su-blue-dark);
  padding: 10px 16px;
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-ans-badge [data-lucide] { width: 18px; height: 18px; color: #16A34A; }

/* ---------- CALCULADORA INTERATIVA ---------- */
.calculator-section {
  position: relative;
  margin-top: -80px;
  z-index: 5;
  margin-bottom: 80px;
}
.calculator-card {
  background: var(--su-white);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--su-border);
}
.calculator-header {
  text-align: center;
  margin-bottom: 28px;
}
.calculator-header h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.calculator-header p { color: var(--su-text-muted); }

.calculator-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
}
@media (max-width: 900px) { .calculator-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .calculator-form { grid-template-columns: 1fr; } }

.calculator-form .form-group { margin-bottom: 0; }
.calculator-form .full { grid-column: 1 / -1; }

.calculator-result {
  margin-top: 28px;
  padding: 28px;
  background: linear-gradient(135deg, var(--su-bg), var(--su-bg-alt));
  border-radius: var(--r-md);
  border: 2px solid var(--su-yellow);
  display: none;
}
.calculator-result.show { display: block; animation: fadeInUp 0.4s ease-out; }
.calculator-result h3 {
  font-size: 1.1rem;
  color: var(--su-blue-dark);
  margin-bottom: 12px;
}
.calculator-result .estimate-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--su-red);
  line-height: 1;
  margin-bottom: 6px;
}
.calculator-result .estimate-value small {
  font-size: 1rem;
  color: var(--su-text-muted);
  font-weight: 500;
}
.calculator-result .estimate-range {
  font-size: 0.9rem;
  color: var(--su-text-muted);
  margin-bottom: 16px;
}
.calculator-result .disclaimer-text {
  font-size: 0.8rem;
  color: var(--su-text-muted);
  font-style: italic;
  margin-top: 12px;
}

/* ---------- SEÇÃO MOTIVOS (7 motivos) ---------- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .reasons-grid { grid-template-columns: 1fr; } }

/* ---------- TIPOS DE PLANOS ---------- */
.plan-types-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 260px));
  gap: 18px;
  justify-content: center;
}
@media (max-width: 900px)  { .plan-types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .plan-types-grid { grid-template-columns: 1fr; } }

.plan-type {
  background: var(--su-white);
  border: 2px solid var(--su-border);
  border-radius: var(--r-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--t);
  text-decoration: none !important;
  color: var(--su-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.plan-type:hover {
  border-color: var(--su-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--su-blue-dark);
}
.plan-type .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--su-blue-dark), var(--su-blue));
  color: var(--su-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.plan-type .icon-wrap [data-lucide] { width: 28px; height: 28px; }
.plan-type strong { font-size: 1.05rem; color: var(--su-blue-dark); }
.plan-type small { font-size: 0.8rem; color: var(--su-text-muted); }

/* ---------- ETAPAS ---------- */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.steps-strip::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--su-divider);
  z-index: 0;
}
@media (max-width: 800px) { .steps-strip { grid-template-columns: repeat(2, 1fr); } .steps-strip::before { display: none; } }
@media (max-width: 460px) { .steps-strip { grid-template-columns: 1fr; } }

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--su-red), var(--su-red-dark));
  color: var(--su-white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(225, 37, 27, 0.3);
  border: 4px solid var(--su-white);
}
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.875rem; color: var(--su-text-muted); }

/* ---------- COMPARATIVO ---------- */
.comparison-table th:first-child,
.comparison-table td:first-child {
  font-weight: 700;
  background: var(--su-bg);
  position: sticky;
  left: 0;
}
.comparison-table .yes [data-lucide] { color: #16A34A; }
.comparison-table .no [data-lucide] { color: #DC2626; }

/* ---------- DEPOIMENTOS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--su-white);
  padding: 28px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--su-border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 4rem;
  color: var(--su-yellow);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.97rem;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--su-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--su-blue);
  font-weight: 700;
}
.testimonial-author strong { display: block; color: var(--su-blue-dark); font-size: 0.95rem; }
.testimonial-author small { color: var(--su-text-muted); font-size: 0.8rem; }
.testimonial-stars {
  color: var(--su-yellow);
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}
.testimonial-stars [data-lucide] { width: 18px; height: 18px; fill: currentColor; }

/* ---------- FAQ SECTION ---------- */
.faq-section { max-width: 860px; margin: 0 auto; }

/* ---------- CTA FINAL ---------- */
.cta-banner {
  background:
    radial-gradient(ellipse at top left, rgba(255,184,28,0.2), transparent 50%),
    linear-gradient(135deg, var(--su-red), var(--su-red-dark));
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  color: var(--su-white);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--su-white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1.15rem; margin-bottom: 28px; opacity: 0.95; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-yellow { font-size: 1.1rem; padding: 16px 32px; }

/* ---------- COVERAGE MAP STATIC ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .coverage-grid { grid-template-columns: 1fr; } }

.coverage-list {
  list-style: none;
  padding: 0;
  columns: 2;
  gap: 12px;
}
.coverage-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  break-inside: avoid;
}
.coverage-list li [data-lucide] { width: 16px; height: 16px; color: #16A34A; }
