/* =============================================
   HMSM — Public Site Styles
   Colors: #013F7C · #0c2440 · #25D366 · #d64541
   ============================================= */

/* ── Fontes offline ─────────────────────────────────────────────────────── */
@font-face { font-family: 'Inter'; src: url('/public/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/public/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/public/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/public/fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('/public/fonts/work-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('/public/fonts/work-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('/public/fonts/work-sans-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #013F7C;
  --blue-dark: #0c2440;
  --blue-light: #e9f1fb;
  --teal: #013F7C;
  --green: #25D366;
  --green-dark: #1aad50;
  --red: #d64541;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Inter', sans-serif;
  --font-news: 'Work Sans', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(1,63,124,.10);
  --shadow-lg: 0 12px 40px rgba(1,63,124,.15);
  --max-w: 1200px;
  --header-h: 68px;
  --util-h: 40px;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font-body); color: var(--gray-800); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.22; color: var(--blue-dark); }

.section-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.section-title { font-size: clamp(24px,3.2vw,34px); margin-bottom: 14px; }
.section-text { font-size: 16px; color: var(--gray-600); max-width: 580px; line-height: 1.75; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section--alt { background: var(--gray-50); }
.section-white { background: #fff; }

/* =============================================
   BUTTONS
   ============================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .18s; text-decoration: none; line-height: 1; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--gray-100); }
.btn-white-teal { background: #fff; color: var(--teal); }
.btn-white-teal:hover { background: #e0f7fa; }
.btn-outline { background: transparent; color: var(--gray-800); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-map { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); padding: 8px 18px; font-size: 13px; border-radius: 6px; font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 14px 28px; font-size: 16px; }

/* =============================================
   UTILITY BAR
   ============================================= */
.util-bar { background: #F6F7F9; font-size: 14px; font-family: var(--font-body); border-bottom: 1px solid #e4e6ea; }
.util-bar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--util-h); gap: 20px; }
.util-bar__phone { display: flex; align-items: center; gap: 7px; color: #555e6e; font-weight: 400; font-size: 14px; line-height: 16px; white-space: nowrap; }
.util-bar__phone svg { flex-shrink: 0; color: #555e6e; }
.util-bar__links { display: flex; align-items: center; gap: 4px; }
.util-bar__loc { display: flex; align-items: center; gap: 5px; color: #555e6e; font-size: 14px; padding: 0 12px; }
.util-bar__links a, .util-bar__links button { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: var(--util-h); color: #555e6e; font-size: 14px; font-weight: 400; line-height: 16px; background: none; border: none; cursor: pointer; font-family: var(--font-body); transition: background .15s, color .15s; white-space: nowrap; }
.util-bar__links a:hover, .util-bar__links button:hover { background: rgba(22,52,95,.06); color: #16345F; }

/* =============================================
   HEADER
   ============================================= */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo__img { height: 44px; max-width: 260px; object-fit: contain; display: block; }

.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: static; display: flex; align-items: center; padding-bottom: 8px; margin-bottom: -8px; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 7px; font-size: 15px; font-weight: 500; color: var(--gray-800); transition: color .15s, background .15s; white-space: nowrap; }
.nav-link__chevron { flex-shrink: 0; opacity: .45; transition: opacity .15s, transform .2s; }
.nav-link:hover { color: var(--blue); background: var(--blue-light); }
.nav-link:hover .nav-link__chevron { opacity: .9; }
.nav-link--active { color: var(--blue); font-weight: 700; }
.nav-link--active .nav-link__chevron { opacity: .9; }
.nav-item--active > .nav-link { color: var(--blue); font-weight: 700; }

/* Mega menu */
.nav-mega { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 16px 48px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.06); padding: 28px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; z-index: 500; border-top: 1px solid #eef0f4; }
.nav-item:hover > .nav-mega { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .18s, transform .18s; }
.nav-mega__inner { display: flex; align-items: stretch; gap: 0; padding: 0 24px; }
.nav-mega__sidebar { width: 200px; flex-shrink: 0; padding-right: 32px; border-right: 1px solid #eef0f4; margin-right: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.nav-mega__sidebar-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2771A1; margin-bottom: 6px; }
.nav-mega__sidebar-title { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--blue-dark); line-height: 1.2; margin-bottom: 0; text-align: center; }
.nav-mega__sidebar-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #2771A1; }
.nav-mega__sidebar-link:hover { text-decoration: underline; }
.nav-mega__content { flex: 1; min-width: 0; }
.nav-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.nav-mega__grid--2col { grid-template-columns: repeat(2, 1fr); }
.nav-mega__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--gray-800); transition: background .12s, color .12s; }
.nav-mega__item:hover, .nav-mega__item--active { background: #f0f5ff; color: var(--blue); }
.nav-mega__icon { width: 36px; height: 36px; border-radius: 9px; background: #e9f1fb; display: flex; align-items: center; justify-content: center; color: #2771A1; flex-shrink: 0; transition: background .12s; }
.nav-mega__item:hover .nav-mega__icon { background: #d4e4f7; }
.nav-mega__label { font-size: 14px; font-weight: 500; line-height: 1.3; }
.nav-mega__footer { display: block; margin-top: 12px; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); border-top: 1px solid #eef0f4; transition: color .12s; }
.nav-mega__footer:hover { color: var(--blue-dark); }
.nav-item:hover .nav-link__chevron { transform: rotate(180deg); opacity: .9; }
.nav-item--drop > .nav-link { cursor: pointer; }

/* Exam detail two-column layout */
.exam-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.exam-sidebar { position: sticky; top: calc(var(--header-h, 108px) + 20px); }

/* Exam catalog (listing page) */
.exam-search-wrap { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 10px 18px; margin-bottom: 32px; box-shadow: 0 2px 10px rgba(0,0,0,.05); color: var(--gray-400); }
.exam-search-input { flex: 1; border: none; outline: none; font-size: 16px; font-family: var(--font-body); color: var(--gray-800); background: transparent; }
.exam-search-input::placeholder { color: var(--gray-400); }
.exam-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.exam-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--gray-100); border-radius: 14px; padding: 24px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.exam-card:hover { border-color: var(--blue); box-shadow: 0 6px 24px rgba(39,113,161,.12); transform: translateY(-2px); }
.exam-card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.exam-card__body { flex: 1; }
.exam-card__title { font-size: 16px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.exam-card__sub { font-size: 13px; font-weight: 500; color: var(--blue); margin-bottom: 8px; }
.exam-card__desc { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.exam-card__footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.exam-card__cta { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue); }
.exam-search-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 0; text-align: center; color: var(--gray-500); font-size: 15px; }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.burger:hover { background: var(--gray-100); }

/* NAV SEARCH BUTTON */
.nav-search-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: none; border: none; cursor: pointer; border-radius: 8px; color: var(--gray-800); transition: background .15s, color .15s; flex-shrink: 0; }
.nav-search-btn:hover { background: var(--blue-light); color: var(--blue); }

/* SEARCH PAGE */
.busca-form { margin-bottom: 40px; }
.busca-form__wrap { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 8px 8px 8px 16px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.busca-form__icon { flex-shrink: 0; color: var(--gray-400); }
.busca-form__input { flex: 1; border: none; outline: none; font-size: 16px; font-family: var(--font-body); color: var(--gray-800); background: transparent; padding: 6px 0; }
.busca-form__input::placeholder { color: var(--gray-400); }
.busca-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.busca-item__link { display: flex; align-items: center; gap: 16px; background: #fff; border: 1.5px solid var(--gray-100); border-radius: 12px; padding: 16px 20px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.busca-item__link:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(39,113,161,.1); }
.busca-item__badge { flex-shrink: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); background: var(--blue-light); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.busca-item__body { flex: 1; min-width: 0; }
.busca-item__title { display: block; font-size: 16px; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.busca-item__excerpt { display: block; font-size: 14px; color: var(--gray-500); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.busca-item__arrow { flex-shrink: 0; color: var(--gray-300); transition: color .15s, transform .15s; }
.busca-item__link:hover .busca-item__arrow { color: var(--blue); transform: translateX(3px); }
.busca-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 0; text-align: center; }
.busca-empty__title { font-size: 18px; color: var(--gray-600); }
.busca-empty__sub { font-size: 15px; color: var(--gray-400); }

/* SEARCH OVERLAY */
.search-overlay { position: fixed; inset: 0; z-index: 600; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(10,20,40,.55); backdrop-filter: blur(4px); }
.search-overlay__box { position: relative; width: 100%; max-width: 660px; margin: 0 16px; background: #fff; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.22); display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 20px; animation: searchIn .18s ease; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.search-overlay__form { flex: 1; display: flex; align-items: center; gap: 12px; }
.search-overlay__icon { flex-shrink: 0; color: var(--gray-400); }
.search-overlay__input { flex: 1; border: none; outline: none; font-size: 18px; font-family: var(--font-body); color: var(--gray-800); background: transparent; padding: 10px 0; line-height: 1.4; }
.search-overlay__input::placeholder { color: var(--gray-400); }
.search-overlay__submit { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--blue); border: none; border-radius: 10px; color: #fff; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.search-overlay__submit:hover { background: var(--blue-dark, #013F7C); }
.search-overlay__close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--gray-100); border: none; border-radius: 8px; color: var(--gray-600); cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.search-overlay__close:hover { background: var(--gray-200); color: var(--gray-800); }
.search-preview { position: relative; width: 100%; max-width: 660px; margin: 8px 16px 0; background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,.16); overflow: hidden; }
.search-preview[hidden] { display: none; }
.search-preview__item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; text-decoration: none; transition: background .12s; border-bottom: 1px solid var(--gray-100); }
.search-preview__item:last-child { border-bottom: none; }
.search-preview__item:hover, .search-preview__item--focus { background: var(--blue-light); }
.search-preview__badge { flex-shrink: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); background: rgba(39,113,161,.1); border-radius: 5px; padding: 2px 7px; white-space: nowrap; min-width: 68px; text-align: center; }
.search-preview__text { flex: 1; min-width: 0; }
.search-preview__title { display: block; font-size: 14px; font-weight: 600; color: var(--gray-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-preview__excerpt { display: block; font-size: 12px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-preview__arrow { flex-shrink: 0; color: var(--gray-300); }
.search-preview__footer { display: flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 13px; color: var(--blue); font-weight: 500; cursor: pointer; background: none; border: none; border-top: 1px solid var(--gray-100); width: 100%; text-decoration: none; transition: background .12s; }
.search-preview__footer:hover { background: var(--blue-light); }
.search-preview__empty { padding: 20px; text-align: center; font-size: 14px; color: var(--gray-400); }

/* =============================================
   MOBILE DRAWER
   ============================================= */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 380; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-overlay--show { opacity: 1; pointer-events: all; }

.mobile-drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 100vw; max-width: 100vw; background: #fff; z-index: 400; display: flex; flex-direction: column; transform: translateX(110%); transition: transform .28s cubic-bezier(.4,0,.2,1); box-shadow: -8px 0 40px rgba(0,0,0,.18); }
.mobile-drawer--open { transform: translateX(0); }

.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid #eef0f4; flex-shrink: 0; }
.mobile-drawer__eyebrow { font-size: 12px; font-weight: 700; color: #2771A1; text-transform: uppercase; letter-spacing: .07em; }
.mobile-drawer__head button { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; color: #6b7280; transition: background .12s; }
.mobile-drawer__head button:hover { background: #f3f4f6; }

.mobile-drawer__links { flex: 1; min-height: 0; overflow-y: auto; padding: 0; display: flex; flex-direction: column; }

/* Flat drawer link (no children) */
.drawer-link { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-size: 15px; font-weight: 500; color: #374151; border-bottom: 1px solid #eef0f4; transition: color .12s; text-decoration: none; }
.drawer-link:hover { color: var(--blue-dark); }
.drawer-link__icon { width: 38px; height: 38px; border-radius: 10px; background: #e9f1fb; color: #2771A1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .12s; }
.drawer-link:hover .drawer-link__icon { background: #d1e4f6; }

/* Drawer accordion group */
.drawer-group { display: flex; flex-direction: column; border-bottom: 1px solid #eef0f4; }
.drawer-group__head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: default; }
.drawer-group__icon { width: 38px; height: 38px; border-radius: 10px; background: #e9f1fb; color: #2771A1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s, color .15s; }
.drawer-group__parent { flex: 1; font-size: 15px; font-weight: 500; color: #374151; transition: color .15s; text-decoration: none; }
.drawer-group__expand { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: #9ca3af; border-radius: 8px; transition: background .12s, color .12s; }
.drawer-group__expand:hover { background: #f3f4f6; color: #374151; }
.drawer-group__chevron { transition: transform .22s; }
.drawer-group__expand--open .drawer-group__chevron { transform: rotate(180deg); }

/* Open / active state */
.drawer-group--open .drawer-group__parent { color: var(--blue-dark); font-weight: 600; }
.drawer-group--open .drawer-group__icon { background: #dbeafe; color: var(--blue-dark); }
.drawer-group--open .drawer-group__expand { color: var(--blue-dark); }

/* Sub-items panel */
.drawer-group__items { display: flex; flex-direction: column; background: #f8fafc; border-top: 1px solid #eef0f4; padding: 6px 0 10px; }
.drawer-group__items[hidden] { display: none; }
.drawer-group__item { display: flex; align-items: center; gap: 12px; padding: 11px 20px; font-size: 14px; font-weight: 500; color: #4b5563; transition: background .12s, color .12s; text-decoration: none; }
.drawer-group__item:hover, .drawer-group__item--active { background: #eef4fb; color: var(--blue-dark); }
.drawer-group__item-icon { width: 30px; height: 30px; border-radius: 8px; background: #dbeafe; color: #2771A1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drawer-group__item--active .drawer-group__item-icon { background: #bfdbfe; color: var(--blue-dark); }
.drawer-group__item-more { display: block; padding: 10px 20px 4px 62px; font-size: 13px; font-weight: 700; color: #2771A1; transition: color .12s; text-decoration: none; }
.drawer-group__item-more:hover { color: var(--blue-dark); }

/* Phone CTA inside drawer links */
.drawer-phone-cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 20px 28px; padding: 15px 20px; background: #013F7C; color: #fff; border-radius: 12px; font-family: var(--font-head); font-size: 15px; font-weight: 700; transition: background .15s; text-decoration: none; border: none; cursor: pointer; width: calc(100% - 40px); }
.drawer-phone-cta:hover { background: #022f5c; }

/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero-wrapper { display: block; }
.hero-section { position: relative; overflow: hidden; background: #fff; width: 100%; max-width: 100vw; }
.hero-track-wrap { position: relative; overflow: hidden; width: 100%; height: calc(100vh - 244px); min-height: 320px; }
.hero-track { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; overflow: hidden; opacity: 0; transition: opacity .7s ease; z-index: 0; pointer-events: none; }
.hero-slide--active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(12,36,64,.78) 40%, rgba(12,36,64,.2)); z-index: 1; }

.hero-content { position: relative; z-index: 2; padding: clamp(40px, 5vw, 72px) 0 clamp(60px, 8vw, 100px); width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }
.hero-badge__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.25; } }
.hero-title { font-size: clamp(30px, 5vw, 56px); color: #fff; line-height: 1.18; margin-bottom: 14px; max-width: 640px; }
.hero-desc { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.82); margin-bottom: 30px; max-width: 520px; line-height: 1.65; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-controls { display: flex; align-items: center; justify-content: space-between; position: absolute; bottom: clamp(24px, 4vw, 52px); left: 0; right: 0; padding: 0; z-index: 3; }
.hero-dots { display: flex; gap: 7px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hero-dot--active { background: #fff; transform: scale(1.35); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); transition: background .18s; }
.hero-arrow:hover { background: #fff; }

/* =============================================
   ACTION CARDS — float over hero
   ============================================= */

/* Section que contém os cards — presa no fundo do hero-wrapper */
.action-section {
  background: #fff;
  padding: 0 0 16px;
  flex-shrink: 0;
}

/* Os cards sobem com margem negativa sobre o hero — separados com gap */
.action-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
  margin-top: -24px;
  position: relative;
  z-index: 20;
}
.action-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #16345F; border-radius: 14px; border: none; box-shadow: none; transition: transform .18s, background .18s; min-width: 0; overflow: hidden; }
.action-card:hover { transform: translateY(-3px); background: #1a3e72; }
.action-card:hover .action-card__title { color: #fff; }
.action-card__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.action-card__icon--green { background: rgba(255,255,255,.15); color: #fff; }
.action-card__icon--blue { background: rgba(255,255,255,.15); color: #fff; }
.action-card__icon--red { background: rgba(255,255,255,.15); color: #fff; }
.action-card__body { flex: 1; min-width: 0; }
.action-card__title { font-family: var(--font-head); font-size: 16px; font-weight: 500; color: #fff; line-height: 24px; }
.action-card__sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 3px; line-height: 1.4; }
.action-card__chevron { flex-shrink: 0; color: rgba(255,255,255,.5); transition: color .15s, transform .15s; }
.action-card__chevron--red { color: rgba(255,255,255,.5); opacity: 1; }
.action-card:hover .action-card__chevron { color: #fff; transform: translateX(2px); }
.action-card:hover .action-card__chevron--red { color: #fff; opacity: 1; }

/* =============================================
   SECURITY NOTICE
   ============================================= */
.security-notice { padding: 20px 0 14px; }
#hospital.section { padding-top: 20px; }
.security-notice__inner { display: flex; align-items: flex-start; gap: 12px; background: #DBEAFE; border-radius: 12px; padding: 16px 20px; }
.security-notice__icon { flex-shrink: 0; color: #1D4ED8; margin-top: 1px; }
.security-notice__text { margin: 0; font-size: 16px; line-height: 24px; color: #1E3A5F; font-family: 'Inter'; }
.security-notice__text strong { font-weight: 600; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-media { width: 100%; }
.about-video-wrap { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.about-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* YouTube thumbnail + play button */
.yt-thumb-wrap { cursor: pointer; }
.yt-thumb-img { object-fit: cover; transition: transform .4s; }
.yt-thumb-wrap:hover .yt-thumb-img { transform: scale(1.04); }
.yt-thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); transition: background .2s; }
.yt-thumb-wrap:hover .yt-thumb-play { background: rgba(0,0,0,.1); }
.yt-thumb-play__btn { width: 72px; height: 72px; background: rgba(255,255,255,.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.4); transition: transform .2s, background .2s; }
.yt-thumb-play__btn svg { margin-left: 4px; fill: #111; }
.yt-thumb-wrap:hover .yt-thumb-play__btn { transform: scale(1.12); background: #fff; }

/* YouTube modal lightbox */
.yt-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.yt-modal[hidden] { display: none; }
.yt-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); }
.yt-modal__wrap { position: relative; z-index: 1; width: 92vw; max-width: 1100px; }
.yt-modal__close { position: absolute; top: -46px; right: 0; background: rgba(255,255,255,.15); border: none; color: #fff; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.yt-modal__close:hover { background: rgba(255,255,255,.3); }
.yt-modal__box { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.yt-modal__player { width: 100%; height: 100%; background: #000; }
.yt-modal__player iframe { width: 100%; height: 100%; border: none; display: block; }
.yt-modal__notice { display: none; }
.about-image { border-radius: 16px; overflow: hidden; background: var(--blue-light); min-height: 400px; position: relative; display: flex; align-items: flex-end; }
.about-image__label { position: absolute; top: 16px; left: 16px; background: rgba(1,63,124,.85); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; }
.about-badge { position: absolute; bottom: 16px; left: 16px; right: 16px; background: rgba(255,255,255,.96); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.about-badge__icon { width: 40px; height: 40px; background: var(--blue-light); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.about-badge__title { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.about-badge__sub { font-size: 12px; color: var(--gray-400); }
.about-content { display: flex; flex-direction: column; gap: 16px; }
.about-content .section-eyebrow { color: #16345F; }
.about-content .section-text { color: #1f2937; font-size: 15px; line-height: 25px; font-weight: 400; }
.check-list { display: flex; flex-direction: column; gap: 8px; padding: 0; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gray-800); }
.check-list li::before { content: ''; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #16345F; border: none; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

.about-cards { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 6px; }
.about-card { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; background: #fff; border: 1.5px solid #dbe8f4; border-radius: 12px; box-shadow: 0 1px 4px rgba(1,63,124,.04); transition: box-shadow .2s, border-color .2s; }
.about-card:hover { border-color: #b6cfe8; box-shadow: 0 2px 8px rgba(1,63,124,.07); }
.about-card__icon { width: 38px; height: 38px; border-radius: 10px; background: #eef4fd; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #013F7C; }
.about-card__icon svg { width: 18px; height: 18px; }
.about-card__body { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.about-card__title { font-size: 13px; font-weight: 700; color: #16345F; margin: 0; line-height: 1.35; }
.about-card__desc { font-size: 12px; color: #6b7280; margin: 0; line-height: 1.45; }

/* =============================================
   SPECIALTIES
   ============================================= */
.search-bar { display: flex; align-items: center; gap: 12px; background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 8px 16px; margin-bottom: 28px; max-width: 560px; }
.search-bar input { flex: 1; border: none; background: none; font-family: var(--font-body); font-size: 14px; color: var(--gray-800); outline: none; }
.search-bar input::placeholder { color: var(--gray-400); }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px; border: 1.5px solid var(--gray-200); border-radius: 12px; background: #fff; transition: border-color .16s, box-shadow .16s, transform .16s; }
.spec-card:hover { border-color: var(--blue); box-shadow: 0 6px 22px rgba(1,63,124,.11); transform: translateY(-3px); }
.spec-card--all { background: var(--gray-50); border-style: dashed; }
.spec-card--all:hover { background: var(--blue-light); }
.spec-card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.spec-card__icon--ghost { background: var(--gray-100); color: var(--gray-400); }
.spec-card__name { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--blue-dark); line-height: 1.3; }
.spec-card__link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--blue); margin-top: auto; }
.spec-card__link--light { color: var(--gray-400); }

/* =============================================
   SERVICE BANNERS
   ============================================= */
.banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 14px; overflow: hidden; }
.service-banner { position: relative; min-height: 340px; display: flex; align-items: flex-end; }
.service-banner__overlay { position: absolute; inset: 0; z-index: 1; }
.service-banner--blue { background: linear-gradient(135deg, #0c2440 0%, var(--blue) 100%); }
.service-banner--blue .service-banner__overlay { background: linear-gradient(180deg, rgba(12,36,64,.3) 0%, rgba(12,36,64,.9) 100%); }
.service-banner--teal { background: linear-gradient(135deg, #164e63 0%, var(--teal) 100%); }
.service-banner--teal .service-banner__overlay { background: linear-gradient(180deg, rgba(8,90,140,.3) 0%, rgba(8,90,140,.85) 100%); }
.service-banner__body { position: relative; z-index: 2; padding: 36px 32px; }
.service-banner__body h2 { font-family: var(--font-head); font-size: 24px; color: #fff; margin: 10px 0 8px; }
.service-banner__body p { color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.badge--red { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.badge--ghost { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.25); }
.badge__dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: blink 1.5s infinite; }

/* =============================================
   SERVICE CARDS GRID (svc-grid-section)
   ============================================= */
.svc-grid-section { background: #16345F url('/public/images/bg-servicos.png') center/cover no-repeat; padding: 64px 0; }
.svc-grid-head { text-align: center; margin-bottom: 40px; }
.svc-grid-head .section-eyebrow { color: #7CBEFF; }
.svc-grid-title { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 4px 0 12px; }
.svc-grid-sub { color: rgba(255,255,255,.65); font-size: 15px; margin: 0 auto; max-width: 520px; line-height: 1.7; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 24px rgba(0,0,0,.12); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.svc-card__img-wrap { position: relative; height: 200px; overflow: hidden; flex-shrink: 0; }
.svc-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.svc-card:hover .svc-card__img-wrap img { transform: scale(1.04); }
.svc-card__img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #0c2440 0%, #1a6ebd 100%); }
.svc-card__body { padding: 22px 24px 20px; flex: 1; }
.svc-card__body h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--blue-dark); margin: 0 0 8px; line-height: 1.3; }
.svc-card__body p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin: 0; }
.svc-card__btn-bar { display: block; width: 100%; padding: 16px 24px; background: var(--blue-dark); color: #fff; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: background .2s; }
.svc-card__btn-bar:hover { background: #1a4d8a; color: #fff; }

/* =============================================
   NEWS GRID
   ============================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--gray-200); background: #fff; transition: box-shadow .16s, transform .16s; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-light) 0%, #bfdbfe 100%); }
.news-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.news-card__cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.news-card__title { font-family: var(--font-news); font-size: 16px; font-weight: 700; color: var(--blue-dark); line-height: 1.35; }
.page-hero--news .page-hero__title,
.page-hero--compact .page-hero__title { font-family: var(--font-news); font-weight: 800; }
.news-card__excerpt { font-size: 13px; color: var(--gray-600); line-height: 1.6; flex: 1; }
.news-card__link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.news-card__date { font-size: 12px; color: var(--gray-400); }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item__icon--blue { background: var(--blue-light); color: var(--blue); }
.contact-item__icon--green { background: #dcfce7; color: #16a34a; }
.contact-item__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 2px; }
.contact-item__text { font-size: 15px; color: var(--gray-800); line-height: 1.6; }
.contact-item__phone { font-size: 17px; font-weight: 800; color: var(--blue); }

.map-placeholder { position: relative; border-radius: 14px; overflow: hidden; background: #fff; min-height: 340px; display: flex; align-items: stretch; }
.map-placeholder iframe { width: 100%; min-height: 340px; border: 0; display: block; flex: 1; }
.map-placeholder__inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; text-align: center; }
.map-placeholder__icon { width: 56px; height: 56px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.map-lazy-ph { position: absolute; inset: 0; z-index: 1; transition: opacity .5s; pointer-events: none; }

/* =============================================
   CONTACT CTA
   ============================================= */
.contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); padding: 72px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -8%; top: -35%; width: 480px; height: 480px; background: rgba(255,255,255,.04); border-radius: 50%; pointer-events: none; }
.page-hero--compact { padding: 48px 0; }
.page-hero--red { background: linear-gradient(135deg, #7f1d1d 0%, var(--red) 100%); }
.page-hero--teal { background: linear-gradient(135deg, #164e63 0%, var(--teal) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.page-hero__title { font-size: clamp(28px, 4.2vw, 48px); color: #fff; margin-bottom: 12px; }
.page-hero__sub { font-size: 17px; color: rgba(255,255,255,.75); max-width: 520px; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .14s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* =============================================
   VALUES GRID
   ============================================= */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { border-radius: 12px; padding: 28px 20px; text-align: center; background: #fff; border: 1.5px solid var(--gray-100); }
.value-card__icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.value-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* =============================================
   DOCTORS GRID
   ============================================= */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doctor-card { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--gray-100); background: #fff; transition: box-shadow .16s; }
.doctor-card:hover { box-shadow: var(--shadow); }
.doctor-card__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--gray-100); }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card__initials { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-light) 0%, #bfdbfe 100%); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--blue); }
.doctor-card__body { padding: 16px; text-align: center; }
.doctor-card__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.doctor-card__spec { font-size: 12px; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.doctor-card__crm { font-size: 11px; color: var(--gray-400); }

/* =============================================
   CONVENIOS GRID
   ============================================= */
.convenios-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.convenio-card { border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 18px 14px; display: flex; align-items: center; justify-content: center; background: #fff; min-height: 90px; transition: border-color .16s, box-shadow .16s; }
.convenio-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.convenio-card img { max-height: 48px; max-width: 100%; object-fit: contain; }
.convenio-card__name { font-size: 14px; font-weight: 600; color: var(--gray-800); text-align: center; }

/* =============================================
   JOBS
   ============================================= */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1.5px solid var(--gray-200); border-radius: 12px; background: #fff; transition: border-color .16s, box-shadow .16s; }
.job-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.job-card__title { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--blue-dark); margin-bottom: 7px; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--gray-600); }
.job-card__meta span { display: flex; align-items: center; gap: 5px; }
.job-card__desc { font-size: 13px; color: var(--gray-600); margin-top: 10px; line-height: 1.5; }
.job-card__action { flex-shrink: 0; }
.job-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); }
.job-hero-meta span { display: flex; align-items: center; gap: 6px; }

/* =============================================
   FORMS (public)
   ============================================= */
.form-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: 14px; padding: 28px; }
.form-card--sticky { position: sticky; top: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px; font-family: var(--font-body); font-size: 14px; color: var(--gray-800); background: #fff; transition: border-color .18s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1,63,124,.09); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-help { font-size: 12px; color: var(--gray-400); }

/* =============================================
   ARTICLE / RICH TEXT
   ============================================= */
.article-hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; margin-bottom: 30px; }
.article-meta { display: flex; gap: 18px; color: rgba(255,255,255,.6); font-size: 13px; margin-top: 10px; flex-wrap: wrap; }
.article-lead { font-size: 18px; line-height: 1.72; color: var(--gray-600); border-left: 4px solid var(--blue); padding-left: 20px; margin-bottom: 28px; }
.rich-text { font-size: 16px; line-height: 1.78; color: var(--gray-800); }
.rich-text h2 { font-size: 22px; color: var(--blue-dark); margin: 30px 0 12px; }
.rich-text h3 { font-size: 18px; color: var(--blue-dark); margin: 22px 0 10px; }
.rich-text p { margin-bottom: 16px; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin-bottom: 16px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 6px; }
.rich-text a { color: var(--blue); text-decoration: underline; }
.rich-text img { border-radius: 10px; margin: 18px 0; }
.rich-text-block { margin-bottom: 28px; }
.rich-text-block h2 { font-size: 20px; color: var(--blue-dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-100); }

.article-cta { background: var(--blue-light); border-radius: 12px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 36px 0; }
.article-cta strong { font-family: var(--font-head); font-size: 16px; color: var(--blue-dark); }
.article-share { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-600); }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; }
.share-btn--fb { background: #1877f2; color: #fff; }
.share-btn--wa { background: var(--green); color: #fff; }

/* =============================================
   CATEGORY FILTERS
   ============================================= */
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-filter { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--gray-200); color: var(--gray-600); background: #fff; transition: all .16s; cursor: pointer; text-decoration: none; }
.cat-filter:hover { border-color: var(--blue); color: var(--blue); }
.cat-filter--active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =============================================
   PAGINATION
   ============================================= */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--gray-200); color: var(--gray-800); transition: all .16s; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination span { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =============================================
   INFO BANNER / PORTAL CARD
   ============================================= */
.info-banner { background: var(--blue-light); border-radius: 12px; padding: 22px 26px; display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.info-banner__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.info-banner__title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.info-banner__text { font-size: 14px; color: var(--gray-600); }

.portal-card { border: 2px solid var(--blue); border-radius: 16px; padding: 40px; text-align: center; max-width: 460px; margin: 0 auto; }
.portal-card__icon { width: 68px; height: 68px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin: 0 auto 18px; }
.portal-card__title { font-family: var(--font-head); font-size: 22px; color: var(--blue-dark); margin-bottom: 10px; }
.portal-card__text { font-size: 15px; color: var(--gray-600); margin-bottom: 24px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 48px; }

.footer-logo { margin-bottom: 16px; }
.footer-logo__img { height: 48px; max-width: 240px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.footer-logo__img--custom { filter: none; opacity: 1; }
.footer-about { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.68; margin-bottom: 16px; }
.footer-phone { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social__link { width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: border-color .16s, color .16s, background .16s; }
.footer-social__link:hover { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.footer-col__title { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .14s; }
.footer-links a:hover { color: #fff; }
.footer-address { display: flex; flex-direction: column; gap: 7px; }
.footer-address span { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.4); }

/* =============================================
   POLÍTICA DE PRIVACIDADE
   ============================================= */
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content h2 { font-size: 18px; font-weight: 700; color: var(--blue-dark); margin: 32px 0 10px; }
.privacy-content p { font-size: 15px; line-height: 1.75; color: #374151; margin-bottom: 14px; }
.privacy-content ul { padding-left: 20px; margin-bottom: 14px; }
.privacy-content ul li { font-size: 15px; line-height: 1.75; color: #374151; margin-bottom: 6px; }
.privacy-content a { color: var(--blue); text-decoration: underline; }
.privacy-updated { font-size: 13px; color: #9ca3af; margin-bottom: 28px; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float { position: fixed; bottom: 26px; right: 26px; z-index: 300; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); box-shadow: none; transition: transform .18s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: none; }

/* =============================================
   MOBILE STICKY CTA BAR
   ============================================= */
.mobile-cta-bar { display: none; position: fixed; bottom: 10px; left: 50%; right: auto; transform: translateX(-50%); z-index: 350; background: #013F7C; color: #fff; text-align: center; font-family: var(--font-head); font-size: 15px; font-weight: 700; padding: 14px 48px; letter-spacing: .01em; text-decoration: none; border: none; width: auto; min-width: 260px; border-radius: 50px; cursor: pointer; transition: background .15s; white-space: nowrap; }
.mobile-cta-bar:hover { background: #022f5c; color: #fff; }

/* AGENDAMENTO BOTTOM SHEET */
.agend-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 410; opacity: 0; pointer-events: none; transition: opacity .25s; }
.agend-overlay--show { opacity: 1; pointer-events: all; }

.agend-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 420; background: #fff; border-radius: 20px 20px 0 0; padding: 12px 24px 28px; box-shadow: 0 -8px 32px rgba(0,0,0,.18); transform: translateY(110%); transition: transform .3s cubic-bezier(.4,0,.2,1); max-height: 85vh; overflow-y: auto; }
.agend-sheet--open { transform: translateY(0); }

.agend-sheet__handle { width: 40px; height: 4px; background: var(--gray-200); border-radius: 4px; margin: 0 auto 16px; }
.agend-sheet__close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: var(--gray-600); padding: 6px; border-radius: 8px; }
.agend-sheet__close:hover { background: var(--gray-100); }

.agend-sheet__title { font-size: 19px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; padding-right: 30px; }
.agend-sheet__desc { font-size: 14px; line-height: 1.55; color: var(--gray-600); margin-bottom: 22px; }

.agend-sheet__options { display: flex; flex-direction: column; gap: 12px; }
.agend-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--gray-100); border-radius: 12px; transition: border-color .15s, background .15s; text-decoration: none; }
.agend-option:hover { border-color: #013F7C; background: #f5f9fd; }
.agend-option__icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.agend-option__icon--green { background: #e7faef; color: #1a8a4a; }
.agend-option__icon--blue { background: #e9f1fb; color: #013F7C; }
.agend-option__label { flex: 1; font-size: 15px; font-weight: 600; color: var(--gray-800); }
.agend-option__chevron { color: var(--gray-400); flex-shrink: 0; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner { position: fixed; bottom: 28px; left: 28px; z-index: 490; width: calc(100% - 56px); max-width: 480px; transform: translateY(120%); opacity: 0; pointer-events: none; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
.cookie-banner--show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-card { position: relative; background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 10px rgba(0,0,0,.07); padding: 22px 22px 18px; border: 1px solid rgba(0,0,0,.06); }
.cookie-card__close { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; border: none; background: var(--gray-100); color: var(--gray-500); cursor: pointer; transition: background .15s, color .15s; }
.cookie-card__close:hover { background: var(--gray-200); color: var(--gray-800); }
.cookie-card__title { font-size: 15px; font-weight: 700; color: #111827; font-family: var(--font-head); margin-bottom: 8px; padding-right: 28px; }
.cookie-card__desc { font-size: 13px; color: #6b7280; line-height: 1.65; margin-bottom: 18px; }
.cookie-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cookie-card__btns { display: flex; gap: 8px; }
.cookie-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.cookie-btn--link { background: none; border: none; color: #374151; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.cookie-btn--link:hover { color: #16345F; }
.cookie-btn--outline { background: #fff; border: 1.5px solid #d1d5db; color: #374151; }
.cookie-btn--outline:hover { border-color: #9ca3af; background: #f9fafb; }
.cookie-btn--solid { background: #16345F; border: none; color: #fff; }
.cookie-btn--solid:hover { background: #0f2444; }
.cookie-badge { width: 44px; height: 44px; background: #16345F; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 10px; box-shadow: 0 4px 12px rgba(22,52,95,.35); }
@media (max-width: 520px) {
  .cookie-banner { left: 16px; bottom: 16px; width: calc(100% - 32px); }
  .cookie-card__actions { flex-direction: column; align-items: stretch; }
  .cookie-card__btns { flex-direction: column; }
  .cookie-btn { width: 100%; }
}

/* =============================================
   ALERTS
   ============================================= */
.alert { padding: 13px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.alert--success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert--error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* =============================================
   404
   ============================================= */
.error-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.error-404__number { font-size: clamp(80px,15vw,140px); font-weight: 900; color: var(--blue-light); line-height: 1; font-family: var(--font-head); }
.error-404__title { font-size: 28px; color: var(--blue-dark); margin-bottom: 12px; }
.error-404__text { color: var(--gray-600); margin-bottom: 30px; }

/* =============================================
   RESPONSIVE — COLLAPSE NAV (≤1200px)
   ============================================= */
@media (max-width: 1200px) {
  .site-nav { display: none; }
  .site-header__inner { gap: 0; }
  .nav-search-btn { margin-left: auto; margin-right: -6px; width: 44px; height: 44px; color: #013F7C; }
  .nav-search-btn svg { width: 24px; height: 24px; }
  .burger { display: flex; width: 64px; height: 64px; padding: 14px; margin-right: -14px; }
  .burger svg { width: 36px; height: 36px; }
  .drawer-group__item-icon { display: none; }
  .drawer-group__item-more { padding-left: 20px; }
}

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  .section { padding: 40px 0; }
  .svc-grid-section { padding: 48px 0; }

  .page-hero { padding: 52px 0; }
  .page-hero--compact { padding: 32px 0; }
  .page-hero__sub { font-size: 16px; }

  .hero-track-wrap { max-height: 50vh; }
  .action-cards { grid-template-columns: repeat(2, 1fr); margin-top: 12px; gap: 12px; }
  .action-section { padding: 0 0 20px; }
  .action-card__title { font-size: 15px; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-image { min-height: 280px; }

  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .convenios-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .banner-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .exam-grid { grid-template-columns: 1fr; }
  .exam-sidebar { position: static; }

  .form-row { grid-template-columns: 1fr; }

  .job-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .job-card__action { width: 100%; }
  .job-card__action .btn { width: 100%; justify-content: center; }
}

/* =============================================
   RESPONSIVE — MEDIUM TABLET (≤768px)
   ============================================= */
@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .svc-grid-section { padding: 40px 0; }

  .page-hero { padding: 44px 0; }
  .page-hero--compact { padding: 28px 0; }
  .page-hero__title { font-size: clamp(24px, 5.5vw, 36px); }
  .page-hero__sub { font-size: 15px; }

  .action-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -12px; }
  .action-card { padding: 14px 14px; gap: 10px; }
  .action-card__icon { width: 40px; height: 40px; border-radius: 10px; }
  .action-card__title { font-size: 14px; line-height: 20px; }
  .action-card__sub { font-size: 11px; }
  .action-card__chevron { display: none; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc-card__body h3 { font-size: 17px; }

  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .convenios-grid { grid-template-columns: repeat(2, 1fr); }

  .about-content .section-text { font-size: 14px; line-height: 23px; }
  .check-list li { font-size: 14px; }

  .map-placeholder { min-height: 240px; }
  .map-placeholder iframe { min-height: 240px; }

  .section-head { margin-bottom: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .busca-item__link { flex-wrap: wrap; gap: 10px; }
  .busca-item__excerpt { display: none; }

  .service-banner { min-height: 260px; }
  .service-banner__body { padding: 24px 20px; }
  .service-banner__body h2 { font-size: 20px; }

  .exam-catalog { grid-template-columns: repeat(2, 1fr); }
  .exam-search-wrap { padding: 8px 14px; }

  .portal-card { padding: 28px 20px; }
  .portal-card__title { font-size: 20px; }

  .contact-cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .contact-cta .btn { width: 100%; justify-content: center; }

  .article-lead { font-size: 16px; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================= */
@media (max-width: 640px) {
  :root { --header-h: 60px; }

  .burger:hover { background: none; }
  .nav-search-btn:hover { background: none; color: #013F7C; }

  .util-bar { display: none; }
  .container { padding: 0 16px; }
  .section { padding: 32px 0; }
  .svc-grid-section { padding: 32px 0; }

  .page-hero { padding: 36px 0; }
  .page-hero--compact { padding: 24px 0; }
  .page-hero__title { font-size: clamp(22px, 6vw, 32px); }
  .page-hero__sub { font-size: 14px; }

  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 16px; }
  .section-title { margin-bottom: 10px; }

  .action-cards { grid-template-columns: 1fr 1fr; margin-top: -10px; gap: 8px; }
  .action-section { padding-top: 6px; }
  .action-card { padding: 12px; gap: 8px; border-radius: 10px; background: #fff; border: 1.5px solid #dbe8f4; box-shadow: 0 1px 3px rgba(1,63,124,.05); }
  .action-card:hover { background: #fff; transform: none; }
  .action-card:hover .action-card__title { color: #013F7C; }
  .action-card__body { min-width: 0; }
  .action-card__title { font-size: 14px; line-height: 19px; color: #013F7C; }
  .action-card__sub { font-size: 11px; color: #013F7C; opacity: .7; }
  .action-card__icon { background: #e9f1fb; color: #013F7C; }
  .action-card__chevron { color: #013F7C; opacity: .5; }
  .action-card__icon { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }

  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-track-wrap { height: 90vw !important; min-height: 300px; max-height: 560px; }
  .hero-slide { position: absolute; inset: 0; height: 100%; min-height: 0; }
  .hero-slide--active { position: absolute; }
  .hero-content { padding: 28px 0 36px; }
  .hero-controls { position: absolute; bottom: 10px; }
  .hero-arrows { display: flex; gap: 6px; }
  .hero-arrow { width: 32px; height: 32px; }
  .hero-title { margin-bottom: 10px; }
  .hero-desc { font-size: 14px; margin-bottom: 20px; }

  .svc-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-grid-title { font-size: 22px; }
  .svc-grid-sub { font-size: 14px; }
  .svc-card__img-wrap { height: 180px; }

  .about-image { min-height: 220px; }
  #hospital.section { padding: 16px 0 40px; }
  .security-notice { padding-bottom: 12px; }
  .about-grid { gap: 28px; }
  .about-content { gap: 16px; }
  .about-content .section-text { font-size: 14px; line-height: 22px; }
  .check-list li { font-size: 14px; }
  .check-list { gap: 6px; }

  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-card { padding: 16px 14px; }
  .spec-card__icon { width: 44px; height: 44px; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card__title { font-size: 15px; }

  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card { padding: 20px 14px; }

  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .convenios-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .footer-grid { padding: 36px 0 28px; }

  .contact-grid { gap: 20px; }
  .contact-info { gap: 14px; margin-top: 14px; }
  .contact-item__icon { width: 38px; height: 38px; }
  .contact-item__phone { font-size: 16px; }
  .contact-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-cta .btn { width: 100%; justify-content: center; }

  .article-cta { flex-direction: column; }
  .article-lead { font-size: 15px; padding-left: 14px; }
  .rich-text { font-size: 15px; }

  .security-notice__text { font-size: 14px; line-height: 1.55; }

  .job-card { padding: 16px; }
  .job-card__title { font-size: 15px; }

  .busca-item__link { flex-wrap: wrap; gap: 8px; }
  .busca-item__excerpt { display: none; }
  .busca-item__title { font-size: 15px; }

  .exam-catalog { grid-template-columns: 1fr; }
  .service-banner { min-height: 240px; }
  .service-banner__body { padding: 20px 18px; }
  .service-banner__body h2 { font-size: 19px; }

  .vaga-layout { grid-template-columns: 1fr !important; }
  .form-card--sticky { position: static; }
  .whatsapp-float { bottom: 74px; right: 16px; }
  .mobile-cta-bar { display: flex; align-items: center; justify-content: center; gap: 8px; }

  .about-card__title { font-weight: 600; }

  .yt-modal__wrap { width: 100vw; }
  .yt-modal__box { border-radius: 0; }
  .yt-modal__close { right: 8px; }
  .yt-modal__notice { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
}

/* =============================================
   HIGH CONTRAST
   ============================================= */
body.high-contrast { filter: contrast(1.45) brightness(1.05); }

/* =============================================
   ADDITIONAL / SUPPLEMENTARY CLASSES
   (from template scan)
   ============================================= */

/* btn-outline-primary — ghost outlined blue button */
.btn-outline-primary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 600; border: 2px solid var(--blue); color: var(--blue); background: transparent; transition: all .18s; }
.btn-outline-primary:hover { background: var(--blue); color: #fff; }

/* badge--red-solid — used on pronto-socorro */
.badge--red-solid { background: var(--red); color: #fff; border: none; }

/* Category filter — noticias.ejs uses .cat-filter + .cat-filter__item */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-filter__item { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--gray-200); color: var(--gray-600); background: #fff; transition: all .16s; cursor: pointer; text-decoration: none; }
.cat-filter__item:hover { border-color: var(--blue); color: var(--blue); }
.cat-filter__item--active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* news-card footer row */
.news-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--gray-100); }

/* Pagination — noticias.ejs */
.pagination__btn { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--gray-200); color: var(--gray-800); background: #fff; text-decoration: none; transition: all .16s; }
.pagination__btn:hover { border-color: var(--blue); color: var(--blue); }
.pagination__info { font-size: 14px; color: var(--gray-600); font-weight: 500; padding: 0 8px; }

/* Empty state */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 24px; text-align: center; color: var(--gray-600); font-size: 15px; }

/* spec-card description */
.spec-card__desc { font-size: 12px; color: var(--gray-400); line-height: 1.5; margin-top: 2px; }

/* spec-grid--full / news-grid--full — full-page variants use same grid */
.spec-grid--full { grid-template-columns: repeat(4, 1fr); }
.news-grid--full { grid-template-columns: repeat(3, 1fr); }

/* vaga layout helper */
.vaga-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }

@media (max-width: 1024px) {
  .spec-grid--full { grid-template-columns: repeat(3, 1fr); }
  .news-grid--full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .spec-grid--full { grid-template-columns: repeat(2, 1fr); }
  .news-grid--full { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE — SMALL PHONES (≤390px)
   ============================================= */
@media (max-width: 390px) {
  .section { padding: 28px 0; }
  .svc-grid-section { padding: 28px 0; }

  .action-cards { grid-template-columns: 1fr 1fr; margin-top: 0; gap: 6px; }
  .action-section { padding-top: 12px; }
  .action-card { padding: 12px 10px; gap: 8px; }
  .action-card__title { font-size: 12px; line-height: 16px; }
  .action-card__sub { display: none; }
  .action-card__icon { width: 32px; height: 32px; }

  .hero-title { font-size: 24px; }
  .hero-desc { font-size: 13px; }
  .btn { padding: 10px 16px; font-size: 13px; }

  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid--full { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { padding: 16px 12px; }

  .news-card { flex-direction: column; }
  .news-card__title { font-size: 14px; }

  .footer-grid { gap: 16px; }
  .site-logo__img { max-height: 36px; }
  .footer-grid { padding: 28px 0 20px; }
  .footer-bottom { font-size: 12px; }

  .page-hero { padding: 28px 0; }
  .page-hero--compact { padding: 20px 0; }
  .page-hero__title { font-size: 22px; }

  .contact-item__icon { width: 34px; height: 34px; }
}
