/* ================================================
   NÚCLEO AFFETO — Design System v2
   Ref: Maternar Humanamente (layout limpo, arejado)
   Paleta: Prism v1 — #6A7C85 + #8FBAC9
   Fontes: Montserrat | Open Sans
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Open+Sans:wght@400;500;600&display=swap');

/* ─── Tokens ─── */
:root {
  --primary:     #6A7C85;
  --primary-dk:  #50616A;
  --primary-lt:  #8FA8B3;
  --accent:      #8FBAC9;
  --accent-lt:   #C8E0E9;
  --rose:        #C9818F;
  --rose-lt:     #F2D4D9;
  --bg:          #FFFFFF;
  --bg-soft:     #F8F9FB;
  --bg-warm:     #F5F2F0;
  --text:        #222222;
  --text-mid:    #555555;
  --text-light:  #888888;
  --border:      #E8ECF0;
  --navy:        #1C2B35;
  --shadow-xs:   0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 6px 28px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.14);
  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  28px;
  --r-xl:  999px;
  --ease:  cubic-bezier(.25,.8,.25,1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── Helpers ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .9rem;
}

.accent-word { color: var(--accent); }
.rose-word   { color: var(--rose);   }

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 600px;
}

/* ─── Botões ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  padding: 13px 26px;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  transition: all .28s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(106,124,133,.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(106,124,133,.38);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary-dk);
  font-weight: 600;
  padding: 13px 16px;
  gap: 6px;
}
.btn-ghost:hover { color: var(--primary); }
.btn-ghost svg { transition: transform .25s; }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,.28);
}
.btn-wa:hover {
  background: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.36);
}
.btn-white {
  background: #fff;
  color: var(--primary-dk);
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
}
.btn-white:hover { transform: translateY(-2px); background: var(--bg-soft); }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

/* ─── HEADER ─── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo img { height: 46px; width: auto; display: block; }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-dk);
  line-height: 1.1;
}
.logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary-dk); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-primary::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary-dk);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── HERO (Split) ─── */
.hero {
  padding-top: 76px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}
.hero-text .eyebrow { margin-bottom: .75rem; }
.hero-text h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Foto lado direito */
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--r-lg) var(--r-lg) var(--r-xl) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
/* Blob decorativo atrás da foto */
.hero-blob {
  position: absolute;
  top: -40px; right: -40px;
  width: 340px; height: 340px;
  background: linear-gradient(135deg, var(--accent-lt), rgba(143,186,201,.15));
  border-radius: 50% 30% 60% 40%;
  z-index: -1;
}
.hero-blob2 {
  position: absolute;
  bottom: -30px; left: -30px;
  width: 200px; height: 200px;
  background: linear-gradient(135deg, var(--rose-lt), rgba(201,129,143,.08));
  border-radius: 40% 60% 30% 70%;
  z-index: -1;
}
/* Badge flutuante */
.hero-badge {
  position: absolute;
  bottom: 28px; left: -24px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}
.hero-badge-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent-lt), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.hero-badge-text { line-height: 1.25; }
.hero-badge-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--navy);
}
.hero-badge-sub {
  font-size: .75rem;
  color: var(--text-light);
}

/* ─── SEÇÃO SOBRE (Home) ─── */
.about-home {
  padding: 96px 0;
  background: var(--bg);
}
.about-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.aph {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.aph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.aph:hover img { transform: scale(1.06); }
.aph-tall {
  grid-row: span 2;
  min-height: 380px;
}
.aph-short { min-height: 180px; }

/* Overlay hover "Clique para ver mais" */
.aph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,43,53,.75) 0%, rgba(28,43,53,.20) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s var(--ease);
  border-radius: var(--r-md);
}
.aph:hover .aph-overlay { opacity: 1; }
.aph-overlay-text {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(255,255,255,.35);
}

/* ─── MODAL GALERIA ─── */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,15,20,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px 20px 20px;
  overflow-y: auto;
  animation: fadeModal .3s ease;
}
@keyframes fadeModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.gallery-modal.open { display: block; }

.gallery-modal-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.gallery-modal-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.gallery-modal-header p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
}
.modal-close-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  transition: background .2s;
  flex-shrink: 0;
}
.modal-close-btn:hover { background: rgba(255,255,255,.22); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-thumb {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,.06);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
  display: block;
}
.gallery-thumb:hover img { transform: scale(1.06); }
.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,15,20,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  border-radius: 12px;
}
.gallery-thumb:hover .gallery-thumb-overlay { opacity: 1; }
.gallery-thumb-overlay svg { color: #fff; width: 36px; height: 36px; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(5,8,12,.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open {
  display: flex;
  animation: fadeModal .25s ease;
}
.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 82vh;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lightbox-counter {
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}
.lb-close {
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.20); }
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

