/* ============================================
   Media Queries — Responsividade Completa
   Autor: Anderson Barbosa
   ============================================ */

/* ============================================
   ≤ 575px — Smartphones pequenos
   ============================================ */
@media (max-width: 575.98px) {

  /* --- Espaçamento global --- */
  .section-padding {
    padding: 48px 0;
  }

  /* --- Tipografia global mobile --- */
  .section-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    letter-spacing: 0.5px;
    gap: 5px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .section-title br {
    display: none;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  /* --- Componentes base --- */
  .card-custom {
    padding: 20px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .card-custom h3 {
    font-size: 1.1rem;
  }

  .card-custom p {
    font-size: 0.85rem;
  }

  .btn-cta {
    font-size: 0.9rem;
    padding: 14px 16px;
  }

  .btn-cta.btn-cta-lg {
    font-size: 0.9rem;
    padding: 16px;
  }

  .btn-outline-cta {
    font-size: 0.9rem;
    padding: 14px 16px;
  }

  /* --- HERO --- */
  .hero-section {
    padding-top: 90px;
    padding-bottom: 48px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
  }

  h1 {
    font-size: 1.6rem;
  }

  h1 br {
    display: none;
  }

  .hero-typed-wrapper {
    min-height: 36px;
    margin-bottom: 12px;
  }

  .hero-typed-text {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
    text-align: center;
  }

  .hero-description p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin: 24px 0;
  }

  .hero-buttons .btn-cta,
  .hero-buttons .btn-outline-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-proof {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .hero-proof-item {
    font-size: 0.82rem;
    justify-content: center;
  }

  /* Mockup do hero */
  .hero-mockup {
    margin-top: 32px;
  }

  .mockup-phone {
    padding: 14px;
    border-radius: 18px;
    max-width: 100%;
  }

  .mockup-label {
    font-size: 0.6rem;
    padding: 4px 8px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }

  .mockup-message {
    padding: 10px;
    margin-bottom: 6px;
  }

  .mockup-message p {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .mockup-button {
    padding: 6px 8px;
    font-size: 0.68rem;
    margin-top: 4px;
  }

  .mockup-no-buttons {
    padding: 10px;
    font-size: 0.68rem;
  }

  .mockup-no-buttons i {
    font-size: 1.1rem !important;
  }

  /* --- PROBLEMA --- */
  .impact-block {
    padding: 20px;
    margin: 28px 0;
    border-radius: 16px;
  }

  .impact-block p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.82rem;
  }

  /* --- SOLUÇÃO --- */
  .exclusive-highlight {
    padding: 20px 16px;
    margin-top: 28px;
    border-radius: 16px;
  }

  .exclusive-highlight h3 {
    font-size: 1rem;
  }

  .exclusive-highlight p {
    font-size: 0.85rem;
  }

  /* --- DEMO --- */
  .demo-form-wrapper {
    padding: 20px;
    border-radius: 16px;
  }

  .demo-preview {
    padding: 16px;
    margin-top: 16px;
  }

  .demo-preview pre {
    font-size: 0.72rem;
    max-height: 200px;
  }

  .demo-result {
    padding: 16px;
    margin-top: 16px;
    min-height: 80px;
  }

  .demo-trust-item {
    font-size: 0.78rem;
  }

  /* --- COMO FUNCIONA (Timeline) --- */
  .timeline {
    margin-top: 28px;
  }

  .timeline-step {
    padding: 20px 16px 20px 58px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .timeline-step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    left: 14px;
    top: 20px;
  }

  .timeline-step h3 {
    font-size: 1rem;
  }

  .timeline-step p {
    font-size: 0.85rem;
  }

  .timeline-highlight {
    padding: 16px;
    font-size: 0.9rem;
    margin-top: 20px;
  }

  /* --- COMPARATIVO --- */
  .comparison-table-wrapper {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }

  .comparison-table {
    min-width: 0;
    width: 100%;
    margin-top: 16px;
    table-layout: fixed;
  }

  .comparison-table thead th {
    padding: 10px 6px;
    font-size: 0.62rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .comparison-table thead th:first-child {
    width: 42%;
  }

  .comparison-table thead th:nth-child(2),
  .comparison-table thead th:nth-child(3) {
    width: 29%;
    text-align: center;
  }

  .comparison-table tbody td {
    padding: 8px 6px;
    font-size: 0.72rem;
  }

  .comparison-table tbody td:first-child {
    font-size: 0.72rem;
    word-break: break-word;
  }

  .comparison-table tbody td:nth-child(2),
  .comparison-table tbody td:nth-child(3) {
    font-size: 0.75rem;
    text-align: center;
  }

  /* Mostra só o emoji, ocultando o texto descritivo */
  .comparison-table tbody td:nth-child(2) span,
  .comparison-table tbody td:nth-child(3) span {
    display: inline-block;
    max-width: 1.5em;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 1rem;
  }

  .comparison-note {
    padding: 16px;
    margin-top: 16px;
  }

  .comparison-note p {
    font-size: 0.85rem;
  }

  .comparison-scroll-hint {
    display: none;
  }

  /* --- DEPOIMENTOS --- */
  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .testimonial-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .testimonial-name {
    font-size: 0.82rem;
  }

  .testimonial-role {
    font-size: 0.72rem;
  }

  /* --- FAQ --- */
  .faq-question {
    padding: 16px;
    gap: 10px;
  }

  .faq-question h4 {
    font-size: 0.9rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }

  .faq-question .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  /* --- PREÇO / INVESTIMENTO --- */
  .pricing-card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .pricing-card h3 {
    font-size: 1.1rem !important;
  }

  .pricing-card-badge {
    font-size: 0.7rem;
    padding: 5px 16px;
    top: -12px;
  }

  .price-old {
    font-size: 1.1rem;
  }

  .price-current {
    font-size: 2.5rem;
  }

  .price-current small {
    font-size: 1.2rem;
  }

  .pricing-includes {
    margin: 20px 0;
  }

  .pricing-includes-item {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .guarantee-block {
    padding: 16px;
    margin-top: 24px;
  }

  .guarantee-block h4 {
    font-size: 0.95rem;
  }

  .guarantee-block p {
    font-size: 0.82rem;
  }

  .guarantee-block i {
    font-size: 1.5rem;
  }

  .scarcity-text {
    font-size: 0.78rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  /* --- URGÊNCIA --- */
  .urgency-section {
    padding: 48px 0;
  }

  .urgency-text {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .urgency-text p {
    font-size: 0.9rem;
  }

  /* --- FOOTER --- */
  .footer {
    padding: 32px 0 20px;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-description {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-title {
    margin-top: 24px;
  }

  .footer-links {
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
  }

  .footer-bottom p {
    font-size: 0.72rem;
  }

  /* --- NAVBAR --- */
  .navbar-brand {
    font-size: 1.05rem !important;
  }

  .navbar-brand i {
    font-size: 1.2rem !important;
  }

  /* --- Separador --- */
  .glow-divider {
    margin: 0;
    opacity: 0.2;
  }
}

/* ============================================
   576px–767px — Smartphones grandes
   ============================================ */
@media (min-width: 576px) and (max-width: 767.98px) {

  .section-padding {
    padding: 60px 0;
  }

  .section-title br {
    display: none;
  }

  /* --- HERO --- */
  .hero-section {
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn-cta,
  .hero-buttons .btn-outline-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-mockup {
    margin-top: 36px;
  }

  .mockup-phone {
    max-width: 100%;
  }

  /* --- PROBLEMA --- */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-block {
    padding: 28px;
  }

  /* --- COMPARATIVO --- */
  .comparison-table-wrapper {
    overflow-x: visible;
  }

  .comparison-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .comparison-table thead th {
    padding: 12px 8px;
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  .comparison-table tbody td {
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  .comparison-scroll-hint {
    display: none;
  }

  /* --- PREÇO --- */
  .pricing-card {
    padding: 36px 28px;
  }

  .price-current {
    font-size: 2.8rem;
  }

  /* --- SOLUÇÃO --- */
  .exclusive-highlight {
    padding: 24px 20px;
  }

  /* --- FOOTER --- */
  .footer {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-description {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-title {
    margin-top: 24px;
  }
}

/* ============================================
   768px–991px — Tablets
   ============================================ */
@media (min-width: 768px) and (max-width: 991.98px) {

  .section-padding {
    padding: 80px 0;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-mockup {
    margin-top: 48px;
  }

  .mockup-phone {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .exclusive-highlight {
    padding: 28px 32px;
  }

  .pricing-card {
    padding: 40px 32px;
  }
}

/* ============================================
   ≤ 991px — Todos os dispositivos até tablet
   ============================================ */
@media (max-width: 991.98px) {

  /* Navbar mobile */
  .navbar-collapse {
    background: rgba(10, 15, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 10px;
    border: 1px solid var(--border-subtle);
  }

  .navbar .nav-link {
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
  }

  .navbar .nav-link:hover {
    background: rgba(37, 211, 102, 0.1);
  }

  .navbar .btn-cta {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
  }

  /* Mockup hero espaçamento */
  .hero-mockup {
    margin-top: 40px;
  }

  /* Tabela comparativa scrollável */
  .comparison-scroll-hint {
    display: block;
  }

  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================
   ≥ 992px — Desktop
   ============================================ */
@media (min-width: 992px) {

  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
  }

  .section-padding {
    padding: 100px 0;
  }

  .comparison-scroll-hint {
    display: none;
  }
}

/* ============================================
   ≥ 1200px — Desktop grande
   ============================================ */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ============================================
   Acessibilidade: Movimento reduzido
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .pulse-animation,
  .float-animation,
  .badge-animated {
    animation: none !important;
  }
}

/* ============================================
   Acessibilidade: Alto contraste
   ============================================ */
@media (prefers-contrast: high) {
  :root {
    --border-subtle: rgba(37, 211, 102, 0.4);
    --border-card: rgba(37, 211, 102, 0.3);
    --text-secondary: #c0cad3;
  }
}