/* ==========================================================================
   Tema MamaImagem
   CSS próprio, sem Bootstrap. Mobile-first.
   Sumário: 1. Tokens · 2. Base · 3. Utilitários · 4. Botões · 5. Topbar/Header/Nav
            6. Seções · 7. Home · 8. Cartões · 9. Páginas internas · 10. Formulários
            11. Rodapé/Flutuantes · 12. Cookies · 13. Compatibilidade (respostas AJAX)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --brand: #1f7f8e;          /* teal principal (contraste AA com branco) */
  --brand-600: #186d7a;
  --brand-700: #004d57;      /* teal profundo da clínica */
  --brand-900: #00343b;
  --brand-300: #55acba;      /* teal da marca (logo) */
  --brand-100: #e3f3f5;
  --brand-50: #f2f9fa;
  --accent: #e2557b;         /* rosa: saúde da mulher, usado com moderação */
  --accent-100: #fde9ef;
  --ink: #10262e;            /* títulos */
  --text: #46595f;           /* texto */
  --muted: #74878d;
  --line: #e1ecee;
  --white: #fff;
  --whatsapp: var(--brand);  /* verde/teal da Mama Imagem no lugar do verde do WhatsApp */
  --gray: #808080;           /* cinza do logo */

  --font: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(16, 38, 46, .06);
  --shadow: 0 10px 30px rgba(16, 38, 46, .08);
  --shadow-lg: 0 24px 60px rgba(16, 38, 46, .14);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: .8em; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(31, 127, 142, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }

.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; color: #fff; }

