
/* -----------------------------------------
   UTILITÁRIOS LOCAIS
   ----------------------------------------- */
.text-orange { color: var(--primary-orange); }
.text-center { text-align: center; }
.text-white { color: var(--text-light); }


/* -----------------------------------------
   BADGE
   ----------------------------------------- */
.badge {
  display: inline-block;
  background-color: var(--primary-yellow);
  color: var(--secondary-blue);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Badge flutuante "Mais Popular" no card Pro */
.badge--pop {
  background-color: var(--primary-orange);
  color: #fff;
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
}

/* -----------------------------------------
   SECTION HEADER  (cabeçalhos de seção)
   ----------------------------------------- */
.section-header {
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-blue);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

/* Variante sobre fundo colorido */
.section-header--light h2,
.section-header--light p {
  color: #fff;
}

.section-header--light p {
  opacity: 0.85;
}


/* -----------------------------------------
   MOBILE-ONLY BTN  (nav link extra mobile)
   ----------------------------------------- */
.mobile-only-btn { display: none; }

.action-group { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
}

/* =========================================
   1. HERO
   ========================================= */
.hero {
  padding: 70px 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content .badge { background-color: var(--primary-yellow); }

.hero__content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-blue);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__content p {
  font-size: 1rem;
  color: var(--text-dark);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__figure {
  display: flex;
  justify-content: center;
}

.hero__figure img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  object-fit: contain;
}


/* =========================================
   2. SPOTLIGHT  (lançamento / detalhe)
   ========================================= */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
  margin-top: 80px;
}
.gallery-main img {
  width: 100%;
  border-radius: var(--border-radius);
  background: var(--bg-light);
  margin-bottom: 16px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-thumbs img {
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-light);
}
.gallery-thumbs img:hover {
  border-color: var(--primary-blue);
}
.spotlight-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 16px;
}
.specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.specs-list li {
  background: var(--secondary-blue);
  color:var(--text-light);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
}
.price-tag {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 32px;
}


/* =========================================
   3. COMO FUNCIONA
   ========================================= */
.como-funciona {
  padding: 80px 0;
  background-color: var(--primary-blue);
  margin: 50px;
  border-radius: var(--border-radius);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps__card {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  transition: background-color 0.25s ease;
}

.steps__card:hover { background-color: rgba(255, 255, 255, 0.22); }

.steps__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  overflow: hidden;
}

.steps__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.steps__card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.steps__card p {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.85;
}


/* =========================================
   4. TECNOLOGIA
   ========================================= */
.tecnologia {
  padding: 80px 0;
  background-color: #fff;
}

.tecnologia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tecnologia__figure img {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: contain;
  background-color: var(--bg-light);
  padding: 35px 135px 35px 135px;
  min-height: 360px;
}

.tecnologia__content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-blue);
  line-height: 1.2;
  margin-bottom: 14px;
}

.tecnologia__content > p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Lista de recursos técnicos */
.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.tech-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tech-list__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tech-list__icon--orange { background-color: var(--primary-orange); }
.tech-list__icon--blue   { background-color: var(--primary-blue); }
.tech-list__icon--yellow { background-color: var(--primary-yellow); }

.tech-list__item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-blue);
  margin-bottom: 4px;
}

.tech-list__item p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}


/* =========================================
   5. PLANOS
   ========================================= */
.planos {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.planos .section-header h2 { color: var(--primary-orange); }

.planos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* Card base */
.plano {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plano:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Card em destaque */
.plano--featured {
    background-color: var(--secondary-blue);
    color: #fff;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
}

.plano--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.plano--featured .plano__header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.plano--featured .plano__subtitle {
  font-size: 0.875rem;
 color: var(--text-light);
  opacity: 0.7;
  margin-bottom: 14px;
}

.plano--featured .plano__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
}

.plano--featured .plano__price span {
  font-size: 0.95rem;
  font-weight: 400;
   color: var(--text-light);
}

.plano--featured .plano__features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #f1f5f9;
}

/* Cabeçalho do card */
.plano__header {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
}

.plano__header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-blue);
  margin-bottom: 4px;
}

.plano__subtitle {
  font-size: 0.875rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin-bottom: 14px;
}

.plano__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-blue);
  line-height: 1;
}

.plano__price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* Lista de features */
.plano__features {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 32px;
  padding: 0;
}

.plano__features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.plano__features li::before {
  content: "✓";
  color: var(--primary-orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* Botão do card ocupa a largura toda */
.plano .btn { width: 100%; justify-content: center; }


/* =========================================
   6. CTA FINAL
   ========================================= */
.cta {
  padding: 64px 0;
  border-radius: var(--border-radius);
  margin: 50px;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 16px;
  line-height: 1.2;
}
.frete-text {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--dark-blue);
  font-weight: 500;
}
.cta-image img {
  max-width: 512px;
  border-radius: var(--border-radius);
}


/* =========================================
   RESPONSIVIDADE
   ========================================= */

/* --- Tablet (≤ 992px) --- */
@media (max-width: 992px) {

  .hero__grid,
  .spotlight__grid,
  .tecnologia__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content p,
  .hero__actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero__figure { justify-content: center; }

  .specs { justify-items: center; }

  .spotlight__actions { justify-content: center; }

  .steps { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .tecnologia__content { text-align: center; }
  .tech-list__item { text-align: left; }

  .planos__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .plano--featured { transform: scale(1); }
  .plano--featured:hover { transform: translateY(-6px); }

  .cta__grid { grid-template-columns: 1fr; text-align: center; }
  .cta__figure { margin: 0 auto; }
  .cta__content .btn { margin: 0 auto; }
}

/* --- Mobile grande (≤ 768px) --- */
@media (max-width: 768px) {

  /* Menu mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 12px 12px;
    z-index: 99;
  }

  .nav-links.active { display: flex; }

  .mobile-only-btn { display: block; }

  #btnCadastro { display: none; }

  .menu-toggle { display: block; }

  /* Hero */
  .hero { padding: 80px 0 60px; }
  .hero__content h1 { font-size: 2rem; }
  .hero__figure img { max-width: 360px; }

  /* Galeria */
  .gallery__thumbs { display: none; }

  /* Specs */
  .specs { grid-template-columns: 1fr 1fr; }

  /* Títulos */
  .section-header h2,
  .cta__content h2,
  .tecnologia__content h2 { font-size: 1.75rem; }
}

/* --- Mobile pequeno (≤ 480px) --- */
@media (max-width: 480px) {

  .specs { grid-template-columns: 1fr; }

  .hero__actions,
  .spotlight__actions { flex-direction: column; }

  .hero__actions .btn,
  .spotlight__actions .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }

  .social-icons { justify-content: center; }
}
