/* =========================================================================
   Max Lab - Design system "Acolhedor e caloroso"
   Base: Bootstrap 5.3. Cores principais vêm do painel (--ml-primary / --ml-dark).

   TOKENS
   Cor ........ laranja da marca (calor), creme e pêssego (fundos), grafite (texto)
   Tipografia . Nunito (títulos, arredondada) + Nunito Sans (texto)
   Forma ...... cantos generosos (12 / 18 / 24 / 32px), botões em pílula, blobs orgânicos
   Sombra ..... suave e quente (tom alaranjado, nunca cinza duro)
   ========================================================================= */

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Marca */
  --ml-primary: #F25D06;
  --ml-dark: #2B2D2E;
  --ml-primary-700: color-mix(in srgb, var(--ml-primary) 78%, #5a1d00);
  --ml-primary-soft: color-mix(in srgb, var(--ml-primary) 12%, #fff);

  /* Superfícies quentes */
  --ml-cream: #FFF8F2;
  --ml-peach: #FFEDE1;
  --ml-peach-2: #FFDCC6;
  --ml-sand: #FBF3EC;

  /* Texto e linhas */
  --ml-text: #2B2D2E;
  --ml-muted: #6E655F;
  --ml-border: #F1E3D7;
  --ml-border-strong: #E6D2C2;

  /* Tons de apoio (ícones e categorias) */
  --tint-peach-bg: #FFE9DA;  --tint-peach-fg: #B8460A;
  --tint-apricot-bg: #FFF1D6; --tint-apricot-fg: #94560A;
  --tint-rose-bg: #FDE7EC;   --tint-rose-fg: #B02A55;
  --tint-mint-bg: #E2F5EB;   --tint-mint-fg: #1D7348;
  --tint-sky-bg: #E4F0FA;    --tint-sky-fg: #235E93;
  --tint-lilac-bg: #EFEAFB;  --tint-lilac-fg: #5B45A8;

  --ml-wa: #1FA855;

  /* Forma */
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px;
  --blob: 58% 42% 46% 54% / 52% 44% 56% 48%;

  /* Sombra quente */
  --sh-sm: 0 2px 6px rgba(140, 70, 20, .06);
  --sh-md: 0 10px 30px rgba(140, 70, 20, .09);
  --sh-lg: 0 24px 60px rgba(140, 70, 20, .14);

  --font-head: "Nunito", "Nunito Sans", system-ui, sans-serif;

  --bs-body-font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-body-color: var(--ml-text);
  --bs-primary: var(--ml-primary);
  --bs-primary-rgb: 242, 93, 6;
  --bs-link-color: var(--ml-primary-700);
  --bs-link-color-rgb: 184, 70, 10;
  --bs-link-hover-color: var(--ml-primary);
  --bs-border-color: var(--ml-border);
  --bs-secondary-color: var(--ml-muted);
}

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: #fff; line-height: 1.65; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.015em; color: var(--ml-dark); line-height: 1.18; }
.text-muted { color: var(--ml-muted) !important; }
.text-primary { color: var(--ml-primary) !important; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.bi { line-height: 1; vertical-align: -.125em; }
::selection { background: var(--ml-primary); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--ml-primary) 55%, transparent); outline-offset: 2px; }
.lead { font-size: 1.2rem; }

/* Destaque com traço desenhado à mão (*texto* no painel) */
.hl { position: relative; color: var(--ml-primary); z-index: 0; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.1em; height: .42em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 40 4, 90 4, 120 10 S 180 16, 197 6' fill='none' stroke='%23FFC9A6' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }

/* ---------- Botões ---------- */
.btn { font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-primary {
  --bs-btn-bg: var(--ml-primary); --bs-btn-border-color: var(--ml-primary);
  --bs-btn-hover-bg: var(--ml-primary-700); --bs-btn-hover-border-color: var(--ml-primary-700);
  --bs-btn-active-bg: var(--ml-primary-700); --bs-btn-active-border-color: var(--ml-primary-700);
  --bs-btn-disabled-bg: var(--ml-primary); --bs-btn-disabled-border-color: var(--ml-primary);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ml-primary) 32%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--ml-primary) 38%, transparent); }
