/* PrivaLock: camada responsiva. Apenas telas pequenas. */
@media (max-width: 768px) {
  *, *::before, *::after { box-sizing: border-box; }
  html { width: 100%; scroll-padding-top: 76px; }
  body { width: 100%; min-width: 0 !important; margin: 0; overflow-x: clip; }
  body, main, section, footer { max-width: 100%; }
  img, video, canvas, iframe, svg { max-width: 100%; }
  img, video { height: auto; }
  p, h1, h2, h3, a { overflow-wrap: break-word; }
  main > section, footer { padding-left: max(16px, env(safe-area-inset-left)) !important; padding-right: max(16px, env(safe-area-inset-right)) !important; }
  main > section .container, section .container, footer .container,
  .section-container, .content-container { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }

  /* Header: logo + Instagram + Facebook + menu. */
  header.pl-mobile-ready { z-index: 1100; width: 100%; max-width: 100%; }
  header.pl-mobile-ready.pl-position-relative { position: relative; }
  header.pl-mobile-ready > .container, header.pl-mobile-ready .header-inner,
  header.pl-mobile-ready .header-container, header.pl-mobile-ready .nav-container,
  header.pl-mobile-ready .header-content { width: 100% !important; max-width: 100% !important; min-width: 0; display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 8px; }
  header.pl-mobile-ready img { max-width: 165px; height: auto; }
  header.pl-mobile-ready .pl-mobile-controls { display: flex !important; align-items: center; justify-content: flex-end; gap: 7px; margin-left: auto; flex-shrink: 0; order: 100; }
  header.pl-mobile-ready .pl-mobile-social { display: flex; align-items: center; gap: 6px; }
  header.pl-mobile-ready .pl-mobile-social a { display: inline-flex !important; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #ebedf0; border-radius: 11px; background: white; color: #ef2030; text-decoration: none; }
  header.pl-mobile-ready .pl-mobile-social svg { width: 21px; height: 21px; }
  header.pl-mobile-ready a.pl-social-source { display: none !important; }
  header.pl-mobile-ready .pl-mobile-toggle { display: flex !important; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #e4e6eb; border-radius: 11px; background: #fff; cursor: pointer; }
  header.pl-mobile-ready .pl-mobile-toggle span { display: block; width: 21px; height: 2px; border-radius: 3px; background: #161a24; }
  header.pl-mobile-ready nav.pl-mobile-nav { display: none !important; position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important; z-index: 1200 !important; width: 100% !important; max-width: 100% !important; max-height: calc(100dvh - 72px); overflow-y: auto; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 10px 18px 18px !important; margin: 0 !important; border-top: 1px solid #eceef2; border-bottom: 1px solid #eceef2; background: #fff !important; box-shadow: 0 14px 26px rgba(0,0,0,.12); }
  header.pl-mobile-ready nav.pl-mobile-nav.pl-mobile-open { display: flex !important; }
  header.pl-mobile-ready nav.pl-mobile-nav ul, header.pl-mobile-ready nav.pl-mobile-nav .nav-links,
  header.pl-mobile-ready nav.pl-mobile-nav .menu, header.pl-mobile-ready nav.pl-mobile-nav .links { display: flex !important; flex-direction: column !important; width: 100%; gap: 0 !important; }
  header.pl-mobile-ready nav.pl-mobile-nav li { width: 100%; list-style: none; }
  header.pl-mobile-ready nav.pl-mobile-nav a:not(.pl-social-source) { display: flex !important; align-items: center; min-height: 44px; width: 100%; padding: 10px 12px !important; border-radius: 8px; text-decoration: none; white-space: normal; }

  /* Capa e apresentação. */
  .hero, .hero-section, section#inicio, section#home { min-width: 0 !important; height: auto !important; max-width: 100% !important; }
  .hero .container, .hero-inner, .hero-container, .hero-grid, .hero-layout,
  .hero-row, .hero-content-wrapper, .hero-main, .hero-body { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 18px; max-width: 100% !important; }
  .hero-copy, .hero-text, .hero-left, .hero-info, .hero-visual,
  .hero-image, .hero-media { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .hero h1, .hero-section h1, section#inicio h1 { font-size: clamp(32px, 9vw, 44px) !important; line-height: 1.08 !important; letter-spacing: -.035em; }
  .hero p, .hero-section p { max-width: 100% !important; font-size: 15px; line-height: 1.55; }
  .hero img, .hero-section img { max-width: 100%; object-fit: contain; }
  .hero-actions, .hero-buttons, .cta-buttons, .action-buttons { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
  .hero-actions a, .hero-buttons a, .cta-buttons a { min-height: 44px; }

  /* Benefícios, planos, app, FAQ e rodapé. */
  .features-grid, .benefits-grid, .steps-grid, .plans-grid, .pricing-grid,
  .app-grid, .cards-grid, .faq-grid, .footer-grid, .stats-grid, .how-grid,
  .grid-3, .grid-4, .planos-grid, .recursos-grid, .vantagens-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  .features-strip, .feature-strip, .benefits-bar, .benefit-strip, .features-bar,
  .highlights-grid, .hero-features, .feature-highlights { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .features-strip > *, .feature-strip > *, .benefits-bar > *, .benefit-strip > *,
  .features-bar > *, .hero-features > * { width: 100% !important; min-width: 0 !important; }
  .plan-card, .pricing-card, .feature-card, .benefit-card, .faq-item,
  .step-card, .app-card { min-width: 0 !important; max-width: 100% !important; }
  .app-content, .app-showcase, .app-preview, .app-section .container,
  .about-grid, .contact-grid { max-width: 100% !important; }
  .app-section .container, .about-grid, .contact-grid { display: flex !important; flex-direction: column !important; gap: 18px; }
  h2 { font-size: clamp(25px, 7vw, 34px); line-height: 1.16; }
  table { max-width: 100%; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  input, textarea, select { max-width: 100%; font-size: 16px; }
  a, button { touch-action: manipulation; }
  .whatsapp-float, .floating-whatsapp, .float-whatsapp,
  .whatsapp-fixed, .whatsapp-floating { right: 14px !important; bottom: calc(14px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 390px) {
  header.pl-mobile-ready img { max-width: 126px; }
  header.pl-mobile-ready .pl-mobile-controls { gap: 4px; }
  header.pl-mobile-ready .pl-mobile-social { gap: 4px; }
  header.pl-mobile-ready .pl-mobile-social a { width: 34px; height: 36px; }
  header.pl-mobile-ready .pl-mobile-toggle { width: 40px; height: 40px; }
  .hero-actions a, .hero-buttons a { width: 100%; justify-content: center; text-align: center; }
}
@media (min-width: 769px) {
  .pl-mobile-controls { display: none !important; }
}


/* PrivaLock fix: cabecalho e rodape 2026-10-30 */
@media (max-width: 768px) {
  header.pl-mobile-ready button:not(.pl-mobile-toggle),
  header.pl-mobile-ready [role="button"]:not(.pl-mobile-toggle):not(.pl-mobile-controls),
  header.pl-mobile-ready a[class*="menu-toggle" i],
  header.pl-mobile-ready [class*="hamburger" i]:not(.pl-mobile-toggle),
  header.pl-mobile-ready [class*="menu-toggle" i]:not(.pl-mobile-toggle),
  header.pl-mobile-ready [class*="nav-toggle" i]:not(.pl-mobile-toggle),
  header.pl-mobile-ready label[class*="menu" i],
  header.pl-mobile-ready [id*="menuToggle" i]:not(.pl-mobile-toggle),
  header.pl-mobile-ready [id*="menuBtn" i]:not(.pl-mobile-toggle) {
    display: none !important;
  }
  footer { padding-bottom: max(64px, env(safe-area-inset-bottom)) !important; }
  footer img[alt*="PrivaLock" i] { width: 140px !important; max-width: 160px !important; height: auto !important; }
}
footer .pl-footer-social-links { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; }
footer .pl-footer-social-links > a { display: inline-flex !important; align-items: center; gap: 7px; text-decoration: none; }
footer .pl-footer-facebook { color: #e72235; font-weight: 600; }
footer .pl-footer-facebook svg { flex-shrink: 0; width: 23px; height: 23px; }
footer .pl-developer-credit { display: inline-block; margin-left: 9px; line-height: 1.6; }
footer .pl-developer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
footer .pl-credit-fallback { display: block; padding: 10px 15px; text-align: center; }
@media (max-width: 768px) {
  footer .pl-footer-social-links { gap: 14px; }
  footer .pl-developer-credit { display: block; margin: 8px auto 0; max-width: 100%; overflow-wrap: anywhere; text-align: center; }
}
