/* ============================================================
   GRUPO VITTAL — Design System Institucional
   Cores: #F29294 (acento), #3F6471 (institucional)
   Tipografia: Source Sans 3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ---------- VARIÁVEIS ---------- */
:root {
  --primary:        #F29294;
  --primary-dark:   #DC9092;
  --primary-deeper: #c47274;
  --primary-light:  #F9E8E8;
  --secondary:      #3F6471;
  --secondary-dark: #2F4A54;
  --secondary-light:#5A7D8C;
  --secondary-xlight:#EDF3F6;
  --white:          #FFFFFF;
  --off-white:      #F7F9FA;
  --gray-50:        #F5F6F7;
  --gray-100:       #ECEEF0;
  --gray-200:       #D8DCE0;
  --gray-300:       #C4CAD0;
  --gray-500:       #6B7280;
  --gray-700:       #374151;
  --text:           #1F2933;
  --text-light:     #52606D;
  --success:        #28A745;
  --warning:        #FFC107;
  --danger:         #DC3545;

  --font-heading:   'Source Sans 3', 'Segoe UI', sans-serif;
  --font-body:      'Source Sans 3', 'Segoe UI', sans-serif;

  --radius-sm:  3px;
  --radius:     4px;
  --radius-lg:  6px;
  --radius-xl:  8px;

  --radius-btn: 4px;

  --shadow-sm:  0 1px 2px rgba(31,41,51,.06);
  --shadow:     0 2px 8px rgba(31,41,51,.08);
  --shadow-lg:  0 4px 20px rgba(31,41,51,.10);
  --shadow-xl:  0 8px 32px rgba(31,41,51,.12);

  --transition: .2s ease;
  --container:  1200px;
  --header-h:   72px;
  --header-h-scrolled: 50px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  /* clip avoids breaking position:sticky (unlike overflow-x: hidden) */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a:not(.btn),
a:not(.btn):visited,
a:not(.btn):hover,
a:not(.btn):focus,
a:not(.btn):active {
  color: inherit;
  text-decoration: none;
}
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: .95rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Links inline em texto (sem classe de componente) */
p a:not(.btn),
li a:not(.btn),
label a:not(.btn),
.cookie-blocked-placeholder a {
  color: var(--secondary);
  transition: color var(--transition);
}
p a:not(.btn):hover,
li a:not(.btn):hover,
label a:not(.btn):hover,
.cookie-blocked-placeholder a:hover {
  color: var(--secondary-dark);
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- SEÇÃO ---------- */
section { padding: 72px 0; }
.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .65rem;
}
.section-label::before { display: none; }
.section-title {
  margin-bottom: .75rem;
  color: var(--text);
}
.section-sub {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2.25rem;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-label { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- BOTÕES (estilo institucional) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.2;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
}
.btn-secondary {
  background: var(--secondary-dark);
  color: var(--white);
  border-color: var(--secondary-dark);
}
.btn-secondary:hover {
  background: #243840;
  border-color: #243840;
}
.btn-accent {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-accent:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary-xlight);
  color: var(--secondary-dark);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.85);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}
.btn-whatsapp {
  background: #128C7E;
  color: var(--white);
  border-color: #128C7E;
}
.btn-whatsapp:hover {
  background: #0E7368;
  border-color: #0E7368;
}
.btn-sm { padding: .5rem 1.125rem; font-size: .8125rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
a.btn,
button.btn { text-decoration: none; }

/* Contraste em botões-link: texto claro em fundos escuros (todos os estados) */
a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active { color: var(--white); }
a.btn-secondary,
a.btn-secondary:visited,
a.btn-secondary:hover,
a.btn-secondary:focus,
a.btn-secondary:active { color: var(--white); }
a.btn-accent,
a.btn-accent:visited,
a.btn-accent:hover,
a.btn-accent:focus,
a.btn-accent:active { color: var(--white); }
a.btn-whatsapp,
a.btn-whatsapp:visited,
a.btn-whatsapp:hover,
a.btn-whatsapp:focus,
a.btn-whatsapp:active { color: var(--white); }
a.btn-outline,
a.btn-outline:visited,
a.btn-outline:focus,
a.btn-outline:active { color: var(--secondary); }
a.btn-outline:hover { color: var(--secondary-dark); }
a.btn-outline-white,
a.btn-outline-white:visited,
a.btn-outline-white:focus,
a.btn-outline-white:active { color: var(--white); }
a.btn-outline-white:hover { color: var(--secondary); }

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: none;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.card-body { padding: 2rem; }

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: var(--radius-sm);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-primary { background: var(--primary-light); color: var(--primary-deeper); }
.badge-secondary { background: var(--secondary-xlight); color: var(--secondary); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--secondary-dark);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container,
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.topbar a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar a:hover { color: var(--white); }
.topbar-item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.topbar-item svg { flex-shrink: 0; }
.topbar-apps { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.topbar-apps-label {
  opacity: .7;
  font-size: .75rem;
  white-space: nowrap;
}
.app-store-btn,
.topbar-apps a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .7rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.app-store-btn svg,
.topbar-apps a svg {
  flex-shrink: 0;
  display: block;
  color: #fff;
}
.app-store-btn:hover,
.topbar-apps a:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.app-store-btn:focus-visible,
.topbar-apps a:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .topbar .container,
  .topbar-inner {
    gap: .75rem 1rem;
  }
  .topbar-apps { justify-content: center; }
}

/* display:contents so .header sticky is not limited to this wrapper's height */
#site-header {
  display: contents;
  border-bottom: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
  box-shadow: none;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    height .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    backdrop-filter .25s ease;
}
.header.scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  transition: opacity .25s ease;
}
.header-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height .25s ease;
}
.header.scrolled .header-logo {
  opacity: .82;
}
.header.scrolled .header-logo:hover,
.header.scrolled .header-logo:focus-visible {
  opacity: .95;
}
.header.scrolled .header-logo img {
  height: 26px;
}
.header-logo span {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--secondary);
}
.header-logo span em {
  color: var(--primary);
  font-style: normal;
}

/* NAV — cores explícitas (não herdar via a:not(.btn) do reset global) */
.header .nav-link,
.header .nav-link:visited,
.mobile-nav-link,
.mobile-nav-link:visited {
  color: var(--text);
}
.header .nav-link:hover,
.header .nav-link:focus,
.header .nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--secondary);
}
.header .nav-dropdown a {
  color: var(--text);
}
.header .nav-dropdown a:hover,
.header .nav-dropdown a:focus {
  color: var(--secondary);
}

/* NAV */
.nav { display: flex; align-items: center; gap: .125rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .7rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .84rem;
  letter-spacing: .015em;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), padding .25s ease, font-size .25s ease;
  white-space: nowrap;
}
.header.scrolled .nav-link {
  padding: .3rem .55rem;
  font-size: .8rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--secondary);
  background: transparent;
}
.nav-link svg { transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* DROPDOWN */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  border: 1px solid var(--gray-200);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  color: var(--text);
  transition: all var(--transition);
}
.nav-dropdown a:hover {
  background: var(--secondary-xlight);
  color: var(--secondary);
}