/* 3. Utilitários ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding: 6px 14px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-100); border-radius: 999px;
}
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .16); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 4. Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 700; line-height: 1.2; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(31, 127, 142, .25); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost { color: var(--ink); background: transparent; padding-left: 8px; padding-right: 8px; }
.btn--ghost:hover { color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--brand-700); color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--brand-50); color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--brand-100); color: var(--brand); }
.icon-btn .i { width: 22px; height: 22px; }
.icon-btn--outline { background: #fff; border: 1.5px solid var(--line); }
.icon-btn--outline:hover { border-color: var(--brand); }

/* 5. Topbar / Header / Nav -------------------------------------------------- */
.topbar { display: none; background: var(--brand-700); color: rgba(255, 255, 255, .85); font-size: 0.8438rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 42px; }
.topbar ul { display: flex; align-items: center; gap: 22px; list-style: none; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar a { color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .i { opacity: .8; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 38, 46, .08); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.header__logo img { width: 168px; height: auto; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header__results span, .header__book { display: none; }
.header__results { padding: 8px 12px; }

/* Menu mobile: gaveta lateral */
.nav {
  position: fixed; inset: 0 0 0 auto; z-index: 200;
  width: min(360px, 88vw); padding: 20px;
  display: flex; flex-direction: column; gap: 20px;
  background: #fff; box-shadow: var(--shadow-lg);
  overflow-y: auto; transform: translateX(105%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.nav__head { display: flex; align-items: center; justify-content: space-between; }
.nav__list { list-style: none; display: flex; flex-direction: column; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
  padding: 14px 4px; border: 0; background: none;
  font-size: 1rem; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer;
}
.nav__link .i { transition: transform .25s; }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__link.is-active, .is-active > .nav__link { color: var(--brand); }
.nav__sub { list-style: none; display: none; padding: 0 0 12px 12px; }
.nav__item--sub.is-open .nav__sub { display: block; }
.nav__sub a { display: block; padding: 8px 4px; color: var(--text); font-weight: 500; }
.nav__sub a:hover { color: var(--brand); }
.nav__cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.nav__contact { margin: 8px 0 0; font-size: 0.875rem; color: var(--muted); }
.nav__contact .i { color: var(--brand); margin-right: 6px; }
.nav-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(16, 38, 46, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
body.nav-locked { overflow: hidden; }

@media (min-width: 576px) {
  .header__results span { display: inline; }
}
@media (min-width: 768px) {
  .header__book { display: inline-flex; }
}
@media (min-width: 1200px) {
  .topbar { display: block; }
  .header__logo img { width: 190px; }
  .nav {
    position: static; width: auto; padding: 0; margin: 0 auto;
    flex-direction: row; align-items: center;
    background: none; box-shadow: none; overflow: visible;
    transform: none; visibility: visible; transition: none;
  }
  .nav__head, .nav__cta, .nav-backdrop, .header__toggle { display: none; }
  .nav__list { flex-direction: row; align-items: center; gap: 2px; }
  .nav__list > li { position: relative; border: 0; }
  .nav__link { padding: 10px 11px; font-size: 0.9375rem; border-radius: 999px; white-space: nowrap; }
  .nav__link:hover, .nav__item--sub:hover > .nav__link { color: var(--brand); background: var(--brand-50); }
  .nav__link .i { width: 16px; height: 16px; }
  .nav__sub {
    display: block; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
    padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub, .nav__item--sub.is-open .nav__sub {
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__sub a { padding: 9px 12px; border-radius: var(--radius-sm); }
  .nav__sub a:hover { background: var(--brand-50); }
  .header__actions { margin-left: 0; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .header__results { display: none; }
  .nav__link { padding: 10px 9px; font-size: 0.9063rem; }
}

/* 6. Seções ---------------------------------------------------------------- */
.section { padding: 48px 0; }
.section--tight { padding: 32px 0 0; }
.section--soft { background: var(--brand-50); }
.section__head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section__head p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }
.section__head--row > div:first-child { max-width: 640px; }
.section__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.section__foot { margin: 36px 0 0; text-align: center; }
@media (min-width: 992px) { .section { padding: 64px 0; } .section--tight { padding: 40px 0 0; } }

/* 7. Home ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 0 110px;
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(85, 172, 186, .18), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(226, 85, 123, .07), transparent 70%),
    linear-gradient(180deg, #f6fbfc 0%, #fff 100%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.125rem, 6vw, 3.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; z-index: -1;
  background: rgba(226, 85, 123, .22); border-radius: 4px;
}
.hero__lead { font-size: 1.125rem; max-width: 560px; color: var(--text); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.9063rem; font-weight: 500; color: var(--ink); }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand); color: #fff; }

.hero__media { position: relative; }
.hero__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 0.8438rem; line-height: 1.35; color: var(--text);
  animation: float 6s ease-in-out infinite;
}
.hero__badge strong { color: var(--ink); }
.hero__badge--years { left: -8px; bottom: 28px; }
.hero__badge--years strong { font-size: 2.125rem; font-weight: 700; color: var(--brand); letter-spacing: -.015em; }
.hero__badge--results { right: -8px; top: 24px; animation-delay: -3s; }
.hero__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-100); color: var(--accent); }
.hero__badge-icon .i { width: 22px; height: 22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 992px) {
  .hero { padding: 56px 0 130px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .hero__badge--years { left: -36px; }
  .hero__badge--results { right: -28px; }
}
@media (max-width: 575px) {
  .hero__actions .btn { width: 100%; }
  .hero__badge { padding: 10px 14px; font-size: 0.7813rem; }
  .hero__badge--years strong { font-size: 1.625rem; }
  .hero__badge--results { display: none; }
}

/* Acesso rápido (sobrepõe o hero) */
.quick { position: relative; z-index: 2; margin-top: -80px; }
.quick__grid { display: grid; gap: 14px; }
.quick__card {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.quick__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); color: var(--text); }
.quick__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-100); color: var(--brand); transition: background-color .25s, color .25s; }
.quick__icon .i { width: 26px; height: 26px; }
.quick__card:hover .quick__icon { background: var(--brand); color: #fff; }
.quick__text { display: flex; flex-direction: column; line-height: 1.35; }
.quick__text strong { color: var(--ink); font-size: 1rem; }
.quick__text small { font-size: 0.8438rem; color: var(--muted); }
.quick__arrow { margin-left: auto; color: var(--brand); transition: transform .25s; }
.quick__card:hover .quick__arrow { transform: translateX(4px); }
@media (min-width: 640px) { .quick__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .quick__grid { grid-template-columns: repeat(4, 1fr); } .quick__arrow { display: none; } }

/* Carrossel de destaques */
.carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--brand-50); }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 9; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; transition: opacity .25s, background-color .2s;
}
.carousel:hover .carousel__nav, .carousel__nav:focus-visible { opacity: 1; }
.carousel__nav:hover { background: #fff; color: var(--brand); }
.carousel__nav--prev { left: 16px; }
.carousel__nav--next { right: 16px; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.carousel__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .3s, background-color .3s; }
.carousel__dots button[aria-current="true"] { width: 26px; background: #fff; }
@media (hover: none) { .carousel__nav { display: none; } }

/* Sobre */
.about { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; padding: 0 0 60px 0; }
.about__img { border-radius: var(--radius-lg); object-fit: cover; }
.about__img--main { width: 88%; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 16 / 8; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.about__seal {
  position: absolute; left: 20px; bottom: 16px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--brand-700); color: rgba(255, 255, 255, .85); border-radius: var(--radius); font-size: 0.8125rem; line-height: 1.35;
}
.about__seal strong { color: #fff; }
.about__seal .i { width: 28px; height: 28px; color: var(--brand-300); }
.about__content > p { font-size: 1.0625rem; }
.pillars { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; }
.pillars li { display: flex; gap: 14px; }
.pillars__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand); }
.pillars strong { display: block; color: var(--ink); margin-bottom: 2px; }
.pillars p { margin: 0; font-size: 0.9063rem; color: var(--muted); line-height: 1.55; }
@media (min-width: 576px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; } }

.stats {
  display: grid; grid-template-columns: 1fr 1fr; margin: 48px 0 0;
  background: linear-gradient(120deg, var(--brand-700), var(--brand));
  border-radius: var(--radius-lg); overflow: hidden; color: #fff;
}
.stats > div { padding: 28px 22px; border: 1px solid rgba(255, 255, 255, .1); }
.stats dt { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
.stats dd { margin: 6px 0 0; font-size: 0.875rem; color: rgba(255, 255, 255, .8); line-height: 1.45; }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div { padding: 36px 32px; } }

/* Exames */
.services { display: grid; gap: 18px; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.service__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 16px; background: var(--brand-100); color: var(--brand); transition: background-color .3s, color .3s; }
.service__icon .i { width: 28px; height: 28px; }
a.service:hover .service__icon { background: var(--brand); color: #fff; }
.service h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.service p { font-size: 0.9375rem; color: var(--muted); margin-bottom: 18px; }
.service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 700; color: var(--brand); }
.service--featured { border-color: var(--accent-100); background: linear-gradient(180deg, #fff 0%, #fff7f9 100%); }
.service--featured .service__icon { background: var(--accent-100); color: var(--accent); }
a.service--featured:hover .service__icon { background: var(--accent); }
.service--featured::after { content: 'Destaque'; position: absolute; top: 20px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.service--cta { justify-content: center; align-items: flex-start; gap: 4px; background: linear-gradient(140deg, var(--brand-700), var(--brand)); border: 0; color: rgba(255, 255, 255, .85); }
.service--cta h3 { color: #fff; }
.service--cta p { color: rgba(255, 255, 255, .8); }
.link-light { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #fff; font-weight: 500; font-size: 0.875rem; }
.link-light:hover { color: #fff; text-decoration: underline; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Faixa de chamada */
.cta-band { position: relative; padding: 80px 0; color: rgba(255, 255, 255, .85); background: var(--brand-700); isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--cta-bg) center / cover no-repeat; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15, 76, 92, .96) 0%, rgba(15, 76, 92, .88) 50%, rgba(31, 127, 142, .55) 100%); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.625rem); font-weight: 700; max-width: 620px; }
.cta-band p { margin: 0; font-size: 1.0625rem; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 992px) { .cta-band { padding: 100px 0; } .cta-band__inner { grid-template-columns: 1fr auto; } }

/* Rolagem horizontal (médicos) */
.slider-nav { display: flex; gap: 10px; }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 24px; margin: -6px -2px 0; scrollbar-width: thin; scrollbar-color: var(--brand-100) transparent;
}
.scroller > * { scroll-snap-align: start; }
@media (min-width: 640px) { .scroller { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (min-width: 992px) { .scroller { grid-auto-columns: calc((100% - 60px) / 4); } }

/* Depoimentos */
.reviews { display: grid; gap: 22px; }
.review { margin: 0; display: flex; flex-direction: column; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.review__stars { display: flex; gap: 3px; color: #f5a623; margin-bottom: 16px; }
.review blockquote { margin: 0 0 24px; font-size: 0.9688rem; color: var(--text); position: relative; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption small { color: var(--muted); }
.review__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand); font-weight: 700; }
@media (min-width: 992px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* Convênios (letreiro) */
.partners { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.partners__title { margin: 0 0 24px; text-align: center; font-size: 0.875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.partners__title a { margin-left: 8px; font-size: 0.8125rem; letter-spacing: 0; text-transform: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: grid; place-items: center; width: 170px; height: 80px; padding: 0 22px; }
.marquee__item img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. Cartões ---------------------------------------------------------------- */
.doctor { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.doctor:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.doctor__photo { display: block; aspect-ratio: 1; background: linear-gradient(160deg, var(--brand-100), var(--brand-50)); overflow: hidden; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.doctor:hover .doctor__photo img { transform: scale(1.05); }
.doctor__initials { display: grid; place-items: center; height: 100%; font-size: 4rem; font-weight: 700; color: var(--brand-300); }
.doctor__body { padding: 18px 20px 22px; }
.doctor__role { font-size: 0.8125rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.doctor__name { font-size: 1.0625rem; margin: 4px 0 2px; }
.doctor__name a { color: var(--ink); }
.doctor__name a:hover { color: var(--brand); }
.doctor__crm { margin: 0; font-size: 0.8438rem; color: var(--muted); }
.doctor__more { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--brand); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s, background-color .2s, color .2s; }
.doctor:hover .doctor__more, .doctor__more:focus-visible { opacity: 1; transform: none; }
.doctor__more:hover { background: var(--brand); color: #fff; }
@media (hover: none) { .doctor__more { opacity: 1; transform: none; } }

.posts { display: grid; gap: 24px; }
@media (min-width: 640px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .posts { grid-template-columns: repeat(3, 1fr); } .posts--2 { grid-template-columns: 1fr 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, var(--brand-700), var(--brand-300)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .35); }
.post-card__placeholder .i { width: 64px; height: 64px; }
.post-card__date { position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; align-items: center; padding: 8px 12px; background: #fff; border-radius: 12px; font-size: 0.6875rem; font-weight: 700; color: var(--muted); line-height: 1.1; box-shadow: var(--shadow-sm); }
.post-card__date strong { font-size: 1.25rem; color: var(--ink); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__cat { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 0.8125rem; font-weight: 500; color: var(--brand); }
.post-card__title { font-size: 1.1563rem; line-height: 1.35; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--brand); }
.post-card__excerpt { font-size: 0.9063rem; color: var(--muted); }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 700; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 22px 24px 26px; }
.card__body h3 { font-size: 1.125rem; }
.card__body p { margin: 0; font-size: 0.9375rem; color: var(--muted); }

/* 9. Páginas internas ------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 40px 0 44px; color: var(--text);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(85, 172, 186, .2), transparent 70%),
    linear-gradient(180deg, #f2f9fa, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero__title { font-size: clamp(1.875rem, 5vw, 3rem); font-weight: 700; margin: 0; letter-spacing: -.015em; }
.page-hero__lead { max-width: 720px; margin: 14px 0 0; font-size: 1.0625rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #b5c6ca; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.split { display: grid; gap: 28px; align-items: start; }
.split > *, .exams > * { min-width: 0; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .split--aside { grid-template-columns: 380px 1fr; align-items: start; }
  .split--sidebar { grid-template-columns: 1fr 340px; align-items: start; }
}
.rounded-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (min-width: 992px) { .sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

.prose { color: var(--text); font-size: 1.0313rem; }
.prose h2 { font-size: 1.625rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3125rem; margin: 1.6em 0 .5em; }
.prose h4, .prose h5 { font-size: 1.125rem; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--brand-300); background: var(--brand-50); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose > :first-child { margin-top: 0; }

.quote-card, .prose blockquote.quote-card { position: relative; margin: 32px 0 0; padding: 26px 28px 26px 72px; border: 0; background: var(--brand-50); border-radius: var(--radius); font-style: italic; color: var(--ink); }
.prose .section__title { font-size: clamp(1.625rem, 3.4vw, 2.125rem); margin-top: 0; }
.quote-card .i { position: absolute; left: 24px; top: 26px; width: 30px; height: 30px; color: var(--brand-300); }

.person { display: grid; gap: 32px; padding: 40px 0; }
.person + .person { border-top: 1px solid var(--line); }
.person__photo { text-align: center; }
.person__photo img { width: 100%; max-width: 360px; margin: 0 auto 16px; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.person__photo strong { display: block; color: var(--ink); font-size: 1.125rem; }
.person__photo span { color: var(--muted); font-size: 0.875rem; }
@media (min-width: 992px) { .person { grid-template-columns: 340px 1fr; gap: 56px; } .person__photo { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.values li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-weight: 700; color: var(--ink); }
.values .i { width: 30px; height: 30px; color: var(--brand); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(4, 1fr); } }

.mvv { display: grid; gap: 18px; }
.mvv > div { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mvv h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1875rem; }
.mvv h3 .i { color: var(--brand); }
.mvv p { margin: 0; }
@media (min-width: 768px) { .mvv { grid-template-columns: 1fr 1fr; } }

.cards-3 { display: grid; gap: 22px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.doctors-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Acordeão nativo (<details>) */
.accordion { display: grid; gap: 12px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.acc[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7f8e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.acc[open] > summary::after { transform: rotate(45deg); }
.acc > summary:hover { color: var(--brand); }
.acc__body { padding: 0 22px 22px; }
.acc__body > :last-child { margin-bottom: 0; }

/* Abas */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.tabs--wrap { flex-wrap: wrap; overflow: visible; }
.tab {
  flex: none; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 0.9063rem; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tabs--vertical .tab { display: flex; align-items: center; gap: 10px; }
@media (min-width: 992px) {
  .tabs--vertical { flex-direction: column; overflow: visible; }
  .tabs--vertical .tab { gap: 12px; text-align: left; border-radius: var(--radius-sm); padding: 14px 18px; }
}
.tabs--vertical .tab .i { width: 22px; height: 22px; color: var(--brand); }
.tabs--vertical .tab[aria-selected="true"] .i { color: #fff; }
[role="tabpanel"][hidden] { display: none; }

/* Exames */
.exams { display: grid; gap: 28px; }
.exam-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.exam-panel__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.exam-panel__body { padding: 26px 28px 30px; }
.exam-panel__body h2 { font-size: 1.5rem; }
.check-list { list-style: none; display: grid; gap: 8px 24px; }
.check-list li { position: relative; padding-left: 28px; font-size: 0.9375rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7f8e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
@media (min-width: 768px) { .check-list--cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .exams { grid-template-columns: 320px 1fr; align-items: start; } }

.search-box { position: relative; max-width: 720px; margin: 0 auto 32px; }
.search-box .i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); }
.search-box input { padding-left: 54px; min-height: 60px; font-size: 1.0625rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--brand-50); border-radius: var(--radius); }

/* Galeria */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery__item { position: relative; display: block; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-50); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; color: #fff; font-weight: 500; font-size: 0.9063rem; text-align: left; background: linear-gradient(transparent, rgba(16, 38, 46, .75)); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 25, 30, .88); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { margin: 10px 0 0; color: #fff; text-align: center; }
.lightbox__close { position: fixed; right: 20px; top: 20px; background: #fff; }

/* Convênios */
.partner-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: box-shadow .3s, transform .3s var(--ease); }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.partner span { font-size: 0.875rem; font-weight: 500; color: var(--ink); }

/* Blog */
.sidebar { display: grid; gap: 22px; }
.widget { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.widget__title { font-size: 1.0625rem; margin-bottom: 14px; }
.widget ul { list-style: none; }
.mini-post { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.mini-post:first-child { border-top: 0; padding-top: 0; }
.mini-post time { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--brand-50); font-size: 0.6563rem; font-weight: 700; color: var(--muted); line-height: 1.1; }
.mini-post time strong { font-size: 1.125rem; color: var(--brand); }
.mini-post a { font-weight: 500; color: var(--ink); font-size: 0.9063rem; line-height: 1.4; }
.mini-post a:hover { color: var(--brand); }
.cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; color: var(--text); border-top: 1px solid var(--line); font-weight: 500; }
.cat-list li:first-child a { border-top: 0; }
.cat-list a:hover { color: var(--brand); }
.pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-active a { background: var(--brand); border-color: var(--brand); color: #fff; }
.article__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 24px; font-size: 0.875rem; color: var(--muted); }
.article__meta li { display: flex; align-items: center; gap: 6px; }
.article__cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; }

/* 10. Formulários ----------------------------------------------------------- */
.form-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-card__title { font-size: 1.625rem; margin-bottom: 6px; }
.form-card__lead { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.field small { color: var(--muted); font-size: 0.8125rem; }
.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 0.9688rem; color: var(--ink);
  background: #fbfdfd; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(31, 127, 142, .12); }
.input::placeholder, .field ::placeholder { color: #9aabaf; }
.field input[type="file"] { padding: 10px; min-height: auto; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--brand-100); color: var(--brand-700); font-weight: 700; cursor: pointer; }
.form-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 0.8438rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.cf-turnstile { display: inline-block; max-width: 100%; margin-top: 4px; }
.form-messages:empty { display: none; }
.form-messages { margin-top: 18px; }

.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-100); color: var(--brand); }
.contact-item h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.map { height: 400px; background: var(--brand-50); }
.map + .footer, main:has(> .map:last-child) + .footer { margin-top: 0; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; margin: 24px 0 0; }
.steps li { position: relative; padding: 0 0 0 48px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.875rem; }
.steps strong { color: var(--ink); }

.side-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; height: 100%; }
.side-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side-photo__caption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 20px; background: rgba(255, 255, 255, .95); border-radius: var(--radius); font-size: 0.9063rem; color: var(--text); }
.side-photo__caption strong { display: block; color: var(--ink); font-size: 1rem; }

/* 11. Rodapé / Flutuantes ---------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 0.9375rem; }
.footer__grid { display: grid; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer__brand img { width: 190px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { max-width: 320px; }
.footer__title { margin-bottom: 18px; font-size: 1rem; color: #fff; letter-spacing: 0; }
.footer a { color: rgba(255, 255, 255, .75); }
.footer a:hover { color: #fff; }
.footer__links { list-style: none; display: grid; gap: 9px; }
.footer__contact { list-style: none; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact .i { margin-top: 4px; color: var(--brand-300); }
.hours { margin: 0; display: grid; gap: 12px; }
.hours dt { color: #fff; font-weight: 500; font-size: 0.9063rem; }
.hours dd { margin: 0; font-size: 0.875rem; }
.footer__note { margin: 14px 0 0; font-size: 0.8438rem; color: var(--brand-300); }
.social { list-style: none; display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s; }
.social a:hover { background: var(--brand); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 0.8438rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.footer__bottom p { margin: 0; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr .9fr 1.2fr 1.2fr; gap: 48px; } }

.floating__top { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.wa { position: fixed; left: 18px; bottom: 18px; z-index: 90; }
.floating__top { display: grid; right: 18px; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.floating__top.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa__toggle { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 10px 28px rgba(31, 127, 142, .4); cursor: pointer; transition: transform .2s; }
.wa__toggle:hover { transform: scale(1.06); }
.wa__toggle .i { width: 30px; height: 30px; }
.wa__toggle::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2.4s ease-out infinite; }
.wa__icon-close, .wa.is-open .wa__icon-open { display: none; }
.wa.is-open .wa__icon-close { display: block; }
.wa.is-open .wa__toggle::before { animation: none; opacity: 0; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.wa__box { position: absolute; left: 0; bottom: 74px; width: min(320px, calc(100vw - 36px)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .3s var(--ease); }
.wa__head { padding: 18px 20px; background: var(--whatsapp); color: #fff; line-height: 1.35; }
.wa__head strong { display: block; font-size: 1.0625rem; }
.wa__head span { font-size: 0.8438rem; opacity: .9; }
.wa__body { padding: 18px 20px 20px; font-size: 0.9063rem; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* 12. Aviso de cookies (partials em partials/cookieConsent) ------------------ */
.mm-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10050; padding: 0 16px 16px; pointer-events: none; }
.mm-cookie__card { pointer-events: auto; max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: #fff; border-radius: var(--radius); border-left: 5px solid var(--brand-300); box-shadow: var(--shadow-lg); animation: pop .45s var(--ease) both; }
.mm-cookie__icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--brand-100); color: var(--brand); }
.mm-cookie__icon .i { width: 24px; height: 24px; }
.mm-cookie__body { flex: 1 1 auto; min-width: 0; }
.mm-cookie__title { margin: 0 0 2px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.mm-cookie__text, .mm-cookie__text p { display: inline; margin: 0; font-size: 0.8438rem; line-height: 1.55; color: var(--text); }
.mm-cookie__text strong { font-weight: 400; }
.mm-cookie__text a { margin-left: 4px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.mm-cookie__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.mm-cookie__btn { appearance: none; border: 1.5px solid transparent; border-radius: 999px; padding: 10px 20px; font: inherit; font-size: 0.875rem; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.mm-cookie__btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.mm-cookie__btn--primary:hover { background: var(--brand-700); border-color: var(--brand-700); }
.mm-cookie__btn--outline { background: #fff; border-color: var(--line); color: var(--ink); }
.mm-cookie__btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.mm-cookie__btn--link { background: transparent; color: var(--text); padding-left: 8px; padding-right: 8px; text-decoration: underline; text-underline-offset: 3px; }
.mm-cookie__btn--link:hover { color: var(--brand); }
.mm-cookie-modal { position: fixed; inset: 0; z-index: 10060; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 38, 46, .55); }
.mm-cookie-modal__card { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: pop .35s var(--ease) both; }
.mm-cookie-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.mm-cookie-modal__header h3 { margin: 0; font-size: 1.1875rem; }
.mm-cookie-modal__close { flex: 0 0 36px; height: 36px; border: 0; border-radius: 50%; background: var(--brand-50); color: var(--text); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.mm-cookie-modal__close:hover { background: var(--brand-100); color: var(--brand); }
.mm-cookie-modal__intro, .mm-cookie-modal__intro p { font-size: 0.875rem; color: var(--text); }
.mm-cookie-modal__list { margin: 8px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mm-cookie-modal__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 16px; cursor: pointer; }
.mm-cookie-modal__item + .mm-cookie-modal__item { border-top: 1px solid var(--line); }
.mm-cookie-modal__item-text { display: flex; flex-direction: column; gap: 3px; }
.mm-cookie-modal__item-text strong { font-size: 0.9063rem; color: var(--ink); }
.mm-cookie-modal__item-text span { font-size: 0.8125rem; color: var(--text); line-height: 1.5; }
.mm-cookie-modal__badge { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 20px; background: var(--brand-100); color: var(--brand); font-size: 0.7188rem; font-style: normal; font-weight: 700; }
.mm-cookie-switch { position: relative; flex: 0 0 46px; width: 46px; height: 26px; }
.mm-cookie-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mm-cookie-switch__track { position: absolute; inset: 0; border-radius: 26px; background: #c9d6dc; transition: background-color .2s; }
.mm-cookie-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.mm-cookie-switch input:checked + .mm-cookie-switch__track { background: var(--brand); }
.mm-cookie-switch input:checked + .mm-cookie-switch__track::after { transform: translateX(20px); }
.mm-cookie-switch input:disabled { cursor: not-allowed; }
.mm-cookie-switch input:disabled + .mm-cookie-switch__track { opacity: .6; }
.mm-cookie-switch input:focus-visible + .mm-cookie-switch__track { outline: 3px solid rgba(31, 127, 142, .45); outline-offset: 2px; }
.mm-cookie-modal__actions { display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 991px) {
  .mm-cookie__card { flex-wrap: wrap; align-items: flex-start; }
  .mm-cookie__body { flex-basis: calc(100% - 68px); }
  .mm-cookie__actions { flex-basis: 100%; justify-content: flex-end; }
}
@media (max-width: 575px) {
  .mm-cookie { padding: 0 10px 10px; }
  .mm-cookie__card { padding: 16px; gap: 12px; }
  .mm-cookie__icon { display: none; }
  .mm-cookie__body { flex-basis: 100%; }
  .mm-cookie__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .mm-cookie__btn--primary { grid-column: 1 / -1; grid-row: 1; }
  .mm-cookie-modal__actions { flex-direction: column-reverse; }
  .mm-cookie-modal__actions .mm-cookie__btn { width: 100%; }
}

/* 13. Compatibilidade: classes usadas nas respostas AJAX dos handlers PHP ---- */
.alert { position: relative; display: flex; gap: 10px; margin: 0 0 12px; padding: 14px 18px; border-radius: 12px; border: 1px solid transparent; font-size: 0.9375rem; line-height: 1.5; }
.alert-success { background: #e8f7ef; border-color: #bfe8d1; color: #146c3c; }
.alert-danger { background: #fdecee; border-color: #f7c5cd; color: #a1253b; }
.alert-warning { background: #fff6e5; border-color: #fde0a6; color: #8a5a00; }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.alert.mb-0 { margin-bottom: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row > .col-12 { flex: 0 0 100%; }
.row > .col-6 { flex: 1 1 0; }
.row > .col-2 { flex: 0 0 auto; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.w-100 { width: 100%; }
.mt-3 { margin-top: 16px; }
.btn-aceito, .btn-primary, .btn-outline-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
  border: 2px solid var(--brand); border-radius: 999px; font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer;
  background: #fff; color: var(--brand);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.btn-outline-secondary { border-color: var(--line); color: var(--ink); }
.btn-outline-secondary:hover, .btn-aceito:hover { border-color: var(--brand); color: var(--brand); }
.protocol-confirm { padding: 22px; border-radius: var(--radius); background: var(--brand-50); }
.protocol-confirm p { margin-bottom: 18px; }

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__item[aria-hidden="true"] { display: none; }
}

/* 14. Ajustes da 2ª rodada --------------------------------------------------- */
/* Celular: campos com 16px evitam o zoom automático do iPhone ao tocar */
@media (max-width: 767px) { .input, .field input, .field textarea, .field select { font-size: 16px; } }

/* Slider principal: largura total, primeiro bloco da página inicial (proporções do tema main) */
.banner { position: relative; background: var(--brand-50); }
.banner .carousel { border-radius: 0; box-shadow: none; }
.banner .carousel__slide { aspect-ratio: 600 / 225; }
@media (min-width: 768px) { .banner .carousel__slide { aspect-ratio: 900 / 338; } }
@media (min-width: 1200px) { .banner .carousel__slide { aspect-ratio: 19 / 6; } }
.banner .carousel__nav--prev { left: 24px; }
.banner .carousel__nav--next { right: 24px; }

/* Corpo clínico com foto de fundo (referência à medicina) e cores da clínica */
.section--doctors { position: relative; isolation: isolate; color: rgba(255, 255, 255, .85); background: var(--brand-900); }
.section--doctors::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--doctors-bg) center / cover no-repeat; opacity: .35; }
.section--doctors::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 77, 87, .92) 0%, rgba(0, 52, 59, .96) 100%); }
.section--doctors .section__title { color: #fff; }
.section--doctors .section__head p { color: rgba(255, 255, 255, .78); }
.section--doctors .eyebrow { color: #fff; background: rgba(85, 172, 186, .35); }
.section--doctors .doctor { border: 0; }
.section--doctors .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.section--doctors .btn--outline:hover { border-color: #fff; color: #fff; }

/* Carrossel automático (sem barra de rolagem, só pontos) */
.autoscroll { position: relative; scrollbar-width: none; padding-bottom: 6px; }
.autoscroll::-webkit-scrollbar { display: none; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s, background-color .3s; }
.dots button[aria-current="true"] { width: 28px; background: var(--brand); }
.section--doctors .dots button { background: rgba(255, 255, 255, .3); }
.section--doctors .dots button[aria-current="true"] { background: var(--brand-300); }

/* Cabeçalho das páginas internas com foto */

/* Rodapé com ilustração singela da saúde da mulher ao fundo */
.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-900); }
.footer::after { content: ''; position: absolute; z-index: -1; left: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(85, 172, 186, .18), transparent 70%); }

/* Convênios: atendimento particular */
.notice-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 768px) { .notice-grid { grid-template-columns: 1fr 1fr; } }
.notice { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.notice h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.375rem; }
.notice h2 .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-100); color: var(--brand); }
.notice p { margin: 0 0 8px; }
.notice .form-actions { margin-top: auto; }
.notice--highlight { background: linear-gradient(140deg, var(--brand-700), var(--brand)); border: 0; color: rgba(255, 255, 255, .88); }
.notice--highlight h2 { color: #fff; }
.notice--highlight h2 .i { background: rgba(255, 255, 255, .15); color: #fff; }

/* Toques de cor da clínica */
.eyebrow { color: var(--brand-700); background: rgba(85, 172, 186, .18); }
.section--soft { background: linear-gradient(180deg, var(--brand-50), #eef7f8); }
.quick__icon, .service__icon, .pillars__icon, .contact-item__icon { background: rgba(85, 172, 186, .16); }
body.nav-locked .mm-cookie { display: none; }

/* 15. Ajustes da 3ª rodada --------------------------------------------------- */
/* Fontes um pouco maiores onde a base de 0.8em ficou pequena */
.nav__link { font-size: 1.125rem; }
.nav__sub a { font-size: 1.0625rem; }
@media (min-width: 1200px) {
  .nav__link { font-size: 1.0625rem; }
  .nav__sub a { font-size: 1rem; }
}
@media (min-width: 1200px) and (max-width: 1399px) { .nav__link { font-size: 1rem; padding: 10px 8px; } }
.btn { font-size: 1.0625rem; }
.btn--sm { font-size: 1rem; }
.btn--lg { font-size: 1.125rem; }
.topbar { font-size: .9375rem; }
.quick__text strong { font-size: 1.125rem; }
.quick__text small, .doctor__crm, .form-hint, .crumbs ol { font-size: .9375rem; }
.pillars p, .service p, .post-card__excerpt, .hours dd, .contact-item p { font-size: 1rem; }
.review blockquote { font-size: 1.0625rem; }
.doctor__name { font-size: 1.1875rem; }
.footer { font-size: 1rem; }
.hours dt { font-size: 1rem; }
.field label { font-size: 1rem; }

/* Slider principal: barra de progresso no topo (tempo até a próxima imagem) */
.carousel__progress { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 4px; background: rgba(255, 255, 255, .35); }
.carousel__progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--brand-300), var(--accent)); will-change: transform; }

/* Arrastar com o mouse */
[data-drag] { cursor: grab; }
[data-drag] img { -webkit-user-drag: none; user-select: none; }
.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto !important; user-select: none; }
.is-dragging * { pointer-events: none; }

/* Convênios em slide */
.logos { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.logos__item { scroll-snap-align: start; display: grid; place-items: center; height: 96px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.logos__item img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos__item:hover img { filter: none; opacity: 1; }
@media (max-width: 991px) { .logos { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 575px) { .logos { grid-auto-columns: calc((100% - 16px) / 2); } }

/* Cartões dos médicos: sem "rebarba" nas bordas do topo das fotos */
.scroller { padding-top: 10px; margin-top: -10px; }
.doctor { -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); }
.doctor__photo { border-radius: var(--radius) var(--radius) 0 0; }
.scroller .doctor:hover { transform: translateZ(0); }
.section--doctors .doctor { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }

/* Rodapé: ilustração própria (laço rosa + abstrato) com overlay bem suave */
.footer::after { left: 0; top: 0; right: 0; bottom: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(90deg, rgba(0, 52, 59, .88) 0%, rgba(0, 52, 59, .5) 50%, rgba(0, 52, 59, .1) 100%); }

/* Card em destaque (laço rosa) no acesso rápido */
.quick__card { position: relative; }
.quick__card--star { border-color: rgba(226, 85, 123, .35); }
.quick__badge {
  position: absolute; top: -12px; left: -12px; z-index: 1;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 1.5px solid rgba(226, 85, 123, .35);
  box-shadow: 0 6px 16px rgba(226, 85, 123, .3);
  animation: star-pop 2.8s ease-in-out infinite;
}
.quick__badge img { width: 20px; height: 20px; }
@keyframes star-pop { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.1) rotate(-8deg); } }

/* Títulos das páginas internas: traço de cor abaixo do título */
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { position: relative; }
.page-hero__title::after {
  content: ''; display: block; width: 64px; height: 5px; margin-top: 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-300) 60%, var(--accent));
}

/* 16. Ajustes da 4ª rodada --------------------------------------------------- */
/* Deslizamento suave feito em JS: sem encaixe nem rolagem nativa durante o movimento */
.is-gliding { scroll-snap-type: none !important; scroll-behavior: auto !important; }
.carousel__track, .scroller, .logos { scroll-behavior: auto; }

/* Topo das páginas internas: degradê padrão nas cores da clínica (sem fotos) */
.page-hero {
  color: rgba(255, 255, 255, .85); border-bottom: 0;
  background:
    radial-gradient(520px 260px at 92% 10%, rgba(240, 138, 166, .28), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(85, 172, 186, .35), transparent 70%),
    linear-gradient(120deg, var(--brand-900) 0%, var(--brand-700) 45%, var(--brand) 100%);
}
.page-hero__title { color: #fff; }
.page-hero__lead { color: rgba(255, 255, 255, .82); }
.page-hero__lead strong { color: #fff; }
.page-hero .crumbs ol, .page-hero .crumbs a { color: rgba(255, 255, 255, .7); }
.page-hero .crumbs a:hover, .page-hero .crumbs [aria-current] { color: #fff; }
.page-hero .crumbs li + li::before { color: rgba(255, 255, 255, .4); }
.page-hero__title::after { background: linear-gradient(90deg, #fff, var(--brand-300) 55%, #f08aa6); }

/* Rodapé: só um toque de rosa (laço da saúde da mulher), sem linhas */
.footer::after { background: none; }

/* Rodapé: rosas vermelhas em aquarela (pintura à mão) bem fracas ao fundo */
.footer::after { background: url('../images/footer-roses.svg') center bottom / cover no-repeat; opacity: .1; }
@media (max-width: 767px) { .footer::after { opacity: .08; background-size: auto 100%; background-position: 80% bottom; } }

/* Perfil do médico: cartão da foto separado das informações */
.profile { display: grid; gap: 24px; align-items: start; }
@media (min-width: 992px) { .profile { grid-template-columns: 360px 1fr; gap: 32px; } .profile__card { position: sticky; top: calc(var(--header-h) + 24px); } }
.profile__card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.profile__photo { aspect-ratio: 1; background: linear-gradient(160deg, var(--brand-100), var(--brand-50)); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__id {
  position: relative; padding: 26px 26px 28px; color: rgba(255, 255, 255, .85);
  background: radial-gradient(260px 140px at 100% 0%, rgba(240, 138, 166, .3), transparent 70%), linear-gradient(135deg, var(--brand-900), var(--brand-700) 55%, var(--brand));
}
.profile__id::before { content: ''; position: absolute; left: 26px; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--brand-300), #f08aa6); }
.profile__role { font-size: .9375rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-300); }
.profile__name { margin: 6px 0 12px; font-size: 1.875rem; color: #fff; }
.profile__crm { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1rem; font-weight: 500; }
.profile__actions { display: grid; gap: 12px; margin-top: 22px; }
.profile__back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 1rem; }
.profile__back:hover { color: #fff; }

.profile__info { display: grid; gap: 18px; }
.profile__block { padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.profile__title { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 1.375rem; color: var(--brand-700); position: relative; }
.profile__title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-300) 60%, var(--accent)); }
.profile__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(85, 172, 186, .16); color: var(--brand); }
.profile__icon .i { width: 22px; height: 22px; }
.profile__text { font-size: 1.0625rem; }
.profile__text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.profile__text li { position: relative; padding-left: 30px; line-height: 1.6; }
.profile__text li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7f8e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.profile__text p { margin: 0 0 10px; }
.profile__text a { word-break: break-all; }

/* 17. Topo: telefone em destaque, WhatsApp à direita, Resultados de Exames em destaque */
.topbar__phone { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .25); }
.topbar__phone a {
  padding: 5px 14px; border-radius: 999px; gap: 6px;
  background: #fff; color: var(--brand-700); font-weight: 500;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .15);
}
.topbar__phone a:hover { color: var(--accent); }
.topbar__phone .i { opacity: 1; color: var(--accent); }
.topbar__phone strong { font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; }
.topbar__wa { font-weight: 500; }
.topbar__wa .i { opacity: 1; }

.header__results {
  position: relative; display: inline-flex; padding: 8px 14px;
  background: linear-gradient(120deg, var(--brand-700), var(--brand) 60%, var(--brand-300));
  color: #fff; border: 0; font-weight: 700;
  box-shadow: 0 8px 22px rgba(31, 127, 142, .3), inset 0 0 0 1.5px rgba(226, 85, 123, .0);
}
.header__results:hover { color: #fff; box-shadow: 0 10px 26px rgba(226, 85, 123, .3); transform: translateY(-1px); }
.header__results-ext { display: none; }
.header__badge {
  position: absolute; top: -10px; left: -10px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1.5px solid rgba(226, 85, 123, .4);
  box-shadow: 0 4px 12px rgba(226, 85, 123, .3);
  animation: star-pop 2.8s ease-in-out infinite;
}
.header__badge img { width: 15px; height: 15px; }
.header__actions { padding-top: 6px; }
@media (min-width: 576px) { .header__results { padding: 10px 20px; } }
@media (min-width: 768px) { .header__results-ext { display: inline; } }
@media (min-width: 1200px) and (max-width: 1399px) { .header__results { display: inline-flex; padding: 10px 16px; } }
@media (prefers-reduced-motion: reduce) { .header__badge { animation: none; } }
.header__results > span { display: inline; }
.header__results > .header__badge { display: grid; }
.header__actions { padding-top: 0; }
@media (max-width: 767px) { .header__results-ext { display: none !important; } }
@media (max-width: 359px) { .header__results > span:last-child { display: none; } }
/* Resultados: caixa alta + ícone de resultado no canto; telefone na cor do topo */
.header__results { text-transform: uppercase; letter-spacing: .04em; padding-left: 22px; }
.header__badge .i { width: 15px; height: 15px; color: var(--accent); }
.topbar__phone a { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.topbar__phone a:hover { background: var(--brand-900); color: #fff; }
.topbar__phone .i { color: #fff; }

/* 18. Chamada de agendamento (home): cartão em degradê com hexágonos, cruzes e linha de batimento */
.appt { padding: 24px 0 56px; }
.appt__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px; padding: 36px 24px 0;
  border-radius: 28px; color: rgba(255, 255, 255, .88);
  background: radial-gradient(circle at 85% 30%, rgba(226, 85, 123, .28), transparent 45%),
              linear-gradient(120deg, var(--brand-900) 0%, var(--brand-700) 45%, var(--brand) 100%);
  box-shadow: 0 24px 60px rgba(0, 52, 59, .25);
}
.appt__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.appt__ecg { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: appt-ecg 3.2s ease-out .3s forwards; }
@keyframes appt-ecg { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .appt__ecg { animation: none; stroke-dashoffset: 0; } }
.appt__content { position: relative; z-index: 1; }
.appt__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: 1rem; letter-spacing: .02em; }
.appt__eyebrow .i { color: #f8b4c8; }
.appt__title { margin: 14px 0 20px; color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; max-width: 640px; }
.appt__checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 28px; padding: 0; font-size: 1.0625rem; }
.appt__checks li { display: flex; align-items: center; gap: 8px; }
.appt__checks .i { width: 18px; height: 18px; color: #7fd3df; }
.appt__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.appt__btn { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(226, 85, 123, .4); }
.appt__btn:hover { background: #c93d64; color: #fff; transform: translateY(-2px); }
.appt__btn .i:last-child { width: 16px; height: 16px; opacity: .85; }
.appt__phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.appt__phone:hover { color: #fff; }
.appt__phone-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: background .25s; }
.appt__phone:hover .appt__phone-icon { background: rgba(255, 255, 255, .26); }
.appt__phone small { display: block; font-size: .875rem; opacity: .8; }
.appt__phone strong { display: block; font-size: 1.375rem; letter-spacing: .02em; }
.appt__media { position: relative; margin: 0; align-self: end; justify-self: center; width: min(100%, 380px); }
.appt__media img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% center;
  border-radius: 200px 200px 0 0; border: 6px solid rgba(255, 255, 255, .18); border-bottom: 0;
}
.appt__tag {
  position: absolute; left: -12px; bottom: 32px;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--brand-700); font-weight: 700; font-size: .9375rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.appt__tag .i { color: var(--accent); }
@media (min-width: 992px) {
  .appt { padding: 40px 0 80px; }
  .appt__card { grid-template-columns: 1fr 360px; gap: 40px; padding: 0 56px 0 64px; align-items: stretch; }
  .appt__content { padding: 64px 0; align-self: center; }
  .appt__media { width: 100%; margin-top: 40px; }
}
@media (min-width: 1200px) { .appt__card { grid-template-columns: 1fr 400px; padding-left: 80px; } }

/* 19. Cabeçalho um pouco maior + gorro de Natal no logo (partial site/natal-gorro) */
:root { --header-h: 88px; }
.header__logo { position: relative; display: inline-block; }
.header__logo img { width: 180px; }
@media (min-width: 1200px) { :root { --header-h: 96px; } .header__logo img { width: 215px; } }
@media (min-width: 1200px) and (max-width: 1399px) { .header__logo img { width: 195px; } }
.header__logo .logo-hat {
  position: absolute; left: -15px; top: -19px; width: 44px; height: auto;
  transform-origin: 30% 85%; transform: rotate(-22deg);
  animation: hat-sway 3.2s ease-in-out infinite;
  pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .18));
}
@media (min-width: 1200px) { .header__logo .logo-hat { left: -17px; top: -21px; width: 52px; } }
.header__logo:hover .logo-hat { animation-duration: 1s; }
@keyframes hat-sway {
  0%, 100% { transform: rotate(-22deg) translateY(0); }
  50% { transform: rotate(-12deg) translateY(-2px); }
}
/* Gorro no lado direito (sobre o último "M" de IMAGEM), espelhado */
.header__logo .logo-hat { left: auto; right: -14px; top: -18px; transform-origin: 70% 85%; transform: scaleX(-1) rotate(-22deg); animation-name: hat-sway-r; }
@media (min-width: 1200px) { .header__logo .logo-hat { left: auto; right: -16px; top: -21px; } }
@keyframes hat-sway-r {
  0%, 100% { transform: scaleX(-1) rotate(-22deg) translateY(0); }
  50% { transform: scaleX(-1) rotate(-12deg) translateY(-2px); }
}
.header__logo .logo-hat { right: -6px; top: -24px; width: 38px; }
@media (max-width: 575px) { .header__logo { margin-right: 18px; } .header__logo img { width: 160px; } }
@media (min-width: 1200px) { .header__logo .logo-hat { right: -10px; top: -31px; width: 50px; } }

/* Gorro de Natal v2: pompom à direita + estrelinhas saindo do gorro */
.logo-xmas { position: absolute; right: -8px; top: -24px; width: 38px; height: 36px; pointer-events: none; }
@media (min-width: 1200px) { .logo-xmas { right: -12px; top: -31px; width: 50px; height: 47px; } }
.header__logo .logo-xmas .logo-hat {
  position: static; display: block; width: 100%; height: auto;
  transform-origin: 35% 90%; transform: rotate(14deg);
  animation: hat-sway-v2 3.2s ease-in-out infinite;
}
.header__logo:hover .logo-xmas .logo-hat { animation-duration: 1.1s; }
@keyframes hat-sway-v2 {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-2px); }
}
.logo-sparks { position: absolute; left: 55%; top: 30%; width: 0; height: 0; }
.logo-sparks i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; opacity: 0;
  background: radial-gradient(circle, #fff8d6 0 20%, #ffd45c 45%, #f5b82e 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: spark-fly 2.8s ease-out infinite;
}
.logo-sparks i:nth-child(1) { --x: 26px;  --y: -22px; --s: 1;   animation-delay: 0s; }
.logo-sparks i:nth-child(2) { --x: -22px; --y: -26px; --s: .8;  animation-delay: .4s; }
.logo-sparks i:nth-child(3) { --x: 34px;  --y: 4px;   --s: .7;  animation-delay: .8s; }
.logo-sparks i:nth-child(4) { --x: 4px;   --y: -36px; --s: 1.1; animation-delay: 1.2s; }
.logo-sparks i:nth-child(5) { --x: -30px; --y: -6px;  --s: .6;  animation-delay: 1.6s; }
.logo-sparks i:nth-child(6) { --x: 20px;  --y: -38px; --s: .75; animation-delay: 2s; }
.logo-sparks i:nth-child(7) { --x: 38px;  --y: -16px; --s: .9;  animation-delay: 2.4s; }
@keyframes spark-fly {
  0%   { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0); }
  15%  { opacity: 1; }
  60%  { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(180deg); }
}
.logo-sparks i { left: -7px; top: -7px; width: 14px; height: 14px; filter: drop-shadow(0 0 3px rgba(255, 200, 60, .9)); }
.logo-sparks i:nth-child(2n) { background: radial-gradient(circle, #fff 0 25%, #ffe9a8 50%, #ffc53d 75%); }
.logo-sparks i:nth-child(1) { --x: 30px;  --y: -18px; --s: 1.1; }
.logo-sparks i:nth-child(3) { --x: 40px;  --y: 10px;  --s: .8; }
.logo-sparks i:nth-child(5) { --x: -34px; --y: 2px;   --s: .7; }
.logo-sparks i:nth-child(7) { --x: 44px;  --y: -10px; --s: 1; }
.logo-sparks i:nth-child(2) { --x: -26px; --y: -14px; }
.logo-sparks i:nth-child(4) { --x: 12px;  --y: 30px; }
.logo-sparks i:nth-child(6) { --x: 26px;  --y: 26px; }
/* O gorro anima mesmo com "reduzir movimento" do sistema (pedido da clínica) */
@media (prefers-reduced-motion: reduce) {
  .header__logo .logo-xmas .logo-hat { animation-duration: 3.2s !important; animation-iteration-count: infinite !important; }
  .header__logo .logo-sparks i { animation-duration: 2.8s !important; animation-iteration-count: infinite !important; }
}
.appt__checks { margin-bottom: 0; }
/* Convênios: só a imagem, sem caixa/borda */
.logos__item { background: none; border: 0; border-radius: 0; padding: 8px 12px; }

/* 20. Topo e cabeçalho levemente maiores */
.topbar { font-size: 1rem; }
.topbar__inner { min-height: 48px; }
.topbar .i { width: 17px; height: 17px; }
.topbar__phone strong { font-size: 1.125rem; }
:root { --header-h: 92px; }
.header__logo img { width: 188px; }
@media (min-width: 1200px) {
  :root { --header-h: 104px; }
  .header__logo img { width: 230px; }
  .header__results { padding: 12px 24px; font-size: 1.0625rem; }
}
@media (min-width: 1400px) { .nav__link { font-size: 1.125rem; padding: 10px 12px; } }
@media (min-width: 1200px) and (max-width: 1399px) { .header__logo img { width: 205px; } }
@media (max-width: 575px) { .header__logo img { width: 168px; } }

/* 21. Overlay de carregamento (partial site/loader) */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(85, 172, 186, .18), transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(226, 85, 123, .12), transparent 45%),
    rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.loader.is-active, .is-arriving .loader { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
/* Segurança: se algo falhar, o overlay da chegada some sozinho */
.is-arriving .loader { animation: loader-failsafe 0s linear 8s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader__box { display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateY(8px) scale(.97); transition: transform .4s var(--ease); }
.loader.is-active .loader__box, .is-arriving .loader__box { transform: none; }
.loader__pulse { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin-bottom: 22px; }
.loader__pulse::before {
  content: ''; position: absolute; inset: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 18px 40px rgba(0, 52, 59, .16), inset 0 0 0 1px rgba(31, 127, 142, .08);
}
.loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(85, 172, 186, 0) 0deg, var(--brand-300) 120deg, var(--brand) 220deg, var(--accent) 340deg, rgba(226, 85, 123, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: loader-spin 1.1s linear infinite;
}
.loader__wave {
  position: absolute; inset: 12px; border-radius: 50%;
  border: 2px solid rgba(31, 127, 142, .35);
  animation: loader-wave 1.8s ease-out infinite;
}
.loader__ecg { position: relative; width: 74px; height: 37px; overflow: visible; }
.loader__ecg path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.loader__ecg-base { stroke: rgba(31, 127, 142, .14); }
.loader__ecg-line {
  stroke: var(--accent); stroke-dasharray: 46 120; stroke-dashoffset: 166;
  filter: drop-shadow(0 0 3px rgba(226, 85, 123, .55));
  animation: loader-ecg 1.4s linear infinite;
}
.loader__logo { width: 150px; height: auto; margin-bottom: 10px; }
.loader__text { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--brand-700); letter-spacing: .02em; }
.loader__dots i { font-style: normal; animation: loader-dot 1.2s infinite; }
.loader__dots i:nth-child(2) { animation-delay: .2s; }
.loader__dots i:nth-child(3) { animation-delay: .4s; }
.loader__tagline { margin: 4px 0 0; font-size: .9375rem; color: var(--muted); }
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-wave { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes loader-ecg { to { stroke-dashoffset: 0; } }
@keyframes loader-dot { 0%, 20% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }
/* Anima mesmo com "reduzir movimento" ligado no sistema (pedido da clínica) */
@media (prefers-reduced-motion: reduce) {
  .loader__ring { animation-duration: 1.1s !important; animation-iteration-count: infinite !important; }
  .loader__wave { animation-duration: 1.8s !important; animation-iteration-count: infinite !important; }
  .loader__ecg-line { animation-duration: 1.4s !important; animation-iteration-count: infinite !important; }
  .loader__dots i { animation-duration: 1.2s !important; animation-iteration-count: infinite !important; }
  .loader, .loader.is-active, .is-arriving .loader { transition-duration: .3s !important; }
  .is-arriving .loader { animation-duration: 0s !important; }
}