.btn-dark { --bs-btn-bg: var(--ml-dark); --bs-btn-border-color: var(--ml-dark); --bs-btn-hover-bg: #000; }
.btn-outline-dark { --bs-btn-color: var(--ml-dark); --bs-btn-bg: #fff; --bs-btn-border-color: var(--ml-border-strong); --bs-btn-hover-bg: var(--ml-peach); --bs-btn-hover-color: var(--ml-dark); --bs-btn-hover-border-color: var(--ml-peach-2); --bs-btn-active-bg: var(--ml-peach-2); --bs-btn-active-color: var(--ml-dark); }
.btn-whatsapp { background: var(--ml-wa); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(31,168,85,.25); }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #178946; color: #fff; transform: translateY(-2px); }
.btn-link { color: var(--ml-dark); font-weight: 800; text-decoration: none; }
.btn-link:hover { color: var(--ml-primary); }
.btn-link .bi { transition: transform .2s; }
.btn-link:hover .bi { transform: translateX(3px); }
.btn-light { --bs-btn-bg: var(--ml-peach); --bs-btn-border-color: var(--ml-peach); --bs-btn-hover-bg: var(--ml-peach-2); --bs-btn-hover-border-color: var(--ml-peach-2); --bs-btn-color: var(--ml-dark); }

.badge { font-family: var(--font-head); font-weight: 800; }
.badge-primary { background: var(--ml-primary); color: #fff; }
.badge-soft { background: var(--ml-peach); color: var(--ml-primary-700); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-size: .85rem; font-weight: 800; color: var(--ml-primary-700); background: var(--ml-peach); padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: var(--ml-sand); color: var(--ml-dark); font-size: .86rem; font-weight: 700; border: 1px solid var(--ml-border); }
.chip-link { transition: all .15s; }
.chip-link:hover, .chip-link.active { background: var(--ml-primary); border-color: var(--ml-primary); color: #fff; }
.stars { color: #F5A524; letter-spacing: 1px; }

/* ---------- Topbar / header ---------- */
.topbar { background: var(--ml-dark); color: rgba(255,255,255,.82); font-size: .84rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-unit { background: rgba(255,255,255,.08); border: 0; color: #fff; display: inline-flex; gap: .45rem; align-items: center; padding: .25rem .75rem; border-radius: 999px; }
.topbar-unit:hover { background: rgba(255,255,255,.14); }
.topbar-unit .bi-geo-alt-fill { color: #FF9A5C; }
.status-dot { display: inline-flex; align-items: center; gap: .45rem; color: var(--ml-muted); font-weight: 700; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #CDBFB4; flex-shrink: 0; }
.status-dot.is-open { color: #187744; }
.status-dot.is-open::before { background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2.4s infinite; }
.topbar .status-dot { color: rgba(255,255,255,.65); }
.topbar .status-dot.is-open { color: #86EFAC; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }

.site-header { background: rgba(255,248,242,.9); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.site-header.is-scrolled { background: rgba(255,255,255,.95); border-color: var(--ml-border); box-shadow: 0 6px 24px rgba(140,70,20,.06); }
.site-header .navbar { padding: .9rem 0; }
.navbar-brand img { height: 40px; width: auto; }
.navbar .nav-link { font-family: var(--font-head); font-weight: 800; color: var(--ml-dark); padding: .5rem .95rem !important; border-radius: 999px; white-space: nowrap; transition: background-color .15s, color .15s; }
.navbar .nav-link:hover, .navbar .nav-link.show { background: var(--ml-peach); color: var(--ml-dark); }
.navbar .nav-link.active { color: var(--ml-primary-700); }
@media (min-width: 992px) and (max-width: 1199.98px) { .navbar .nav-link { padding: .5rem .6rem !important; font-size: .95rem; } .navbar-brand img { height: 32px; } }
.dropdown-menu { border: 1px solid var(--ml-border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: .6rem; }
.dropdown-item { border-radius: var(--r-sm); padding: .6rem .85rem; font-weight: 600; font-size: .96rem; }
.dropdown-item .bi { color: var(--ml-primary); margin-right: .4rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--ml-peach); color: var(--ml-dark); }
.dropdown-title { font-family: var(--font-head); font-size: .8rem; font-weight: 800; color: var(--ml-muted); margin: .25rem .85rem .5rem; }
.mega-cta { background: var(--ml-cream); border: 1px solid var(--ml-border); border-radius: var(--r-md); padding: 1.35rem; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.mega-cta .bi-search { color: var(--ml-primary); margin-bottom: .5rem; }
@media (min-width: 992px) {
  .dropdown-mega { position: static; }
  .dropdown-mega > .dropdown-menu { width: min(880px, 92vw); left: 50%; transform: translateX(-50%); }
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .offcanvas-body { align-items: center; }
}
@media (max-width: 991.98px) {
  .offcanvas { background: var(--ml-cream); }
  .offcanvas .navbar-nav .nav-link { font-size: 1.15rem; padding: .85rem .5rem !important; border-bottom: 1px solid var(--ml-border); border-radius: 0; }
  .offcanvas .navbar-nav .nav-link:hover { background: transparent; }
  .offcanvas .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; background: transparent; }
  .mega-cta { display: none; }
}

/* ---------- Seções ---------- */
.section { padding: 5.5rem 0; position: relative; }
.bg-soft { background: var(--ml-cream); }
.bg-peach { background: var(--ml-peach); }
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
.section-head p { font-size: 1.1rem; }
@media (max-width: 767.98px) { .section { padding: 3.5rem 0; } }

/* Onda separadora */
.wave { display: block; width: 100%; height: 56px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 3.5rem 0 7rem; background: var(--ml-cream); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -170px; top: -210px; background: var(--ml-peach); border-radius: var(--blob); }
.hero::after { content: ""; position: absolute; width: 260px; height: 260px; left: -130px; bottom: 30px; background: var(--ml-peach); border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; opacity: .7; }
.hero > .container { position: relative; z-index: 1; }
.display-title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.06; font-weight: 900; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.hero .lead { font-size: 1.22rem; color: var(--ml-muted); max-width: 540px; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--ml-border); border-radius: 999px; padding: .45rem 1rem .45rem .7rem; font-size: .9rem; font-weight: 700; color: var(--ml-dark); box-shadow: var(--sh-sm); margin-bottom: 1.5rem; transition: box-shadow .2s; }
.hero-badge:hover { box-shadow: var(--sh-md); color: var(--ml-dark); }
.hero-points { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-points li { background: #fff; border: 1px solid var(--ml-border); border-radius: 999px; padding: .4rem .95rem; font-weight: 700; font-size: .9rem; color: var(--ml-dark); }
.hero-points .bi { color: var(--ml-primary); margin-right: .3rem; }
.hero-media { position: relative; padding: 1.5rem; }
.hero-media::before { content: ""; position: absolute; inset: 6% 0 0 10%; background: var(--ml-peach-2); border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%; transform: rotate(-6deg); }
.hero-media > img { position: relative; border-radius: var(--blob); aspect-ratio: 1 / 1.02; object-fit: cover; width: 100%; box-shadow: var(--sh-lg); }
.hero-deco { position: absolute; z-index: 2; color: var(--ml-primary); }
.hero-deco-1 { top: 0; left: 6%; width: 56px; animation: float 6s ease-in-out infinite; }
.hero-deco-2 { bottom: 20%; right: -1%; width: 40px; color: #F5A524; animation: float 7s ease-in-out infinite reverse; }
.hero-card { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem; z-index: 2; }
.hero-card-unit { left: -12px; bottom: 6%; }
.hero-card-rating { right: 0; top: 12%; }
.hero-card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ml-peach); color: var(--ml-primary); font-size: 1.3rem; }
@keyframes float { 50% { transform: translateY(-10px) rotate(6deg); } }
@media (max-width: 991.98px) { .hero { padding: 2rem 0 6rem; } .hero-card-unit { left: 4px; bottom: 4px; } .hero-card-rating { right: 4px; top: 4px; } .hero::before { width: 380px; height: 380px; right: -190px; top: -130px; } }

/* ---------- Acesso rápido ---------- */
.quick-access { margin-top: -4rem; position: relative; z-index: 3; }
.quick-card { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--r-lg); padding: 1.2rem 1.25rem; box-shadow: var(--sh-md); color: var(--ml-dark); height: 100%; border: 1px solid var(--ml-border); transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); color: var(--ml-dark); }
.quick-card strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.quick-card small { color: var(--ml-muted); font-size: .86rem; }
.quick-card .bi-arrow-right { color: var(--ml-primary); transition: transform .2s; }
.quick-card:hover .bi-arrow-right { transform: translateX(4px); }
.quick-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: var(--ml-primary); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.quick-access .col-6:nth-child(2) .quick-icon { background: var(--ml-wa); }
.quick-access .col-6:nth-child(3) .quick-icon { background: #F5A524; }
.quick-access .col-6:nth-child(4) .quick-icon { background: var(--ml-dark); }
@media (max-width: 575.98px) { .quick-card { flex-direction: column; align-items: flex-start; padding: 1rem; } }

/* ---------- Tons de apoio para ícones ---------- */
.tint-1 { --tb: var(--tint-peach-bg); --tf: var(--tint-peach-fg); }
.tint-2 { --tb: var(--tint-rose-bg); --tf: var(--tint-rose-fg); }
.tint-3 { --tb: var(--tint-sky-bg); --tf: var(--tint-sky-fg); }
.tint-4 { --tb: var(--tint-apricot-bg); --tf: var(--tint-apricot-fg); }
.tint-5 { --tb: var(--tint-mint-bg); --tf: var(--tint-mint-fg); }
.tint-6 { --tb: var(--tint-lilac-bg); --tf: var(--tint-lilac-fg); }

/* ---------- Depoimentos ---------- */
.rating-box { background: #fff; border-radius: var(--r-xl); padding: 2rem; border: 1px solid var(--ml-border); box-shadow: var(--sh-md); }
.rating-big { font-family: var(--font-head); font-size: 4rem; font-weight: 900; line-height: 1; color: var(--ml-dark); }
.testimonial { position: relative; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; padding: 1.75rem 1.5rem 1.5rem; margin: 0; display: flex; flex-direction: column; box-shadow: var(--sh-sm); }
.testimonial::before { content: "\201C"; position: absolute; top: -.2rem; right: 1.25rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--ml-peach-2); }
.testimonial blockquote { margin: .75rem 0 1.1rem; font-size: 1.02rem; flex-grow: 1; color: var(--ml-text); }
.testimonial figcaption { display: flex; align-items: center; gap: .7rem; }
.testimonial figcaption::before { content: ""; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: var(--ml-peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F25D06'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1z'/%3E%3C/svg%3E") no-repeat center / 18px; }
.testimonial figcaption strong { font-family: var(--font-head); }
.testimonial figcaption small { display: block; color: var(--ml-muted); font-size: .8rem; }

/* ---------- Busca ---------- */
.search-box { position: relative; display: flex; align-items: center; background: #fff; border: 2px solid var(--ml-border); border-radius: 999px; padding: .35rem .35rem .35rem 1.25rem; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--ml-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ml-primary) 14%, transparent); }
.search-box > .bi-search { color: var(--ml-primary); font-size: 1.1rem; }
.search-box .form-control { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: .65rem .75rem; font-size: 1.02rem; }

/* ---------- Cards ---------- */
.cat-card { display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg); padding: 1.35rem; height: 100%; color: var(--ml-dark); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card strong { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; }
.cat-card .bi { font-size: 1.55rem; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--tb, var(--ml-peach)); color: var(--tf, var(--ml-primary)); transition: transform .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--ml-border-strong); color: var(--ml-dark); }
.cat-card:hover .bi { transform: rotate(-8deg) scale(1.06); }

.exam-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-md); padding: 1rem 1.15rem; color: var(--ml-dark); transition: border-color .15s, box-shadow .15s, transform .15s; }
.exam-card strong { font-family: var(--font-head); font-weight: 800; }
.exam-card:hover { border-color: var(--ml-peach-2); box-shadow: var(--sh-md); color: var(--ml-dark); transform: translateX(2px); }
.exam-card-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--ml-peach); color: var(--ml-primary); display: grid; place-items: center; font-size: 1.2rem; }
.exam-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .84rem; color: var(--ml-muted); margin-top: .15rem; }
.exam-price { font-family: var(--font-head); font-weight: 900; color: var(--ml-primary-700); white-space: nowrap; }
.exam-letter { font-family: var(--font-head); font-size: 1.1rem; font-weight: 900; color: var(--ml-primary); margin: 2rem 0 .75rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ml-peach); }
.exam-group:first-child .exam-letter { margin-top: 0; }

.feature { text-align: left; padding: 1.75rem 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ml-border); height: 100%; position: relative; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature h3 { font-size: 1.12rem; margin: 1.1rem 0 .45rem; }
.feature p { color: var(--ml-muted); font-size: .97rem; margin: 0; }
.feature-icon { width: 58px; height: 58px; border-radius: 18px; background: var(--tb, var(--ml-peach)); color: var(--tf, var(--ml-primary)); display: inline-grid; place-items: center; font-size: 1.5rem; }
.step-n { position: absolute; top: 1.1rem; right: 1.35rem; font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: var(--ml-peach); line-height: 1; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; position: relative; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--ml-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; box-shadow: 0 0 0 6px var(--ml-peach); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: -16px; border-left: 2px dashed var(--ml-peach-2); }
.steps strong { font-family: var(--font-head); font-weight: 800; }
.steps span { color: var(--ml-muted); font-size: .96rem; }

.img-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.img-blob { position: relative; padding: 1rem; }
.img-blob::before { content: ""; position: absolute; inset: 0 6% 4% 0; background: var(--ml-peach); border-radius: var(--blob); transform: rotate(4deg); }
.img-blob img { position: relative; width: 100%; aspect-ratio: 1 / .92; object-fit: cover; border-radius: 48% 52% 44% 56% / 54% 46% 54% 46%; box-shadow: var(--sh-lg); }

.unit-card { background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.unit-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.unit-card-img { position: relative; display: block; margin: .6rem .6rem 0; border-radius: var(--r-md); overflow: hidden; }
.unit-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .5s; }
.unit-card:hover .unit-card-img img { transform: scale(1.05); }
.unit-card-img .badge { position: absolute; left: .8rem; top: .8rem; padding: .45rem .8rem; border-radius: 999px; }
.unit-card-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex-grow: 1; }
.unit-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.unit-card h3 a { color: var(--ml-dark); }
.unit-card h3 span { color: var(--ml-muted); font-weight: 700; font-size: 1rem; }
.unit-card.is-soon .unit-card-img img { filter: grayscale(.7); opacity: .85; }

.life-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ml-border); color: var(--ml-dark); transition: transform .2s, box-shadow .2s; height: 100%; }
.life-card > .bi:first-child { font-size: 1.45rem; width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--tb, var(--ml-peach)); color: var(--tf, var(--ml-primary)); }
.life-card strong { font-family: var(--font-head); font-weight: 800; }
.life-card small { display: block; color: var(--ml-muted); font-size: .86rem; }
.life-card .bi-arrow-up-right { color: var(--ml-primary); }
.life-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); color: var(--ml-dark); }

