@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  --coral: #FA6670;
  --coral-dark: #e8535f;
  --blue: #319FD5;
  --navy: #1A2942;
  --light-bg: #F7F9FB;
  --border: #E5E7EB;
  --text: #333333;
  --text-muted: #4A5568;
  --text-soft: #718096;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1260px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5 { font-family: var(--font-heading); margin: 0; }
p { margin: 0; }
img { max-width: 100%; }

.page { flex: 1; }

.container { max-width: var(--container); margin: 0 auto; }
.container--narrow { max-width: 960px; margin: 0 auto; }
.container--form { max-width: 680px; margin: 0 auto; }

.section { padding: clamp(64px, 8vw, 100px) 24px; }
.section--tight { padding: clamp(56px, 7vw, 88px) 24px; }
.section--white { background: #fff; }
.section--light { background: var(--light-bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--coral {
  background: var(--coral);
  color: #fff;
  padding: 10px 20px;
  font-size: 12px;
}
.btn--coral:hover { background: var(--coral-dark); transform: translateY(-1px); }

.btn--coral-lg {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 15px 40px;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.btn--coral-lg:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(250, 102, 112, 0.31); }

.btn--hero {
  background: var(--coral);
  color: #fff;
  font-size: clamp(11px, 1.1vw, 13px);
  padding: 14px 28px;
}
.btn--hero:hover { background: var(--coral-dark); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-size: clamp(11px, 1.1vw, 13px);
  padding: 14px 28px;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.28); }

.btn--outline-coral {
  background: #fff;
  border: 2px solid var(--coral);
  color: var(--coral);
  border-radius: 10px;
  padding: 13px 30px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.btn--outline-coral:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250, 102, 112, 0.25);
}

.btn--pill-white {
  background: #fff;
  color: var(--blue);
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.btn--pill-white:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18); }

.btn--submit {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 16px 40px;
  font-size: 14px;
  letter-spacing: 0.1em;
  width: 100%;
}
.btn--submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(250, 102, 112, 0.31); }

.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 88px; width: auto; display: block; }
.logo { display: block; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }

.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #555;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--blue); background: #EEF7FD; }
.nav-link.is-active { color: var(--blue); background: #EEF7FD; }

.nav-divider { width: 1px; height: 24px; background: var(--border); margin: 0 8px; }

.nav-dropdown { position: relative; }
.nav-dropdown .chevron { transition: transform 0.2s; }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }
.nav-dropdown:hover > .nav-link { color: var(--blue); background: #EEF7FD; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  padding: 6px 0;
  min-width: 220px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; }

.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #444;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: #F0F9FF; color: var(--blue); }
.dropdown-item.is-active { background: #EEF7FD; color: var(--blue); }

.header-socials { display: flex; gap: 8px; margin-left: 8px; }
.header-socials a { color: #888; transition: color 0.2s; display: block; }
.header-socials a:hover { color: var(--coral); }
.header-socials a.facebook:hover { color: var(--blue); }

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: none;
  line-height: 0;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-close { display: block; }
.nav-toggle.is-open .icon-open { display: none; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  padding-bottom: 16px;
}
.nav-mobile.is-open { display: block; }

.mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #444;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
  text-decoration: none;
}

.mobile-link--toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-link--toggle .chevron { transition: transform 0.2s; }
.mobile-link--toggle.is-open .chevron { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  background: var(--light-bg);
  border-bottom: 1px solid #F3F4F6;
}
.mobile-submenu.is-open { display: block; }

.mobile-subitem {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #666;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid #EBEBEB;
  text-decoration: none;
}
.mobile-subitem:last-child { border-bottom: none; }
.mobile-subitem.is-active { color: var(--blue); }

.nav-mobile .btn { margin-top: 12px; padding: 12px 24px; font-size: 13px; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .logo img { height: 60px; }
}

/* ==========================================================================
   Shared decorative pieces
   ========================================================================== */

.accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--blue) 100%);
}

.eyebrow {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 20px;
  border-radius: 0 6px 6px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.eyebrow--coral { background: rgba(250, 102, 112, 0.08); border-left: 3px solid var(--coral); color: var(--coral); }
.eyebrow--blue { background: rgba(49, 159, 213, 0.07); border-left: 3px solid var(--blue); color: var(--blue); }

.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-heading__rule span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.14em;
}
.section-heading__rule i { height: 2px; width: 48px; display: block; }
.section-heading--blue .section-heading__rule span { color: var(--blue); }
.section-heading--blue .section-heading__rule i:first-child { background: linear-gradient(90deg, transparent, var(--blue)); }
.section-heading--blue .section-heading__rule i:last-child { background: linear-gradient(90deg, var(--blue), transparent); }
.section-heading--coral .section-heading__rule span { color: var(--coral); }
.section-heading--coral .section-heading__rule i:first-child { background: linear-gradient(90deg, transparent, var(--coral)); }
.section-heading--coral .section-heading__rule i:last-child { background: linear-gradient(90deg, var(--coral), transparent); }
.section-heading p { color: #888; font-size: 14px; }

.rule-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.rule-title i { width: 4px; height: 24px; border-radius: 2px; flex-shrink: 0; }
.rule-title h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--navy);
}
.rule-title--blue i { background: var(--blue); }
.rule-title--coral i { background: var(--coral); }