.about-home-text .section-sub { margin-bottom: 2rem; }
.pillar-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  transition: background .2s;
}
.pillar-item:hover { background: var(--accent-lt); }
.pi-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent-lt), var(--accent));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.pi-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.pi-desc { font-size: .85rem; color: var(--text-mid); line-height: 1.5; }

/* ─── SERVIÇOS (Home) ─── */
.services-home {
  padding: 96px 0;
  background: var(--bg-soft);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto 2rem; }
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.srv-card {
  background: #E3EEF4;
  border-radius: var(--r-md);
  padding: 32px 26px;
  border: 1px solid rgba(143,186,201,0.3);
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.srv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: var(--accent);
  background: #D4E5EE;
}
.srv-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.srv-icon-1  { background: #EAF4F8; }
.srv-icon-2  { background: #F0EAF8; }
.srv-icon-3  { background: #EAF8F0; }
.srv-icon-4  { background: #F8EEF0; }
.srv-icon-5  { background: #FFF5EA; }
.srv-icon-6  { background: #EAF4F8; }
.srv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.srv-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}
.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
  transition: gap .2s;
}
.srv-link:hover { gap: 10px; }
.srv-link svg { width: 14px; height: 14px; }

/* ─── BANNER GRADIENTE ─── */
.banner-grad {
  padding: 72px 0;
  background: linear-gradient(rgba(143, 186, 201, 0.9), rgba(143, 186, 201, 0.9)), 
url('../img/imagenda da clinica/114b092f-488e-4656-8063-e9cd52a8d542.jpeg') center/cover no-repeat fixed;
  text-align: center;
}
.banner-grad h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .6rem;
}
.banner-grad p {
  color: rgba(28, 43, 53, 0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.banner-pills {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.pill-tag {
  background: rgba(28, 43, 53, 0.05);
  color: var(--navy);
  border: 1.5px solid rgba(28, 43, 53, 0.2);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 22px;
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  transition: background .25s;
}

.convenios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
}
.conv-logo {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 24px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 70px;
  font-weight: 700;
  color: var(--primary-dk);
  transition: all 0.3s;
}
.conv-logo:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.conv-logo img {
  max-height: 50px;
  max-width: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
/* Aumentando o zoom do Medservice para cortar a borda branca da imagem */
.conv-logo img[src*="medservice"] {
  transform: scale(2.8);
  transform-origin: center center;
}
.pill-tag:hover { background: rgba(255,255,255,.30); }

/* ─── CONTATO ─── */
.contact { padding: 96px 0; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info .section-sub { margin-bottom: 2rem; }
.cway {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.cway-icon {
  width: 38px; height: 38px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.cway-icon svg { width: 18px; height: 18px; }
.cway-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); font-family: 'Montserrat', sans-serif; }
.cway-val   { font-size: .95rem; font-weight: 600; color: var(--text); margin-top: 1px; word-break: break-word; overflow-wrap: break-word; }

.contact-form-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}
.fg label {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-dk);
  letter-spacing: .03em;
}
.fg input,
.fg select,
.fg textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: .93rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106,124,133,.10);
  background: #fff;
}
.fg textarea { resize: vertical; min-height: 100px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-form { width: 100%; justify-content: center; font-size: .95rem; padding: 15px; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; max-width: 240px; }
.footer-socials { display: flex; gap: 10px; }
.fs-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .2s;
  font-size: .9rem;
}
.fs-icon:hover { background: var(--primary); color: #fff; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.90);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .87rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.footer-contact li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.40);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ─── PÁGINA INTERNA HERO ─── */
.inner-hero {
  padding: 140px 0 72px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--accent-lt) 100%);
  text-align: center;
}
.inner-hero .eyebrow { display: block; text-align: center; margin-bottom: .5rem; }
.inner-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
}
.inner-hero p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─── PÁGINA SOBRE ─── */
.about-page { padding: 88px 0; }
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.about-page-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-page-img img { width: 100%; height: 460px; object-fit: cover; }

.mission-box {
  background: linear-gradient(135deg, var(--accent-lt), rgba(143,186,201,.08));
  border-radius: var(--r-md);
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  margin-top: 1.5rem;
}
.mission-box h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary-dk);
  margin-bottom: 6px;
}
.mission-box p { font-size: .9rem; color: var(--text-mid); line-height: 1.75; }