/* HEADER BTNS */
.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.header-cta {
  font-size: .78rem;
  font-weight: 600;
  padding: .5rem .85rem;
  line-height: 1.15;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition),
    padding .25s ease,
    font-size .25s ease;
}
.header-cta--portal {
  background: var(--white);
  border-color: rgba(63, 100, 113, .28);
  color: var(--secondary);
}
.header-cta--portal:hover,
.header-cta--portal:focus-visible {
  background: var(--white);
  border-color: var(--secondary);
  color: var(--secondary-dark);
  box-shadow: 0 2px 8px rgba(47, 74, 84, .1);
}
.header-cta--telemed {
  box-shadow: 0 2px 8px rgba(47, 74, 84, .1);
}
.header-cta--telemed:hover,
.header-cta--telemed:focus-visible {
  box-shadow: 0 2px 8px rgba(47, 74, 84, .14);
}
.header.scrolled .header-cta {
  font-size: .72rem;
  padding: .36rem .7rem;
}
.header.scrolled .header-cta--portal {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(63, 100, 113, .22);
  color: var(--secondary);
}
.header.scrolled .header-cta--portal:hover,
.header.scrolled .header-cta--portal:focus-visible {
  background: var(--white);
  border-color: var(--secondary);
  color: var(--secondary-dark);
}
.header.scrolled .header-cta--telemed {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(47, 74, 84, .1);
}
.header.scrolled .header-cta--telemed:hover,
.header.scrolled .header-cta--telemed:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.mobile-actions .header-cta {
  width: 100%;
  justify-content: center;
  font-size: .9rem;
  padding: .72rem 1rem;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.burger:hover { background: var(--gray-100); }
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU — hidden off-canvas by default (prevents FOUC before CSS/JS settle) */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1), top .25s ease, visibility 0s linear .35s;
  padding: 1.5rem;
}
.header.scrolled ~ .mobile-menu {
  top: var(--header-h-scrolled);
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s cubic-bezier(.4,0,.2,1), top .25s ease, visibility 0s linear 0s;
}
/* Desktop: never paint the mobile drawer (avoids flash of open menu) */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .burger {
    display: none !important;
  }
}
.mobile-nav-group {
  display: block;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-split {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-link--split {
  flex: 1;
  border-bottom: none;
}
.mobile-nav-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  flex-shrink: 0;
  border: none;
  border-left: 1px solid var(--gray-100);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
}
.mobile-nav-expand svg {
  transition: transform var(--transition);
}
.mobile-nav-expand[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.mobile-nav-group > .mobile-nav-link {
  border-bottom: none;
}
.mobile-nav-sub {
  display: none;
  flex-direction: column;
  width: 100%;
  padding: 0 0 .5rem 0;
  padding-left: .5rem;
}
.mobile-nav-sub.open {
  display: flex;
}
.mobile-nav-sub a {
  display: block;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-sub a:last-child {
  border-bottom: none;
}
.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 1.25rem;
  padding: 0 1rem 1.25rem;
}
.mobile-actions .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
section.hero-slider,
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--secondary-dark);
  margin-top: 0;
  border-top: none;
  /* Cancela o padding global de `section` (incl. media queries) — evita faixas verdes */
  padding: 0;
}
.slides-container {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.slide {
  min-width: 100%;
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--secondary-dark);
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,41,51,.88) 0%, rgba(31,41,51,.55) 55%, rgba(31,41,51,.25) 100%);
}
.slide-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
  padding: 4rem 0;
}
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.slide-title em {
  font-style: normal;
  color: var(--primary);
  border-bottom: none;
  text-decoration: none;
}
.slide-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: auto;
  height: auto;
  padding: .5rem;
  background: transparent;
  backdrop-filter: none;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), opacity var(--transition);
  border: none;
  cursor: pointer;
}
.slider-btn:hover {
  color: rgba(255,255,255,.9);
}
.slider-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}
.slider-btn.prev { left: 1.5rem; }
.slider-btn.next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .55rem;
  z-index: 10;
  padding: .35rem .5rem;
  background: transparent;
  pointer-events: none;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: background-color var(--transition), width var(--transition), opacity var(--transition);
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
}
.slider-dot:hover {
  background: rgba(255,255,255,.75);
}
.slider-dot.active {
  width: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.7);
}

/* ============================================================
   NÚMEROS
   ============================================================ */
.numbers-bar {
  scroll-margin-top: 100px;
  background: var(--secondary);
  padding: 2.5rem 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.number-item {
  text-align: center;
  color: var(--white);
  padding: .75rem;
}
.number-value {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  display: block;
}
.number-label {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  margin-top: .35rem;
  line-height: 1.4;
}

/* ============================================================
   QUEM SOMOS HOME
   ============================================================ */
.about-home {
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--secondary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}
.about-badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}
.about-badge-text span {
  font-size: .82rem;
  color: var(--text-light);
}
.pillars {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  align-items: stretch;
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--secondary);
  height: 100%;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--secondary-xlight);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-item h5 { font-size: .85rem; margin-bottom: .2rem; color: var(--secondary); }
.pillar-item p  { font-size: .78rem; color: var(--text-light); margin: 0; }

/* Para Empresas — diferencial econômico */
.corp-economy {
  padding: 80px 0;
}
.corp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}
.corp-compare-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border-top: 4px solid var(--gray-300);
}
.corp-compare-card--vittal {
  border-top-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.corp-compare-card h4 {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.corp-compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.corp-compare-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .75rem;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.corp-compare-card li:last-child { margin-bottom: 0; }
.corp-compare-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
}
.corp-compare-card--vittal li::before {
  background: var(--primary);
}
.corp-economy-pillars {
  max-width: 960px;
  margin: 0 auto;
}
.corp-economy-pillars .pillar-item {
  background: var(--white);
}
.corp-economy-pillars .pillar-item p {
  font-size: .85rem;
  line-height: 1.65;
}

/* Missão / Visão / Valores + Pilares (grupo-vittal) */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ============================================================
   ECOSSISTEMA
   ============================================================ */
.ecosystem {
  background: var(--white);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.eco-cascade {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.eco-cascade-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eco-cascade-step--root {
  max-width: 420px;
  margin: 0 auto;
}
.eco-cascade-fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  justify-items: stretch;
  align-items: stretch;
}
.eco-cascade-fork::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-xlight));
  pointer-events: none;
}
.eco-cascade-connector--from-fork {
  height: 20px;
  margin-left: auto;
  margin-right: auto;
}
.eco-cascade-connector--from-fork::after {
  display: none;
}
.eco-cascade-limb {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 100%;
}
.eco-cascade-limb > .eco-cascade-step {
  width: 100%;
}
.eco-cascade-limb > .eco-cascade-step > .eco-card--cascade:not(.eco-card--leaf) {
  min-height: 252px;
}
.eco-cascade-children {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 0.85rem;
  width: 100%;
  align-items: stretch;
}
.eco-cascade-children .eco-cascade-step {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}
/* Folhas do organograma — grid único de 4 colunas, mesma altura/largura */
.eco-cascade-leaves {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  align-items: stretch;
}
.eco-cascade-leaves > .eco-card--leaf {
  min-width: 0;
  min-height: 252px;
  height: 100%;
  align-self: stretch;
}
.eco-cascade-connector--to-leaves {
  height: 28px;
}
.eco-cascade-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--secondary-xlight), var(--primary-light));
  position: relative;
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}
.eco-cascade-connector::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--primary);
}
.eco-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: left;
  padding: 2rem 1.75rem;
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.eco-card--cascade {
  text-align: center;
  align-items: center;
}
.eco-card--cascade .eco-icon {
  margin-left: auto;
  margin-right: auto;
}
.eco-card--leaf {
  padding: 1.35rem 1.1rem;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}
