/* Ajustes gerais do modelo e versão mobile. Carregado depois de styles.css e design.css. */
.channel-grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Nada pode criar rolagem lateral no celular. clip não quebra o header fixo. */
body { overflow-x: clip; }
.mobile-bar { display: none; }

/* Tablet e mobile: uma coluna, sem largura mínima. */
@media (max-width: 1039px) {
  html { scroll-padding-top: 112px; }
  body { min-width: 0; }
  .container { width: calc(100% - 64px); }
  h1 { font-size: 60px; letter-spacing: -2.6px; }
  h2 { font-size: 44px; letter-spacing: -1.6px; }
  .section { padding: 88px 0; }

  .status-strip { font-size: 15px; height: 36px; }
  .header-inner { height: 76px; gap: 16px; }
  .site-header nav { display: none; }
  .header-cta { min-height: 48px; font-size: 15px; padding-inline: 18px; }
  .brand img { height: 38px; }

  .hero { padding-top: 32px; }
  .hero::before { right: -260px; top: 320px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { width: min(100%, 540px); margin-inline: auto; height: 540px; }
  .hero-trust { flex-wrap: wrap; justify-content: flex-start; gap: 14px 28px; }

  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-card:nth-child(n) { margin: 0; }

  .prescription-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 40px; }
  .conversation-figure { width: min(100%, 420px); margin-inline: auto; }

  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .care-title h2 { font-size: 46px; }
  .team-strip { flex-direction: column; align-items: stretch; gap: 0; }
  .team-photo { width: 100%; height: 300px; }
  .team-strip p { padding: 28px 32px 32px; font-size: 24px; }
  .team-strip > .icon { display: none; }

  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }

  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro h2 { font-size: 52px; }
  .faq-decoration { display: none; }

  .location { border-radius: 32px 32px 0 0; }
  .location-grid { grid-template-columns: 1fr; gap: 44px; }
  .location h2 { font-size: 44px; }
  .static-map { height: 400px; }

  .footer-main { flex-wrap: wrap; align-items: flex-start; }
  .social-links { flex-direction: row; }

  /* Barra fixa com as duas ações principais. */
  .site-footer { padding-bottom: 112px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fffffff5; backdrop-filter: blur(12px); box-shadow: 0 -6px 24px #0f5e5914; }
  .mobile-bar .button { flex: 1; min-height: 52px; padding-inline: 12px; font-size: 16px; gap: 9px; }
  .mobile-bar .button-primary { flex: 1.5; }
  .mobile-bar .icon { width: 20px; height: 20px; }
}