.pillars-section { padding: 0 0 80px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 26px;
  text-align: center;
  transition: all .3s var(--ease);
}
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pc-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}
.pc-1 { background: var(--accent-lt); }
.pc-2 { background: #EAF8F0; }
.pc-3 { background: var(--rose-lt); }
.pc h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.pc p  { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }

/* Equipe */
.team-section { padding: 0 0 88px; }
.team-section .section-header { text-align: center; margin-bottom: 48px; }

.srv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.srv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Cards em destaque (foco principal) */
.srv-card-featured {
  border-top: 3px solid var(--primary);
}
.srv-card-featured::before {
  content: 'Principal';
  position: absolute;
  top: 0; right: 20px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px 4px;
  border-radius: 0 0 8px 8px;
}

.tc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  transition: all .3s var(--ease);
}
.tc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.tc-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--accent-lt), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}
.tc-photo img { width: 100%; height: 100%; object-fit: cover; }
.tc h3 { font-family: 'Montserrat', sans-serif; font-size: .93rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.tc .role { font-size: .82rem; color: var(--primary); font-weight: 600; margin-bottom: 3px; }
.tc .crp  { font-size: .78rem; color: var(--text-light); }

/* ─── PÁGINA SERVIÇOS ─── */
.services-page { padding: 88px 0; background: var(--bg); }
.svc-list { display: flex; flex-direction: column; gap: 20px; }
.svc-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: flex-start;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .25s;
}
.svc-item:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.svc-item:hover::before { opacity: 1; }
.svc-num {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--bg-soft);
  color: var(--primary-dk);
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.svc-item:hover .svc-num {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.svc-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.svc-content p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; }
.badge-cert {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .73rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #92400E;
  background: #FEF3C7;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 8px;
}

/* ─── ANIMAÇÕES ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .30s; }
.delay-4 { transition-delay: .40s; }
.delay-5 { transition-delay: .50s; }

/* ─── RESPONSIVO ─── */
@media (max-width: 1024px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    padding: 20px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-home-grid,
  .about-page-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-item { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  
  .contact-form-box { padding: 28px 20px; }
}


/* Float WhatsApp */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-wa:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  color: #fff;
}

/* =========================================
   ESTILOS - EQUIPE
   ========================================= */

.team-section {
  padding: 100px 0;
  background: #fff;
}
.text-center { text-align: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.team-card-premium {
  background: #E3EEF4;
  border-radius: var(--r-md);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  width: 100%;
  border: 1px solid rgba(143,186,201,0.3);
}
.team-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: var(--accent);
  background: #D4E5EE;
}
.team-card-premium .team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 4px solid var(--accent-lt);
  transition: border-color 0.4s ease;
}
.team-card-premium:hover .team-photo {
  border-color: var(--accent);
}
.team-card-premium .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card-premium h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.team-card-premium p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================
   ESTILOS - PÁGINA SOBRE E SERVIÇOS
   ========================================= */

/* Hero Sobre / Serviços */
.hero-sobre {
  background: url('../img/bgs/background-1.jpg') center/cover no-repeat fixed;
  position: relative;
  min-height: 250px;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 76px;
}
.hero-sobre-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(22, 66, 91, 0.75);
}

.hero-sobre-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.hero-sobre-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-sobre-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}

/* Institucional (Imagem Esquerda / Texto Direita) */
.about-page {
  padding: 100px 0;
  background: var(--bg-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.about-img-wrap img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-img-wrap:hover img {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.about-text h2 {
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(143, 186, 201, 0.9), rgba(143, 186, 201, 0.9)), url('../img/imagenda da clinica/114b092f-488e-4656-8063-e9cd52a8d542.jpeg') center/cover no-repeat fixed;
  color: var(--navy);
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.1rem;
  color: rgba(28, 43, 53, 0.85);
  margin-bottom: 2rem;
}
.cta-section .btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
}
.cta-section .btn-primary:hover {
  background: var(--primary-dk);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { max-width: 100%; }
  
  /* Corrige o grid de contato */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Corrige o grid interno do formulário (duas colunas vira uma) */
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  /* Ajusta o padding interno do box de formulário no celular */
  .contact-form-box {
    padding: 30px 20px;
  }

  /* Ajusta o rodapé para não quebrar */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ─── EFEITOS E ANIMAÇÕES (Intersection Observer) ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* ─── PÁGINA DE CONTATO ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-form-box {
  background: #fff;
  padding: 40px;
  border-radius: var(--r-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.contact-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.cc-icon {
  width: 60px; height: 60px;
  background: var(--bg-soft);
  color: var(--primary-dk);
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}
.contact-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 15px;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-grid, .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