.eco-card--leaf .eco-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
}
.eco-card--leaf h3 { font-size: 1rem; }
.eco-card--leaf p { font-size: 0.8rem; flex: 1; }
.eco-card--leaf .btn { margin-top: auto; }
.eco-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   ORGANOGRAMA (ecossistema / estrutura)
   ============================================================ */
.org-chart {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.org-chart-root {
  background: var(--secondary);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.org-chart-root small {
  display: block;
  margin-top: .35rem;
  font-weight: 400;
  font-size: .85rem;
  opacity: .8;
}
.org-chart-branches {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.org-chart-branch {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.org-chart-node {
  color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
}
.org-chart-node--clinica { background: var(--primary); }
.org-chart-node--beneficios { background: var(--secondary-light); }
.org-chart-node a,
.org-chart-leaf a {
  color: inherit;
  text-decoration: none;
}
.org-chart-children {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .75rem;
  width: 100%;
  align-items: stretch;
}
.org-chart-leaf {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 2px solid var(--primary-light);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-chart-branch:last-child .org-chart-leaf {
  border-color: var(--secondary-xlight);
}
.eco-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.eco-icon.rosa  { background: var(--primary-light);   color: var(--primary-deeper); }
.eco-icon.azul  { background: var(--secondary-xlight); color: var(--secondary); }
.eco-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  flex-shrink: 0;
}
.eco-card p {
  font-size: .85rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 0;
  line-height: 1.65;
}
.eco-card .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
  flex-shrink: 0;
}
/* Especificidade > .eco-card .btn para manter CTAs centralizados na cascata */
.eco-card.eco-card--cascade .btn {
  align-self: center;
}

/* ============================================================
   VITTAL ODONTO (HOME)
   ============================================================ */
.odonto-home {
  background: linear-gradient(135deg, var(--secondary-xlight) 0%, var(--off-white) 60%, #e4eef2 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.odonto-home-logo {
  height: 53px;
  width: auto;
  display: block;
  margin-bottom: 2rem;
}
.odonto-home .section-title {
  color: var(--secondary-dark);
}
.odonto-home .section-sub {
  color: var(--text);
}
.odonto-home-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.odonto-home-inner .section-title {
  margin-bottom: .75rem;
}
.odonto-home-inner .section-sub {
  max-width: 560px;
}
.odonto-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  flex-shrink: 0;
}

/* ============================================================
   VITTAL ODONTO (PAGE)
   ============================================================ */
.odonto-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
.odonto-spec-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
}
.odonto-spec-icon {
  margin-bottom: 1rem;
  color: var(--secondary);
}
.odonto-spec-card h3 {
  margin-bottom: .75rem;
}
.odonto-spec-card p {
  color: var(--text-light);
  font-size: .95rem;
  margin: 0;
  line-height: 1.7;
}
.odonto-eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.odonto-eco-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.odonto-eco-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary-xlight);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--secondary);
}
.odonto-eco-item h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.odonto-eco-item p {
  color: var(--text-light);
  font-size: .9rem;
  margin: 0;
}

/* Tecnologia Vittal — recursos digitais */
.vittal-tech {
  padding: 80px 0;
  background: var(--white);
}
.vittal-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.vittal-tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem 1.15rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.vittal-tech-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.vittal-tech-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-deeper);
  flex-shrink: 0;
}
.vittal-tech-card h3 {
  font-size: 1rem;
  margin-bottom: .55rem;
  color: var(--secondary);
}
.vittal-tech-card p {
  color: var(--text-light);
  font-size: .86rem;
  line-height: 1.65;
  margin: 0;
}

.page-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ============================================================
   CARTEIRINHA DIGITAL (produtos)
   ============================================================ */
.digital-cards {
  background: var(--off-white);
  padding: 80px 0;
}
.digital-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.digital-cards-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.digital-cards-visual::before {
  content: "";
  position: absolute;
  width: min(520px, 92%);
  height: min(360px, 72%);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(63, 100, 113, .12), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}
