/* Nav styles moved to main.css for global use */

/* ============================================================
   HERO
============================================================ */
.hero {
    background: linear-gradient(160deg, var(--gray-50) 0%, #fdf5e6 60%, var(--gray-50) 100%);
    padding: clamp(60px, 10vw, 90px) max(24px, calc((100% - 1200px) / 2)) clamp(80px, 12vw, 92px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 146, 42, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--text);
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SECTIONS BASE
============================================================ */
section {
 padding: clamp(60px, 8vw, 50px) max(24px, calc((100% - 1200px) / 2));
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ============================================================
   SEGMENT CARDS
============================================================ */
.segment-section {
  background: var(--gray-50);
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .segment-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .segment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .segment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.segment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s;
  display: block;
}

.segment-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 146, 42, 0.12);
}

.segment-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.segment-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.segment-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   FEATURES
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 146, 42, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: #f6f4ee;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-section {
  background: var(--dark);
  color: var(--white);
}

.how-section .section-title {
  color: var(--white);
}

.how-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.how-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.8;
}

.how-step h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.how-step p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section {
  background: var(--dark);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.stars {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

img.logo-page-home {
    width: 210px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   PLANS
============================================================ */
.plans-grid {
     display: flex;
    gap: 20px;
    align-items: start;
    justify-content: center;

}

@media (max-width:1024px) {
  .plans-grid {
   flex-direction: column;
    max-width: 420px;
    margin: 0 auto;
  }
}

.plan-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--white);
  transition: all 0.3s;
  position: relative;
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(212, 146, 42, 0.15);
}

.plan-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.plan-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 8px;
  color: var(--text-muted);
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 12px 0 20px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features .check {
  color: var(--success);
  font-weight: 700;
}

/* ============================================================
   CTA
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #e8a83e 100%);
  text-align: center;
  padding: clamp(60px, 8vw, 100px) max(24px, calc((100% - 800px) / 2));
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* Footer styles moved to main.css for global use */

/* ============================================================
   FAQ
============================================================ */
.faq-section {
  background: var(--white);
  padding: clamp(60px, 8vw, 100px) max(24px, calc((100% - 800px) / 2));
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .logo-page-home {
    width: 220px;
    margin-top: 0px;
    height: 60px;
    object-fit: cover;
  }

  .segment-card {
    padding: 24px 10px;
  }

  /* Fontes mínimas para legibilidade mobile */
  .segment-card p {
    font-size: 0.875rem;
  }

  .testimonial-role {
    font-size: 0.825rem;
  }

  .plan-name {
    font-size: 0.875rem;
  }

  .footer-copy {
    font-size: 0.875rem;
  }

  /* Alvos de toque mínimos (48px) para links de mobile nav */
  .mobile-nav a {
    padding: 14px 8px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}