/* Camada responsiva final da landing page. Mantida separada para evitar
   conflitos com os estilos desktop e facilitar a evolucao do mobile. */
html, body { max-width: 100%; overflow-x: clip; }

.brand-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; line-height: 1; }
.brand-copy small { display: block; color: #a9b8bc; font: 700 6.5px/1.15 "Manrope", sans-serif; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
.brand-copy small b { color: var(--green); font: inherit; }
.site-header .brand-wordmark, .footer-logo .brand-wordmark { flex: 0 0 auto; }
.footer-logo .brand-copy { gap: 4px; }
.footer-logo .brand-copy small { font-size: 8px; }

@media (max-width: 680px) {
  html { width: 100%; scroll-padding-top: 76px; }
  body { width: 100%; min-width: 0; font-size: 16px; }
  main, section, footer { max-width: 100%; overflow-x: clip; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { background: rgba(3, 17, 23, .96); }
  .header-inner { width: calc(100% - 32px); height: 72px; gap: 12px; justify-content: space-between; }
  .site-header .brand { min-width: 0; flex: 0 1 auto; }
  .site-header .brand .brand-symbol { width: 46px; height: 46px; }
  .site-header .brand .brand-wordmark { width: 128px; }
  .site-header .brand-copy { gap: 2px; }
  .site-header .brand-copy small { font-size: 5.4px; letter-spacing: .055em; }
  .menu-button { position: relative; right: auto; margin-left: auto; flex: 0 0 46px; width: 46px; height: 46px; padding: 11px; border-radius: 12px; }
  .mobile-nav { inset: 72px 0 auto; padding: 24px 16px 28px; gap: 4px; max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 20px 45px rgba(0, 0, 0, .38); }
  .mobile-nav a:not(.button) { min-height: 48px; display: flex; align-items: center; padding: 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .mobile-nav .button { margin-top: 16px; width: 100%; }
  .button { min-height: 52px; padding-inline: 20px; }

  .trial-modal { padding: 0; align-items: flex-end; }
  .trial-modal-dialog { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; padding: 28px 20px 24px; }
  .trial-modal-icon { width: 72px; height: 72px; }
  .trial-modal-dialog h3 { font-size: 21px; }

  .hero { padding: 104px 0 58px; }
  .hero-grid { gap: 34px; }
  .hero-orbit { opacity: .55; }
  .orbit-one { width: 420px; height: 420px; right: -290px; top: 150px; }
  .orbit-two { width: 270px; height: 270px; right: -170px; top: 230px; }
  .eyebrow, .section-kicker { font-size: 10px; line-height: 1.45; letter-spacing: .12em; }
  h1 { max-width: 100%; font-size: clamp(36px, 10.3vw, 40px); line-height: 1.04; letter-spacing: -.05em; margin: 18px 0 22px; overflow-wrap: anywhere; }
  .hero-lead { font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
  .hero-actions { gap: 12px; }
  .trust-row { font-size: 12px; line-height: 1.5; gap: 8px; }
  .hero-visual:has(.phone-shell-real) { width: 100%; min-height: 540px; display: flex; justify-content: flex-start; align-items: flex-end; overflow: hidden; border-radius: 24px; }
  .hero-visual:has(.phone-shell-real) .portrait-card { width: 82%; height: 440px; right: 0; top: 8px; border-radius: 24px; }
  .phone-shell-real { left: 0; bottom: 0; width: min(226px, 68vw); height: auto; aspect-ratio: 9 / 20; border-width: 6px; border-radius: 32px; }
  .portrait-caption { max-width: 150px; }
  .portrait-caption strong { font-size: 14px; }
  .portrait-caption span { font-size: 11px; }
  .floating-proof { padding: 9px 11px; gap: 8px; }
  .floating-proof > span { width: 26px; height: 26px; }
  .proof-sale { right: 8px; top: 64px; max-width: calc(100% - 16px); }
  .proof-sale strong { font-size: 11px; }

  .signal-grid div { padding: 20px 4px; }
  .signal-grid strong { font-size: 15px; }
  .signal-grid span { font-size: 13px; line-height: 1.55; margin-top: 3px; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .feature-copy h2, .connected-header h2, .faq-intro h2 { font-size: clamp(30px, 9vw, 38px); line-height: 1.12; margin: 11px 0 15px; }
  .section-heading p, .feature-copy > p, .connected-header > p, .faq-intro > p { font-size: 15px; line-height: 1.65; }

  .problem-grid { gap: 14px; }
  .problem-card { min-height: 0; padding: 24px; border-radius: 19px; }
  .problem-card .line-icon { width: 50px; height: 50px; border-radius: 15px; }
  .problem-card .line-icon svg { width: 25px; height: 25px; }
  .problem-card h3 { font-size: 20px; margin: 22px 0 10px; }
  .problem-card p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
  .problem-card a { position: static; display: inline-flex; min-height: 44px; align-items: center; }

  .split-layout, .dashboard-grid { gap: 38px; }
  .check-list { gap: 17px; margin-top: 27px; }
  .check-list li { gap: 12px; }
  .check-list li > span { flex-basis: 26px; width: 26px; height: 26px; }
  .check-list strong { font-size: 15px; }
  .check-list small { font-size: 13px; line-height: 1.55; }
  .sales-phone-real, .stock-phone-real { width: min(300px, 92vw); border-width: 7px; border-radius: 37px; }
  .dashboard-grid .feature-copy { order: 1; }
  .dashboard-grid .dashboard-panel { order: 2; }
  .dashboard-panel { padding: 15px; border-radius: 21px; }
  .panel-head { align-items: flex-start; gap: 10px; margin-bottom: 15px; }
  .panel-head strong { font-size: 15px; }
  .panel-head > span { font-size: 9px; white-space: nowrap; }
  .metric-row { gap: 8px; }
  .metric-row article { padding: 14px; }
  .metric-row strong { font-size: 20px; }
  .analytics-card { padding: 14px; }
  .analytics-card > div:first-child { gap: 10px; font-size: 13px; }
  .bars { height: 120px; gap: 6px; padding-inline: 4px; }
  .bar-labels span:nth-child(even) { display: none; }

  .steps-grid { gap: 13px; }
  .steps-grid article, .steps-grid article:last-child { min-height: 0; padding: 23px; border-radius: 19px; }
  .steps-grid article > span { width: 42px; height: 42px; border-radius: 13px; }
  .steps-grid h3 { font-size: 20px; margin: 25px 0 9px; }
  .steps-grid p { font-size: 14px; line-height: 1.65; }

  .pricing-grid { gap: 28px; }
  .price-card { padding: 27px 21px; border-radius: 21px; }
  .price-card.featured { margin: 14px 0 0; }
  .recommended { top: 0; width: max-content; max-width: calc(100% - 32px); font-size: 9px; padding: 7px 12px; white-space: normal; line-height: 1.25; }
  .plan-head { align-items: flex-start; }
  .plan-head > div { min-width: 0; }
  .plan-head > div span { font-size: 21px; }
  .plan-head > div small { font-size: 13px; line-height: 1.45; min-height: 0; margin-top: 3px; }
  .plan-badge { margin-top: 2px; white-space: nowrap; }
  .price { margin: 23px 0; }
  .price strong { font-size: 48px; }
  .device-limit { padding: 12px; }
  .price-card ul { padding-top: 20px; margin-top: 20px; gap: 12px; }
  .price-card li { font-size: 13px; line-height: 1.55; }
  .pricing-note { font-size: 14px; line-height: 1.6; margin-top: 30px; }

  .faq-grid { gap: 30px; }
  .faq-intro .text-link { justify-content: flex-start; min-height: 48px; margin-top: 10px; }
  .accordion summary { min-height: 62px; padding: 18px 0; font-size: 15px; line-height: 1.45; align-items: center; }
  .accordion details p { font-size: 14px; line-height: 1.65; margin: 0 30px 20px 0; }
  .final-cta { padding: 50px 0; }
  .final-cta-inner { gap: 24px; }
  .final-cta h2 { font-size: clamp(30px, 9vw, 38px); line-height: 1.1; margin: 8px 0 12px; }
  .final-cta p { font-size: 15px; line-height: 1.6; }

  footer { padding: 54px 0 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-logo .brand-symbol { width: 57px; height: 57px; }
  .footer-logo .brand-wordmark { width: 165px; }
  .footer-logo .brand-copy small { font-size: 6.7px; }
  .footer-main > div:not(.footer-brand) { gap: 5px; padding-top: 20px; border-top: 1px solid #142932; }
  .footer-main a, .footer-pending { min-height: 40px; display: flex; align-items: center; }
  .footer-bottom { margin-top: 34px; line-height: 1.55; }
  .whatsapp-float { position: fixed; left: auto; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 54px; height: 54px; z-index: 110; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-header .brand .brand-symbol { width: 42px; height: 42px; }
  .site-header .brand .brand-wordmark { width: 118px; }
  .site-header .brand-copy small { font-size: 5px; }
  h1 { font-size: 36px; }
  .hero-visual:has(.phone-shell-real) { min-height: 500px; }
  .hero-visual:has(.phone-shell-real) .portrait-card { height: 408px; }
  .phone-shell-real { width: min(208px, 67vw); }
  .proof-sale { top: 52px; }
  .proof-sale small { font-size: 8px; }
  .plan-head { gap: 8px; }
  .plan-badge { font-size: 7px; padding: 5px 7px; }
}

@media (max-width: 980px) {
  .mobile-materials { display: block; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .mobile-materials summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; color: #c4d0d3; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
  .mobile-materials summary::-webkit-details-marker { display: none; }
  .mobile-materials summary span { color: var(--green); font-size: 17px; transition: transform .2s; }
  .mobile-materials[open] summary span { transform: rotate(180deg); }
  .mobile-materials > div { display: grid; gap: 3px; padding: 2px 8px 12px 18px; }
  .mobile-nav .mobile-materials a, .mobile-materials-pending { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-bottom: 0; border-left: 2px solid #1a414b; color: #aebdc1; font-size: 13px; }
  .mobile-materials-pending { color: #667c82; }
  .mobile-materials-pending small { padding: 3px 7px; border: 1px solid #29454d; border-radius: 20px; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
}
