/* ================================================
   MOBILE PATCH — index.html (Amanda Cabral)
   Gerado por /mobile-review + correções visuais
   ================================================ */

/* ── CONTAINER: remover padding lateral excessivo em todos os breakpoints mobile ── */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ── HERO: padding-top para não ficar sob header fixo de 60px ── */
@media (max-width: 900px) {
  .hero {
    padding-top: 100px;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 48px;
  }
}

/* ── HERO TAG / LOGO TAG: font-size mínimo legível ── */
@media (max-width: 768px) {
  .hero-tag {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }
  .logo-tag {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }
}

/* ── PAIN CARDS: garantir coluna única com largura completa ── */
@media (max-width: 768px) {
  .pains-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pain-card {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ── SERVICES: regras gerenciadas inline no index.html ── */

/* ── ABOUT: foto + texto empilhados corretamente ── */
@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Foto: proporção vertical elegante, não esmagada 4/3 */
  .about-photo {
    max-width: 100%;
    aspect-ratio: 4/5;
    max-height: 420px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
  }
  .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
  }
  /* Conteúdo centralizado */
  .about-content {
    text-align: left;
  }
  .about-content h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.9rem);
    line-height: 1.2;
  }
  .about-tags {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .about-photo {
    aspect-ratio: 3/4;
    max-height: 360px;
  }
}

/* ── SECTION TAG: legibilidade mínima ── */
@media (max-width: 600px) {
  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }
}

/* ── HAMBURGER E CLOSE: touch target 44px mínimo ── */
@media (max-width: 900px) {
  #hdr-hamburger {
    padding: 12px 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  #hdr-mob-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mob-list-link, .mob-sub-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ── FOOTER PROOF: compactar em telas pequenas ── */
@media (max-width: 375px) {
  .footer-proof-label {
    font-size: 0.7rem;
  }
  .footer-proof-value {
    font-size: 1.3rem;
  }
  .footer-proof {
    gap: 12px;
  }
}

/* ── HOVER STATES: desativar em touch (evitar estado "colado") ── */
@media (hover: none) {
  .hdr-btn:hover,
  .nav a:hover,
  .hdr-mega-link:hover strong,
  .hdr-mega-link:hover span,
  .footer-col a:hover,
  a.footer-nap-row:hover {
    color: inherit;
  }
}

/* ── HERO LAYOUT 480px: foto proporcional, sem esmagamento ── */
@media (max-width: 480px) {
  .hero-layout {
    gap: 32px;
  }
  .hero-photo {
    max-width: 280px;
    max-height: 340px;
  }
  .hero-metrics {
    gap: 8px;
  }
}

/* ── STATS 375px ── */
@media (max-width: 375px) {
  .stat-item {
    padding: 12px 6px;
  }
  .stat-number {
    font-size: clamp(1.6rem, 11vw, 2rem);
  }
  .stat-label {
    font-size: 0.62rem;
  }
}

/* ── FORM INPUTS: sem zoom automático no iOS ── */
@media (max-width: 768px) {
  .form-opt {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    min-height: 48px;
    font-size: 16px;
  }
}

/* ── BOTTOM BAR: safe area iOS ── */
@media (max-width: 600px) {
  .bottom-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  body {
    padding-bottom: 80px;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .hero-tag .dot::after,
  .loader-word,
  .loader-line::after,
  .marquee-track,
  .nav-cta::after {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ── SCROLL PADDING: âncoras não ficam sob o header ── */
html {
  scroll-padding-top: 72px;
}