@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Celular. */
@media (max-width: 699px) {
  html { scroll-padding-top: 96px; }
  .container { width: calc(100% - 40px); }
  body { font-size: 16px; }
  h1 { font-size: 46px; line-height: 1.04; letter-spacing: -2px; }
  h2 { font-size: 34px; letter-spacing: -1.2px; }
  h3 { font-size: 20px; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 28px; gap: 16px; }
  .heading-icon { width: 48px; height: 48px; }
  .section-mark { height: 58px; }
  .eyebrow { font-size: 13px; margin-bottom: 14px; }
  .button { font-size: 16px; }

  .status-strip { height: 32px; font-size: 13px; font-weight: 600; }
  .delivery-status { display: none; }
  .site-header { margin-top: 32px; top: 32px; }
  .header-inner { height: 64px; }
  .brand { gap: 10px; }
  .brand img { height: 32px; }
  .brand span { font-size: 12px; padding-left: 10px; max-width: 70px; }
  .header-cta { display: none; }

  .hero { padding: 24px 0 8px; }
  .hero::before { width: 420px; height: 420px; right: -200px; top: 360px; }
  .hero-copy .eyebrow { font-size: 13px; padding: 7px 13px; margin-bottom: 18px; }
  .title-stroke { bottom: -10px; height: 16px; }
  .hero-description { margin-top: 24px; font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .hero-actions .button { width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
  .mobile-bar .button { white-space: normal; text-align: center; line-height: 1.15; }
  .microcopy { font-size: 13px; text-align: center; }
  .hero-grid { gap: 28px; }
  .hero-visual { height: 430px; }
  .hero-frame { left: 26px; right: 10px; top: 14px; height: 370px; border-radius: 170px 170px 22px 22px; }
  .hero-orbit { left: 8px; right: 0; height: 384px; border-radius: 175px 175px 26px 26px; }
  .hero-orbit::after { top: 60px; right: 16px; }
  .hero-dots { right: -20px; bottom: 60px; width: 100px; height: 100px; }
  .hero-decoration { display: none; }
  .hero-note { padding: 10px 13px; gap: 9px; border-radius: 14px; }
  .hero-note strong { font-size: 13px; }
  .note-icon { width: 34px; height: 34px; }
  .note-icon .icon { width: 20px; height: 20px; }
  .hero-note-care { left: -4px; top: 44px; }
  .hero-note-delivery { right: -4px; bottom: 112px; }
  .address-card { left: 0; right: 8px; bottom: 0; padding: 14px 16px; gap: 12px; border-radius: 14px; }
  .address-icon { width: 40px; height: 40px; flex-shrink: 0; }
  .address-card strong { font-size: 15px; line-height: 1.35; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 22px; margin-top: 28px; }

  .channels { padding: 56px 0 52px; }
  .channel-grid { gap: 12px; }
  .channel-card { min-height: 0; padding: 30px 14px 16px; border-radius: 14px; }
  .channel-card::before { top: 10px; left: 14px; }
  .channel-logo { height: 70px; }
  .channel-logo img { height: 38px; }
  .channel-logo .farmacias-logo { width: 140px; }
  .whatsapp-wordmark { font-size: 17px; flex-direction: column; gap: 6px; }
  .whatsapp-wordmark .icon { width: 30px; height: 30px; }
  .channel-card p { font-size: 13px; text-align: center; line-height: 1.4; margin-top: 6px; }
  .channel-action { font-size: 15px; padding-top: 14px; gap: 6px; }
  .channel-action .icon { width: 28px; height: 28px; padding: 6px; }
  .pickup-row { margin-top: 28px; }
  .pickup-row > div { flex-wrap: wrap; gap: 8px 12px; }

  .prescription { padding-bottom: 64px; }
  .prescription-grid { padding: 36px 20px 28px; border-radius: 24px; gap: 28px; }
  .prescription-copy h2 { font-size: 34px; }
  .prescription-copy .button { width: 100%; white-space: normal; padding-inline: 18px; }
  .conversation-figure::before { width: 280px; height: 280px; }
  .conversation { transform: rotate(3deg); border-width: 5px; }
  .conversation-body { min-height: 0; }

  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px 20px 16px; min-height: 0; border-radius: 16px; }
  .service-icon { width: 56px; height: 56px; border-radius: 18px; }
  .service-icon .icon { width: 30px; height: 30px; }
  .service-card h3 { font-size: 19px; margin-bottom: 8px; }
  .service-card p { font-size: 15px; margin-bottom: 10px; }
  .service-card > a { font-size: 15px; min-height: 44px; }

  .care-title { margin-bottom: 36px; }
  .care-title h2 { font-size: 34px; }
  .benefit-grid { gap: 26px 18px; }
  .benefit { padding-top: 18px; }
  .benefit > .icon { width: 28px; height: 28px; margin-bottom: 12px; }
  .benefit h3 { font-size: 16px; }
  .benefit p { font-size: 14px; }
  .team-strip { margin-top: 44px; border-radius: 20px; }
  .team-strip::after { width: 180px; height: 210px; top: auto; bottom: -50px; }
  .team-photo { height: 220px; }
  .team-strip p { padding: 22px 22px 26px; font-size: 19px; }

  .reviews-block { margin-top: 52px; }
  .reviews-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .reviews-heading h3 { font-size: 26px; }
  .reviews-summary > strong { font-size: 44px; }
  .review-grid { gap: 12px; }
  .review-card { padding: 22px; }
  .review-card blockquote { margin: 16px 0 20px; }
  .review-card blockquote p { font-size: 16px; }
  .reviews-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }

  .faq-grid { gap: 20px; }
  .faq-intro h2 { font-size: 40px; }
  .faq-item button { font-size: 16px; gap: 16px; padding: 18px 0; }
  .faq-answer p { font-size: 16px; padding-bottom: 20px; }
  .faq-route { font-size: 16px; }

  .location { border-radius: 24px 24px 0 0; padding-bottom: 56px; }
  .location h2 { font-size: 36px; margin-bottom: 18px; }
  .location address { font-size: 16px; }
  .location address br { display: none; }
  .hours-table { font-size: 15px; }
  .hours-table th, .hours-table td { padding: 10px 12px; }
  .location-actions { gap: 10px; }
  .location-actions .button { flex: 1; padding-inline: 14px; gap: 8px; }
  .location-actions .button .icon:last-child:not(:first-child) { display: none; }
  .static-map { height: 320px; border-width: 4px; border-radius: 20px; }
  .map-activate { bottom: 22px; min-height: 50px; font-size: 15px; }

  .footer-main { flex-direction: column; gap: 26px; padding: 36px 0 30px; }
  .footer-brand img { height: 42px; }
  .footer-contact a:last-child { padding-left: 0; }
  .social-links { flex-wrap: wrap; gap: 10px 22px; }
  .social-links a { font-size: 16px; min-height: 44px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 6px; }

  .privacy-dialog { padding: 32px 22px 26px; border-radius: 18px; }
  .privacy-dialog h2 { font-size: 24px; }
  .privacy-dialog > .button { width: 100%; }
}

@media (max-width: 359px) {
  h1 { font-size: 40px; }
  .container { width: calc(100% - 32px); }
  .channel-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .mobile-bar .button { font-size: 15px; }
}

@media print { .mobile-bar { display: none; } }