.gradient-divider {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--coral), var(--blue));
  margin-bottom: clamp(48px, 6vw, 72px);
}
.gradient-divider--thick { height: 4px; border-radius: 2px; margin-bottom: 3.5rem; }
.gradient-divider--reverse { background: linear-gradient(90deg, var(--blue), var(--coral)); }

/* ==========================================================================
   Home — hero
   ========================================================================== */

.hero { width: 100%; }

.hero__frame {
  position: relative;
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  overflow: hidden;
  background: var(--navy);
  box-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px 0, rgba(0, 0, 0, 0.25) 0 4px 4px 0 inset;
}
.hero__frame > img,
.hero__frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(49, 159, 213, 0.72) 0%, rgba(49, 159, 213, 0.28) 55%, transparent 100%);
}

.hero__content {
  position: absolute;
  top: 50%;
  left: clamp(24px, 8vw, 120px);
  transform: translateY(-50%);
  max-width: 560px;
}
.hero__eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(10px, 1.2vw, 13px);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 56px);
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.hero__text {
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Home — quem somos
   ========================================================================== */

.about-teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}

.about-teaser__figure { position: relative; }
.about-teaser__figure > div {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(49, 159, 213, 0.12);
  background: var(--light-bg);
}
.about-teaser__figure img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-teaser__figure::after,
.about-teaser__figure::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.about-teaser__figure::after {
  bottom: -16px; right: -16px; width: 80px; height: 80px;
  background: rgba(250, 102, 112, 0.09);
}
.about-teaser__figure::before {
  top: -16px; left: -16px; width: 60px; height: 60px;
  background: rgba(49, 159, 213, 0.08);
}

.about-teaser__title {
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}
.about-teaser__body {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
  max-width: 520px;
}

/* ==========================================================================
   Home — equipe carousel
   ========================================================================== */

.carousel { display: flex; align-items: center; gap: 24px; }

.carousel__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.carousel__arrow:hover { background: var(--blue); color: #fff; }

.carousel__track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.doctor-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(49, 159, 213, 0.09); }
.doctor-card.is-featured { border-color: rgba(49, 159, 213, 0.13); }

.doctor-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid rgba(250, 102, 112, 0.19);
  box-shadow: 0 0 0 6px rgba(250, 102, 112, 0.06);
}
.doctor-card.is-featured .doctor-card__photo {
  border-color: rgba(49, 159, 213, 0.19);
  box-shadow: 0 0 0 6px rgba(49, 159, 213, 0.06);
}
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.doctor-card h3 { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.doctor-card p { font-size: 12px; color: #888; letter-spacing: 0.04em; }
.doctor-card__accent {
  height: 3px;
  width: 40px;
  border-radius: 2px;
  background: var(--coral);
  margin: 16px auto 0;
}
.doctor-card.is-featured .doctor-card__accent { background: var(--blue); }

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: #D1E9F7;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, background 0.3s;
}
.carousel__dots button.is-active { width: 24px; background: var(--blue); }

@media (max-width: 640px) {
  .carousel { gap: 12px; }
  .carousel__arrow { width: 36px; height: 36px; }
}

/* ==========================================================================
   Home — doenças cards
   ========================================================================== */

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.specialty-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.specialty-card:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(49, 159, 213, 0.16);
}

.specialty-card__icon { font-size: 28px; margin-bottom: 12px; }
.specialty-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}
.specialty-card__label i {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: var(--coral);
  flex-shrink: 0;
  transition: background 0.25s;
}
.specialty-card__label span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--navy);
  line-height: 1.3;
  text-align: left;
  transition: color 0.25s;
}
.specialty-card:hover .specialty-card__label i { background: rgba(255, 255, 255, 0.6); }
.specialty-card:hover .specialty-card__label span { color: #fff; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 52px);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.07);
  border: 1px solid #F0F2F5;
}

.form-grid { display: grid; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: #FAFCFF;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 159, 213, 0.09);
  background: #fff;
}
.field input.has-error,
.field textarea.has-error { border-color: var(--coral); }

