﻿/* Agile Insurance — CSS Unificado para LPs (Template 006)
   Serve: lp-coren-sc.html + Estagiario_Corporativo.html */

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 80px;
  right: 40px;
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 160px;
  left: 40px;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
}

/* max-width 650px (COREN) é mais permissivo; serve as duas LPs sem quebrar */
.hero p {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 32px;
}

/* BADGES E DESTAQUES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(to right, #6ee7b7, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Exclusivo COREN/SC — desconto 30% */
.discount-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.15),
    rgba(234, 88, 12, 0.15)
  );
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 12px;
  color: #fdba74;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 32px;
}

/* Exclusivo COREN/SC */
.discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.25);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 16px;
}

/* BOTÕES */
.btn {
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(to right, #f97316, #ea580c);
  color: white;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #cbd5e1;
  border: 2px solid #475569;
}

.btn-secondary:hover {
  background: #1e293b;
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* FEATURES LIST (hero) */
.features-list {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #94a3b8;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SEÇÃO — ELEMENTOS COMUNS */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* PAIN SECTION */
.pain-section {
  padding: 100px 0;
  background: #f8fafc;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.pain-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.pain-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pain-card p {
  color: #64748b;
  line-height: 1.6;
}

/* SOLUTION SECTION */
.solution-section {
  padding: 100px 0;
  background: white;
}

.solution-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 80px;
  align-items: center;
}

.solution-visual {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  padding: 48px;
  border-radius: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.solution-visual::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* margin-bottom: 8px mantido (COREN); para a LP Estagiário este elemento não aparece */
.price-large {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 24px 0 8px;
}

.price-period {
  opacity: 0.8;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.price-breakdown {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: 12px;
  margin-top: 24px;
}

/* BENEFITS SECTION */
.benefits-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.coverage-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* LAW SECTION — Lei do Estágio (exclusivo Estagiário Corporativo) */
.law-section {
  padding: 100px 0;
  background: white;
}

.law-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.law-article {
  background: #f8fafc;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.law-article-header {
  margin-bottom: 20px;
}

.law-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.law-intro {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.law-quote {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: white;
  padding: 28px 32px;
  border-radius: 16px;
  position: relative;
  border-left: 4px solid #6ee7b7;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
}

.law-quote-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6ee7b7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.law-quote p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: #e2e8f0;
}

.law-consequences {
  padding: 8px 0;
}

.law-consequences-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
}

.law-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.law-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.law-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.law-list-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ASSISTANCE SECTION */
.assistance-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, white, #f8fafc);
}

.assistance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.assistance-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.assistance-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: #a855f7;
}

.assistance-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: white;
}

/* Exclusivo COREN/SC */
.assistance-label {
  display: inline-block;
  padding: 4px 8px;
  background: #f3e8ff;
  color: #7c3aed;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* TRUST SECTION */
.trust-section {
  padding: 100px 0;
  background: #f8fafc;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  /* COREN usa margin-top, Estagiário usa margin-bottom — ambos ativos */
  margin-top: 64px;
  margin-bottom: 64px;
}

.trust-logo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

/* WHY GRID — exclusivo COREN/SC — 3+3+1 (último full width) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.why-grid .why-card:last-child {
  grid-column: 1 / -1;
}

.why-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* SEGMENTS GRID — exclusivo Estagiário Corporativo — 3+3+1 (último full width) */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.segments-grid .segment-card:last-child {
  grid-column: 1 / -1;
}

.segment-card {
  background: white;
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.segment-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.segment-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.segment-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.segment-desc {
  font-size: 0.8rem;
  color: #64748b;
}

/* TESTIMONIAL — exclusivo Estagiário Corporativo */
.testimonial {
  background: white;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: #fbbf24;
  font-size: 20px;
}

.testimonial-text {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #475569;
}

.testimonial-author {
  color: #64748b;
}

/* PRICING SECTION — exclusivo COREN/SC */
.pricing-section {
  padding: 100px 0;
  background: white;
}

.pricing-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: 24px;
  padding: 56px 48px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 50%;
  filter: blur(60px);
}

.pricing-card-content {
  position: relative;
  z-index: 10;
}

.pricing-price {
  font-size: 4rem;
  font-weight: 800;
  margin: 16px 0 4px;
}

.pricing-methods {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.payment-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* ABOUT SECTION — exclusivo COREN/SC */
.about-section {
  padding: 80px 0;
  background: #f8fafc;
}

/* CTA SECTION */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  color: white;
  text-align: center;
}

/* FOOTER */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.legal {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  margin-top: 32px;
  font-size: 0.75rem;
  line-height: 1.8;
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  z-index: 1000;
}

.floating-cta.visible {
  display: block;
}

.floating-cta-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.floating-cta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}

/* MODIFICADORES DE LAYOUT — classes aplicadas via HTML */

/* COREN — Benefits 5 cards: 3 em cima + 2 maiores embaixo (full width) */
.benefits-grid.grid-coren-5 {
  grid-template-columns: repeat(6, 1fr);
}
.benefits-grid.grid-coren-5 .benefit-card:nth-child(-n + 3) {
  grid-column: span 2;
}
.benefits-grid.grid-coren-5 .benefit-card:nth-child(4),
.benefits-grid.grid-coren-5 .benefit-card:nth-child(5) {
  grid-column: span 3;
}

/* COREN — Assistance 6 cards: 3+3 levemente maiores */
.assistance-grid.grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

/* Estagiário — Solution: proporção e alinhamento do card verde */
.solution-content.solution-corp {
  grid-template-columns: 5fr 7fr;
  align-items: stretch;
}
.solution-content.solution-corp .solution-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* RESPONSIVO — max-width: 768px */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .pain-grid,
  .benefits-grid,
  .assistance-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Reset modificadores COREN */
  .benefits-grid.grid-coren-5,
  .assistance-grid.grid-3col {
    grid-template-columns: 1fr;
  }
  .benefits-grid.grid-coren-5 .benefit-card:nth-child(-n + 3),
  .benefits-grid.grid-coren-5 .benefit-card:nth-child(4),
  .benefits-grid.grid-coren-5 .benefit-card:nth-child(5) {
    grid-column: span 1;
  }

  /* Reset why-grid e segments-grid */
  .why-grid .why-card:last-child,
  .segments-grid .segment-card:last-child {
    grid-column: span 1;
  }
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-content,
  .solution-content.solution-corp {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .law-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .testimonial {
    padding: 32px 24px;
  }

  .testimonial-text {
    font-size: 1.125rem;
  }

  .trust-logos {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-logo-card {
    justify-content: center;
  }

  .pricing-card {
    padding: 40px 24px;
  }

  .pricing-price {
    font-size: 3rem;
  }
}

/* RESPONSIVO — max-width: 480px */
@media (max-width: 480px) {
  .segments-grid {
    grid-template-columns: 1fr;
  }
}