.campaign { --camp: var(--ml-primary); position: relative; background: var(--camp); color: #fff; border-radius: var(--r-xl); overflow: hidden; }
.campaign::before { content: ""; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -190px; border-radius: var(--blob); background: rgba(255,255,255,.1); }
.campaign-body { position: relative; padding: clamp(2rem, 5vw, 3.75rem); }
.campaign h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.campaign p { font-size: 1.1rem; }
.campaign-tag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.2); border-radius: 999px; padding: .4rem 1rem; font-family: var(--font-head); font-weight: 800; font-size: .88rem; margin-bottom: 1rem; }
.campaign-img { min-height: 280px; background-size: cover; background-position: center; border-radius: 44% 0 0 44% / 50% 0 0 50%; }
@media (max-width: 991.98px) { .campaign-img { border-radius: 0; } }

.checkup-card { position: relative; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg); padding: 1.85rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.checkup-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.checkup-card.is-featured { border: 2px solid var(--ml-primary); box-shadow: var(--sh-lg); background: linear-gradient(180deg, var(--ml-cream), #fff 40%); }
.checkup-card h3 { font-size: 1.3rem; margin: 1rem 0 .4rem; }
.checkup-flag { position: absolute; top: -13px; right: 1.25rem; padding: .45rem .85rem; border-radius: 999px; }
.checkup-price { margin: auto 0 1rem; padding-top: 1rem; border-top: 2px dashed var(--ml-border); }
.checkup-price strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 900; color: var(--ml-dark); display: block; }

.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding: .3rem 0 .3rem 1.85rem; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .32rem; color: var(--ml-primary); font-size: 1.05rem; }

