* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #ffffff; }
body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: #1f2933;
  font-family: Arial, Helvetica, sans-serif;
}
.poster {
  width: 100%;
  margin: 0;
  background: #ffffff;
  overflow: hidden;
}
.poster-section {
  position: relative;
  width: 100%;
  line-height: 0;
}
.poster-section > img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.hotspot {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.hotspot:focus-visible {
  outline: 3px solid #0b6ea8;
  outline-offset: 2px;
  background: rgba(255,255,255,.10);
}
.hero-cta { left: 22.2%; top: 46.8%; width: 35.7%; height: 12.5%; }
.poster-content .condition { height: 12%; }
/* Combined conditions image hotspots */
.c1  { left: 2.2%; top: 0.8%;  width: 30.2%; height: 21.5% !important; }
.c2  { left: 2.2%; top: 21.0%; width: 30.2%; height: 15.8% !important; }
.c3  { left: 2.2%; top: 36.2%; width: 30.2%; height: 14.8% !important; }
.c4  { left: 2.2%; top: 50.5%; width: 30.2%; height: 12.8% !important; }
.c5  { left: 2.2%; top: 62.8%; width: 30.2%; height: 13.8% !important; }
.c6  { left: 2.2%; top: 76.0%; width: 30.2%; height: 13.3% !important; }
.c7  { left: 33.2%; top: 0.8%;  width: 31.6%; height: 18.8% !important; }
.c8  { left: 33.2%; top: 18.7%; width: 31.6%; height: 14.2% !important; }
.c9  { left: 33.2%; top: 32.5%; width: 31.6%; height: 15.6% !important; }
.c10 { left: 33.2%; top: 47.2%; width: 31.6%; height: 12.8% !important; }
.c11 { left: 33.2%; top: 59.4%; width: 31.6%; height: 15.0% !important; }
.c12 { left: 33.2%; top: 73.8%; width: 31.6%; height: 14.5% !important; }
.c13 { left: 65.4%; top: 0.8%;  width: 31.6%; height: 15.9% !important; }
.c14 { left: 65.4%; top: 16.5%; width: 31.6%; height: 22.2% !important; }
.c15 { left: 65.4%; top: 38.5%; width: 31.6%; height: 12.5% !important; }
.c16 { left: 65.4%; top: 50.6%; width: 31.6%; height: 12.4% !important; }
.c17 { left: 65.4%; top: 62.6%; width: 31.6%; height: 10.8% !important; }
.c18 { left: 65.4%; top: 73.0%; width: 31.6%; height: 15.4% !important; }
.email { left: 2.2%; top: 69.3%; width: 27.8%; height: 13.8%; }
.phone { left: 30.4%; top: 69.3%; width: 17.2%; height: 13.8%; }
.map   { left: 48.0%; top: 69.3%; width: 27.0%; height: 13.8%; }
.cnpj  { left: 75.2%; top: 69.3%; width: 22.4%; height: 13.8%; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.modal.open { display: grid; place-items: center; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 640px);
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.modal-card h2 { margin: 0; color: #0c4f2d; font-size: clamp(24px, 2.2vw, 32px); }
.modal-card p { margin: 10px 0 16px; color: #4f5b67; line-height: 1.45; }
.modal-close {
  position: absolute; right: 12px; top: 12px;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: #eef1f4; color: #334; font-size: 28px; line-height: 1; cursor: pointer;
}
.search-box {
  border: 2px solid #d8e7d8;
  border-radius: 12px;
  padding: 0 14px;
}
.search-box:focus-within { border-color: #4a9c43; }
.search-box input {
  width: 100%; border: 0; outline: 0; padding: 14px 0; font-size: 16px;
}
.search-results {
  display: grid;
  gap: 8px;
  max-height: min(44vh, 360px);
  overflow: auto;
  margin-top: 14px;
}
.result-btn {
  border: 1px solid #e5e8eb;
  background: #fafafa;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}
.result-btn strong { display: block; font-size: 15px; color: #182028; margin-bottom: 3px; }
.result-btn span { font-size: 13px; color: #5f6b76; }
.result-btn:hover { background: #eff8ed; border-color: #b9d8b8; }

.condition-dialog {
  width: min(92vw, 580px);
  border: 0;
  border-radius: 18px;
  padding: 30px 30px 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  color: #1d2630;
}
.condition-dialog::backdrop { background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }
.condition-dialog h2 { margin: 6px 42px 10px 0; font-size: 26px; line-height: 1.15; }
.condition-dialog p { margin: 0; font-size: 17px; line-height: 1.55; color: #46515b; }
.dialog-number { font-weight: 800; font-size: 13px; letter-spacing: .08em; color: #0a6c8d; text-transform: uppercase; }
.dialog-close {
  position: absolute; right: 16px; top: 12px;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: #f1f3f4; color: #333; font-size: 30px; line-height: 1; cursor: pointer;
}
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 18px);
  padding: 11px 16px;
  border-radius: 999px;
  background: #112a3b;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 700px) {
  .modal-card { padding: 22px; }
  .condition-dialog { padding: 24px 22px 22px; }
  .condition-dialog h2 { font-size: 22px; }
  .condition-dialog p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}


/* Nitidez e imagens responsivas */
.poster-section > img,
.conditions-mobile img,
.footer-mobile img {
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
.conditions-mobile,
.footer-mobile { display: none; }
.mobile-column,
.mobile-contact-wrap { position: relative; line-height: 0; }
.mobile-column > img,
.footer-mobile > img,
.mobile-contact-wrap > img { display:block; width:100%; height:auto; }

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .poster { width: 100%; max-width: none; }
  .poster-top > img { width: 100%; height: auto; }

  /* Mantém o topo inteiro sem cortar ou deformar. */
  .hero-cta { left: 22%; top: 46%; width: 36%; height: 13%; }

  /* Em celular, cada coluna das condições vira um bloco de largura total. */
  .conditions-desktop,
  .poster-content > .condition-hotspots { display: none !important; }
  .conditions-mobile { display: block; }
  .mobile-column { width: 100%; background:#fff; }
  .mobile-column + .mobile-column { margin-top: 0; }

  .mc1  { left: 4%; top: 1%;  width: 92%; height: 20.5% !important; }
  .mc2  { left: 4%; top: 21%; width: 92%; height: 15.8% !important; }
  .mc3  { left: 4%; top: 36%; width: 92%; height: 14.8% !important; }
  .mc4  { left: 4%; top: 50.5%; width: 92%; height: 12.8% !important; }
  .mc5  { left: 4%; top: 63%; width: 92%; height: 13.6% !important; }
  .mc6  { left: 4%; top: 76%; width: 92%; height: 13.8% !important; }

  .mc7  { left: 4%; top: 1%;  width: 92%; height: 18.3% !important; }
  .mc8  { left: 4%; top: 19%; width: 92%; height: 14.0% !important; }
  .mc9  { left: 4%; top: 33%; width: 92%; height: 15.2% !important; }
  .mc10 { left: 4%; top: 48%; width: 92%; height: 12.2% !important; }
  .mc11 { left: 4%; top: 60%; width: 92%; height: 14.5% !important; }
  .mc12 { left: 4%; top: 74%; width: 92%; height: 14.4% !important; }

  .mc13 { left: 4%; top: 1%;  width: 92%; height: 15.8% !important; }
  .mc14 { left: 4%; top: 16.5%; width: 92%; height: 22.0% !important; }
  .mc15 { left: 4%; top: 38.5%; width: 92%; height: 12.4% !important; }
  .mc16 { left: 4%; top: 50.5%; width: 92%; height: 12.2% !important; }
  .mc17 { left: 4%; top: 62.5%; width: 92%; height: 10.8% !important; }
  .mc18 { left: 4%; top: 73%; width: 92%; height: 15.5% !important; }

  /* Rodapé reorganizado para leitura em tela estreita. */
  .footer-desktop,
  .poster-footer > .email,
  .poster-footer > .phone,
  .poster-footer > .map,
  .poster-footer > .cnpj { display:none !important; }
  .footer-mobile { display:block; background:#fff; }
  .footer-mobile > img:nth-child(1),
  .footer-mobile > img:nth-child(2) { width:100%; }

  .mobile-contact-wrap { width:100%; }
  .mobile-contact { top:0; height:100%; }
  .email-mobile { left:0; width:29%; }
  .phone-mobile { left:29%; width:20%; }
  .map-mobile { left:49%; width:28%; }
  .cnpj-mobile { left:77%; width:23%; }

  .modal-card { width:min(94vw, 620px); max-height:88vh; overflow:auto; }
  .condition-dialog { width:94vw; max-height:88vh; overflow:auto; }
}

@media (max-width: 430px) {
  .modal-card { padding:18px; border-radius:15px; }
  .modal-card h2 { font-size:23px; padding-right:34px; }
  .search-box input { font-size:16px; }
  .condition-dialog { padding:22px 18px 20px; border-radius:15px; }
  .condition-dialog h2 { font-size:21px; }
  .condition-dialog p { font-size:15px; line-height:1.48; }
}


/* =========================
   NAVBAR MSV
   ========================= */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 3000;
  width: 100%;
  background: rgba(252, 248, 235, .98);
  border-bottom: 1px solid rgba(116, 79, 28, .18);
  box-shadow: 0 5px 22px rgba(42, 36, 20, .10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar-inner {
  width: min(100%, 1500px);
  min-height: 92px;
  margin: 0 auto;
  padding: 8px clamp(18px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.navbar-brand img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(83, 52, 9, .14));
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 42px);
}
.nav-link {
  position: relative;
  color: #163f2c;
  text-decoration: none;
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 700;
  white-space: nowrap;
  padding: 12px 2px;
  transition: color .18s ease, transform .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a66a12, #d3a34c);
  transition: right .2s ease;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active { color: #9a6415; }
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after { right: 0; }
.nav-contact {
  color: #fff;
  background: #17472f;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(19, 65, 42, .16);
}
.nav-contact::after { display: none; }
.nav-contact:hover,
.nav-contact:focus-visible { color: #fff; background: #0f3524; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: #17472f;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Corrige destino de links com navbar sticky */
#medicina-integrativa,
#contato { scroll-margin-top: 104px; }

@media (max-width: 860px) {
  .navbar-inner {
    min-height: 74px;
    padding: 7px 16px;
    gap: 12px;
  }
  .navbar-brand img {
    width: 60px;
    height: 60px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: rgba(252, 248, 235, .995);
    border: 1px solid rgba(116, 79, 28, .15);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 30px rgba(32, 31, 21, .16);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav-link::after { display: none; }
  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link.active {
    background: #f1ead4;
    color: #86570f;
  }
  .nav-contact,
  .nav-contact:hover,
  .nav-contact:focus-visible {
    margin-top: 2px;
    text-align: center;
    color: #fff;
    background: #17472f;
    border-radius: 10px;
  }
  #medicina-integrativa,
  #contato { scroll-margin-top: 82px; }
}

@media (max-width: 420px) {
  .navbar-brand img { width: 54px; height: 54px; }
  .navbar-inner { min-height: 68px; }
  .nav-toggle { width: 42px; height: 42px; }
}


/* Páginas internas provisórias */
.simple-page {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 18% 12%, rgba(213, 171, 90, .18), transparent 30%),
    linear-gradient(135deg, #fffdf7, #f4edda);
}
.simple-page-inner {
  width: min(92vw, 720px);
  text-align: center;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(145, 103, 33, .14);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(54, 43, 18, .10);
}
.simple-logo { width: 120px; height: 120px; object-fit: contain; }
.simple-kicker { margin: 12px 0 4px; color: #9a6415; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.simple-page h1 { margin: 8px 0 14px; color: #17472f; font-size: clamp(34px, 6vw, 64px); }
.simple-page p { margin: 0 auto 26px; max-width: 560px; color: #59635d; font-size: 17px; line-height: 1.6; }
.simple-back { display: inline-flex; padding: 12px 20px; border-radius: 999px; background: #17472f; color: #fff; text-decoration: none; font-weight: 800; }


/* ==========================================================
   VERSÃO HÍBRIDA
   - topo e rodapé: arte antiga
   - faixa verde + condições: texto HTML real
   ========================================================== */

/* A faixa verde original continua no fundo da imagem. Este bloco cobre
   apenas a região textual, preservando o selo circular da arte no lado direito. */
.hero-intro-html {
  position: absolute;
  z-index: 8;
  left: 0;
  bottom: 3.2%;
  width: 68.2%;
  height: 31.7%;
  display: flex;
  align-items: center;
  padding: .65vw 1.6vw .65vw 4.15vw;
  background: linear-gradient(90deg, #163a24 0%, #163b25 66%, #30513e 100%);
  color: #fff;
  line-height: 1.23;
}
.hero-intro-html p {
  margin: 0;
  font-size: clamp(10px, 1.16vw, 22px);
  font-weight: 650;
  letter-spacing: -.01em;
}
.hero-intro-html strong { color: #e2e66f; font-weight: 900; }

.conditions-html {
  width: 100%;
  background: #fff;
  padding: 16px clamp(24px, 3.4vw, 66px) 18px;
  color: #111;
  line-height: normal;
}
.conditions-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  max-width: 1900px;
  margin: 0 auto;
}
.condition-column {
  min-width: 0;
  padding: 0 clamp(10px, 1vw, 20px);
}
.condition-column + .condition-column {
  border-left: 1px dashed #cfcfcf;
}
.condition-card {
  display: grid;
  grid-template-columns: clamp(46px, 4vw, 70px) minmax(0,1fr);
  gap: clamp(8px, .7vw, 13px);
  align-items: start;
  padding: clamp(6px, .43vw, 9px) 0;
  background: #fff;
  cursor: pointer;
  border-radius: 9px;
  transition: background .16s ease, transform .16s ease;
}
.condition-card:hover { background: #f8fbf7; transform: translateX(2px); }
.condition-card:focus-within { outline: 2px solid #dcead8; }
.condition-card img {
  display: block;
  width: clamp(44px, 3.55vw, 64px);
  height: auto;
  max-height: 66px;
  object-fit: contain;
  margin-top: 1px;
}
.condition-copy { min-width: 0; }
.condition-card h2 {
  margin: 0 0 .16em;
  color: #0c62b2;
  font-size: clamp(16px, 1.12vw, 22px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.018em;
}
.condition-card p {
  margin: 0;
  font-size: clamp(11.5px, .82vw, 16px);
  line-height: 1.13;
  color: #111;
}
.condition-card p strong { font-weight: 900; }
.condition-card[data-id="1"] h2,
.condition-card[data-id="8"] h2 { color: #df2d31; }
.condition-card[data-id="3"] h2,
.condition-card[data-id="13"] h2 { color: #d98c00; }
.condition-card[data-id="4"] h2,
.condition-card[data-id="17"] h2 { color: #ec3379; }
.condition-card[data-id="5"] h2,
.condition-card[data-id="9"] h2,
.condition-card[data-id="15"] h2,
.condition-card[data-id="18"] h2 { color: #26752b; }
.condition-card[data-id="7"] h2,
.condition-card[data-id="11"] h2,
.condition-card[data-id="16"] h2 { color: #8f21b0; }

/* Desativa os blocos antigos da área de condições: agora essa parte é HTML. */
.conditions-desktop,
.conditions-mobile,
.poster-content,
.poster-content > .condition-hotspots { display: none !important; }

/* Tablet/celular: mantém a ordem original 1–6, 7–12, 13–18 e aumenta a leitura. */
@media (max-width: 900px) {
  .hero-intro-html {
    bottom: 2.9%;
    width: 69.5%;
    height: 31%;
    padding: 5px 8px 5px 14px;
  }
  .hero-intro-html p { font-size: clamp(7px, 1.55vw, 13px); line-height: 1.16; }
  .conditions-html { padding: 14px 18px 18px; }
  .conditions-columns { grid-template-columns: 1fr; }
  .condition-column { padding: 0; }
  .condition-column + .condition-column { border-left: 0; }
  .condition-card {
    grid-template-columns: 58px minmax(0,1fr);
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px dashed #d6d6d6;
  }
  .condition-card img { width: 54px; max-height: 58px; }
  .condition-card h2 { font-size: 18px; line-height: 1.05; }
  .condition-card p { font-size: 14px; line-height: 1.2; }
}

@media (max-width: 560px) {
  /* No celular, o parágrafo vira uma faixa HTML legível sobre a própria arte,
     sem alterar a proporção do topo. */
  .hero-intro-html {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin-top: -1px;
    padding: 13px 16px 14px;
    background: #15522d;
  }
  .hero-intro-html p { font-size: 14px; line-height: 1.28; }
  /* Oculta visualmente a faixa de texto minúscula que já existe dentro da foto
     deslocando o próximo bloco HTML por cima dessa área no celular. */
  .poster-top { overflow: hidden; }
  .desktop-hero { margin-bottom: -31.5vw; }
  .conditions-html { padding: 10px 12px 16px; }
  .condition-card { grid-template-columns: 52px minmax(0,1fr); padding: 10px 2px; }
  .condition-card img { width: 48px; }
  .condition-card h2 { font-size: 17px; }
  .condition-card p { font-size: 13.5px; }
}

@keyframes conditionFlash{0%,100%{background:#fff}35%,70%{background:#eef8ea}}
.condition-card.flash{animation:conditionFlash 1.35s ease;}

/* ==========================================================
   AJUSTES RESPONSIVOS — sem alterar o layout visual
   Mantém a composição existente e apenas melhora adaptação
   entre desktop, tablet e celular.
   ========================================================== */

/* Evita qualquer estouro horizontal causado por imagens, textos ou hotspots. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Textos longos nunca forçam a largura dos cards ou do menu. */
.condition-copy,
.condition-card h2,
.condition-card p,
.nav-link,
.simple-page-inner,
.result-btn,
.result-btn strong,
.result-btn span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Mantém o conteúdo dentro da viewport sem remover os limites originais. */
.navbar-inner {
  max-width: 100%;
}
.conditions-columns {
  width: 100%;
  max-width: 1900px;
}

/* Hotspots continuam acompanhando exatamente a proporção das artes. */
.poster-section,
.mobile-contact-wrap {
  overflow: hidden;
}

/* Tablet horizontal / notebooks menores. */
@media (max-width: 1180px) {
  .navbar-inner {
    gap: clamp(18px, 2vw, 28px);
    padding-left: clamp(18px, 3vw, 36px);
    padding-right: clamp(18px, 3vw, 36px);
  }

  .primary-nav {
    gap: clamp(14px, 1.8vw, 26px);
  }

  .conditions-html {
    padding-left: clamp(18px, 2.4vw, 30px);
    padding-right: clamp(18px, 2.4vw, 30px);
  }

  .condition-column {
    padding-left: clamp(8px, .8vw, 14px);
    padding-right: clamp(8px, .8vw, 14px);
  }
}

/* Faixa entre tablet e menu mobile: reduz aperto sem redesenhar a navegação. */
@media (min-width: 861px) and (max-width: 1020px) {
  .navbar-inner {
    min-height: 84px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-brand img {
    width: 68px;
    height: 68px;
  }

  .primary-nav {
    gap: 13px;
  }

  .nav-link {
    font-size: 14px;
  }

  .nav-contact {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablets: mantém a organização existente, melhorando leitura e respiro. */
@media (max-width: 900px) {
  .conditions-html {
    width: 100%;
    padding-left: clamp(14px, 3vw, 22px);
    padding-right: clamp(14px, 3vw, 22px);
  }

  .condition-card {
    width: 100%;
  }

  .condition-copy {
    width: 100%;
  }

  .modal-card,
  .condition-dialog {
    max-width: calc(100vw - 24px);
  }
}

/* Menu móvel: respeita notch/safe area e não ultrapassa a viewport. */
@media (max-width: 860px) {
  .site-navbar {
    width: 100%;
  }

  .navbar-inner {
    width: 100%;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .primary-nav {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-link {
    white-space: normal;
  }
}

/* Celulares médios. */
@media (max-width: 600px) {
  .conditions-html {
    padding-left: 12px;
    padding-right: 12px;
  }

  .modal {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .modal-card,
  .condition-dialog {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .simple-page {
    min-height: calc(100dvh - 68px);
    padding-left: 14px;
    padding-right: 14px;
  }

  .simple-page-inner {
    width: 100%;
  }
}

/* Celulares estreitos: apenas escala tipografia/espaços, sem trocar a composição. */
@media (max-width: 480px) {
  .conditions-html {
    padding-left: 10px;
    padding-right: 10px;
  }

  .condition-card {
    grid-template-columns: clamp(44px, 12vw, 50px) minmax(0, 1fr);
    gap: 8px;
  }

  .condition-card img {
    width: clamp(42px, 11vw, 48px);
  }

  .condition-card h2 {
    font-size: clamp(15.5px, 4.4vw, 17px);
  }

  .condition-card p {
    font-size: clamp(12.5px, 3.65vw, 13.5px);
  }

  .hero-intro-html {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-intro-html p {
    font-size: clamp(13px, 3.7vw, 14px);
  }

  .mobile-contact-wrap,
  .footer-mobile,
  .footer-mobile img {
    width: 100%;
  }

  .toast {
    max-width: calc(100vw - 24px);
    text-align: center;
  }
}

/* Telas muito estreitas: evita cortes sem mudar a ordem/layout dos elementos. */
@media (max-width: 360px) {
  body {
    min-width: 0;
  }

  .navbar-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .navbar-brand img {
    width: 50px;
    height: 50px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .condition-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
  }

  .condition-card img {
    width: 40px;
  }

  .condition-card h2 {
    font-size: 15px;
  }

  .condition-card p {
    font-size: 12.5px;
  }

  .modal-card {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    padding: 16px;
  }
}

/* Dispositivos touch: remove efeitos que podem parecer travados ao toque. */
@media (hover: none) and (pointer: coarse) {
  .condition-card:hover {
    background: #fff;
    transform: none;
  }

  .nav-link:hover {
    transform: none;
  }
}