.digital-cards-composition {
  --digital-card-w: min(300px, 72vw);
  --digital-card-h: calc(var(--digital-card-w) * 0.6301);
  --digital-card-radius: 18px;
  position: relative;
  width: min(580px, 100%);
  height: min(400px, 52vh);
  min-height: 300px;
  perspective: 1800px;
  perspective-origin: 50% 48%;
  z-index: 1;
  overflow: visible;
}
.digital-card-item {
  position: absolute;
  width: var(--digital-card-w);
  height: var(--digital-card-h);
  left: 50%;
  top: 50%;
  margin-left: calc(var(--digital-card-w) / -2);
  margin-top: calc(var(--digital-card-h) / -2);
  transform-origin: center center;
  opacity: 0;
  will-change: transform, opacity;
}
.digital-card-tilt {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  border-radius: var(--digital-card-radius);
  z-index: 1;
}
.digital-card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--digital-card-radius);
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(31, 41, 51, .12),
    0 20px 50px rgba(31, 41, 51, .28);
}
.digital-card-item[data-layer="1"] .digital-card-face {
  box-shadow:
    0 2px 8px rgba(31, 41, 51, .1),
    0 12px 28px rgba(31, 41, 51, .14);
}
.digital-card-item[data-layer="2"] .digital-card-face {
  box-shadow:
    0 4px 12px rgba(31, 41, 51, .12),
    0 16px 38px rgba(31, 41, 51, .18);
}
.digital-card-item[data-layer="3"] .digital-card-face {
  box-shadow:
    0 6px 16px rgba(31, 41, 51, .14),
    0 20px 46px rgba(31, 41, 51, .22);
}
.digital-card-item[data-layer="4"] .digital-card-face {
  box-shadow:
    -8px 12px 28px rgba(31, 41, 51, .18),
    0 8px 20px rgba(31, 41, 51, .16),
    0 24px 54px rgba(31, 41, 51, .3),
    0 36px 72px rgba(31, 41, 51, .14);
}
.digital-card-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--digital-card-radius);
  -webkit-user-drag: none;
  user-select: none;
}
.digital-card-face .digital-card-sheen {
  position: absolute;
  inset: 0;
  border-radius: var(--digital-card-radius);
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .12) 0%, transparent 32%),
    linear-gradient(0deg, rgba(0, 0, 0, .1) 0%, transparent 28%);
}
.digital-card-item .digital-card-shadow {
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 74%;
  height: 20px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(31, 41, 51, .38), transparent 72%);
  filter: blur(9px);
  opacity: 0;
  z-index: 0;
}
.digital-card-item[data-layer="1"] .digital-card-shadow {
  width: 68%;
  height: 16px;
  bottom: -18px;
  filter: blur(7px);
  background: radial-gradient(ellipse at center, rgba(31, 41, 51, .28), transparent 74%);
}
.digital-card-item[data-layer="2"] .digital-card-shadow {
  width: 72%;
  height: 20px;
  bottom: -20px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(9px);
  background: radial-gradient(ellipse at center, rgba(31, 41, 51, .34), transparent 72%);
}
/* Sombra atrás do cartão PF — parte superior, fora da face */
.digital-card-item[data-layer="2"] .digital-card-top-shadow,
.digital-card-item[data-layer="4"] .digital-card-top-shadow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  top: -12%;
  left: 50%;
  width: 90%;
  height: 54px;
  transform: translateX(-50%);
  filter: blur(22px);
  background: radial-gradient(
    ellipse at 50% 85%,
    rgba(31, 41, 51, .58) 0%,
    rgba(31, 41, 51, .28) 42%,
    transparent 72%
  );
}
.digital-card-item[data-layer="2"] .digital-card-top-shadow {
  transform: translateX(-44%) translateY(10px) rotate(-11deg);
  width: 86%;
  height: 56px;
  filter: blur(24px);
}
.digital-card-item[data-layer="4"] .digital-card-top-shadow {
  transform: translateX(-56%) translateY(8px) rotate(8deg);
  width: 92%;
  height: 58px;
  filter: blur(26px);
  background: radial-gradient(
    ellipse at 50% 85%,
    rgba(31, 41, 51, .62) 0%,
    rgba(31, 41, 51, .3) 40%,
    transparent 70%
  );
}
.digital-card-item[data-layer="3"] .digital-card-shadow {
  width: 76%;
  height: 22px;
  bottom: -24px;
  filter: blur(10px);
  background: radial-gradient(ellipse at center, rgba(31, 41, 51, .4), transparent 70%);
}
.digital-card-item[data-layer="4"] .digital-card-shadow {
  width: 80%;
  height: 26px;
  bottom: -28px;
  filter: blur(12px);
  background: radial-gradient(ellipse at center, rgba(31, 41, 51, .48), transparent 68%);
}
.digital-cards-demo-note {
  position: relative;
  z-index: 1;
  margin: .35rem 0 0;
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
}
.digital-cards-benefits {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.digital-cards-benefits li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-light);
  font-size: .95rem;
  margin: 0;
}
.digital-cards-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.digital-cards-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
@media (max-width: 900px) {
  .digital-cards-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .digital-cards-copy {
    order: 2;
  }
  .digital-cards-visual {
    order: 1;
  }
  .digital-cards-composition {
    --digital-card-w: min(240px, 78vw);
    height: min(340px, 48vh);
  }
  .digital-cards-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .digital-cards-composition {
    --digital-card-w: min(210px, 84vw);
    min-height: 260px;
    height: min(300px, 46vh);
  }
}
@media (prefers-reduced-motion: reduce) {
  .digital-card-item {
    opacity: 1 !important;
  }
}

/* ============================================================
   PLANOS / PRODUTOS
   ============================================================ */
.plans {
  background: var(--off-white);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  padding-top: .85rem;
}

/* Home plans carousel */
.plans-slider {
  --plans-gap: 2rem;
  --plans-per-view: 3;
  position: relative;
  padding: 0 2.75rem 2.5rem;
}
.plans-slider-viewport {
  overflow: hidden;
  width: 100%;
  container-type: inline-size;
  container-name: plans-slider;
  padding-top: .85rem;
}
.plans-slider-track {
  display: flex;
  gap: var(--plans-gap);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  align-items: stretch;
  will-change: transform;
}
.plans-slider-track .plan-card {
  flex: 0 0 calc((100cqi - (var(--plans-gap) * (var(--plans-per-view) - 1))) / var(--plans-per-view));
  min-width: 0;
  height: auto;
}
.plans-slider-btn {
  position: absolute;
  top: calc(50% - 1.25rem);
  transform: translateY(-50%);
  z-index: 5;
  width: auto;
  height: auto;
  padding: .5rem;
  background: transparent;
  border: none;
  color: rgba(31, 41, 51, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition), opacity var(--transition);
}
.plans-slider-btn:hover:not(:disabled) {
  color: rgba(31, 41, 51, .85);
}
.plans-slider-btn:disabled,
.plans-slider-btn[aria-disabled="true"] {
  opacity: .28;
  cursor: default;
}
.plans-slider-btn[hidden] {
  display: none;
}
.plans-slider-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}
.plans-slider-btn.prev { left: 0; }
.plans-slider-btn.next { right: 0; }
.plans-slider-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .5rem;
  z-index: 5;
  padding: .25rem;
}
.plans-slider-dots[hidden] {
  display: none;
}
.plans-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  border: 1px solid rgba(31, 41, 51, .2);
  background: rgba(31, 41, 51, .22);
  cursor: pointer;
  transition: background-color var(--transition), width var(--transition);
}
.plans-slider-dot:hover {
  background: rgba(31, 41, 51, .45);
}
.plans-slider-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--secondary);
  border-color: var(--secondary);
}
.plans-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius); /* 4px */
  overflow: hidden; /* clipa o header ao radius do card — sem anel nos cantos */
  box-shadow: none;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card:hover, .plan-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}