.team-card { margin: 0; text-align: center; }
.team-photo { position: relative; aspect-ratio: 1; border-radius: var(--blob); overflow: hidden; background: var(--ml-peach); margin-bottom: .9rem; display: grid; place-items: center; transition: border-radius .6s ease; }
.team-card:hover .team-photo { border-radius: 50%; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--ml-primary); }
.team-card strong { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }

.post-card { background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post-card-img { overflow: hidden; display: block; margin: .6rem .6rem 0; border-radius: var(--r-md); }
.post-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 1.15rem 1.35rem 1.4rem; }
.post-card .eyebrow { margin-bottom: .6rem; font-size: .76rem; padding: .25rem .7rem; }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; }
.post-card h3 a { color: var(--ml-dark); }
.post-card h3 a:hover { color: var(--ml-primary-700); }
.post-featured { display: block; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-xl); overflow: hidden; color: var(--ml-dark); transition: box-shadow .2s; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.post-featured:hover { box-shadow: var(--sh-lg); color: var(--ml-dark); }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--ml-muted); font-size: .9rem; }
.post-meta span { background: #fff; border: 1px solid var(--ml-border); border-radius: 999px; padding: .3rem .8rem; }
.post-cover { width: 100%; border-radius: var(--r-xl); margin: 0 0 2.25rem; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--sh-md); }

.prose { font-size: 1.1rem; line-height: 1.8; }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--ml-primary); }
.prose a { text-decoration: underline; text-decoration-color: var(--ml-peach-2); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.b2b-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: 2rem 2.25rem; border-radius: var(--r-xl); background: var(--ml-cream); border: 1px solid var(--ml-border); }
.b2b-strip > .bi { font-size: 1.8rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #fff; color: var(--ml-primary); box-shadow: var(--sh-sm); }

.cta-final { position: relative; overflow: hidden; background: var(--ml-primary); color: #fff; border-radius: var(--r-xl); padding: clamp(2.25rem, 5vw, 3.75rem); }
.cta-final::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -210px; border-radius: var(--blob); background: rgba(255,255,255,.12); }
.cta-final::after { content: ""; position: absolute; width: 220px; height: 220px; left: 30%; bottom: -170px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.cta-final p { font-size: 1.1rem; }
.cta-final .btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--ml-cream); --bs-btn-hover-border-color: var(--ml-cream); color: var(--ml-dark); }
.cta-final .btn-outline-light { --bs-btn-border-color: rgba(255,255,255,.6); --bs-btn-hover-color: var(--ml-primary-700); }

