:root {
  --ink: #3a4252;
  --ink-strong: #273042;
  --muted: #6e7a92;
  --bg: #ffffff;
  --line: rgba(56, 64, 82, 0.14);
  --accent: #2fb7c7;
  --accent-strong: #1d99ac;
  --accent-soft: rgba(47, 183, 199, 0.12);
  --navy: #41435c;
  --shadow: 0 16px 38px rgba(26, 38, 66, 0.18);
  --radius: 14px;
  --container: 1180px;
}

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

body {
  margin: 0;
  font-family: 'Lato', 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-strong); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  margin: 0 0 12px;
  font-family: 'Montserrat', 'Lato', system-ui, sans-serif;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
}
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.container { width: min(var(--container), 92vw); margin: 0 auto; }
.section { padding: 68px 0; }
.section.light { background: #eef7ff; }
.section.narrow { padding: 56px 0; }
.section-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.section-head.left { text-align: left; }
.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: linear-gradient(180deg, rgba(14,18,28,0.55) 0%, rgba(14,18,28,0) 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 5vw;
}
.logo img { height: 52px; width: auto; filter: brightness(0) invert(1); }
.menu { display: flex; align-items: center; gap: 20px; position: relative; }
.menu ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.menu a {
  padding: 6px 4px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid transparent;
}
.menu a.active,
.menu a[aria-current='page'] { border-color: #fff; }
.menu a:hover { color: #fff; }
.dropdown { position: relative; }
.dropdown > ul {
  position: absolute;
  top: 40px;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 0;
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
  display: none;
  min-width: 190px;
}
.dropdown:hover > ul { display: block; }
.dropdown > ul a { width: 100%; display: block; padding: 10px 14px; color: var(--ink); border: none; }
.burger {
  display: none;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

/* Hero slider */
.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4,12,22,0.78) 0%, rgba(4,12,22,0.56) 45%, rgba(4,12,22,0.32) 100%);
}
.slide-content {
  position: absolute;
  left: 8vw;
  bottom: 14vh;
  max-width: 640px;
  z-index: 2;
}
.slide-content h1 { font-size: clamp(32px, 3vw + 12px, 48px); color: #fff; line-height: 1.14; letter-spacing: 0.01em; }
.slide-content p { color: #e6edf6; font-size: 18px; }
.slider-dots {
  position: absolute;
  left: 8vw;
  bottom: 9vh;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
}
.dot.active { background: #fff; opacity: 1; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(0,0,0,0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

/* Services row */
.services { text-align: center; }
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.btn-center {
  text-align: center;
  margin-top: 10px;
}
.service-item {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--accent-strong);
  font-weight: 700;
}
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(45,183,199,0.08);
  display: grid;
  place-items: center;
}
.service-icon img {
  width: 40px;
  height: 40px;
}

/* Doctors */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.home-doctor-grid {
  max-width: 720px;
  margin: 0 auto;
}
.doctor-card {
  background: #f1f8ff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(38, 66, 102, 0.16);
  border: 1px solid #d4e8fb;
}
.doctor-card img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
}
.doctor-body { padding: 14px 16px; }
.crm { margin: 0 0 8px; font-weight: 700; color: var(--accent-strong); }
.bio { margin: 0; color: var(--muted); }
.curriculo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
  margin-top: 10px;
}
.curriculo-link::after {
  content: '›';
  font-size: 18px;
  transition: transform 0.15s ease;
}
.curriculo-link:hover::after { transform: translateX(3px); }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #5c708f;
  color: #fff;
  font-weight: 700;
  border: none;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  letter-spacing: 0.02em;
  margin-top: 24px;
}
.btn-pill:hover { background: #4f627e; }

/* Highlight split */
.highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 28px;
  background: #e9f4ff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.highlight img { width: 100%; height: 100%; object-fit: cover; }
.highlight-body { padding: 32px; }
.highlight-body h2 { margin-bottom: 12px; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border: none;
  text-decoration: none;
}
.btn-dark:hover { background: #303248; }

/* Logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.logo-card {
  background: transparent;
  border: none;
  padding: 12px;
  min-height: 70px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}
.logo-card img {
  max-width: 140px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.2s ease;
  background: transparent;
  display: block;
}
.logo-card:hover img { filter: grayscale(0); }
.logos-convenios .logo-card,
.logos-hospitais .logo-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 10px;
  text-align: center;
}
.logos-hospitais { padding: 24px 18px; }
.logos-hospitais .logo-card img {
  max-width: 150px;
  max-height: 60px;
  filter: saturate(1);
  object-fit: contain;
}

/* Contact */
.contact {
  background: #2b3244;
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}
form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
label { font-weight: 700; font-size: 14px; color: #fff; }
input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  font-family: inherit;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.8); }
textarea { min-height: 120px; grid-column: 1 / -1; }
.btn-submit {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #d9e3ef;
  padding: 46px 0 30px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  width: min(var(--container), 92vw);
  margin: 0 auto 14px;
}
.footer h4 { color: #fff; }
.footer a { color: #fff; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo img { height: 48px; filter: brightness(0) invert(1); }
.copy { text-align: center; color: #b7c3d7; font-size: 13px; margin: 10px 0 0; }
.social { display: flex; gap: 12px; margin-top: 8px; }
.social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; color: #fff; }

/* WhatsApp floating */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 24px;
  right: 22px;
  background: linear-gradient(135deg, #2bd66b, #12a150);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
  font-size: 0;
}
.whatsapp-float img { width: 30px; height: 30px; display: block; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0,0,0,0.34); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}
.lightbox::before {
  content: '×';
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 34px;
  font-weight: 300;
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox::before:hover { background: rgba(255, 255, 255, 0.28); transform: scale(1.08); }
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 960px) {
  .header { position: absolute; background: linear-gradient(180deg, rgba(14,18,28,0.55) 0%, rgba(14,18,28,0) 100%); }
  .header-inner { padding: 14px 5vw; }
  .menu ul {
    position: absolute;
    top: 64px;
    right: 0;
    background: rgba(28,38,53,0.97);
    padding: 10px 5vw;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    display: none;
    overflow: hidden;
  }
  .menu.open ul { display: flex; }
  .burger { display: inline-flex; }
  .menu ul li + li { border-top: 1px solid rgba(255,255,255,0.1); }
  .menu ul a { width: 100%; display: block; padding: 12px 0; }
  /* evita submenu aberto no mobile */
  .dropdown > ul { display: none !important; position: static; }
}

@media (max-width: 768px) {
  .hero-slider { min-height: 80vh; }
  .slide-content { bottom: 12vh; max-width: 90vw; }
  .section { padding: 60px 0; }
  .contact-form-wrap .container.narrow { width: 94vw; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-contato .hero-text,
  .hero-procedimentos .hero-text { padding: 110px 0 72px; }
}

@media (max-width: 540px) {
  .slide-content { left: 6vw; right: 6vw; }
  .whatsapp-float { width: 58px; height: 58px; bottom: 16px; right: 16px; }
  .hero-procedimentos,
  .hero-contato { min-height: 60vh; }
  .pill { font-size: 14px; }
  .map-embed iframe { height: 320px; }
}

/* Page Clinica overrides */
.page-clinica .footer .logo img { filter: brightness(0) invert(1); }

.clinic-hero {
  position: relative;
  min-height: 46vh;
  background: var(--hero-bg, #0f1c2c) center/cover no-repeat;
  display: grid;
  place-items: center;
}
.clinic-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 26, 0.62);
}
.clinic-hero .hero-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-head-only { padding-top: 70px; }

.spec-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border: 1px solid #c9dff4;
}
.spec-card {
  padding: 22px 14px;
  text-align: center;
  font-weight: 700;
  border: 1px solid #c9dff4;
  background: #f0f8ff;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.procedures-bg {
  background: url('https://drgerman.com.br/wp-content/uploads/2026/02/WhatsApp-Image-2026-01-30-at-15.44.10.jpeg') center/cover no-repeat;
  position: relative;
}
.procedures-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82);
}
.procedures-bg > .container { position: relative; z-index: 1; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 30px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid #dce3ea;
  color: var(--ink);
}
.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent-strong);
  font-size: 13px;
}