.plan-card.featured {
  position: relative;
  /* Badge corta a borda do topo — precisa overflow visible neste card */
  overflow: visible;
}
.plan-badge-featured {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--primary-light);
  color: var(--primary-deeper);
  font-size: .68rem;
  font-weight: 700;
  padding: .35rem .85rem;
  border-radius: var(--radius-sm);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  border: none;
  pointer-events: none;
}
.plan-header {
  background: var(--secondary);
  padding: 1.75rem 2rem;
  color: var(--white);
  text-align: center;
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  /*
   * Radius 0: o fill retangular é clipado pelo overflow:hidden do .plan-card
   * (border-radius: var(--radius)). Evita o anel branco de nestar o mesmo
   * radius externo dentro da borda de 1px.
   */
  border-radius: 0;
}
/* Featured: card overflow visible → radius interno no header evita anel nos cantos */
.plan-card.featured .plan-header {
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.plan-header.rosa { background: var(--secondary); }
.plan-header.azul { background: var(--secondary-dark); }
.plan-name {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: .5rem;
  min-height: 1.25rem;
}
.plan-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  min-height: 2.75rem;
}
.plan-price sup { font-size: 1.5rem; vertical-align: super; }
.plan-price sub { font-size: .9rem; opacity: .8; }
.plan-period {
  font-size: .82rem;
  opacity: .75;
  margin-top: .25rem;
  min-height: 1.25rem;
}
.plan-body {
  padding: 1.75rem 2rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.plan-intro {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex-shrink: 0;
}
.plan-features {
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  list-style: none;
}
.plan-feature {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.85rem;
  padding: .45rem 0;
  font-size: .9rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--gray-100);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature svg { color: var(--success); flex-shrink: 0; }
.plan-footer {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.plan-footer .btn {
  width: 100%;
  margin-top: auto;
}
.plan-tax {
  font-size: .78rem;
  color: var(--text-light);
  margin: 0 0 .75rem;
  min-height: 1.15rem;
  flex-shrink: 0;
}

/* ============================================================
   CLÍNICAS
   ============================================================ */
.clinics-section { background: var(--white); }
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.clinic-card {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
}
.clinic-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.clinic-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.clinic-body h4 {
  margin-bottom: .25rem;
  color: var(--secondary);
  min-height: 2.6rem;
  line-height: 1.3;
}
.clinic-body .city {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  min-height: 1.2rem;
}
.clinic-info {
  font-size: .85rem;
  flex: 1;
  min-height: 5.5rem;
}
.clinic-info-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .35rem 0;
  min-height: 1.65rem;
  color: var(--text-light);
}
.clinic-info-item svg { flex-shrink: 0; color: var(--secondary); margin-top: 2px; }
.clinic-regulatory-detail {
  margin: 0;
}
.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
  min-height: 1.75rem;
  align-content: flex-start;
}
.clinic-body .btn {
  margin-top: 1.25rem;
  flex-shrink: 0;
}
.clinic-tag {
  background: var(--secondary-xlight);
  color: var(--secondary);
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
}

/* ============================================================
   PARCEIROS
   ============================================================ */
.partners { background: var(--gray-50); }
.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  min-height: 88px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  transition: all var(--transition);
}
.partner-item:hover {
  border-color: var(--secondary);
}
.partner-item img {
  max-height: 48px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-item--more {
  border: 2px dashed var(--gray-300);
  color: var(--text-light);
  font-weight: 600;
}

/* Fotos das unidades */
.clinic-photos-section {
  padding-block: 3rem;
}
.clinic-photos-section.is-hidden,
.clinic-card-photo.is-hidden,
body.clinic-photos-hidden .clinic-photos-section,
body.clinic-photos-hidden .clinic-card-photo {
  display: none !important;
}
.clinic-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.clinic-photo-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  aspect-ratio: 16 / 10;
}
.clinic-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clinic-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 180px;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed var(--gray-300);
  background: linear-gradient(145deg, var(--gray-50), var(--white));
  color: var(--text-light);
  text-align: center;
  font-size: .9rem;
}
.clinic-photo-placeholder svg { color: var(--secondary-xlight); opacity: .85; }
.clinic-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gray-50);
}
.clinic-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clinic-card-photo .clinic-photo-placeholder {
  min-height: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  font-size: .8rem;
  padding: 1.25rem;
}
.clinic-card-photo .clinic-photo-placeholder svg { width: 28px; height: 28px; }

.santa-casa-photo {
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.santa-casa-photo--sm { width: 108px; height: 108px; }
.santa-casa-photo--lg { width: 360px; height: 360px; max-width: 100%; }

.santa-casa-section {
  padding: 80px 0;
  background: var(--secondary);
}
.santa-casa-destaque {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.santa-casa-label {
  color: var(--primary-light);
}
.santa-casa-title {
  color: var(--white);
  margin-bottom: .75rem;
}
.santa-casa-lead {
  color: rgba(255, 255, 255, .9);
  font-size: .98rem;
  line-height: 1.75;
  margin: 0;
}
.santa-casa-sub {
  color: rgba(255, 255, 255, .75);
  font-size: .92rem;
  line-height: 1.7;
  margin: .85rem 0 0;
}
.santa-casa-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}
.santa-casa-benefit {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.2rem 1.1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  transition: background .2s, border-color .2s;
}
.santa-casa-benefit:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
}
.santa-casa-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.santa-casa-benefit h3 {
  font-size: .92rem;
  color: var(--white);
  margin: 0 0 .35rem;
  line-height: 1.35;
}
.santa-casa-benefit p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .78);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   HISTÓRICO / TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5rem;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
  border-radius: 0;
}
.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: .25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--secondary);
}
.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  color: var(--secondary);
  background: var(--secondary-xlight);
  padding: .2rem .65rem;
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
}
.timeline-item h4 { margin-bottom: .35rem; }
.timeline-item p { color: var(--text-light); font-size: .9rem; }