/* ---------- Páginas internas ---------- */
.page-hero, .unit-hero { position: relative; padding: 2.5rem 0 3.5rem; background: var(--ml-cream); overflow: hidden; }
.page-hero::before, .unit-hero::before { content: ""; position: absolute; width: 440px; height: 440px; right: -140px; top: -190px; border-radius: var(--blob); background: var(--ml-peach); }
.page-hero::after { content: ""; position: absolute; width: 90px; height: 90px; right: 18%; bottom: 18%; border-radius: 50%; background: var(--ml-peach-2); opacity: .55; }
.page-hero > .container, .unit-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 900; letter-spacing: -.02em; }
.page-hero .lead, .unit-hero .lead { color: var(--ml-muted); max-width: 720px; }
.unit-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; }
.breadcrumb { font-size: .88rem; margin-bottom: 1.25rem; font-weight: 600; }
.breadcrumb a { color: var(--ml-muted); }
.breadcrumb a:hover { color: var(--ml-primary-700); }

.info-card { background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg); padding: 1.6rem; }
.info-card h2 .bi, .info-card h3 .bi { color: var(--ml-primary); }
.hours-table { --bs-table-bg: transparent; }
.hours-table th { font-weight: 600; color: var(--ml-muted); border-color: var(--ml-border); }
.hours-table td { text-align: right; font-weight: 800; font-family: var(--font-head); border-color: var(--ml-border); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ml-primary-700); }
.hours-table tr.is-today th::after { content: " · hoje"; font-size: .85em; }
.legal-box { font-size: .84rem; color: var(--ml-muted); background: var(--ml-cream); border-radius: var(--r-md); padding: 1rem 1.25rem; display: grid; gap: .3rem; border: 1px solid var(--ml-border); }
.legal-box span { display: inline-block; min-width: 140px; font-weight: 700; }

.map-box { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--ml-border);
  background: var(--ml-cream) radial-gradient(var(--ml-peach-2) 1.2px, transparent 1.2px) 0 0 / 18px 18px; }
.map-box-tall { aspect-ratio: auto; height: 100%; min-height: 440px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--ml-muted); padding: 1rem; font-weight: 600; }
.map-placeholder > .bi { font-size: 1.7rem; color: #fff; width: 64px; height: 64px; border-radius: 50%; background: var(--ml-primary); display: grid; place-items: center; margin: 0 auto .9rem; box-shadow: 0 0 0 10px var(--ml-peach); }

.units-list { display: grid; gap: .6rem; }
.units-list-item, .unit-choice { display: flex; align-items: center; gap: .9rem; width: 100%; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-md); padding: 1rem 1.1rem; color: var(--ml-dark); transition: border-color .15s, box-shadow .15s, transform .15s; }
.units-list-item strong, .unit-choice strong { font-family: var(--font-head); font-weight: 800; }
.units-list-item:hover, .unit-choice:hover:not(:disabled) { border-color: var(--ml-peach-2); box-shadow: var(--sh-md); color: var(--ml-dark); transform: translateX(2px); }
.unit-choice.is-current { border: 2px solid var(--ml-primary); background: #fff; }
.unit-choice:disabled { opacity: .55; }
.unit-choice-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ml-peach); color: var(--ml-primary); }
.modal-content { border: 0; border-radius: var(--r-xl); background: var(--ml-cream); }
.modal-header { padding: 1.5rem 1.5rem 0; }
.modal-body { padding: 1.5rem; }

.filter-box { background: var(--ml-cream); border: 1px solid var(--ml-border); border-radius: var(--r-lg); padding: 1.25rem; }
.cat-nav .nav-link { color: var(--ml-dark); border-radius: 999px; padding: .5rem .85rem; font-size: .95rem; font-weight: 700; }
.cat-nav .nav-link .bi { color: var(--ml-primary); margin-right: .4rem; }
.cat-nav .nav-link.active { background: var(--ml-primary); color: #fff; }
.cat-nav .nav-link.active .bi { color: #fff; }
.cat-nav .nav-link:not(.active):hover { background: #fff; }

.fact { background: var(--ml-cream); border: 1px solid var(--ml-border); border-radius: var(--r-md); padding: 1.1rem 1.2rem; height: 100%; }
.fact .bi { color: var(--ml-primary); font-size: 1.35rem; display: block; margin-bottom: .4rem; }
.fact span { display: block; font-size: .82rem; color: var(--ml-muted); font-weight: 700; }
.fact strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; }
.prep-box { position: relative; border-radius: var(--r-lg); padding: 1.75rem 1.85rem; background: var(--ml-cream); border: 2px solid var(--ml-peach-2); }
.prep-box h2 .bi { color: var(--ml-primary); }
.book-card { background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--sh-md); }
.book-price { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--ml-dark); margin: .25rem 0; }

.result-card { position: relative; overflow: hidden; background: var(--ml-cream); border: 1px solid var(--ml-border); border-radius: var(--r-xl); padding: 2.25rem; }
.result-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: var(--blob); background: var(--ml-peach); }
.result-card > * { position: relative; z-index: 1; }
.stat { background: var(--ml-cream); border: 1px solid var(--ml-border); border-radius: var(--r-lg); padding: 1.6rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--ml-primary); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--ml-muted); font-weight: 700; font-size: .95rem; }
.conv-logo { flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; background: var(--ml-peach); display: grid; place-items: center; overflow: hidden; color: var(--ml-primary); font-size: 1.4rem; }
.conv-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ml-muted); }
.empty-state > .bi { font-size: 2.2rem; color: var(--ml-primary); width: 72px; height: 72px; border-radius: 50%; background: var(--ml-peach); display: inline-grid; place-items: center; margin-bottom: .75rem; }

