/**
 * Mativix Landing - Responsive CSS
 * Media queries para responsividade
 */

/* === TABLET (768px+) === */
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
  
  .header__cta {
    display: inline-flex;
  }
  
  .header__mobile-toggle {
    display: none;
  }
}

/* === MOBILE (até 767px) === */
@media (max-width: 767px) {
  /* Tipografia */
  h1 {
    font-size: var(--text-3xl);
  }
  
  h2,
  .section__title {
    font-size: var(--text-2xl);
  }
  
  /* Seções */
  .section {
    padding: var(--section-py-mobile) 0;
  }
  
  /* Hero */
  .hero {
    padding-top: 80px;
    padding-bottom: var(--space-8);
    height: auto;
    min-height: 100vh;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
    order: 2;
  }
  
  .hero__image {
    order: 1;
  }
  
  .hero__product-wrapper {
    max-width: 240px;
  }
  
  .hero__title {
    font-size: var(--text-3xl);
  }
  
  .hero__seals {
    justify-content: center;
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero__price-info {
    text-align: center;
  }
  
  /* Benefícios */
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .card--benefit {
    padding: var(--space-6) var(--space-4);
  }
  
  .card__icon {
    width: 60px;
    height: 60px;
  }
  
  .card__icon svg {
    width: 30px;
    height: 30px;
  }
  
  .card__title {
    font-size: var(--text-base);
  }
  
  .card__text {
    font-size: var(--text-sm);
  }
  
  /* Sobre */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .about__image {
    order: -1;
  }

  .about__product-img {
    max-width: 250px;
  }

  /* Vídeo ocupa 100% da largura no mobile */
  .about__product-video {
    max-width: 100%;
    width: 100%;
  }
  
  /* Ingredientes */
  .ingredients__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .ingredients__main-list {
    grid-template-columns: 1fr;
  }
  
  .ingredients__table th,
  .ingredients__table td {
    padding: var(--space-3);
    font-size: var(--text-xs);
  }
  
  /* Diferenciais */
  .differentials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .differentials__item {
    padding: var(--space-6);
  }
  
  /* Como Usar */
  .how-to-use__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .how-to-use__image {
    order: -1;
  }
  
  .how-to-use__product-img {
    max-width: 300px;
  }
  
  /* FAQ */
  .faq__question {
    padding: var(--space-4);
    font-size: var(--text-base);
  }
  
  .faq__answer {
    padding: 0 var(--space-4) var(--space-4);
  }
  
  /* CTA Final */
  .cta-final__title {
    font-size: var(--text-2xl);
  }
  
  .cta-final__price {
    font-size: var(--text-4xl);
  }
  
  .cta-final__trust {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  /* Footer */
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .footer__seals-grid {
    align-items: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

/* === EXTRA SMALL (até 480px) === */
@media (max-width: 480px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  
  .hero__seals {
    flex-direction: column;
    align-items: center;
  }
  
  .seal {
    width: 100%;
    justify-content: center;
  }
}

/* === DESKTOP LARGE (1200px+) === */
@media (min-width: 1200px) {
  .hero__title {
    font-size: var(--text-6xl);
  }

  .hero__product-wrapper {
    max-width: 360px;
  }
}

/* === TABLET (768px - 1024px) === */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Hero */
  .hero__grid {
    gap: var(--space-10);
  }

  .hero__product-wrapper {
    max-width: 280px;
  }

  /* Benefícios - 2 colunas em vez de 4 */
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  /* Sobre/About */
  .about__grid {
    gap: var(--space-10);
  }

  .about__product-img {
    max-width: 300px;
  }

  .about__product-video {
    max-width: 400px;
    width: 100%;
  }

  /* Ingredientes */
  .ingredients__grid {
    gap: var(--space-10);
  }

  .ingredients__main-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Diferenciais - 2 colunas */
  .differentials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Como usar */
  .how-to-use__grid {
    gap: var(--space-10);
  }

  .how-to-use__product-img {
    max-width: 380px;
  }

  /* Footer */
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    max-width: 100%;
  }

  .pricing__card--featured {
    transform: scale(1.02);
  }

  .pricing__card--featured:hover {
    transform: scale(1.02) translateY(-8px);
  }
}

/* === PRICING MOBILE === */
@media (max-width: 767px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing__card--featured {
    transform: none;
    order: -1;
  }

  .pricing__card--featured:hover {
    transform: translateY(-8px);
  }
}