.split {
  background: #eff7ff;
}
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  align-items: start;
}
.split-media img {
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.contact-clinic {
  background: #2e3a4d;
}
.contact-clinic input,
.contact-clinic select,
.contact-clinic textarea {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.contact-clinic input::placeholder,
.contact-clinic textarea::placeholder { color: rgba(255,255,255,0.9); }
.contact-clinic .btn-submit { background: #fff; color: #2b3244; }

/* Corpo clínico */
.page-corpo main { background: #fff; }
.hero-corpo {
  position: relative;
  min-height: 44vh;
  background: url('imagens/hero-coluna-vertebra-3.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,30,0.65) 0%, rgba(10,16,30,0.45) 55%, rgba(10,16,30,0.62) 100%);
}
.hero-text {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 140px 0 96px;
  max-width: 760px;
}
.hero-text h1 {
  color: #fff;
  font-size: clamp(30px, 2.6vw + 12px, 46px);
  margin-bottom: 10px;
}
.hero-text .muted { color: #d8e4ef; }

/* Convenios hero */
.hero-convenios {
  position: relative;
  min-height: 42vh;
  background: url('imagens/hero-clinica.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero-convenios::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,30,0.65) 0%, rgba(10,16,30,0.45) 55%, rgba(10,16,30,0.7) 100%);
}
.hero-convenios .hero-text {
  padding: 140px 0 90px;
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-convenios h1 { color: #fff; }
.hero-convenios .muted { color: #d8e4ef; }

/* Contato hero */
.hero-contato {
  position: relative;
  min-height: 42vh;
  background: url('imagens/hero-coluna-vertebra-3.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero-contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,30,0.65) 0%, rgba(10,16,30,0.45) 55%, rgba(10,16,30,0.7) 100%);
}
.hero-contato .hero-text {
  padding: 140px 0 90px;
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-contato h1 { color: #fff; }
.hero-contato .muted { color: #d8e4ef; }

.contact-form-wrap .container.narrow {
  width: min(960px, 92vw);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  font-family: inherit;
  background: #fff;
  color: var(--muted);
}
.form-grid input::placeholder,
.form-grid textarea::placeholder { color: #9aa6bb; }
.form-grid textarea {
  grid-column: 1 / -1;
  min-height: 140px;
  resize: vertical;
}
.form-grid .full { grid-column: 1 / -1; }
.captcha-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #c8d2de;
  border-radius: 8px;
  color: var(--muted);
  background: #f9fbfd;
  font-size: 14px;
}
.captcha-box input { width: 18px; height: 18px; }
.captcha-row { display: grid; gap: 6px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 10px;
  background: transparent;
}
.contact-card h4 { margin: 0 0 4px; }
.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d3dbe6;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 18px;
}

.map-wrap {
  margin-top: -6px;
}
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Procedimentos hero */
.hero-procedimentos {
  position: relative;
  min-height: 42vh;
  background: url('https://drgerman.com.br/wp-content/uploads/2026/02/WhatsApp-Image-2026-01-30-at-15.44.10.jpeg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero-procedimentos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,30,0.65) 0%, rgba(10,16,30,0.45) 55%, rgba(10,16,30,0.7) 100%);
}
.hero-procedimentos .hero-text {
  padding: 140px 0 90px;
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-procedimentos h1 { color: #fff; }
.hero-procedimentos .muted { color: #d8e4ef; }
.clinic-gallery {
  background: linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
}
.gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gallery-main-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(27, 52, 84, 0.18);
  border: 1px solid #c5dcf3;
  background: #0a1020;
  cursor: zoom-in;
}
#gallery-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 12px rgba(27, 52, 84, 0.12);
}
.gallery-thumbs button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery-thumbs button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(27, 52, 84, 0.2);
}
.gallery-thumbs button.active {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(47,183,199,0.28);
}
@media (max-width: 768px) {
  #gallery-main { height: 300px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  #gallery-main { height: 220px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: 7px; }
}
.section-head.lined h2 {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  margin-bottom: 8px;
}
.page-corpo .section-head.left.lined {
  padding-left: 0;
  margin-bottom: 20px;
}
.resp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.page-corpo .resp-grid {
  max-width: 760px;
  margin: 0 auto;
}
.page-corpo .doctor-card.large .doctor-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
}
.doctor-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.page-corpo .doctor-grid.compact {
  max-width: 980px;
  margin: 0 auto;
}
.page-corpo .doctor-card.compact .doctor-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center top;
}
.doctor-card.compact .doctor-body { padding: 13px 14px; }

@media (max-width: 768px) {
  .doctor-card img {
    height: 220px;
  }
}

.procedures-bg {
    position: relative;
    overflow: hidden;
    background-image: url('https://drgerman.com.br/wp-content/uploads/2026/02/WhatsApp-Image-2026-01-30-at-15.44.10.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.procedures-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.procedures-bg .container {
    position: relative;
    z-index: 2;
}

.procedures-bg .kicker,
.procedures-bg h2,
.procedures-bg .check-list li {
    color: #fff;
}
.procedures-bg .check-list li::before {
    color: #fff;
}


.tratamentos-section {
  padding: 42px 0 48px;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 168, 190, 0.05), transparent 34%),
    #ffffff;
}

.tratamentos-container {
  max-width: 1340px;
}

.tratamentos-head {
  text-align: center;
  margin-bottom: 34px;
}

.tratamentos-head .kicker {
  margin: 0 0 8px;
  color: #18a8bd;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.tratamentos-head h2 {
  margin: 0;
  color: #061d42;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.tratamentos-line {
  display: block;
  width: 95px;
  height: 4px;
  margin: 14px auto 15px;
  border-radius: 999px;
  background: #18a8bd;
}

.tratamentos-head p:last-child {
  margin: 0;
  color: #465468;
  font-size: 17px;
  line-height: 1.55;
}

.tratamento-card {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 30px;
  margin-bottom: 12px;
  padding: 22px 30px 25px 28px;
  background: #ffffff;
  border: 1px solid #e7edf2;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(10, 30, 60, 0.08);
}

.tratamento-intro {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 38px;
  align-items: center;
  padding-right: 28px;
  border-right: 1px solid #e4e8ed;
}

.tratamento-icon {
  width: 136px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #edf7fc, #e5f2f9);
  color: #0b477b;
}

.tratamento-icon svg {
  width: 86px;
  height: 86px;
}

.tratamento-text h3 {
  margin: 0;
  color: #061d42;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 27px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.tratamento-text span {
  display: block;
  width: 50px;
  height: 4px;
  margin: 18px 0 16px;
  border-radius: 999px;
  background: #18a8bd;
}

.tratamento-text p {
  margin: 0;
  color: #465468;
  font-size: 16px;
  line-height: 1.52;
}

.tratamento-list-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 58px;
}

.tratamento-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tratamento-list li {
  position: relative;
  min-height: 32px;
  padding: 6px 0 8px 28px;
  color: #111827;
  font-size: 15.5px;
  line-height: 1.25;
  border-bottom: 1px solid #edf0f3;
}

.tratamento-list li:last-child {
  border-bottom: 0;
}

.tratamento-list li::before {
  content: "✓";
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1.8px solid #18a8bd;
  border-radius: 50%;
  color: #0f97ad;
  font-size: 9px;
  font-weight: 700;
  line-height: 13px;
  text-align: center;
}

.tratamentos-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  align-items: center;
  gap: 26px;
  min-height: 141px;
  padding: 20px 28px 20px 52px;
  background: linear-gradient(90deg, #f5fbff 0%, #ffffff 48%, #f5fbff 100%);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(10, 30, 60, 0.06);
}

.tratamentos-footer-info {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-main-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  color: #0b477b;
}

.footer-main-icon svg {
  width: 72px;
  height: 72px;
}

.tratamentos-footer-info h4 {
  margin: 0 0 9px;
  color: #061d42;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.tratamentos-footer-info p {
  margin: 0;
  color: #465468;
  font-size: 14px;
  line-height: 1.45;
}

.tratamentos-actions {
  text-align: center;
}

.tratamentos-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 370px;
  height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #073d7b 0%, #002e63 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 46, 99, 0.18);
}

.tratamentos-whatsapp span,
.tratamentos-agenda span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tratamentos-whatsapp svg {
  width: 25px;
  height: 25px;
}

.tratamentos-agenda {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: #23415f;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
}

.tratamentos-agenda svg {
  width: 22px;
  height: 22px;
  color: #0b477b;
}

.tratamentos-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.benefit-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #edf7fb;
  color: #061d42;
}

.benefit-icon svg {
  width: 37px;
  height: 37px;
}

.tratamentos-benefits strong {
  display: block;
  color: #061d42;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .tratamento-card {
    grid-template-columns: 1fr;
  }

  .tratamento-intro {
    border-right: 0;
    border-bottom: 1px solid #e4e8ed;
    padding-right: 0;
    padding-bottom: 22px;
  }

  .tratamentos-footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px;
  }

  .tratamentos-footer-info {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .tratamentos-section {
    padding: 36px 0 42px;
  }

  .tratamentos-head h2 {
    font-size: 32px;
  }

  .tratamentos-head p:last-child {
    font-size: 15px;
  }

  .tratamento-card {
    padding: 24px 20px;
  }

  .tratamento-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .tratamento-icon {
    margin: 0 auto;
  }

  .tratamento-text span {
    margin-left: auto;
    margin-right: auto;
  }

  .tratamento-list-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tratamentos-footer-info {
    flex-direction: column;
  }

  .tratamentos-whatsapp {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 58px;
    padding: 14px 20px;
    font-size: 15px;
  }

  .tratamentos-benefits {
    grid-template-columns: 1fr;
  }
}