.form-card { background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--sh-md); }
.form-control, .form-select { border-radius: var(--r-sm); padding: .75rem 1rem; border: 2px solid var(--ml-border); background-color: var(--ml-cream); }
.form-control:focus, .form-select:focus { border-color: var(--ml-primary); background-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ml-primary) 14%, transparent); }
.form-check-input { border: 2px solid var(--ml-border-strong); }
.form-check-input:checked { background-color: var(--ml-primary); border-color: var(--ml-primary); }
.form-label { font-family: var(--font-head); font-weight: 800; font-size: .92rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.accordion-clean .accordion-item { border: 1px solid var(--ml-border); border-radius: var(--r-md) !important; margin-bottom: .7rem; overflow: hidden; background: #fff; }
.accordion-clean .accordion-button { font-family: var(--font-head); font-weight: 800; padding: 1.15rem 1.35rem; font-size: 1.02rem; }
.accordion-clean .accordion-button::after { background-color: var(--ml-peach); border-radius: 50%; background-size: 12px; background-position: center; width: 28px; height: 28px; }
.accordion-clean .accordion-button:not(.collapsed) { background: var(--ml-cream); color: var(--ml-dark); box-shadow: none; }
.accordion-clean .accordion-button:focus { box-shadow: none; }
.accordion-clean .accordion-body { color: var(--ml-muted); padding: 0 1.35rem 1.25rem; background: var(--ml-cream); }

.alert { border-radius: var(--r-md); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #2A2421; color: rgba(255,255,255,.75); padding: 4.5rem 0 1.5rem; font-size: .95rem; margin-top: 56px; }
.site-footer > .wave { position: absolute; top: -55px; left: 0; color: #2A2421; }
.logo-white { filter: brightness(0) invert(1); }
.footer-title { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.75); transition: color .15s; }
.site-footer a:hover { color: #FFB384; }
.footer-units li { margin-bottom: .8rem; }
.footer-units a { display: block; color: #fff; font-family: var(--font-head); }
.footer-units span { font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-rating { display: inline-flex; gap: .7rem; align-items: center; padding: .7rem 1rem; border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.footer-social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: .45rem; font-size: 1.1rem; color: #fff; transition: background-color .2s, transform .2s; }
.footer-social a:hover { background: var(--ml-primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Flutuantes ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1030; display: flex; align-items: center; gap: .5rem; background: var(--ml-wa); color: #fff; border-radius: 999px; padding: .9rem; box-shadow: 0 12px 30px rgba(31,168,85,.38); font-family: var(--font-head); font-weight: 800; transition: transform .2s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.8s infinite; }
.wa-float .bi { font-size: 1.65rem; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, padding .3s; }
.wa-float:hover .wa-float-label { max-width: 200px; padding-right: .4rem; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } }
@media (max-width: 575.98px) { .wa-float { right: 14px; bottom: 14px; } }
/* ---------- Animação de entrada (ativada pelo JS) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Unidades na mesma cidade */
.unit-apelido { margin: -.2rem 0 .5rem; font-family: var(--font-head); font-weight: 800; color: var(--ml-primary-700); font-size: .95rem; }
.unit-apelido-h { display: block; font-size: .5em; color: var(--ml-primary-700); letter-spacing: 0; margin-top: .35rem; }

/* Avaliações do Google */
.review-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial figcaption:has(.review-avatar)::before { display: none; }
.review-author { color: var(--ml-dark); }
.review-author:hover { color: var(--ml-primary-700); }
.google-attrib { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ml-muted); font-weight: 700; }
.rating-inline { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--ml-border); border-radius: 999px; padding: .5rem 1rem; margin-bottom: 2.25rem; }
.rating-inline strong { font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; }
.rating-inline small { color: var(--ml-muted); font-weight: 700; }

/* =========================================================================
   Mobile: largura, áreas de toque e ajustes de layout
   ========================================================================= */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

@media (max-width: 767.98px) {
  /* Gutters grandes do Bootstrap vazam do container em telas estreitas */
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Áreas de toque mínimas (44px) */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; padding-left: .9rem; padding-right: .9rem; }
  .chip-link { min-height: 40px; }
  .navbar-toggler { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; }
  .footer-links a, .footer-units a, .footer-bottom a { display: inline-block; padding: .35rem 0; }
  .info-card ul a, .contact-list a { display: inline-block; padding: .3rem 0; }
  .form-check-input { width: 1.35em; height: 1.35em; margin-top: .1em; }
  .form-check { padding-left: 2em; }
  .form-check .form-check-input { margin-left: -2em; }
  .form-control, .form-select { font-size: 16px; } /* evita zoom automático no iOS */

  /* Tipografia */
  .display-title { font-size: 2.35rem; }
  .section-head h2, .h1 { font-size: 1.85rem; }
  .lead, .hero .lead { font-size: 1.08rem; }

  /* Hero: cartões sobre a foto não podem cobrir o rosto */
  .hero-media { padding: .75rem; max-width: 420px; margin: 0 auto; }
  .hero-card { padding: .65rem .85rem; }
  .hero-card-rating { top: 6px; right: 0; }
  .hero-card-unit { position: relative; left: auto; bottom: auto; margin: -2.5rem auto 0; width: fit-content; max-width: 100%; }
  .hero-deco-2 { display: none; }
  .hero-points { gap: .45rem; }
  .hero .btn-lg { width: 100%; }

  .quick-access { margin-top: -3rem; }
  .rating-big { font-size: 3.2rem; }
  .b2b-strip { padding: 1.5rem; text-align: left; }
  .b2b-strip .btn { width: 100%; }
  .cta-final .btn { flex: 1 1 100%; }
  .campaign-img { min-height: 200px; }
  .steps { margin: 1.25rem 0 1.5rem; }
  .unit-hero .btn-lg { flex: 1 1 100%; }
  .map-box-tall { min-height: 320px; }
  .book-card { position: static !important; }
  .rating-inline { margin-bottom: 0; flex-wrap: wrap; border-radius: var(--r-md); }
  .wa-float { padding: .8rem; }
  .wa-float .bi { font-size: 1.5rem; }
}
@media (max-width: 359.98px) {
  .display-title { font-size: 2.05rem; }
  .quick-card small { display: none; }
  .navbar-brand img { height: 32px; }
}
/* Chips com rolagem horizontal no celular */
.cat-scroll { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px .4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-scroll .chip { flex-shrink: 0; scroll-snap-align: start; white-space: nowrap; }
@media (max-width: 767.98px) {
  .cat-scroll-sm { flex-wrap: nowrap !important; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px .4rem; scrollbar-width: none; }
  .cat-scroll-sm::-webkit-scrollbar { display: none; }
  .cat-scroll-sm .chip { flex-shrink: 0; white-space: nowrap; }
}
@media (max-width: 991.98px) {
  .site-header .navbar > .container { flex-wrap: nowrap; }
  .site-header .navbar { padding: .6rem 0; }
  .navbar-brand { margin-right: .5rem; min-width: 0; }
  .navbar-brand img { height: 34px; }
  .header-results { padding: .4rem .8rem; font-size: .9rem; white-space: nowrap; }
}
@media (max-width: 767.98px) {
  .hero-badge { font-size: .82rem; padding: .45rem .9rem .45rem .7rem; }
  .hero-badge .stars { white-space: nowrap; font-size: .75rem; }
}
@media (max-width: 359.98px) {
  .header-results span { display: none; }
}
/* Carrossel de deslizar no celular (cards lado a lado) */
@media (max-width: 767.98px) {
  .swipe-md { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px;
    margin-left: -16px; margin-right: -16px; padding: .25rem 16px 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .swipe-md::-webkit-scrollbar { display: none; }
  .swipe-md > * { flex: 0 0 84%; max-width: 84%; scroll-snap-align: start; }
  .swipe-md > * + * { margin-left: 0; }
  .swipe-md .reveal { opacity: 1; transform: none; }
  .swipe-hint { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ml-muted); font-weight: 700; margin-top: -.25rem; }

  /* Rodapé enxuto */
  .site-footer { padding-top: 3.5rem; }
  .footer-units { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .footer-units li { margin-bottom: .25rem; }
  .footer-units span { display: none; }
  .footer-units a strong { font-weight: 700; font-size: .92rem; }
  .footer-bottom { margin-top: 2rem; flex-direction: column; }
}
.footer-logo { height: 40px; width: auto; }
.offcanvas-logo { height: 32px; width: auto; }
@media (max-width: 767.98px) {
  .d-flex > .section-head { margin-bottom: .25rem; }
  .unit-card-body .d-flex { gap: .4rem !important; }
}
/* backdrop-filter cria um "containing block" e prenderia o menu lateral (fixed) dentro do header */
@media (max-width: 991.98px) {
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ml-cream); }
  .site-header.is-scrolled { background: #fff; }
  .offcanvas { --bs-offcanvas-width: min(88vw, 380px); }
  .offcanvas .dropdown-item { padding: .7rem .85rem; }
}
body:has(.offcanvas.show) .wa-float, body:has(.offcanvas.showing) .wa-float, body.modal-open .wa-float { display: none; }
.offcanvas .btn.text-start { justify-content: flex-start; text-align: left; }
.hours-table td { white-space: nowrap; }
@media (max-width: 767.98px) { .hours-table th { font-size: .95rem; } .unit-hero .img-frame img { aspect-ratio: 16/10; } }
/* Barra de ação fixa no celular (página de exame e de unidade) */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: .5rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--ml-border); box-shadow: 0 -8px 24px rgba(140,70,20,.08); }
.mobile-cta .btn { min-height: 48px; }
.mobile-cta .btn-light { width: 52px; padding: 0; font-size: 1.2rem; }
@media (max-width: 991.98px) {
  body:has(.mobile-cta) { padding-bottom: 80px; }
  body:has(.mobile-cta) .wa-float { display: none; }
}
@media (max-width: 767.98px) {
  .fact { padding: .8rem .7rem; text-align: center; }
  .fact .bi { margin: 0 auto .3rem; }
  .fact span { font-size: .72rem; }
  .fact strong { font-size: .92rem; line-height: 1.25; display: block; }
  .prep-box { padding: 1.35rem 1.25rem; }
}
[id] { scroll-margin-top: 90px; }
@media (max-width: 575.98px) { .modal-fullscreen-sm-down .modal-content { border-radius: 0; } .unit-choice { padding: .85rem .9rem; } }
/* Telas de toque (celular e tablet): alvos de toque confortáveis */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .chip-link { min-height: 40px; }
  .form-check-input { width: 1.4em; height: 1.4em; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-media { max-width: 480px; margin: 0 auto; }
  .swipe-md { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
  .swipe-md::-webkit-scrollbar { display: none; }
  .swipe-md > * { flex: 0 0 46%; max-width: 46%; scroll-snap-align: start; }
  .swipe-md .reveal { opacity: 1; transform: none; }
  .img-blob, .unit-hero .img-frame { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 991.98px) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .chip-link { min-height: 40px; }
  .navbar-toggler { width: 44px; height: 44px; }
  .header-results { min-height: 44px; }
}
@media (max-width: 419.98px) {
  .hero-card-unit { width: 100%; }
  .hero-card-unit > div { flex: 1; min-width: 0; }
  .hero-card .status-dot { white-space: nowrap; font-size: .82rem; }
  .hero-card-unit .btn { flex-shrink: 0; }
}

/* =========================================================================
   Mapa das unidades (Leaflet) e seletor de unidade
   ========================================================================= */
.units-map { position: relative; width: 100%; height: 460px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ml-border); background: var(--ml-cream); z-index: 0; }
.units-map-modal { height: 440px; }
.units-map-unit { height: 340px; }
.units-map-loading { position: absolute; inset: 0; display: grid; place-content: center; color: var(--ml-muted); font-weight: 700; gap: .4rem; text-align: center; }
.units-map-loading .bi { font-size: 2rem; color: var(--ml-primary); }
.leaflet-container { font-family: var(--bs-body-font-family); }
.leaflet-control-attribution { font-size: 10px; }

.ml-pin { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: var(--ml-primary); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(140,70,20,.35); transition: transform .15s; }
.ml-pin .bi { transform: rotate(45deg); color: #fff; font-size: 1rem; }
.ml-pin.is-sede { background: var(--ml-dark); }
.ml-pin.is-current { background: var(--ml-wa); }
.ml-pin.is-soon { background: #B9AEA6; }
.leaflet-marker-icon:hover .ml-pin { transform: rotate(-45deg) scale(1.1); }
.ml-pin-count { position: absolute; top: -8px; right: -8px; transform: rotate(45deg); min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px;
  background: #fff; color: var(--ml-dark); font-family: var(--font-head); font-weight: 900; font-size: .75rem; display: grid; place-items: center; box-shadow: var(--sh-sm); }

.leaflet-popup-content-wrapper { border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.leaflet-popup-content { margin: 14px 16px; }
.ml-pop strong { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--ml-dark); }
.ml-pop small { display: block; color: var(--ml-muted); margin-top: .2rem; line-height: 1.4; }
.ml-pop .status-dot { display: inline-flex; margin-top: .35rem; }
.ml-pop-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.ml-pop-actions .btn { min-height: 36px; font-size: .85rem; padding: .3rem .8rem; }
.ml-pop-current { display: inline-flex; align-items: center; gap: .3rem; color: #187744; font-weight: 800; font-size: .85rem; padding: .3rem 0; }
.leaflet-popup-content hr { margin: .75rem 0; border-color: var(--ml-border); opacity: 1; }
.ml-map-hint { position: absolute; z-index: 500; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(43,45,46,.85); color: #fff; font-size: .82rem; font-weight: 700;
  padding: .4rem .85rem; border-radius: 999px; pointer-events: none; white-space: nowrap; }

.picker-locate { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 1rem; }
.picker-result { color: var(--ml-muted); }
.picker-result strong { color: var(--ml-dark); }
.picker-list { display: grid; gap: .5rem; max-height: 440px; overflow-y: auto; padding-right: .25rem; overscroll-behavior: contain; }
.picker-item { display: flex; align-items: stretch; gap: .4rem; }
.picker-pick { flex: 1; display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--ml-border); border-radius: var(--r-md); padding: .8rem .9rem; text-align: left; color: var(--ml-dark); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.picker-pick strong { font-family: var(--font-head); font-weight: 800; }
.picker-pick:hover:not(:disabled) { border-color: var(--ml-peach-2); box-shadow: var(--sh-md); }
.picker-pick:disabled { opacity: .55; }
.picker-item.is-current .picker-pick { border: 2px solid var(--ml-primary); }
.picker-item.is-current .unit-choice-icon { background: var(--ml-primary); color: #fff; }
.picker-dist { font-weight: 800; color: var(--ml-primary-700); white-space: nowrap; }
.picker-map-btn { flex-shrink: 0; width: 48px; border: 1px solid var(--ml-border); border-radius: var(--r-md); background: var(--ml-cream); color: var(--ml-primary); font-size: 1.1rem; }
.picker-map-btn:hover { background: var(--ml-peach); }
.welcome-logo { height: 34px; width: auto; }

@media (max-width: 991.98px) {
  .units-map { height: 340px; }
  .units-map-modal { height: 260px; }
  .picker-list { max-height: none; overflow: visible; }
  .modal-fullscreen-md-down .modal-content { border-radius: 0; }
  .modal-fullscreen-md-down .modal-header { padding-bottom: .5rem !important; }
  .modal-fullscreen-md-down .modal-dialog-scrollable .modal-body, .modal-fullscreen-md-down .modal-body { padding-top: .75rem; }
}
@media (max-width: 575.98px) {
  .units-map-modal { height: 230px; }
  .picker-locate .btn { width: 100%; }
  .modal-title.h3 { font-size: 1.45rem; }
}
.units-map-page { height: 520px; }
@media (min-width: 992px) { .section .unit-picker .picker-list { max-height: 520px; } }
@media (max-width: 991.98px) { .units-map-page { height: 360px; } }
.ml-map-all { border: 0; background: #fff; color: var(--ml-dark); font-family: var(--font-head); font-weight: 800; font-size: .82rem; padding: .45rem .8rem; border-radius: 999px; box-shadow: var(--sh-md); }
.ml-map-all:hover { background: var(--ml-peach); }
.footer-all-units { margin-top: .5rem; color: #fff !important; border-color: rgba(255,255,255,.35); }
.footer-all-units:hover { background: var(--ml-primary); border-color: var(--ml-primary); color: #fff !important; }
@media (max-width: 767.98px) { .footer-units { display: block; } .footer-units span { display: block; } .footer-units li { margin-bottom: .6rem; } }
.footer-credit { margin: 1.25rem 0 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-credit a { color: rgba(255,255,255,.75); font-weight: 700; }