.timeline-page-section {
  position: relative;
  overflow: hidden;
  background-color: var(--off-white);
  background-image:
    linear-gradient(180deg, rgba(247, 249, 250, .92) 0%, rgba(237, 243, 246, .88) 50%, rgba(247, 249, 250, .94) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320' fill='none'%3E%3Cg stroke='%233F6471' stroke-width='1' opacity='.22'%3E%3Cpath d='M0 40h320M0 80h320M0 120h320M0 160h320M0 200h320M0 240h320M0 280h320'/%3E%3Cpath d='M40 0v320M80 0v320M120 0v320M160 0v320M200 0v320M240 0v320M280 0v320'/%3E%3C/g%3E%3Cg fill='none' stroke='%233F6471' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' opacity='.38'%3E%3Cpath d='M18 62c28 8 46-18 78-12 26 5 38 28 66 24 24-3 42-22 70-18 22 3 40 20 58 16'/%3E%3Cpath d='M8 148c34-14 58 10 92 4 30-5 44-30 78-26 28 3 48 26 76 20 20-4 36-18 54-14'/%3E%3Cpath d='M24 230c30 12 52-8 82-2 28 6 40 28 70 22 26-5 44-24 72-18 20 4 38 18 56 12'/%3E%3Cpath d='M42 28c-6 36 18 54 12 88-5 28-30 42-24 74 4 26 26 44 18 72'/%3E%3Cpath d='M168 12c8 34-14 56-6 90 6 28 32 40 24 72-6 24-28 42-18 68'/%3E%3Cpath d='M278 48c-10 32 8 58 2 90-5 26-28 40-20 70 6 24 24 40 16 64'/%3E%3C/g%3E%3Cg fill='none' stroke='%233F6471' stroke-width='1.5' stroke-linecap='round' opacity='.32'%3E%3Cpath d='M52 88l38 22 44-30 52 36 48-18 46 28'/%3E%3Cpath d='M36 196l46-16 40 28 56-22 42 30 54-12'/%3E%3Cpath d='M110 42l18 54-28 48 36 52-14 46'/%3E%3Cpath d='M220 58l-12 48 34 40-22 56 28 42'/%3E%3C/g%3E%3Cg fill='%233F6471' opacity='.28'%3E%3Ccircle cx='90' cy='110' r='2.5'/%3E%3Ccircle cx='178' cy='116' r='2.5'/%3E%3Ccircle cx='248' cy='98' r='2.5'/%3E%3Ccircle cx='82' cy='208' r='2.5'/%3E%3Ccircle cx='168' cy='186' r='2.5'/%3E%3Ccircle cx='254' cy='214' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 320px 320px;
  background-repeat: no-repeat, repeat;
  background-position: center, center;
}
.timeline-page-section::before,
.timeline-page-section::after {
  display: none;
}
.timeline-page-section .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   REDE CREDENCIADA / BUSCA
   ============================================================ */
.rede-search {
  background: var(--white);
  padding: 3rem 0 0;
}
/* Tighter handoff into Convênios — avoid double empty band after tall iframe */
.rede-search + section {
  padding-top: 1.625rem;
}
.rede-search .container {
  text-align: center;
  max-width: none;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
.rede-search h2 { color: var(--secondary-dark); margin-bottom: .75rem; }
.rede-search p { color: var(--text-light); margin-bottom: 1.5rem; }
/* Clip iframe chrome/scrollbar so the busca feels like page content */
.search-iframe-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  /* filters + tabs + folga moderada (menos faixa branca até Convênios) */
  height: 1090px;
}
.search-iframe-wrap iframe {
  display: block;
  width: calc(100% + 20px); /* empurra scrollbar vertical para fora do clip */
  max-width: none;
  height: 1090px;
  min-height: 1090px;
  border: 0;
  background: transparent;
}
@media (max-width: 768px) {
  .search-iframe-wrap,
  .search-iframe-wrap iframe {
    height: 1270px;
    min-height: 1270px;
  }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 48px;
  height: 48px;
  background: rgba(18, 140, 126, 0.8);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background-color var(--transition), bottom var(--transition), right var(--transition);
}
.whatsapp-float:hover {
  background: rgba(14, 115, 104, 0.95);
}
.whatsapp-float svg { color: white; }
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1rem;
    right: .75rem;
    /* Keep clear of footer CTAs / safe area */
    margin-bottom: env(safe-area-inset-bottom, 0);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1A252C;
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-areas:
    "brand nav units contact"
    "brand nav products contact";
  column-gap: 3rem;
  row-gap: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: start;
}
.footer-brand { grid-area: brand; }
.footer-stack { display: contents; }
.footer-col--nav { grid-area: nav; }
.footer-col--units { grid-area: units; }
.footer-col--products { grid-area: products; }
.footer-col--contact { grid-area: contact; }
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.footer-logo em { color: var(--primary); font-style: normal; }
.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.65);
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
}
.footer-social-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.footer-social-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.footer-social-icons {
  display: flex;
  gap: .5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: background-color var(--transition), color var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,.16);
  color: var(--white);
}
.footer-apps {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 1.25rem;
}
.footer-apps-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.footer-apps-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.footer-app-link {
  display: block;
  line-height: 0;
  opacity: .95;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-app-link:hover { opacity: 1; transform: translateY(-1px); }
.footer-app-link img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 6px;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links li {
  font-size: .87rem;
  color: var(--secondary-light);
  line-height: 1.45;
}
/* Precisa vencer a regra global `li a:not(.btn)` (cor --secondary) */
.footer li a:not(.btn),
.footer .footer-links a {
  font-size: .87rem;
  color: var(--secondary-light);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer li a:not(.btn):hover,
.footer .footer-links a:hover {
  color: var(--white);
}
.footer-contact-block span,
.footer-contact-block a {
  display: block;
}
.footer-contact-label,
.footer-contact-block,
.footer-contact-block strong,
.footer-contact-block span,
.footer .footer-hours li {
  display: block;
  font-size: .87rem;
  color: var(--secondary-light);
  line-height: 1.45;
}
.footer-contact-label {
  font-weight: 600;
  margin-bottom: .2rem;
}
.footer-contact-block span {
  margin-bottom: .25rem;
}
.footer-hours-title {
  margin-top: 1.5rem;
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-credit {
  margin: 0;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  line-height: 1.4;
}
.footer-credit a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
}
.footer-credit a:hover {
  color: rgba(255,255,255,.55);
}
.footer-badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--secondary);
  padding: 4.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   AREA CLIENTE
   ============================================================ */
.client-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
}
.client-card {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--text);
  height: 100%;
  min-height: 220px;
  background: var(--white);
}
.client-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.client-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--secondary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}
.client-card h4 {
  font-size: 1.05rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin: 0;
}
.client-card p {
  font-size: .88rem;
  color: var(--text-light);
  margin: 0;
  flex: 1;
  line-height: 1.55;
  max-width: 28ch;
}
.client-app-downloads {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.client-app-downloads .app-store-btn {
  padding: .45rem 1rem;
  font-size: .9rem;
  border-radius: 6px;
}
.client-app-downloads .app-store-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--secondary-dark);
  padding: 4rem 0 3.25rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-hero::before,