.field__error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--coral);
}

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-feedback {
  text-align: center;
  padding: 40px 0;
}
.form-feedback__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(49, 159, 213, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-feedback h3 { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-feedback p { color: #888; font-size: 14px; }

.form-alert {
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
}
.form-alert--error {
  background: rgba(250, 102, 112, 0.08);
  border: 1.5px solid rgba(250, 102, 112, 0.25);
  color: #7A3038;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--blue);
  color: #fff;
  padding: clamp(48px, 6vw, 72px) 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 40px; width: auto; display: block; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; color: #fff; line-height: 1.7; max-width: 260px; }

.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-socials a svg { fill: var(--blue); transition: fill 0.2s; }
.footer-socials a:hover { background: var(--coral); }
.footer-socials a:hover svg { fill: #fff; }

.site-footer h4 {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-footer address {
  font-style: normal;
  font-size: 14px;
  color: #fff;
  line-height: 1.8;
}
.footer-phone { font-size: 14px; color: #fff; margin-bottom: 8px; font-weight: 500; }
.footer-mail { font-size: 14px; color: #fff; text-decoration: none; transition: opacity 0.2s; }
.footer-mail:hover { opacity: 0.7; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: #fff; }
.footer-bottom__marks { display: flex; }
.footer-bottom__marks i { width: 24px; height: 3px; display: block; }
.footer-bottom__marks i:first-child { border-radius: 2px 0 0 2px; background: var(--coral); }
.footer-bottom__marks i:last-child { border-radius: 0 2px 2px 0; background: var(--blue); }

/* ==========================================================================
   Interior page heroes
   ========================================================================== */

.page-hero {
  position: relative;
  width: 100%;
  height: clamp(260px, 40vw, 460px);
  overflow: hidden;
  background: var(--navy);
}
.page-hero > img,
.page-hero > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(49, 159, 213, 0.75) 0%, rgba(49, 159, 213, 0.2) 65%, transparent 100%);
}
.page-hero__content {
  position: absolute;
  top: 50%;
  left: clamp(24px, 8vw, 120px);
  transform: translateY(-50%);
  max-width: 620px;
}
.page-hero__title {
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 54px);
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.breadcrumb a,
.breadcrumb span { color: rgba(255, 255, 255, 0.6); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .is-current { color: var(--coral); font-weight: 700; }

/* Quem somos hero (photo, no darkening) */
.page-hero--about { background: #E8F4FB; height: clamp(280px, 46vw, 540px); }
.page-hero--about > img,
.page-hero--about > picture > img { opacity: 1; }
.page-hero--about .page-hero__overlay {
  background: linear-gradient(to right, rgba(49, 159, 213, 0.65) 0%, rgba(49, 159, 213, 0.15) 60%, transparent 100%);
}
.page-hero__eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ==========================================================================
   Quem somos
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-grid h2 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--blue);
  margin-bottom: 32px;
  line-height: 1.2;
}
.about-prose { display: flex; flex-direction: column; gap: 20px; }
.about-prose p { font-size: 15px; line-height: 1.85; color: var(--text-muted); }

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  background: rgba(49, 159, 213, 0.07);
  border: 1.5px solid rgba(49, 159, 213, 0.19);
  border-radius: 10px;
  padding: 12px 22px;
  text-decoration: none;
  color: var(--blue);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.video-link span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.video-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Modal do vídeo institucional. O iframe do YouTube só recebe "src" na
   abertura: carregar de antemao traria o player (e os cookies dele) em toda
   visita à página. */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
}
/* O atributo "hidden" precisa vencer o display:flex acima. */
.video-modal[hidden] { display: none; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.84);
}
.video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
}
/* Proporção 16:9 sem depender da altura do iframe. */
.video-modal__frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.video-modal__close:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }

/* Trava a rolagem do fundo enquanto o vídeo está aberto. */
body.has-modal { overflow: hidden; }

.about-sidebar { display: flex; flex-direction: column; gap: 28px; }

.stats-card {
  background: var(--blue);
  border-radius: 20px;
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stats-card div { text-align: center; }
.stats-card strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stats-card span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}

.value-list { display: flex; flex-direction: column; gap: 16px; }
.value-item {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.value-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}
.value-item p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

.value-item--coral .value-item__icon { background: rgba(250, 102, 112, 0.07); }
.value-item--coral:hover {
  background: #fff;
  border-color: rgba(250, 102, 112, 0.25);
  box-shadow: 0 6px 24px rgba(250, 102, 112, 0.08);
}
.value-item--blue .value-item__icon { background: rgba(49, 159, 213, 0.07); }
.value-item--blue:hover {
  background: #fff;
  border-color: rgba(49, 159, 213, 0.25);
  box-shadow: 0 6px 24px rgba(49, 159, 213, 0.08);
}

.cta-banner {
  background: #43ACE0;
  padding: clamp(48px, 6vw, 72px) 24px;
  text-align: center;
}
.cta-banner__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cta-banner__mark i { width: 32px; height: 2px; background: var(--coral); border-radius: 1px; display: block; }
.cta-banner h2 {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-banner p { color: #fff; font-size: 15px; line-height: 1.7; margin-bottom: 32px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Equipe page
   ========================================================================== */

/* A página de equipe usa o mesmo hero com foto das demais páginas internas
   (.page-hero--about); aqui fica só a chamada de texto acima da grade. */
.team-intro {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.member-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1.5px solid #F0F2F5;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
}
.member-card:hover { transform: translateY(-5px); }
.member-card--blue:hover { box-shadow: 0 16px 48px rgba(49, 159, 213, 0.09); border-color: rgba(49, 159, 213, 0.19); }
.member-card--coral:hover { box-shadow: 0 16px 48px rgba(250, 102, 112, 0.09); border-color: rgba(250, 102, 112, 0.19); }

.member-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.member-card--blue .member-card__photo { border: 3px solid rgba(49, 159, 213, 0.15); box-shadow: 0 0 0 6px rgba(49, 159, 213, 0.06); }
.member-card--coral .member-card__photo { border: 3px solid rgba(250, 102, 112, 0.15); box-shadow: 0 0 0 6px rgba(250, 102, 112, 0.06); }
.member-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.member-card h3 {
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}

.member-card__crm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.member-card__crm i { width: 5px; height: 5px; border-radius: 50%; display: block; }
.member-card--blue .member-card__crm { background: rgba(49, 159, 213, 0.07); color: var(--blue); }
.member-card--blue .member-card__crm i { background: var(--blue); }
.member-card--coral .member-card__crm { background: rgba(250, 102, 112, 0.07); color: var(--coral); }
.member-card--coral .member-card__crm i { background: var(--coral); }

.member-card__divider { width: 32px; height: 2px; border-radius: 1px; margin-bottom: 16px; }
.member-card--blue .member-card__divider { background: var(--blue); }
.member-card--coral .member-card__divider { background: var(--coral); }

.member-card__bio { font-size: 13px; line-height: 1.75; color: #6B7280; flex-grow: 1; }
.member-card__bio .bio-full { display: none; }
.member-card.is-expanded .bio-full { display: inline; }
.member-card.is-expanded .bio-short { display: none; }

.member-card__toggle {
  margin-top: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.member-card--blue .member-card__toggle { color: var(--blue); }
.member-card--coral .member-card__toggle { color: var(--coral); }
.member-card__toggle svg { transition: transform 0.2s; }
.member-card.is-expanded .member-card__toggle svg { transform: rotate(180deg); }
.member-card__toggle .label-less { display: none; }
.member-card.is-expanded .label-less { display: inline; }
.member-card.is-expanded .label-more { display: none; }

.cta-strip {
  background: var(--blue);
  padding: clamp(48px, 6vw, 72px) 24px;
  text-align: center;
}
.cta-strip h2 {
  font-weight: 800;
  font-size: clamp(20px, 3vw, 30px);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-strip p { color: rgba(255, 255, 255, 0.85); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }

/* ==========================================================================
   Contato page
   ========================================================================== */

.contact-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 420px;
}
.contact-split__photo { line-height: 0; overflow: hidden; background: #F0F4F8; }
.contact-split__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-split__form {
  background: #fff;
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-split__form h2 {
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--blue);
  margin-bottom: 8px;
}
.contact-split__form > p { color: #888; font-size: 14px; margin-bottom: 32px; }
.contact-split__form .form-grid { gap: 14px; }
.contact-split__form .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.contact-info__card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--blue);
}
.contact-info__card:nth-child(even) { border-top-color: var(--coral); }
.contact-info__card h3 {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.contact-info__card p,
.contact-info__card address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-info__card a { color: var(--blue); text-decoration: none; }
.contact-info__card a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-split__form .form-row { grid-template-columns: 1fr; }
  .contact-split__photo { max-height: 280px; }
}

/* ==========================================================================
   Doença pages — shared
   ========================================================================== */

.split-3-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 80px);
}
.split-3-2--tight { gap: clamp(32px, 5vw, 64px); margin-bottom: 48px; }

.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }

.prose p { font-size: 15px; line-height: 1.9; color: var(--text-muted); }
.prose-15 p { font-size: 15px; line-height: 1.85; color: var(--text-muted); margin: 0 0 14px; }
.prose-15 p:last-child { margin-bottom: 0; }

.subject-title {
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 28px;
  line-height: 1.2;
}
.subject-title--coral { color: var(--coral); }
.subject-title--blue { color: var(--blue); }

.section-title {
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 28px;
  padding-bottom: 12px;
}
.section-title--coral { color: var(--coral); border-bottom: 2px solid rgba(250, 102, 112, 0.13); }
.section-title--blue { color: var(--blue); border-bottom: 2px solid rgba(49, 159, 213, 0.13); }

.sub-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin: 24px 0 10px;
}
.sub-title:first-child { margin-top: 0; }

.alert-card {
  background: rgba(250, 102, 112, 0.06);
  border: 2px solid rgba(250, 102, 112, 0.15);
  border-radius: 16px;
  padding: 24px 22px;
}
.alert-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.alert-card__head i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(250, 102, 112, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-card__head span { font-family: var(--font-heading); font-weight: 800; font-size: 14px; color: var(--coral); }
.alert-card p { font-size: 13px; color: #7A3038; line-height: 1.7; }

.alert-inline {
  background: rgba(250, 102, 112, 0.06);
  border: 1.5px solid rgba(250, 102, 112, 0.19);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.alert-inline svg { flex-shrink: 0; margin-top: 2px; }
.alert-inline strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--coral);
  margin-bottom: 6px;
}
.alert-inline p { font-size: 13px; color: #7A3038; line-height: 1.65; }

.checklist-card { background: var(--light-bg); border-radius: 16px; padding: 22px 20px; }
.checklist-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 16px;
}
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist__item { display: flex; align-items: center; gap: 12px; }
.checklist__item i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checklist__item.is-blue i { background: rgba(49, 159, 213, 0.07); }
.checklist__item.is-coral i { background: rgba(250, 102, 112, 0.07); }
.checklist__item span { font-size: 13px; color: var(--text-muted); font-weight: 500; line-height: 1.4; }

.quote-banner {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: clamp(160px, 22vw, 240px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.quote-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.quote-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(49, 159, 213, 0.8) 0%, rgba(49, 159, 213, 0.6) 50%, transparent 100%);
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
}
.quote-banner__overlay p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(14px, 2vw, 20px);
  color: #fff;
  line-height: 1.5;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.cta-card {
  background: var(--blue);
  border-radius: 20px;
  padding: clamp(36px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-card h3 {
  font-weight: 800;
  font-size: clamp(18px, 2.5vw, 26px);
  color: #fff;
  margin: 0 0 8px;
}
.cta-card p { color: #fff; font-size: 14px; line-height: 1.6; }
.cta-card .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 860px) {
  .split-3-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Angiologia clínica — stages
   ========================================================================== */

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stage-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.stage-card--blue { border: 2px solid rgba(49, 159, 213, 0.13); }
.stage-card--coral { border: 2px solid rgba(250, 102, 112, 0.13); }
.stage-card:hover { transform: translateY(-5px); }
.stage-card--blue:hover { box-shadow: 0 14px 40px rgba(49, 159, 213, 0.13); }
.stage-card--coral:hover { box-shadow: 0 14px 40px rgba(250, 102, 112, 0.13); }

.stage-card__watermark {
  position: absolute;
  top: -8px;
  right: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.stage-card--blue .stage-card__watermark { color: rgba(49, 159, 213, 0.04); }
.stage-card--coral .stage-card__watermark { color: rgba(250, 102, 112, 0.04); }

.stage-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.stage-card--blue .stage-card__badge { background: rgba(49, 159, 213, 0.08); color: var(--blue); }
.stage-card--coral .stage-card__badge { background: rgba(250, 102, 112, 0.08); color: var(--coral); }

.stage-card h3 { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.stage-card p { font-size: 13px; color: var(--text-soft); line-height: 1.65; }

/* ==========================================================================
   Doenças venosas
   ========================================================================== */

.symptom-card {
  background: rgba(250, 102, 112, 0.06);
  border: 1.5px solid rgba(250, 102, 112, 0.15);
  border-radius: 14px;
  padding: 18px 20px;
}
.symptom-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.symptom-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.symptom-card ul { list-style: none; margin: 0; padding: 0; }
.symptom-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

.media-frame { border-radius: 16px; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--240 { height: 240px; }
.media-frame--300 { height: 300px; }

.factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.factor-card {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.factor-card:hover { background: #fff; transform: translateY(-2px); }
.factor-card--blue:hover { border-color: rgba(49, 159, 213, 0.21); box-shadow: 0 6px 20px rgba(49, 159, 213, 0.08); }
.factor-card--coral:hover { border-color: rgba(250, 102, 112, 0.21); box-shadow: 0 6px 20px rgba(250, 102, 112, 0.08); }
.factor-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.factor-card__num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.factor-card--blue .factor-card__num { background: rgba(49, 159, 213, 0.09); color: var(--blue); }
.factor-card--coral .factor-card__num { background: rgba(250, 102, 112, 0.09); color: var(--coral); }
.factor-card__head span:last-child { font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--navy); }
.factor-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion__item {
  border-radius: 14px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.accordion__trigger {
  width: 100%;
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s;
}
.accordion__trigger > div { display: flex; align-items: center; gap: 12px; }
.accordion__trigger .emoji { font-size: 20px; }
.accordion__trigger .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.accordion__trigger svg { flex-shrink: 0; transition: transform 0.25s; }
.accordion__panel { display: none; padding: 4px 20px 20px; }
.accordion__panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.accordion__panel li { display: flex; gap: 10px; align-items: flex-start; }
.accordion__panel li svg { flex-shrink: 0; margin-top: 2px; }
.accordion__panel li span { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.accordion__item.is-open .accordion__panel { display: block; }
.accordion__item.is-open .accordion__trigger svg { transform: rotate(180deg); }

.accordion__item--blue.is-open { border-color: rgba(49, 159, 213, 0.25); }
.accordion__item--blue.is-open .accordion__trigger { background: rgba(49, 159, 213, 0.03); }
.accordion__item--blue.is-open .accordion__trigger .title { color: var(--blue); }
.accordion__item--blue .accordion__panel { background: rgba(49, 159, 213, 0.02); }

.accordion__item--coral.is-open { border-color: rgba(250, 102, 112, 0.25); }
.accordion__item--coral.is-open .accordion__trigger { background: rgba(250, 102, 112, 0.03); }
.accordion__item--coral.is-open .accordion__trigger .title { color: var(--coral); }
.accordion__item--coral .accordion__panel { background: rgba(250, 102, 112, 0.02); }

.callout-blue {
  background: #F0F8FE;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 24px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.risk-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--light-bg);
  border-radius: 10px;
  padding: 12px 16px;
}
.risk-item i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.risk-item.is-blue i { background: rgba(49, 159, 213, 0.09); }
.risk-item.is-coral i { background: rgba(250, 102, 112, 0.09); }
.risk-item span { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

.drug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.drug-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.drug-card--blue { border: 1.5px solid rgba(49, 159, 213, 0.15); }
.drug-card--coral { border: 1.5px solid rgba(250, 102, 112, 0.15); }
.drug-card strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.drug-card--blue strong { color: var(--blue); }
.drug-card--coral strong { color: var(--coral); }
.drug-card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

/* ==========================================================================
   Doenças linfáticas
   ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.info-card {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 20px;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.info-card:hover { background: #fff; transform: translateY(-3px); }
.info-card--blue:hover { border-color: rgba(49, 159, 213, 0.21); box-shadow: 0 6px 24px rgba(49, 159, 213, 0.08); }
.info-card--coral:hover { border-color: rgba(250, 102, 112, 0.21); box-shadow: 0 6px 24px rgba(250, 102, 112, 0.08); }
.info-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card--blue .info-card__icon { background: rgba(49, 159, 213, 0.07); }
.info-card--coral .info-card__icon { background: rgba(250, 102, 112, 0.07); }
.info-card strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 6px; }
.info-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

.panel-coral {
  background: #FDF9FA;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-left: 4px solid var(--coral);
}
.panel-blue {
  background: #F0F8FE;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-left: 4px solid var(--blue);
}

.classification-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.class-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.class-card--blue { border: 2px solid rgba(49, 159, 213, 0.15); box-shadow: 0 4px 20px rgba(49, 159, 213, 0.05); }
.class-card--blue:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(49, 159, 213, 0.13); }
.class-card--coral { border: 2px solid rgba(250, 102, 112, 0.15); box-shadow: 0 4px 20px rgba(250, 102, 112, 0.05); }
.class-card--coral:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(250, 102, 112, 0.13); }
.class-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.class-card__head i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.class-card__head span { font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.class-card--blue .class-card__head i,
.class-card--blue .class-card__head span { background: none; color: var(--blue); }
.class-card--blue .class-card__head i { background: var(--blue); }
.class-card--coral .class-card__head i { background: var(--coral); }
.class-card--coral .class-card__head span { color: var(--coral); }
.class-card p { font-size: 13px; color: var(--text-soft); line-height: 1.65; }

.anatomy-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(49, 159, 213, 0.12);
  background: var(--light-bg);
  aspect-ratio: 3 / 4;
  max-height: 420px;
}
.anatomy-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Doenças arteriais
   ========================================================================== */

.page--arteriais { background: var(--light-bg); }

.arteriais-body { max-width: 960px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }

.arteriais-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
}
.arteriais-title--coral { color: var(--coral); border-left: 4px solid var(--coral); }
.arteriais-title--blue { color: var(--blue); border-left: 4px solid var(--blue); }
.arteriais-title--sub { margin-bottom: 0.5rem; }
.arteriais-subtitle { color: #888; font-size: 0.88rem; margin-bottom: 1.75rem; padding-left: 0.85rem; }

.arteriais-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.arteriais-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }

.arteriais-text p { color: #444; line-height: 1.8; margin-bottom: 1rem; font-size: 0.97rem; }
.arteriais-text p:last-child { margin-bottom: 0; }
.arteriais-lead { color: #444; line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.97rem; }

.risk-panel {
  background: linear-gradient(135deg, rgba(49, 159, 213, 0.08) 0%, rgba(250, 102, 112, 0.06) 100%);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(49, 159, 213, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.risk-panel__emoji { text-align: center; margin-bottom: 1rem; font-size: 3.5rem; }
.risk-panel h3 {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}
.risk-panel ul { list-style: none; margin: 0; padding: 0; }
.risk-panel li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: #555;
}
.risk-panel li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.risk-panel li:nth-child(even)::before { background: var(--coral); }

.topic-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  margin-bottom: 1.5rem;
}
.topic-card--coral { border-top: 4px solid var(--coral); }
.topic-card--blue { border-top: 4px solid var(--blue); }
.topic-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.topic-card--coral h3 { color: var(--coral); }
.topic-card--blue h3 { color: var(--blue); }
.topic-card p { color: #555; line-height: 1.8; font-size: 0.95rem; }

.topic-card--soft {
  background: linear-gradient(135deg, rgba(49, 159, 213, 0.03) 0%, rgba(250, 102, 112, 0.02) 100%);
  border: 1px solid rgba(49, 159, 213, 0.13);
  box-shadow: none;
  margin-bottom: 0;
}
.topic-card--soft h3 { color: #333; }

.warn-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--coral);
  height: fit-content;
}
.warn-panel__emoji { text-align: center; font-size: 2.5rem; margin-bottom: 0.75rem; }
.warn-panel h3 {
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}
.warn-panel ul { list-style: none; margin: 0; padding: 0; }
.warn-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.87rem;
  color: #555;
}
.warn-panel li::before { content: '→'; color: var(--coral); font-weight: 700; flex-shrink: 0; }

.mini-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}
.mini-card--coral { border-top: 4px solid var(--coral); }
.mini-card--blue { border-top: 4px solid var(--blue); }
.mini-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.mini-card--coral h3 { color: var(--coral); }
.mini-card--blue h3 { color: var(--blue); }
.mini-card p { color: #555; line-height: 1.75; font-size: 0.9rem; margin-bottom: 0.75rem; }
.mini-card ul { list-style: none; padding: 0; margin: 0; }
.mini-card .bullets li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: #555;
}
.mini-card .bullets li::before { content: '\2022'; color: var(--coral); font-weight: 700; flex-shrink: 0; }
.mini-card .arrows li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  background: rgba(49, 159, 213, 0.05);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}
.mini-card .arrows li::before { content: '→'; color: var(--blue); font-weight: 700; }
.mini-card__note { color: #777; font-size: 0.84rem; margin-top: 0.75rem; font-style: italic; }
.mini-card__pill {
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.mini-card__pill--coral { background: rgba(250, 102, 112, 0.05); }
.mini-card__pill--coral strong { color: var(--coral); }
.mini-card__pill--blue { background: rgba(49, 159, 213, 0.05); margin-bottom: 0; }
.mini-card__pill--blue strong { color: var(--blue); }

.quote-photo {
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.quote-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(49, 159, 213, 0.85);
  border-radius: 16px;
}
.quote-photo > div { position: relative; z-index: 1; color: #fff; }
.quote-photo__emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
.quote-photo blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}
.quote-photo cite { font-size: 0.85rem; opacity: 0.8; font-style: normal; }

.cta-center {
  background: var(--blue);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}
.cta-center h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-center p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 0.97rem; }

@media (max-width: 860px) {
  .arteriais-grid { grid-template-columns: 1fr; }
  .arteriais-3col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .arteriais-3col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Endovascular
   ========================================================================== */

.highlight-item {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.highlight-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.highlight-item strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 4px; }
.highlight-item p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.highlight-item--blue .highlight-item__icon { background: rgba(49, 159, 213, 0.07); }
.highlight-item--blue:hover { background: #fff; border-color: rgba(49, 159, 213, 0.21); box-shadow: 0 6px 24px rgba(49, 159, 213, 0.07); }
.highlight-item--coral .highlight-item__icon { background: rgba(250, 102, 112, 0.07); }
.highlight-item--coral:hover { background: #fff; border-color: rgba(250, 102, 112, 0.21); box-shadow: 0 6px 24px rgba(250, 102, 112, 0.07); }

.procedures-panel {
  background: var(--light-bg);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 52px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.procedures-panel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.procedures-panel__head i { width: 4px; height: 28px; border-radius: 2px; background: var(--blue); flex-shrink: 0; }
.procedures-panel__head h3 {
  font-weight: 800;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--navy);
}

.procedure-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.procedure-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.procedure-list li:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(49, 159, 213, 0.09); }
.procedure-list li i {
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.procedure-list li.is-blue i { background: rgba(49, 159, 213, 0.09); }
.procedure-list li.is-coral i { background: rgba(250, 102, 112, 0.09); }
.procedure-list li span { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.source-note {
  margin-top: 28px;
  font-size: 12px;
  color: #A0AEC0;
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.wide-photo {
  border-radius: 20px;
  overflow: hidden;
  height: clamp(220px, 30vw, 380px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  margin-bottom: clamp(40px, 5vw, 64px);
  position: relative;
}
.wide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wide-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(49, 159, 213, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
}
.wide-photo__overlay p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(15px, 2vw, 22px);
  color: #fff;
  line-height: 1.4;
  max-width: 440px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   404
   ========================================================================== */

.notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 24px; }
.notfound h1 { font-size: clamp(48px, 10vw, 96px); font-weight: 800; color: var(--blue); line-height: 1; }
.notfound h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--navy); margin: 16px 0 12px; }
.notfound p { color: #718096; font-size: 15px; margin-bottom: 32px; }

/* ==========================================================================
   Acessibilidade — atalho para o conteúdo (também ajuda no SEO técnico)
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* O <picture> não pode quebrar o layout herdado das imagens */
picture { display: contents; }

/* ==========================================================================
   Fotos de membro inferior nas páginas de doença
   ========================================================================== */

/* As fotos clínicas têm fundo claro e o sujeito à direita. O gradiente precisa
   ser mais forte à esquerda para o título branco continuar legível, e a foto
   fica quase opaca para aparecer de verdade. */
.page-hero--limb > img,
.page-hero--limb > picture > img {
  opacity: 0.95;
  object-position: center center;
}

.page-hero--limb .page-hero__overlay {
  background: linear-gradient(
    to right,
    rgba(26, 41, 66, 0.86) 0%,
    rgba(30, 90, 150, 0.68) 38%,
    rgba(49, 159, 213, 0.28) 66%,
    rgba(49, 159, 213, 0.04) 100%
  );
}

/* ==========================================================================
   Contato — foto do prédio
   ========================================================================== */

/* "cover" com enquadramento central: a foto preenche toda a coluna, cortando o
   excedente pelas bordas em vez de deixar faixas de fundo à mostra.
   A imagem é posicionada de forma absoluta para não esticar a coluna: assim a
   altura vem do formulário ao lado. */
.contact-split__photo {
  position: relative;
  overflow: hidden;
  min-height: min(620px, 90vh);
  background: linear-gradient(170deg, #cfe6f8 0%, #e8f2fb 55%, #f7f9fb 100%);
}
.contact-split__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 860px) {
  .contact-split__photo { min-height: 68vh; }
}


/* ==========================================================================
   Contato — teto de altura da seção
   ========================================================================== */

/* A faixa "foto + formulário" não passa de 90vh, para caber na tela sem
   obrigar o visitante a rolar só para ver o formulário inteiro.
   Vale apenas no layout de duas colunas: no mobile os blocos ficam empilhados
   e limitar a altura deixaria o formulário espremido. */
@media (min-width: 861px) {
  .contact-split {
    max-height: 90vh;
    /* O piso de 420px não pode passar por cima do teto em telas muito baixas. */
    min-height: min(420px, 90vh);
    /* A linha precisa acompanhar o teto do contêiner. Sem isto ela continua
       do tamanho do conteúdo e as colunas transbordam a seção. */
    grid-template-rows: minmax(0, 1fr);
  }

  /* Válvula de segurança: em telas muito baixas o formulário rola dentro da
     própria coluna, em vez de ter o botão ENVIAR cortado pelo teto.
     O "min-height: 0" é indispensável — sem ele o item de grid usa
     "min-height: auto", se recusa a encolher e transborda a seção em vez de
     ativar a rolagem. */
  .contact-split__form {
    min-height: 0;
    overflow-y: auto;
    justify-content: flex-start;
  }

  /* A coluna da foto também precisa poder encolher até o teto. */
  .contact-split__photo {
    min-height: 0;
  }
}