.page-hero::after { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero .odonto-hero-logo {
  margin-bottom: 1.75rem;
  line-height: 0;
}
.page-hero .odonto-hero-logo img {
  height: clamp(52px, 9vw, 80px);
  width: auto;
  display: block;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; }

/* Page heroes com foto de fundo (baixa opacidade) sobre o verde */
.page-hero--odonto,
.page-hero--historia {
  background: var(--secondary-dark);
}
.page-hero--odonto .page-hero-media,
.page-hero--historia .page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.page-hero--historia .page-hero-media {
  object-position: center 60%;
}
.page-hero--odonto::before,
.page-hero--historia::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(47, 74, 84, 0.55) 0%,
    rgba(47, 74, 84, 0.28) 45%,
    rgba(47, 74, 84, 0.42) 100%
  );
}
.page-hero--odonto .container,
.page-hero--historia .container {
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.spec-item:hover {
  border-color: var(--secondary);
  background: var(--off-white);
}
.spec-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}
.spec-item span { font-size: .87rem; font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: .95rem;
  background: var(--white);
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question.open { background: var(--secondary-xlight); color: var(--secondary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(180deg); background: var(--secondary); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer.open { max-height: 500px; }
.faq-answer-inner {
  padding: 1.25rem 1.5rem;
  font-size: .9rem;
  color: var(--text-light);
  border-top: 1px solid var(--gray-200);
  line-height: 1.7;
}

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-iframe-wrap {
  width: 100%;
  max-width: 100%;
  min-height: 650px;
  overflow: hidden;
}
.contact-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 650px;
  height: 650px;
  border: none;
  overflow: auto;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--secondary); }
.form-control::placeholder { color: var(--gray-500); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body { background: var(--gray-50); min-height: 100vh; }
.admin-header {
  background: var(--secondary-dark);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.admin-header h1 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}
.admin-header h1 span { color: var(--primary-light); }
.admin-header-actions { display: flex; gap: .75rem; align-items: center; }
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}
.admin-sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: var(--secondary); background: var(--off-white); }
.admin-nav-item.active {
  color: var(--secondary);
  background: var(--secondary-xlight);
  border-left-color: var(--secondary);
}
.admin-content { padding: 2rem; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200);
}
.admin-card h3 {
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1rem;
  color: var(--secondary);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  text-align: left;
  padding: .75rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: .85rem;
}
.admin-table th {
  font-weight: 700;
  color: var(--text-light);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--off-white);
}
.admin-table td img { max-height: 48px; border-radius: 6px; }
.admin-actions { display: flex; gap: .5rem; }
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  transition: all var(--transition);
}
.admin-btn-primary { background: var(--secondary); color: var(--white); }
.admin-btn-primary:hover { background: var(--secondary-dark); }
.admin-btn-danger { background: #FEE2E2; color: var(--danger); }
.admin-btn-danger:hover { background: var(--danger); color: var(--white); }
.admin-btn-success { background: #D1FAE5; color: #065F46; }
.admin-btn-success:hover { background: var(--success); color: var(--white); }
.admin-btn-secondary { background: var(--gray-100); color: var(--text); }
.admin-btn-secondary:hover { background: var(--gray-200); }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.admin-form-group { margin-bottom: 1rem; }
.admin-form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.admin-form-group input, .admin-form-group select, .admin-form-group textarea {
  width: 100%;
  padding: .6rem .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .87rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.admin-form-group input:focus, .admin-form-group select:focus, .admin-form-group textarea:focus {
  border-color: var(--secondary);
}
.admin-drag-hint {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: .25rem;
}
.drag-handle {
  cursor: grab;
  color: var(--gray-300);
  padding: 0 .5rem;
}
.drag-handle:active { cursor: grabbing; }
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-primary { color: var(--secondary); }
.text-secondary { color: var(--secondary); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-sm { font-size: .87rem; }
.font-bold { font-weight: 700; }
.bg-white { background: var(--white); }
.bg-light { background: var(--off-white); }
.bg-secondary { background: var(--secondary); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- ANIMAÇÕES ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* Observer-based reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav units"
      "products contact";
    column-gap: 2rem;
    row-gap: 2rem;
  }
  .mvv-grid,
  .values-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid--2 { grid-template-columns: 1fr; }
  .plans-slider { --plans-per-view: 2; }
  .clinics-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .vittal-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .santa-casa-benefits { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16/7; max-height: 340px; }
  .about-badge { left: 1rem; }
  /* Subir o foco: rostos ficam no terço superior das fotos portrait */
  .about-image img {
    object-position: center 15%;
  }
  .about-home .about-image img {
    object-position: center 20%;
  }
  .page-grupo-vittal .about-image img {
    object-position: center 28%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --header-h-scrolled: 52px;
  }
  section { padding: 60px 0; }

  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .topbar { display: none; }
  .header-logo img { height: 42px; }
  .header.scrolled .header-logo img { height: 24px; }

  .nav, .header-actions { display: none; }
  .burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .65rem;
  }

  /* Touch targets — mobile nav & actions */
  .mobile-nav-link {
    min-height: 44px;
    padding: .9rem 1rem;
  }
  .mobile-nav-sub a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: .85rem 1rem;
  }
  .mobile-actions .btn {
    min-height: 44px;
  }

  /* Long CTAs: allow wrap instead of horizontal overflow */
  .btn {
    white-space: normal;
    text-align: center;
    min-height: 44px;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  .btn-sm {
    min-height: 40px;
    padding-top: .55rem;
    padding-bottom: .55rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }
  .page-hero h1 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    margin-bottom: .5rem;
    overflow-wrap: anywhere;
  }
  .page-hero p {
    font-size: .95rem;
    line-height: 1.55;
    max-width: 100%;
  }
  .page-hero .odonto-hero-logo {
    margin-bottom: 1.25rem;
  }
  .page-hero .odonto-hero-logo img {
    height: clamp(40px, 11vw, 56px);
    max-width: min(100%, 280px);
  }
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .breadcrumb {
    margin-bottom: .75rem;
    flex-wrap: wrap;
    gap: .35rem .5rem;
  }

  .slide { min-height: 460px; }
  .slide-content {
    padding: 3rem 0 4.5rem;
    max-width: 100%;
  }
  .slide-title {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
    overflow-wrap: anywhere;
  }
  .slide-desc { font-size: .95rem; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: 100%; justify-content: center; min-height: 44px; }

  .slider-btn {
    min-width: 44px;
    min-height: 44px;
    padding: .65rem;
  }
  .slider-btn.prev { left: .35rem; }
  .slider-btn.next { right: .35rem; }
  .slider-dots { bottom: 1rem; }

  .about-badge {
    left: .75rem;
    right: .75rem;
    bottom: 1rem;
    padding: 1rem 1.1rem;
  }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .number-item { padding: .5rem .25rem; }
  .number-label {
    font-size: .72rem;
    overflow-wrap: anywhere;
  }
  .eco-grid { grid-template-columns: 1fr; }
  .eco-cascade-fork {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eco-cascade-fork::before { display: none; }
  .eco-cascade-connector--from-fork {
    display: none;
  }
  .eco-cascade-limb + .eco-cascade-limb .eco-cascade-connector--from-fork {
    display: block;
    height: 28px;
  }
  .eco-cascade-limb + .eco-cascade-limb .eco-cascade-connector--from-fork::after {
    display: block;
  }
  .eco-cascade-children {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eco-cascade-leaves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .eco-cascade-leaves > .eco-card--leaf {
    min-height: 0;
  }
  .eco-cascade-children .eco-cascade-step + .eco-cascade-step {
    margin-top: 0;
  }
  .eco-cascade-children .eco-cascade-step + .eco-cascade-step::before {
    content: '';
    display: block;
    width: 2px;
    height: 22px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--secondary-xlight), var(--primary-light));
  }
  .eco-cascade-children .eco-cascade-step + .eco-cascade-step::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin: -2px auto 6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--primary);
  }
  .eco-cascade-step--root { max-width: 100%; }

  .org-chart-branches {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .org-chart-branch {
    min-width: 0;
    width: 100%;
  }
  .org-chart-children {
    flex-direction: column;
  }
  .org-chart-leaf {
    min-width: 0;
    width: 100%;
    min-height: 44px;
  }

  .odonto-home-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .odonto-home-actions { width: 100%; }
  .odonto-home-actions .btn { flex: 1; justify-content: center; min-height: 44px; }
  .odonto-spec-grid,
  .odonto-eco-grid { grid-template-columns: 1fr; }
  .vittal-tech-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-slider {
    --plans-per-view: 1;
    --plans-gap: 1.25rem;
    padding: 0 2.1rem 2.25rem;
  }
  .plans-slider-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .plan-footer .btn {
    width: 100%;
    min-height: 44px;
  }
  .clinics-grid { grid-template-columns: 1fr; }
  .client-area-grid { grid-template-columns: 1fr; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-iframe-wrap,
  .contact-iframe {
    min-height: 720px;
    height: 720px;
  }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-control {
    min-height: 44px;
    font-size: 16px; /* evita zoom iOS */
  }
  .faq-question {
    min-height: 48px;
    padding: 1rem 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 15% 35% 35% 15%;
    grid-template-areas:
      "brand brand brand brand"
      ". mid-left mid-right .";
    column-gap: 0;
    row-gap: 1.75rem;
  }
  .footer-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  .footer-stack--mid-left {
    grid-area: mid-left;
    padding-inline-end: .625rem;
  }
  .footer-stack--mid-right {
    grid-area: mid-right;
    padding-inline-start: .625rem;
  }
  .footer-col--nav,
  .footer-col--units,
  .footer-col--products,
  .footer-col--contact {
    grid-area: auto;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
  }
  .footer-logo img {
    margin-inline: auto;
  }
  .footer-social {
    justify-content: center;
    align-items: flex-end;
  }
  .footer-social-group {
    align-items: center;
  }
  .footer-apps {
    align-items: center;
  }
  .footer-apps-links {
    justify-content: center;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .pillars { grid-template-columns: 1fr 1fr; }
  .corp-compare-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .timeline { padding-left: 1.5rem; }

  .santa-casa-destaque {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
    justify-items: center;
  }
  .santa-casa-destaque-copy {
    text-align: center;
  }
  .santa-casa-benefits {
    grid-template-columns: 1fr;
  }
  .santa-casa-photo--lg {
    width: min(360px, 85vw);
    height: auto;
    aspect-ratio: 1;
  }

  .clinic-map {
    height: min(420px, 70vw);
    min-height: 260px;
  }

  /* Reduce horizontal overflow risk on narrow viewports */
  .container {
    max-width: 100%;
  }
  img, video, iframe {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-form-row { grid-template-columns: 1fr; }

  .clinic-info-grid { grid-template-columns: 1fr; }

  .pillars,
  .values-grid { gap: .55rem; }
  .footer-grid { row-gap: 1.5rem; }
  .footer-stack { gap: 1.5rem; }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-hero {
    padding: 2rem 0 1.5rem;
  }
  .page-hero h1 {
    font-size: clamp(1.3rem, 7vw, 1.65rem);
  }
  .page-hero p {
    font-size: .9rem;
  }

  section { padding: 48px 0; }

  .slide { min-height: 420px; }
  .slide-content { padding: 2.25rem 0 4.25rem; }

  .plans-slider {
    padding: 0 1.75rem 2rem;
  }

  .contact-iframe-wrap,
  .contact-iframe {
    min-height: 780px;
    height: 780px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CLINIC INFO CARDS ---------- */
.clinic-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.clinic-info-section {
  padding-bottom: 1.25rem;
}
.clinic-info-section .clinic-info-grid {
  margin-bottom: 0;
}
.clinic-map-section {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}
.clinic-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 420px;
  background: var(--off-white);
}
.clinic-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.clinics-network-map__frame {
  height: 480px;
}
.clinics-network-map__canvas {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
}
.clinics-network-map__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: .9rem;
}
.clinics-map-marker-wrap {
  background: transparent;
  border: 0;
}
.clinics-map-marker {
  display: block;
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border: 3px solid white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
@media (max-width: 560px) {
  .clinics-network-map__frame {
    height: 360px;
  }
}
.clinic-info-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.clinic-info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--secondary-xlight);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clinic-info-card h4 { font-size: .85rem; font-weight: 700; color: var(--secondary); margin-bottom: .35rem; }
.clinic-info-card p  { font-size: .82rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.clinic-info-card a  { color: var(--secondary); }
.clinic-info-card a:hover { color: var(--secondary-dark); }

/* ---------- SPECIALTIES GRID ---------- */
.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.specialty-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.specialty-badge:hover {
  border-color: var(--secondary);
  background: var(--secondary-xlight);
  color: var(--secondary-dark);
}

/* ---------- UTILITY EXTRAS ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: 1.25rem; }
.mb-3 { margin-bottom: 1.25rem; }
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }

@media (max-width: 900px) {
  .clinic-info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .clinic-info-grid { grid-template-columns: 1fr; }
}

.cookie-blocked-placeholder {
  font-size: .85rem;
  color: var(--text-light);
  padding: 1rem;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin: 0;
}
html[data-cookie-consent="all"] .cookie-blocked-placeholder { display: none; }
html:not([data-cookie-consent="all"]) iframe[data-src]:not([src]) { display: none; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 24px rgba(31, 41, 51, .08);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.cookie-banner-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .35rem;
}
.cookie-banner-desc {
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}
.cookie-banner-desc a {
  color: var(--secondary);
  transition: color var(--transition);
}
.cookie-banner-desc a:hover {
  color: var(--secondary-dark);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.cookie-banner .btn-outline {
  background: var(--white);
}

/* ============================================================
   CONTEÚDO LEGAL
   ============================================================ */
.legal-content { padding: 64px 0 80px; }
.legal-body {
  max-width: 760px;
  margin: 0 auto;
}
.legal-updated {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-body h2 {
  font-size: 1.2rem;
  margin: 2rem 0 .75rem;
  color: var(--secondary-dark);
}
.legal-body p,
.legal-body li {
  font-size: .94rem;
  color: var(--text-light);
  line-height: 1.75;
}
.legal-body ul {
  margin: .75rem 0 1rem 1.25rem;
  list-style: disc;
}
.legal-body a:not(.btn) {
  color: var(--secondary);
  transition: color var(--transition);
}
.legal-body a:not(.btn):hover {
  color: var(--secondary-dark);
}
.legal-actions .btn { text-decoration: none; }
.legal-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.footer-legal-link {
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}
.footer-legal-link:hover { color: var(--white); }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1rem;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 0;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn {
    flex: 1;
    justify-content: center;
  }
  html.cookie-banner-open .whatsapp-float {
    bottom: 5.75rem;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .header, .footer, .whatsapp-float, .topbar { display: none; }
  .page-hero { padding: 2rem 0; }
}
