/* ==========================================================================
   SPATIUM ECOSSISTEMA DE SAÚDE MENTAL — DESIGN SYSTEM (ESTILO TOUR HOUSE)
   Estética: Boutique Humanizada, Luxo Suave, Psicologia & Acolhimento
   ========================================================================== */

/* Fontes Locais Chillax */
@font-face {
  font-family: 'Chillax';
  src: url('./fonts/chillax-variable.woff2') format('woff2'),
       url('./fonts/chillax-variable.woff') format('woff'),
       url('./fonts/chillax-variable.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Chillax';
  src: url('./fonts/chillax-bold.woff2') format('woff2'),
       url('./fonts/chillax-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Chillax';
  src: url('./fonts/chillax-semibold.woff2') format('woff2'),
       url('./fonts/chillax-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Chillax';
  src: url('./fonts/chillax-medium.woff2') format('woff2'),
       url('./fonts/chillax-medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

/* Tipografia Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400&display=swap');

/* --------------------------------------------------------------------------
   1. Design Tokens (Paleta Oficial Spatium & Estilo Tour House)
   -------------------------------------------------------------------------- */
:root {
  /* As 4 Cores Oficiais das Frentes Spatium (Guia de Identidade Visual Oficial) */
  --sp-azul-clinica: #234E92;          /* Frente 1: Clínica Spatium (Azul Nobre) */
  --sp-azul-clinica-dark: #072144;
  --sp-azul-soft: #edf4fb;
  --sp-azul-border: #bcd2eb;
  
  --sp-verde-hospital: #4E8717;        /* Frente 2: Hospital Psiquiátrico Spatium (Verde Oliva) */
  --sp-verde-hospital-light: #67A824;
  --sp-verde-hospital-soft: #f4fbe8;
  --sp-verde-hospital-border: #d9f99d;

  --sp-verde-residencial: #074C47;     /* Frente 3: Residencial Spatium (Verde Petróleo / Teal) */
  --sp-verde-residencial-light: #11756D;
  --sp-verde-soft: #eaf6f4;
  --sp-verde-border: #a7ddd6;
  
  --sp-laranja-labs: #C75B09;          /* Frente 4: Spatium Labs (Laranja Âmbar / Terracota) */
  --sp-laranja-labs-light: #DB7C00;
  --sp-laranja-soft: #fff7ed;
  --sp-laranja-border: #fed7aa;

  /* Aliases para consistência em todo o projeto */
  --accent-clinica: var(--sp-azul-clinica);
  --accent-hospital: var(--sp-verde-hospital);
  --accent-residencial: var(--sp-verde-residencial);
  --accent-labs: var(--sp-laranja-labs);

  /* Variáveis de frente dinâmicas padrão (Clínica) */
  --theme-front-color: #234E92;
  --theme-front-hover: #1a3c72;
  --theme-front-soft: #edf4fb;
  --theme-front-border: #bcd2eb;
  --theme-front-shadow: rgba(35, 78, 146, 0.28);

  /* Fundos Humanizados & Superfícies Claras (Estilo Tour House) */
  --bg-page: #FBFBFA;                  /* Off-white quente e acolhedor */
  --bg-surface: #FFFFFF;               /* Branco puro para cards */
  --bg-subtle: #F4F3EE;                /* Fundo suave para alternância de seções */
  --bg-pill: rgba(255, 255, 255, 0.94);
  --bg-footer: #142230;                /* Azul marinho profundo institucional */

  /* Textos & Contrastes Humanizados */
  --text-primary: #172B38;             /* Azul petróleo escuro para títulos */
  --text-secondary: #475569;           /* Cinza suave para parágrafos */
  --text-muted: #64748b;               /* Labels e notas */
  --text-light: #94a3b8;
  
  /* Bordas Sutis & Vidro */
  --border-light: #E5E7EB;
  --border-card: #ECEAE3;
  --border-subtle: rgba(23, 43, 56, 0.08);
  
  /* Tipografia */
  --font-brand: 'Chillax', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Dimensões & Geometria Padrão Tour House */
  --container-max: 1240px;
  --radius-pill: 999px;
  --radius-panel: 24px;
  --radius-card: 18px;
  --radius-sm: 10px;
  
  /* Sombras Macias e Elegantes */
  --shadow-sm: 0 2px 8px rgba(23, 43, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 43, 56, 0.06);
  --shadow-lg: 0 16px 40px rgba(23, 43, 56, 0.08);
  --shadow-pill: 0 12px 32px rgba(23, 43, 56, 0.08);

  /* Transições */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Transições Nativas entre Páginas (Cross-Document View Transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

.site-header {
  view-transition-name: main-site-header;
}

/* Transição Nobre e Aveludada entre Páginas (Cross-Document View Transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

.site-header {
  view-transition-name: main-site-header;
}

::view-transition-old(root) {
  animation: 0.36s cubic-bezier(0.4, 0, 0.2, 1) both pageFadeOut;
}

::view-transition-new(root) {
  animation: 0.58s cubic-bezier(0.16, 1, 0.3, 1) both pageFadeIn;
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.995);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Transição sedosa de saída e entrada de página para todos os navegadores */
body {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-is-exiting {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* Animação suave e fluida de revelação dos textos e títulos ao entrar em qualquer página */
@keyframes smoothTextReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Títulos, subtítulos e chamadas principais entram com elegância e calma */
.hero__title,
.chapter-header h1,
.chapter-header h2,
.ro-empathy__title,
.hero-cluster__title,
.dyn-hero-title,
.section-py h1 {
  animation: smoothTextReveal 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__desc,
.chapter-header p,
.ro-empathy__subtitle,
.hero-cluster__lead,
.dyn-hero-desc {
  animation: smoothTextReveal 0.88s cubic-bezier(0.16, 1, 0.3, 1) 0.09s both;
}

.hero__actions,
.hero-cluster__actions,
.dyn-hero-actions,
.hero-cluster__chips {
  animation: smoothTextReveal 0.94s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.badge-spatium,
.tech-tag {
  animation: smoothTextReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .chapter-header h1,
  .chapter-header h2,
  .ro-empathy__title,
  .hero-cluster__title,
  .dyn-hero-title,
  .section-py h1,
  .hero__desc,
  .chapter-header p,
  .ro-empathy__subtitle,
  .hero-cluster__lead,
  .dyn-hero-desc,
  .hero__actions,
  .hero-cluster__actions,
  .dyn-hero-actions,
  .badge-spatium,
  .tech-tag {
    animation: none !important;
  }
}

/* Feedback tátil suave para qualquer clique no ecossistema */
button,
a,
.btn-pill-primary,
.ro-btn-yellow,
.btn-pill-secondary,
.ro-btn-outline-white,
.front-switcher__btn,
.nav-link,
.ro-faq-trigger,
.faq-question,
.solution-card,
.ro-bento-card,
.nav-dropdown__link {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

button:active,
.btn-pill-primary:active,
.ro-btn-yellow:active,
.btn-pill-secondary:active,
.ro-btn-outline-white:active,
.site-header__actions a:active,
.header-cta a:active,
.front-switcher__btn:active {
  transform: scale(0.97) !important;
  transition-duration: 0.08s !important;
}

.nav-link:active {
  transform: scale(0.96) !important;
  transition-duration: 0.08s !important;
}

/* --------------------------------------------------------------------------
   3. Tipografia Humanizada e Elegante
   -------------------------------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 4.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h3, .h3 {
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

h4, .h4 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

p, .p-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Badges Acolhedores */
.badge-spatium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.badge-spatium--clinica {
  background: var(--sp-azul-soft);
  color: var(--sp-azul-clinica);
  border-color: var(--sp-azul-border);
}

.badge-spatium--residencial {
  background: var(--sp-verde-soft);
  color: var(--sp-verde-residencial);
  border-color: var(--sp-verde-border);
}

.badge-spatium--labs {
  background: var(--sp-laranja-soft);
  color: #d91b1b;
  border-color: var(--sp-laranja-border);
}

/* Fallback e Compatibilidade para tech-tag (Padrão Tour House Acolhedor) */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  line-height: 1;
}

.tech-tag--blue, .tech-tag--cyan {
  background: var(--sp-azul-soft) !important;
  color: var(--sp-azul-clinica) !important;
  border-color: var(--sp-azul-border) !important;
}

.tech-tag--emerald, .tech-tag--green {
  background: var(--sp-verde-soft) !important;
  color: var(--sp-verde-residencial) !important;
  border-color: var(--sp-verde-border) !important;
}

.tech-tag--red {
  background: var(--sp-laranja-soft) !important;
  color: #d91b1b !important;
  border-color: var(--sp-laranja-border) !important;
}

.tech-tag--amber {
  background: #fefce8 !important;
  color: #b45309 !important;
  border-color: #fef08a !important;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulseGentle 2s ease-in-out infinite;
}

@keyframes pulseGentle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   4. Containers & Estrutura
   -------------------------------------------------------------------------- */
.container {
  width: 100% !important;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.section-py {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.chapter-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

/* --------------------------------------------------------------------------
   5. Botões em Pílula Elegantes (Estilo Tour House)
   -------------------------------------------------------------------------- */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  background: var(--theme-front-color, var(--sp-azul-clinica));
  color: #ffffff !important;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--theme-front-shadow, rgba(29, 82, 143, 0.25));
  transition: background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.15s ease;
}

.btn-pill-primary:hover {
  background: var(--theme-front-hover, #164173);
  box-shadow: 0 8px 24px var(--theme-front-shadow, rgba(29, 82, 143, 0.35));
  transform: translateY(-2px);
}

.btn-pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-pill-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Pílulas de Filtro e Abas Interativas */
.triage-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ffffff;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sp-border);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.triage-tab:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text-primary);
}

.triage-tab.is-active {
  background: var(--sp-azul-clinica) !important;
  color: #ffffff !important;
  border-color: var(--sp-azul-clinica) !important;
  box-shadow: 0 4px 14px rgba(29, 82, 143, 0.25);
}

/* Compatibilidade com classes anteriores */
.btn-border-beam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--sp-azul-clinica);
  color: #ffffff !important;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(29, 82, 143, 0.25);
  transition: var(--transition);
}

.btn-border-beam:hover {
  background: #164173;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 82, 143, 0.35);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.btn-glass:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Superfícies e Cards Institucionais */
.glass-island {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   6. Top-bar Institucional
   -------------------------------------------------------------------------- */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sp-verde-residencial);
  font-weight: 600;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__link {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: color 0.2s;
}

.topbar__link:hover {
  color: var(--sp-azul-clinica);
}

/* --------------------------------------------------------------------------
   7. Header Institucional Spatium com Elevação e Vidro Fosco no Scroll
   -------------------------------------------------------------------------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 33, 68, 0.08);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  pointer-events: auto;
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto;
  padding: 0 24px !important;
  box-sizing: border-box;
}

/* No Topo e no Scroll: Barra nobre, ampla e 100% protegida contra sobreposição */
.site-header__pill {
  width: 100%;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  transition: height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* NO SCROLL: Transição suave para Vidro Fosco Nobre Full-Width
   Evita qualquer vazamento de texto do Hero por frestas transparentes */
.site-header.is-scrolled {
  padding: 0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 33, 68, 0.10) !important;
  box-shadow: 0 10px 30px rgba(7, 33, 68, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
}

.site-header.is-scrolled .container {
  max-width: 1240px !important;
  padding: 0 24px !important;
  pointer-events: auto;
}

.site-header.is-scrolled .site-header__pill {
  height: 68px;
  min-height: 68px;
  max-height: 68px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  pointer-events: auto;
}

/* Logo Oficial da Navbar (Escala nobre proporcional à barra) */
.site-header-logo-img {
  height: 42px;
  max-height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header-logo-img:hover {
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0;
  }
  .site-header.is-scrolled {
    padding: 0;
  }
  .site-header__pill {
    height: 58px;
    min-height: 58px;
    max-height: 58px;
  }
  .site-header.is-scrolled .site-header__pill {
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    padding: 0;
  }
  .site-header-logo-img {
    height: 32px;
    max-height: 32px;
  }
}

/* Coluna 1: Brand Logo Container (Largura Estável: 180px para simetria perfeita com o CTA) */
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  height: 50px;
  text-decoration: none;
  color: var(--text-primary);
  overflow: visible;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sp-azul-clinica), #2a68b0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(29, 82, 143, 0.3);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}


.hero-brand-badge-wrap {
  min-height: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.hero-brand-badge-img {
  height: 56px;
  max-height: 56px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: inline-block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.solution-card__logo {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.footer-top__logo {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Coluna 2: Menu Desktop Centralizado (Escala Tour House Estabilizada) */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 8px;
  flex: 1 1 auto;
  margin: 0 auto;
  padding: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}

.nav-link:hover {
  color: var(--theme-front-color, var(--sp-azul-clinica));
  background: var(--theme-front-soft, var(--sp-azul-soft));
}

.nav-link.is-current {
  color: var(--theme-front-color, var(--sp-azul-clinica));
  background: var(--theme-front-soft, var(--sp-azul-soft));
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--theme-front-border, rgba(7, 33, 68, 0.12));
}

.nav-chevron {
  transition: transform 0.22s ease;
  opacity: 0.65;
  margin-left: 2px;
}

.nav-item--has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Coluna 3: Ações e Botão CTA (Largura Estável: 180px para simetria com a logo) */
.header-cta,
.site-header__actions {
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-header .header-cta .btn-pill-primary,
.site-header .site-header__actions .ro-btn-yellow,
.site-header .site-header__actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 24px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  text-decoration: none !important;
  gap: 8px !important;
}

/* Dropdown Elegante Padrão Tour House para Nossas Marcas */
.nav-item--has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  z-index: 1050;
}

.nav-item--has-dropdown:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid rgba(7, 33, 68, 0.1);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 20px 48px rgba(7, 33, 68, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-dropdown__link:hover {
  background: rgba(7, 33, 68, 0.05);
  transform: translateX(3px);
}

.nav-dropdown__link strong {
  display: block;
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.nav-dropdown__link small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav-dropdown__link:hover {
  background: #f8fafc;
}

.nav-dropdown__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.nav-dropdown__icon svg,
.drawer-card__icon svg,
.ro-empathy-card__icon svg,
.ro-bento-feature-icon svg,
.ro-check svg,
.ro-bento-check svg {
  display: block;
  flex-shrink: 0;
}

.nav-dropdown__icon img,
.drawer-card__icon img {
  width: 22px;
  height: auto;
  max-height: 24px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-dropdown__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.nav-dropdown__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Botão Mobile */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-menu, .header-cta, .site-header__actions {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: inline-flex !important;
  }
  .brand-logo {
    flex: 0 0 auto !important;
    width: auto !important;
  }
}

/* --------------------------------------------------------------------------
   8. Drawer Mobile Elegante
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: #ffffff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  overflow-y: auto;
  padding: 24px 20px;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer__close {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
}

.mobile-drawer__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  flex: 1;
}

.drawer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.drawer-card:hover, .drawer-card.is-current {
  background: var(--sp-azul-soft);
  border-color: var(--sp-azul-border);
}

.drawer-card__content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.drawer-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.drawer-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: block;
}

.drawer-card__desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.drawer-card__chevron {
  color: var(--text-muted);
  font-weight: 700;
}

.mobile-drawer__footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sp-verde-residencial);
  background: var(--sp-verde-soft);
  border: 1px solid var(--sp-verde-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Cards de Superfície & As 3 Frentes (Estilo Tour House)
   -------------------------------------------------------------------------- */
.glass-island {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-panel);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-island:hover {
  box-shadow: var(--shadow-md);
}

.frentes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .frentes-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.frente-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-panel);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.frente-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Cores das 3 Frentes */
.frente-card--1 { border-top: 4px solid var(--sp-azul-clinica); }
.frente-card--1:hover { border-color: var(--sp-azul-border); border-top: 4px solid var(--sp-azul-clinica); }
.frente-card--1 .frente-card__badge {
  background: var(--sp-azul-soft);
  color: var(--sp-azul-clinica);
  border: 1px solid var(--sp-azul-border);
}

.frente-card--2 { border-top: 4px solid var(--sp-verde-residencial); }
.frente-card--2:hover { border-color: var(--sp-verde-border); border-top: 4px solid var(--sp-verde-residencial); }
.frente-card--2 .frente-card__badge {
  background: var(--sp-verde-soft);
  color: var(--sp-verde-residencial);
  border: 1px solid var(--sp-verde-border);
}

.frente-card--3 { border-top: 4px solid var(--sp-laranja-labs); }
.frente-card--3:hover { border-color: var(--sp-laranja-border); border-top: 4px solid var(--sp-laranja-labs); }
.frente-card--3 .frente-card__badge {
  background: var(--sp-laranja-soft);
  color: #d91b1b;
  border: 1px solid var(--sp-laranja-border);
}

.frente-card__header {
  margin-bottom: 20px;
}

.frente-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.frente-card__title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.frente-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.frente-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.frente-card__features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.frente-card--1 .frente-card__features li svg { color: var(--sp-azul-clinica); }
.frente-card--2 .frente-card__features li svg { color: var(--sp-verde-residencial); }
.frente-card--3 .frente-card__features li svg { color: var(--sp-laranja-labs); }

/* --------------------------------------------------------------------------
   10. Console / Guia de Acolhimento Interativo
   -------------------------------------------------------------------------- */
.triage-console {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.triage-console__header {
  background: #f8fafc;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.triage-console__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.triage-tab {
  padding: 10px 20px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.triage-tab:hover {
  background: #f1f5f9;
  color: var(--text-primary);
}

.triage-tab.is-active {
  background: var(--sp-azul-clinica);
  border-color: var(--sp-azul-clinica);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 82, 143, 0.25);
}

.triage-console__viewport {
  padding: 32px 28px;
  min-height: 220px;
}

.triage-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .triage-result {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   11. Telemetria / Painel de Prontidão
   -------------------------------------------------------------------------- */
.telemetry-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .telemetry-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .telemetry-dashboard {
    grid-template-columns: 1fr;
  }
}

.telemetry-cell {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.telemetry-cell:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.telemetry-cell__label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.telemetry-cell__val {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.telemetry-cell__sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Formulários Elegantes Tour House & Acolhimento
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sp-azul-clinica);
  box-shadow: 0 0 0 3px rgba(29, 82, 143, 0.15);
  background: #ffffff;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Tabela Comparativa Hospital-Boutique Tour House
   -------------------------------------------------------------------------- */
.comparison-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  padding: 18px 24px;
  font-family: var(--font-brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  align-items: center;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-col--spatium {
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-col--spatium::before {
  content: '';
  color: var(--sp-verde-residencial);
  font-weight: 800;
}

.comparison-col--other {
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   12. Marquee de Convênios
   -------------------------------------------------------------------------- */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

.marquee-strip::before, .marquee-strip::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-strip::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.marquee-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #ffffff, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: marqueeRoll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-item svg {
  color: var(--sp-azul-clinica);
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   13. FAQ Sanfona Elegante
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sp-azul-clinica);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--sp-azul-soft);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer__inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. Rodapé Corporativo (Estilo Tour House)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-footer);
  color: #ffffff;
  padding: 70px 0 30px;
}

.site-footer p {
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col__title {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   15. Banner de Cookies LGPD
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  width: calc(100% - 40px);
  max-width: 680px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 16px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--sp-azul-clinica);
  text-decoration: underline;
}

/* Evitar sobreposição entre o Banner de Cookies e o Botão Flutuante de Triagem */
body.has-cookie-banner .sp-triage-container,
body:has(.cookie-banner.is-visible) .sp-triage-container {
  bottom: 110px !important;
  transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: translateY(160px);
    padding: 14px 16px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner.is-visible {
    transform: translateY(0);
  }
  .cookie-banner .ro-btn-yellow {
    width: 100%;
    text-align: center;
  }
  body.has-cookie-banner .sp-triage-container,
  body:has(.cookie-banner.is-visible) .sp-triage-container {
    bottom: 160px !important;
  }
}

/* ==========================================================================
   16. TOUR HOUSE 1:1 REPLICATION & ADAPTATION SUITE (PADRÃO TOUR HOUSE)
   ========================================================================== */

/* Top bar (Design System Spatium) */
.top-bar {
  background: #071C38;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  height: 42px;
  max-height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
}

.top-bar__text {
  margin: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.82rem;
}

.top-bar__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.top-bar__link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
}

/* Botões Tour House */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 11px 28px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

.button:hover {
  opacity: 0.9;
  text-decoration: none;
}

.button--primary {
  background: var(--theme-front-color, var(--sp-azul-clinica));
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--theme-front-shadow, rgba(29, 82, 143, 0.25));
  transition: background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.15s ease;
}

.button--primary:hover {
  background: var(--theme-front-hover, #164173);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--theme-front-shadow, rgba(29, 82, 143, 0.35));
}

.button--secondary {
  background: #ffffff;
  color: var(--text-primary) !important;
  border-color: var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.button--secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.button--green {
  background: var(--sp-verde-residencial);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.button--green:hover {
  background: #0b5852;
  transform: translateY(-2px);
}

.button--red {
  background: var(--sp-laranja-labs);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 28, 28, 0.25);
}

.button--red:hover {
  background: #d61212;
  transform: translateY(-2px);
}

/* Header Spatium Unificado */

/* Hero Slider (.hero / .qs-solutions) */
.hero {
  background: #f8fafc;
  padding: 48px 0 64px;
  overflow: hidden;
  position: relative;
}

.hero-slider__container {
  position: relative;
  min-height: 480px;
}

.hero-slide {
  display: none;
  animation: fadeInSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.is-active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero__content {
  flex: 1 1 520px;
  min-width: 0;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero__title {
  line-height: 1.15;
  margin-bottom: 20px;
  font-family: var(--font-brand);
}

.hero__title-line1 {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--text-primary);
}

.hero__title-line2 {
  display: inline-block;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--text-secondary);
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__media {
  flex: 1 1 440px;
  min-width: 0;
}

.hero__media-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(23, 43, 56, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  aspect-ratio: 4 / 3;
  background: #142230;
}

.hero__media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
}

.slider-dot {
  border: 0;
  background: #cbd5e1;
  border-radius: var(--radius-pill);
  width: 12px;
  height: 12px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot.is-active {
  width: 34px;
  background: var(--sp-azul-clinica);
}

/* Brands Strip Marquee (.brands-strip) */
.brands-strip {
  background: #142230;
  padding: 28px 0;
  color: #ffffff;
  overflow: hidden;
}

.brands-strip__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brands-strip__label {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
  max-width: 280px;
  flex: 0 0 auto;
  line-height: 1.35;
}

.brands-strip__marquee {
  max-width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.brands-strip__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: tourhouse-marquee 25s linear infinite;
}

.brands-strip__marquee:hover .brands-strip__track {
  animation-play-state: paused;
}

.brands-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  white-space: nowrap;
}

@keyframes tourhouse-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .brands-strip {
    padding: 18px 0;
  }
  .brands-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .brands-strip__label {
    max-width: 100%;
    font-size: 13.5px;
  }
  .brands-strip__marquee {
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  .brands-strip__track {
    gap: 20px;
    animation-duration: 18s;
  }
}

/* Dados Motion (.dados-motion) */
.dados-motion {
  padding: 84px 0;
  background: #ffffff;
}

.dados-motion__inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.dados-motion__media {
  flex: 0 0 40%;
  min-width: 0;
  position: relative;
}

.dados-motion__photo-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7, 33, 68, 0.14);
  border: 1px solid rgba(7, 33, 68, 0.08);
  background: #f1f5f9;
  animation: tourhouse-float 6s ease-in-out infinite;
  will-change: transform;
}

.dados-motion__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dados-motion__photo-wrapper:hover .dados-motion__photo {
  transform: scale(1.03);
}

@keyframes tourhouse-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dados-motion__photo-wrapper {
    animation: none;
  }
}

.dados-motion__content {
  flex: 1 1 auto;
  min-width: 0;
}

.dados-motion__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sp-azul-clinica);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

.dados-motion__content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.dados-motion__content > p {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 640px;
  line-height: 1.65;
}

.dados-motion__stats {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 28px);
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.dados-motion__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
}

.dados-motion__stat-value {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap !important;
}

.dados-motion__stat-count {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--sp-azul-clinica);
  white-space: nowrap !important;
}

.dados-motion__stat-label {
  font-weight: 600;
  font-size: clamp(12px, 0.95vw, 14px);
  color: var(--text-secondary);
  max-width: 100%;
  line-height: 1.35;
}

.dados-motion__divider {
  width: 1px;
  height: 56px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* Solutions Grid (.solutions) - OS 4 CARDS ICÔNICOS */
.solutions {
  padding: 84px 0;
  background: #f8fafc;
}

.solutions__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.solution-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  cursor: pointer;
  background-color: #142230;
}

.solution-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(13, 27, 42, 0.88) 100%);
  transition: opacity 0.4s ease;
}

.solution-card:hover .solution-card__bg {
  transform: scale(1.08);
}

.solution-card__title-box {
  position: relative;
  z-index: 2;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-right: 40px;
}

.solution-card__front-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.solution-card--clinica .solution-card__front-tag { color: #93c5fd; }
.solution-card--internacao .solution-card__front-tag { color: #bef264; }
.solution-card--residencial .solution-card__front-tag { color: #5eead4; }
.solution-card--labs .solution-card__front-tag { color: #fdba74; }

.solution-card__title {
  color: #ffffff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.solution-card:hover .solution-card__title-box {
  opacity: 0;
  transform: translateY(-8px);
}

.solution-card__plus {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.solution-card:hover .solution-card__plus {
  transform: rotate(90deg) scale(1.08);
}

.solution-card--clinica .solution-card__plus {
  background: var(--sp-azul-clinica);
}

.solution-card--internacao .solution-card__plus {
  background: var(--sp-verde-hospital);
}

.solution-card--residencial .solution-card__plus {
  background: var(--sp-verde-residencial);
}

.solution-card--labs .solution-card__plus {
  background: var(--sp-laranja-labs);
}

/* Solution Card Hover Overlay */
.solution-card__hover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.38s ease;
}

.solution-card:hover .solution-card__hover,
.solution-card:focus-visible .solution-card__hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.solution-card--clinica .solution-card__hover {
  background: linear-gradient(160deg, #072144 0%, #164E87 50%, #234E92 100%);
}

.solution-card--internacao .solution-card__hover {
  background: linear-gradient(160deg, #1C3306 0%, #30540C 50%, #4E8717 100%);
}

.solution-card--residencial .solution-card__hover {
  background: linear-gradient(160deg, #05332F 0%, #0A504A 50%, #074C47 100%);
}

.solution-card--labs .solution-card__hover {
  background: linear-gradient(160deg, #4A1E02 0%, #853A04 50%, #C75B09 100%);
}

.solution-card__hover-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.solution-card__hover-title {
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 14px 0 10px;
}

.solution-card__desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 20px;
}

.solution-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.solution-card--clinica .solution-card__cta {
  color: var(--sp-azul-clinica);
}

.solution-card--internacao .solution-card__cta {
  color: var(--sp-verde-hospital);
}

.solution-card--residencial .solution-card__cta {
  color: var(--sp-verde-residencial);
}

.solution-card--labs .solution-card__cta {
  color: var(--sp-laranja-labs);
}

/* Tech-Human / Human Care (.tech-human) */
.tech-human {
  background: #ffffff;
  padding: 84px 0;
}

.tech-human__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.tech-human__media {
  position: relative;
  flex: 0 1 480px;
  max-width: 480px;
  min-width: 0;
}

.tech-human__media img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  box-shadow: 0 20px 45px rgba(23, 43, 56, 0.1);
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

.tech-human__media-badge {
  position: absolute;
  left: 20px;
  bottom: -20px;
  background: #ffffff;
  padding: 14px 22px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
}

.tech-human__content {
  flex: 0 1 560px;
  min-width: 0;
}

.tech-human__content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.tech-human__content p {
  font-size: 1.06rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Cases Slider (.cases) */
.cases {
  padding: 84px 0;
  background: #f8fafc;
}

.cases-slider__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: #142230;
}

.case-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.4) 0%, rgba(13, 27, 42, 0.92) 100%);
}

.case-card__tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
}

.case-card__quote {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.55;
  margin-top: auto;
  margin-bottom: 20px;
}

.case-card__footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
}

.case-card__cite {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.case-card__role {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.case-card__plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sp-azul-clinica);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

/* News Slider (.news) */
.news {
  padding: 84px 0;
  background: #ffffff;
}

.news__panel {
  background: #f8fafc;
  border-radius: 24px;
  padding: 48px 36px;
  border: 1px solid var(--border-light);
}

.news-slider__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.tri-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tri-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--sp-azul-clinica);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tri-arrow:hover {
  background: var(--sp-azul-clinica);
  color: #ffffff;
  transform: scale(1.05);
}

.news-slider__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.news-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sp-azul-clinica);
  text-decoration: none;
}

.news-card__link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Leitor Interativo de Artigos Spatium (Article Reader Modal) & Filtros do Blog
   -------------------------------------------------------------------------- */
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-filter-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.blog-filter-btn.is-active {
  background: #071C38;
  border-color: #071C38;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 28, 56, 0.2);
}

.blog-filter-btn .filter-count {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.blog-filter-btn.is-active .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.news-card {
  cursor: pointer;
  position: relative;
}

.news-card__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.news-card__read-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Modal Leitor de Artigo */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(7, 28, 56, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.article-modal-container {
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.article-modal-backdrop.is-open .article-modal-container {
  transform: translateY(0) scale(1);
}

/* Barra de progresso de leitura no topo */
.article-progress-bar {
  height: 4px;
  background: linear-gradient(90deg, #234E92, #4E8717, #C75B09);
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Topo do leitor */
.article-modal-header {
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  flex-shrink: 0;
}

.article-modal-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-modal-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.article-modal-close-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
  transform: scale(1.02);
}

/* Corpo do artigo scrollável */
.article-modal-body {
  padding: 36px 44px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}

.article-modal-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #071C38;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.article-author-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 28px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.article-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #234E92;
  font-weight: 700;
  font-size: 1.1rem;
}

.article-author-info strong {
  display: block;
  font-size: 0.96rem;
  color: #0f172a;
}

.article-author-info span {
  font-size: 0.82rem;
  color: #64748b;
}

.article-modal-cover {
  width: 100%;
  max-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}

.article-modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-text-content {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #334155;
}

.article-text-content p {
  margin-bottom: 22px;
}

.article-text-content .lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #0f172a;
  font-weight: 500;
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 4px solid var(--sp-azul-clinica);
}

.article-text-content h2,
.article-text-content h3 {
  color: #071C38;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-text-content h2 {
  font-size: 1.55rem;
}

.article-text-content h3 {
  font-size: 1.3rem;
}

.article-text-content ul,
.article-text-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-text-content li {
  margin-bottom: 10px;
}

.article-highlight-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #4E8717;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 32px 0;
}

.article-highlight-box strong {
  display: block;
  font-size: 1.05rem;
  color: #1b4317;
  margin-bottom: 8px;
}

.article-highlight-box p {
  margin: 0;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.65;
}

/* Caixa de ação ao final do artigo */
.article-cta-box {
  background: linear-gradient(135deg, #071C38 0%, #153C73 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 32px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.article-cta-box h4 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.article-cta-box p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 480px;
}

/* Rodapé do leitor */
.article-modal-footer {
  padding: 16px 28px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.article-modal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #234E92;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.article-modal-nav-btn:hover {
  background: #e2e8f0;
}

.article-modal-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .article-modal-backdrop {
    padding: 0 !important;
  }
  .article-modal-container {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .article-modal-header {
    padding: 12px 16px !important;
    gap: 8px !important;
  }
  .article-modal-header-meta {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  .article-modal-badge {
    font-size: 0.70rem !important;
    padding: 4px 10px !important;
    white-space: nowrap !important;
  }
  .article-modal-time {
    font-size: 0.74rem !important;
  }
  .article-modal-close-btn {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }
  .article-modal-close-btn span:not(.close-x) {
    display: none !important;
  }
  .article-modal-body {
    padding: 20px 18px 48px !important;
  }
  .article-modal-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
  }
  .article-author-strip {
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  .article-author-name {
    font-size: 0.90rem !important;
  }
  .article-author-role {
    font-size: 0.78rem !important;
  }
  .article-modal-cover {
    border-radius: 14px !important;
    margin: 20px 0 !important;
  }
  .article-lead {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
    padding-left: 14px !important;
  }
  .article-content {
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
  }
  .article-modal-footer {
    padding: 12px 16px !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .article-modal-footer-brand {
    display: none !important;
  }
  .article-modal-nav-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
  }
  .article-cta-box {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

/* FAQ Accordion (.faq) */
.faq {
  padding: 84px 0;
  background: #f8fafc;
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 26px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--sp-azul-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sp-azul-clinica);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.faq-item[open] .faq-item__question::after {
  content: '\2212';
}

.faq-item__answer {
  padding-top: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Site Footer */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 0 40px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

@media (max-width: 980px) {
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dados-motion__inner {
    flex-direction: column;
  }
  .dados-motion__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
  }
  .tech-human__inner {
    flex-direction: column;
  }
  .cases-slider__track {
    grid-template-columns: 1fr;
  }
  .news-slider__grid {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .solutions__grid {
    grid-template-columns: 1fr;
  }
  .hero__inner {
    flex-direction: column;
  }
  .dados-motion {
    padding: 44px 0 !important;
  }
  .dados-motion__stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    padding-top: 24px !important;
    width: 100% !important;
  }
  .dados-motion__stat {
    background: #f8fafc;
    border: 1px solid rgba(7, 33, 68, 0.08);
    border-radius: 18px;
    padding: 16px 14px;
    box-shadow: 0 2px 8px rgba(7, 33, 68, 0.04);
  }
  .dados-motion__stat-value {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--text-primary);
  }
  .dados-motion__stat-count {
    color: var(--sp-azul-clinica);
  }
  .dados-motion__stat-label {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    margin-top: 4px !important;
    color: var(--text-secondary);
    font-weight: 600;
  }
  .dados-motion__divider {
    display: none !important;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   18. MOLDURA E DESIGN SYSTEM INSPIRADO EM RISOS ODONTOLOGIA (BEHANCE)
   Adaptação para Spatium Saúde Mental com as 4 Cores Oficiais da Identidade Visual:
   - Frente 1 • Clínica Spatium: Azul Institucional #234E92 / #072144
   - Frente 2 • Hospital Psiquiátrico: Verde Oliva #4E8717 / #67A824
   - Frente 3 • Residencial Spatium: Verde Petróleo #074C47 / #11756D
   - Frente 4 • Spatium Labs: Laranja Âmbar #C75B09 / #DB7C00
   Acento Quente & CTA: Amarelo Ouro #F59E0B / #FCD34D
   Fundo Hero Geral: Azul Marinho Institucional Nobre #071C38 -> #184785
   Superfícies Escuras: Deep Navy #071C38 e #072144
   ========================================================================== */

:root {
  /* Dynamic Theme Variables (Default: Geral - Ecossistema Spatium) */
  --theme-primary: #234E92;
  --theme-primary-dark: #072144;
  --theme-primary-light: #edf4fb;
  --theme-hero-bg: linear-gradient(135deg, #071C38 0%, #0E2E5C 45%, #184785 100%);
  --theme-ticker-bg: #051426;
  --theme-surface-dark: #072144;
  --theme-surface-deep: #040e1c;
  --theme-accent: #F4D085;
  --theme-accent-hover: #e6be67;
  --theme-card-border: #E2E8F0;
  --theme-btn-bg: #ffffff;
  --theme-btn-text: #072144;
  --theme-btn-hover: #f1f5f9;
  --theme-badge-glow: rgba(35, 78, 146, 0.3);

  --ro-turquoise: #234E92;
  --ro-turquoise-dark: #072144;
  --ro-turquoise-light: #edf4fb;
  --ro-teal-dark: #072144;
  --ro-teal-deep: #051426;
  --ro-yellow: #F4D085;
  --ro-yellow-hover: #e6be67;
  --ro-yellow-light: #fef9c3;
  --ro-offwhite: #F8FAF9;
  --ro-card-border: #E8ECEB;
}

/* Transição global suave de metamorfose cromática */
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

.ro-hero, .ro-ticker, .ro-bento-card, .ro-action-card, .ro-treatment-card__footer, .ro-banner, .ro-footer {
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* --------------------------------------------------------------------------
   TEMA 0: GRUPO SPATIUM — ECOSSISTEMA COMPLETO (PADRÃO TOUR HOUSE: LIGHT & CONECTADO)
   -------------------------------------------------------------------------- */
body[data-front="grupo"] {
  --theme-primary: #0A7A78;
  --theme-primary-dark: #071C38;
  --theme-primary-light: #f0fdfa;
  --theme-hero-bg: #ffffff;
  --theme-ticker-bg: #071C38;
  --theme-surface-dark: #f8fafc;
  --theme-surface-deep: #071C38;
  --theme-accent: #49b31d;
  --theme-accent-hover: #3da322;
  --theme-card-border: #e2e8f0;
  --theme-btn-bg: #49b31d;
  --theme-btn-text: #ffffff;
  --theme-btn-hover: #3da322;
  --theme-badge-glow: rgba(73, 179, 29, 0.3);
}

body[data-front="grupo"] .ro-hero {
  color: #0c1e3c !important;
}
body[data-front="grupo"] .ro-hero::before {
  background: radial-gradient(circle, rgba(42, 146, 150, 0.08) 0%, transparent 70%) !important;
}
body[data-front="grupo"] .ro-hero-bg--grupo {
  background: radial-gradient(circle at 75% 38%, rgba(42, 146, 150, 0.07) 0%, rgba(248, 250, 252, 0) 65%),
              linear-gradient(180deg, #ffffff 0%, #fbfcfd 50%, #f4f7f9 100%) !important;
  opacity: 1 !important;
}
body[data-front="grupo"] .ro-hero__tag {
  background: rgba(42, 146, 150, 0.08) !important;
  color: #0A7A78 !important;
  border-color: rgba(42, 146, 150, 0.22) !important;
}
body[data-front="grupo"] .hero-brand-badge-wrap {
  display: none !important;
}
body[data-front="grupo"] .ro-hero__title {
  color: #0c1e3c !important;
}
body[data-front="grupo"] .ro-hero__title .hero-title-bold {
  display: block;
  font-weight: 800;
  color: #0c1e3c;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
body[data-front="grupo"] .ro-hero__title .hero-title-light {
  display: block;
  font-weight: 400;
  color: #1e3a64;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 4px;
}
body[data-front="grupo"] .ro-hero__subtitle {
  color: #475569 !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
}
body[data-front="grupo"] .dyn-hero-cta-btn {
  background: #49b31d !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 14px 34px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(73, 179, 29, 0.28) !important;
  border: none !important;
}
body[data-front="grupo"] .dyn-hero-cta-btn:hover {
  background: #3da322 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(73, 179, 29, 0.38) !important;
}
body[data-front="grupo"] .dyn-hero-sec-btn {
  background: transparent !important;
  color: #1e3a64 !important;
  border: 1.5px solid rgba(30, 58, 100, 0.25) !important;
  border-radius: 9999px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
}
body[data-front="grupo"] .dyn-hero-sec-btn:hover {
  background: rgba(30, 58, 100, 0.05) !important;
  border-color: #1e3a64 !important;
}
body[data-front="grupo"] .dyn-hero-pills {
  color: #64748b !important;
}
body[data-front="grupo"] .dyn-hero-pills svg {
  stroke: #49b31d !important;
}
body[data-front="grupo"] .hero-slider-dots .slider-dot {
  background: #cbd5e1 !important;
}
body[data-front="grupo"] .hero-slider-dots .slider-dot.is-active {
  background: #49b31d !important;
  box-shadow: 0 0 12px rgba(73, 179, 29, 0.4) !important;
  width: 32px !important;
}
body[data-front="grupo"] .ro-scroll-down__btn {
  color: #64748b !important;
  border-color: rgba(100, 116, 139, 0.25) !important;
}

/* Alternância Ultra-Suave entre a Constelação Tourhouse (Grupo) e Foto Especialista (Sub-frentes) */
body[data-front="grupo"] .sp-cluster-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}
body[data-front="grupo"] .ro-speech-bubble-frame {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.95) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

body:not([data-front="grupo"]) .sp-cluster-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.95) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
body:not([data-front="grupo"]) .ro-speech-bubble-frame {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}

/* --------------------------------------------------------------------------
   TEMA 1: CLÍNICA SPATIUM — TODO AZUL (#1D528F)
   -------------------------------------------------------------------------- */
body[data-front="clinica"] {
  --theme-primary: #234E92;
  --theme-primary-dark: #072144;
  --theme-primary-light: #edf4fb;
  --theme-hero-bg: linear-gradient(135deg, #072144 0%, #153C73 50%, #234E92 100%);
  --theme-ticker-bg: #051426;
  --theme-surface-dark: #0a2245;
  --theme-surface-deep: #051020;
  --theme-accent: #93c5fd;
  --theme-accent-hover: #bfdbfe;
  --theme-card-border: #bcd2eb;
  --theme-btn-bg: #ffffff;
  --theme-btn-text: #072144;
  --theme-btn-hover: #f0f7ff;
  --theme-badge-glow: rgba(35, 78, 146, 0.35);
}

body[data-front="clinica"] .ro-hero:not(:has(.ro-hero-bg)) {
  background: var(--theme-hero-bg) !important;
}
body[data-front="clinica"] .ro-ticker {
  background-color: var(--theme-ticker-bg) !important;
}
body[data-front="clinica"] .ro-bento-card {
  background-color: var(--theme-surface-dark) !important;
  box-shadow: 0 24px 60px rgba(11, 26, 46, 0.3) !important;
}
body[data-front="clinica"] .ro-action-card {
  background: var(--theme-hero-bg) !important;
  box-shadow: 0 20px 50px rgba(29, 82, 143, 0.35) !important;
}
body[data-front="clinica"] .ro-treatment-card__footer {
  background-color: var(--theme-surface-dark) !important;
}
body[data-front="clinica"] .ro-banner {
  background: linear-gradient(90deg, #1D528F 0%, #2563eb 100%) !important;
}

body[data-front="clinica"] .ro-speech-bubble-frame {
  border-color: rgba(147, 197, 253, 0.6) !important;
}
body[data-front="clinica"] .ro-empathy-card:hover {
  border-color: #1D528F !important;
}
body[data-front="clinica"] .ro-empathy-card__icon {
  background: #edf4fb !important;
  color: #1D528F !important;
}
body[data-front="clinica"] .ro-faq-item.is-active {
  border-color: #1D528F !important;
}
body[data-front="clinica"] .ro-faq-icon {
  background: #edf4fb !important;
  color: #1D528F !important;
}
body[data-front="clinica"] .ro-faq-item.is-active .ro-faq-icon {
  background: #1D528F !important;
  color: #ffffff !important;
}
body[data-front="clinica"] .ro-doctor__tag,
body[data-front="clinica"] .ro-clinic__tag {
  background: #edf4fb !important;
  color: #1D528F !important;
}
body[data-front="clinica"] .ro-treatment-card:hover {
  border-color: #1D528F !important;
}

/* --------------------------------------------------------------------------
   TEMA 2: RESIDENCIAL SPATIUM — TODO VERDE ÁGUA (#0F766E / #00A8A8)
   -------------------------------------------------------------------------- */
body[data-front="residencial"] {
  --theme-primary: #11756D;
  --theme-primary-dark: #074C47;
  --theme-primary-light: #e6f7f5;
  --theme-hero-bg: linear-gradient(135deg, #05332F 0%, #0A504A 50%, #11756D 100%);
  --theme-ticker-bg: #031f1c;
  --theme-surface-dark: #083d38;
  --theme-surface-deep: #021412;
  --theme-accent: #7de8da;
  --theme-accent-hover: #a7f3d0;
  --theme-card-border: #a7ddd6;
  --theme-btn-bg: #ffffff;
  --theme-btn-text: #074C47;
  --theme-btn-hover: #e6f7f5;
  --theme-badge-glow: rgba(17, 117, 109, 0.35);
}

body[data-front="residencial"] .ro-hero:not(:has(.ro-hero-bg)) {
  background: var(--theme-hero-bg) !important;
}
body[data-front="residencial"] .ro-ticker {
  background-color: var(--theme-ticker-bg) !important;
}
body[data-front="residencial"] .ro-bento-card {
  background-color: var(--theme-surface-dark) !important;
  box-shadow: 0 24px 60px rgba(4, 28, 26, 0.3) !important;
}
body[data-front="residencial"] .ro-action-card {
  background: var(--theme-hero-bg) !important;
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.35) !important;
}
body[data-front="residencial"] .ro-treatment-card__footer {
  background-color: var(--theme-surface-dark) !important;
}
body[data-front="residencial"] .ro-banner {
  background: linear-gradient(90deg, #0d9488 0%, #14b8a6 100%) !important;
}

body[data-front="residencial"] .ro-speech-bubble-frame {
  border-color: rgba(110, 231, 183, 0.6) !important;
}
body[data-front="residencial"] .ro-empathy-card:hover {
  border-color: #0F766E !important;
}
body[data-front="residencial"] .ro-empathy-card__icon {
  background: #e6f7f5 !important;
  color: #0F766E !important;
}
body[data-front="residencial"] .ro-faq-item.is-active {
  border-color: #0F766E !important;
}
body[data-front="residencial"] .ro-faq-icon {
  background: #e6f7f5 !important;
  color: #0F766E !important;
}
body[data-front="residencial"] .ro-faq-item.is-active .ro-faq-icon {
  background: #0F766E !important;
  color: #ffffff !important;
}
body[data-front="residencial"] .ro-doctor__tag,
body[data-front="residencial"] .ro-clinic__tag {
  background: #e6f7f5 !important;
  color: #0F766E !important;
}
body[data-front="residencial"] .ro-treatment-card:hover {
  border-color: #0F766E !important;
}

/* --------------------------------------------------------------------------
   TEMA 2: HOSPITAL PSIQUIÁTRICO SPATIUM — VERDE OLIVA / LIMÃO (#4E8717 / #67A824)
   -------------------------------------------------------------------------- */
body[data-front="hospital"] {
  --theme-primary: #67A824;
  --theme-primary-dark: #4E8717;
  --theme-primary-light: #f4fbe8;
  --theme-hero-bg: linear-gradient(135deg, #1C3306 0%, #30540C 50%, #4E8717 100%);
  --theme-ticker-bg: #0f1d03;
  --theme-surface-dark: #203c08;
  --theme-surface-deep: #0d1802;
  --theme-accent: #d4f884;
  --theme-accent-hover: #e4fba6;
  --theme-card-border: #d9f99d;
  --theme-btn-bg: #ffffff;
  --theme-btn-text: #203c08;
  --theme-btn-hover: #f4fbe8;
  --theme-badge-glow: rgba(78, 135, 23, 0.35);
}

body[data-front="hospital"] .ro-hero:not(:has(.ro-hero-bg)) {
  background: var(--theme-hero-bg) !important;
}
body[data-front="hospital"] .ro-ticker {
  background-color: var(--theme-ticker-bg) !important;
}
body[data-front="hospital"] .ro-bento-card {
  background-color: var(--theme-surface-dark) !important;
  box-shadow: 0 24px 60px rgba(19, 34, 4, 0.35) !important;
}
body[data-front="hospital"] .ro-action-card {
  background: var(--theme-hero-bg) !important;
  box-shadow: 0 20px 50px rgba(78, 135, 23, 0.35) !important;
}
body[data-front="hospital"] .ro-treatment-card__footer {
  background-color: var(--theme-surface-dark) !important;
}
body[data-front="hospital"] .ro-banner {
  background: linear-gradient(90deg, #4E8717 0%, #67A824 100%) !important;
}

body[data-front="hospital"] .ro-speech-bubble-frame {
  border-color: rgba(190, 242, 100, 0.6) !important;
}
body[data-front="hospital"] .ro-empathy-card:hover {
  border-color: #4E8717 !important;
}
body[data-front="hospital"] .ro-empathy-card__icon {
  background: #f4fbe8 !important;
  color: #4E8717 !important;
}
body[data-front="hospital"] .ro-faq-item.is-active {
  border-color: #4E8717 !important;
}
body[data-front="hospital"] .ro-faq-icon {
  background: #f4fbe8 !important;
  color: #4E8717 !important;
}
body[data-front="hospital"] .ro-faq-item.is-active .ro-faq-icon {
  background: #4E8717 !important;
  color: #ffffff !important;
}
body[data-front="hospital"] .ro-doctor__tag,
body[data-front="hospital"] .ro-clinic__tag {
  background: #f4fbe8 !important;
  color: #4E8717 !important;
}
body[data-front="hospital"] .ro-treatment-card:hover {
  border-color: #4E8717 !important;
}

/* --------------------------------------------------------------------------
   TEMA 4: SPATIUM LABS — LARANJA ÂMBAR / TERRACOTA (#C75B09 / #DB7C00)
   -------------------------------------------------------------------------- */
body[data-front="labs"] {
  --theme-primary: #DB7C00;
  --theme-primary-dark: #C75B09;
  --theme-primary-light: #fff7ed;
  --theme-hero-bg: linear-gradient(135deg, #4A1E02 0%, #853A04 50%, #C75B09 100%);
  --theme-ticker-bg: #240c01;
  --theme-surface-dark: #4a1b02;
  --theme-surface-deep: #1a0901;
  --theme-accent: #fed7aa;
  --theme-accent-hover: #ffedd5;
  --theme-card-border: #ffedd5;
  --theme-btn-bg: #ffffff;
  --theme-btn-text: #7D3705;
  --theme-btn-hover: #fff7ed;
  --theme-badge-glow: rgba(219, 124, 0, 0.35);
}

body[data-front="labs"] .ro-hero:not(:has(.ro-hero-bg)) {
  background: var(--theme-hero-bg) !important;
}
body[data-front="labs"] .ro-ticker {
  background-color: var(--theme-ticker-bg) !important;
}
body[data-front="labs"] .ro-bento-card {
  background-color: var(--theme-surface-dark) !important;
  box-shadow: 0 24px 60px rgba(28, 10, 1, 0.35) !important;
}
body[data-front="labs"] .ro-action-card {
  background: var(--theme-hero-bg) !important;
  box-shadow: 0 20px 50px rgba(219, 124, 0, 0.35) !important;
}
body[data-front="labs"] .ro-treatment-card__footer {
  background-color: var(--theme-surface-dark) !important;
}
body[data-front="labs"] .ro-banner {
  background: linear-gradient(90deg, #C75B09 0%, #DB7C00 100%) !important;
}

body[data-front="labs"] .ro-speech-bubble-frame {
  border-color: rgba(254, 215, 170, 0.6) !important;
}
body[data-front="labs"] .ro-empathy-card:hover {
  border-color: #DB7C00 !important;
}
body[data-front="labs"] .ro-empathy-card__icon {
  background: #fff7ed !important;
  color: #DB7C00 !important;
}
body[data-front="labs"] .ro-faq-item.is-active {
  border-color: #DB7C00 !important;
}
body[data-front="labs"] .ro-faq-icon {
  background: #fff7ed !important;
  color: #DB7C00 !important;
}
body[data-front="labs"] .ro-faq-item.is-active .ro-faq-icon {
  background: #DB7C00 !important;
  color: #ffffff !important;
}
body[data-front="labs"] .ro-doctor__tag,
body[data-front="labs"] .ro-clinic__tag {
  background: #fff7ed !important;
  color: #DB7C00 !important;
}
body[data-front="labs"] .ro-treatment-card:hover {
  border-color: #DB7C00 !important;
}

/* --------------------------------------------------------------------------
   COMPONENTES DO SELETOR DE FRENTES (BARRA DE METAMORFOSE DAS 4 FRENTES)
   -------------------------------------------------------------------------- */
.front-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.front-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.front-switcher__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.front-switcher__btn.is-active {
  background: #ffffff;
  color: #0c3d44;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

body[data-front="clinica"] .front-switcher__btn.is-active {
  color: #234E92 !important;
}
body[data-front="hospital"] .front-switcher__btn.is-active {
  color: #4E8717 !important;
}
body[data-front="residencial"] .front-switcher__btn.is-active {
  color: #074C47 !important;
}
body[data-front="labs"] .front-switcher__btn.is-active {
  color: #C75B09 !important;
}

/* Ajustes finos quando o switcher está na Navbar (Pílula Clara) */
.site-header .front-switcher {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.site-header .front-switcher__btn {
  color: #475569;
}
.site-header .front-switcher__btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}
.site-header .front-switcher__btn.is-active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Seletor Mobile no Drawer */
.mobile-drawer-fronts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 16px;
  margin: 12px 16px 16px;
  border: 1px solid #e2e8f0;
}
.mobile-drawer-fronts__title {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 2px;
}
.mobile-drawer-front-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-drawer-front-btn:hover {
  background: #f1f5f9;
}
.mobile-drawer-front-btn.is-active {
  border-color: currentColor;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 800;
}
body[data-front="clinica"] .mobile-drawer-front-btn[data-switch-front="clinica"].is-active {
  background: #edf4fb;
  border-color: #234E92;
  color: #234E92;
}
body[data-front="hospital"] .mobile-drawer-front-btn[data-switch-front="hospital"].is-active {
  background: #f4fbe8;
  border-color: #4E8717;
  color: #4E8717;
}
body[data-front="residencial"] .mobile-drawer-front-btn[data-switch-front="residencial"].is-active {
  background: #e6f7f5;
  border-color: #074C47;
  color: #074C47;
}
body[data-front="labs"] .mobile-drawer-front-btn[data-switch-front="labs"].is-active {
  background: #fff7ed;
  border-color: #C75B09;
  color: #C75B09;
}

/* Metamorfose no Top Bar e Símbolo da Marca */
body[data-front="clinica"] .top-bar {
  background: #072144 !important;
}
body[data-front="hospital"] .top-bar {
  background: #1b2f06 !important;
}
body[data-front="residencial"] .top-bar {
  background: #074C47 !important;
}
body[data-front="labs"] .top-bar {
  background: #291102 !important;
}
body[data-front="clinica"] .brand-symbol {
  background: linear-gradient(135deg, #234E92, #1E528E) !important;
}
body[data-front="hospital"] .brand-symbol {
  background: linear-gradient(135deg, #4E8717, #67A824) !important;
}
body[data-front="residencial"] .brand-symbol {
  background: linear-gradient(135deg, #074C47, #11756D) !important;
}
body[data-front="labs"] .brand-symbol {
  background: linear-gradient(135deg, #C75B09, #DB7C00) !important;
}

/* Seletor no Hero (Segmented Controller Elegante Padrão Tour House / Apple) */
.hero-front-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  background: rgba(7, 28, 56, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero-front-tabs::-webkit-scrollbar {
  display: none;
}

.hero-front-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  min-width: 124px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
}

.hero-front-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-front-tab.is-active {
  background: #ffffff;
  color: #072144;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

body[data-front="clinica"] .hero-front-tab.is-active {
  color: #234E92 !important;
}
body[data-front="hospital"] .hero-front-tab.is-active {
  color: #4E8717 !important;
}
body[data-front="residencial"] .hero-front-tab.is-active {
  color: #074C47 !important;
}
body[data-front="labs"] .hero-front-tab.is-active {
  color: #C75B09 !important;
}

/* Indicador de cor nos botões do switcher */
.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-front-tab.is-active .dot-indicator {
  transform: scale(1.15);
}

/* Controles de Rolagem das 4 Frentes (Padrão Exato Tour House) */
.hero-slider-dots.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  margin-bottom: 8px;
  position: relative;
  z-index: 10;
}

.hero-slider-dots .slider-dot {
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  width: 10px;
  height: 10px;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              transform 0.2s ease;
  outline: none;
}

.hero-slider-dots .slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}

.hero-slider-dots .slider-dot.is-active {
  width: 32px;
  height: 10px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
}

body[data-front="grupo"] .hero-slider-dots .slider-dot.is-active {
  background: #2dd4bf;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.6);
}
body[data-front="clinica"] .hero-slider-dots .slider-dot.is-active {
  background: #60a5fa;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.6);
}
body[data-front="hospital"] .hero-slider-dots .slider-dot.is-active {
  background: #7bf121;
  box-shadow: 0 0 14px rgba(123, 241, 33, 0.6);
}
body[data-front="residencial"] .hero-slider-dots .slider-dot.is-active {
  background: #2dd4bf;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.6);
}
body[data-front="labs"] .hero-slider-dots .slider-dot.is-active {
  background: #fb923c;
  box-shadow: 0 0 14px rgba(251, 146, 60, 0.6);
}

.dot-indicator--grupo { background: #0A7A78; }
.dot-indicator--clinica { background: #234E92; }
.dot-indicator--hospital { background: #67A824; }
.dot-indicator--residencial { background: #11756D; }
.dot-indicator--labs { background: #DB7C00; }

/* Badges oficiais das 4 frentes */
.ro-treatment-card__badge--clinica {
  background: #234E92 !important;
  color: #ffffff !important;
}
.ro-treatment-card__badge--hospital {
  background: #4E8717 !important;
  color: #ffffff !important;
}
.ro-treatment-card__badge--residencial {
  background: #074C47 !important;
  color: #ffffff !important;
}
.ro-treatment-card__badge--labs {
  background: #C75B09 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   METAMORFOSE CROMÁTICA INTEGRADA: BOTÕES, NAV-BAR E ACENTOS POR FRENTE
   ========================================================================== */
/* Frente 1: Clínica Spatium (Azul Nobre #234E92) */
body[data-front="clinica"] {
  --theme-front-color: #234E92;
  --theme-front-hover: #1a3c72;
  --theme-front-soft: #edf4fb;
  --theme-front-border: #bcd2eb;
  --theme-front-shadow: rgba(35, 78, 146, 0.28);
}
body[data-front="clinica"] .site-header .header-cta .btn-pill-primary,
body[data-front="clinica"] .btn-pill-primary,
body[data-front="clinica"] .button--primary {
  background: #234E92 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(35, 78, 146, 0.28) !important;
  border-color: transparent !important;
}
body[data-front="clinica"] .site-header .header-cta .btn-pill-primary:hover,
body[data-front="clinica"] .btn-pill-primary:hover,
body[data-front="clinica"] .button--primary:hover {
  background: #1a3c72 !important;
  box-shadow: 0 10px 24px rgba(35, 78, 146, 0.38) !important;
}
body[data-front="clinica"] .nav-link.is-current {
  color: #234E92 !important;
  background: #edf4fb !important;
  box-shadow: inset 0 0 0 1px #bcd2eb !important;
}
body[data-front="clinica"] .nav-link:hover {
  color: #234E92 !important;
  background: #edf4fb !important;
}

/* Frente 2: Hospital Psiquiátrico Spatium (Verde Oliva / Hospital #4E8717) */
body[data-front="hospital"] {
  --theme-front-color: #4E8717;
  --theme-front-hover: #3c6a10;
  --theme-front-soft: #f4fbe8;
  --theme-front-border: #d9f99d;
  --theme-front-shadow: rgba(78, 135, 23, 0.32);
}
body[data-front="hospital"] .site-header .header-cta .btn-pill-primary,
body[data-front="hospital"] .btn-pill-primary,
body[data-front="hospital"] .button--primary {
  background: #4E8717 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(78, 135, 23, 0.32) !important;
  border-color: transparent !important;
}
body[data-front="hospital"] .site-header .header-cta .btn-pill-primary:hover,
body[data-front="hospital"] .btn-pill-primary:hover,
body[data-front="hospital"] .button--primary:hover {
  background: #3c6a10 !important;
  box-shadow: 0 10px 24px rgba(78, 135, 23, 0.42) !important;
}
body[data-front="hospital"] .nav-link.is-current {
  color: #4E8717 !important;
  background: #f4fbe8 !important;
  box-shadow: inset 0 0 0 1px #d9f99d !important;
}
body[data-front="hospital"] .nav-link:hover {
  color: #4E8717 !important;
  background: #f4fbe8 !important;
}

/* Frente 3: Residencial Spatium (Verde Petróleo / Teal #074C47) */
body[data-front="residencial"] {
  --theme-front-color: #074C47;
  --theme-front-hover: #053733;
  --theme-front-soft: #eaf6f4;
  --theme-front-border: #a7ddd6;
  --theme-front-shadow: rgba(7, 76, 71, 0.32);
}
body[data-front="residencial"] .site-header .header-cta .btn-pill-primary,
body[data-front="residencial"] .btn-pill-primary,
body[data-front="residencial"] .button--primary {
  background: #074C47 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(7, 76, 71, 0.32) !important;
  border-color: transparent !important;
}
body[data-front="residencial"] .site-header .header-cta .btn-pill-primary:hover,
body[data-front="residencial"] .btn-pill-primary:hover,
body[data-front="residencial"] .button--primary:hover {
  background: #053733 !important;
  box-shadow: 0 10px 24px rgba(7, 76, 71, 0.42) !important;
}
body[data-front="residencial"] .nav-link.is-current {
  color: #074C47 !important;
  background: #eaf6f4 !important;
  box-shadow: inset 0 0 0 1px #a7ddd6 !important;
}
body[data-front="residencial"] .nav-link:hover {
  color: #074C47 !important;
  background: #eaf6f4 !important;
}

/* Frente 4: Spatium Labs (Laranja Âmbar / Terracota #C75B09) */
body[data-front="labs"] {
  --theme-front-color: #C75B09;
  --theme-front-hover: #a34803;
  --theme-front-soft: #fff7ed;
  --theme-front-border: #fed7aa;
  --theme-front-shadow: rgba(199, 91, 9, 0.32);
}
body[data-front="labs"] .site-header .header-cta .btn-pill-primary,
body[data-front="labs"] .btn-pill-primary,
body[data-front="labs"] .button--primary {
  background: #C75B09 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(199, 91, 9, 0.32) !important;
  border-color: transparent !important;
}
body[data-front="labs"] .site-header .header-cta .btn-pill-primary:hover,
body[data-front="labs"] .btn-pill-primary:hover,
body[data-front="labs"] .button--primary:hover {
  background: #a34803 !important;
  box-shadow: 0 10px 24px rgba(199, 91, 9, 0.42) !important;
}
body[data-front="labs"] .nav-link.is-current {
  color: #C75B09 !important;
  background: #fff7ed !important;
  box-shadow: inset 0 0 0 1px #fed7aa !important;
}
body[data-front="labs"] .nav-link:hover {
  color: #C75B09 !important;
  background: #fff7ed !important;
}

/* ==========================================================================
   TRANSIÇÕES SUTIS E ELEGANTES (Páginas, Abas e Frentes)
   ========================================================================== */

/* 1. Transição Macia e Aveludada de Textos, Tags e Badges (Abas / Frentes) */
.fade-morph {
  transition: opacity 0.52s cubic-bezier(0.16, 1, 0.3, 1), transform 0.56s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}
.fade-morph.is-morphing {
  opacity: 0 !important;
  transform: translateY(10px) !important;
}

/* 2. Transição Suave e Sem Saltos das Logos */
.site-header-logo-img {
  opacity: 1 !important;
  visibility: visible !important;
}
.fade-morph-logo {
  transition: opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity;
}
.fade-morph-logo.is-morphing:not(.site-header-logo-img) {
  opacity: 0 !important;
  transform: none !important;
  filter: none !important;
}

/* 3. Transição Suave da Imagem da Frente (Dissolve Cinema) */
.fade-morph-img {
  transition: opacity 0.58s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}
.fade-morph-img.is-morphing {
  opacity: 0.25 !important;
  transform: scale(0.985) !important;
}

/* 4. Camadas de Fundo em Gradiente com Crossfade Suave a 60fps */
.ro-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none;
  z-index: 1;
  will-change: opacity;
}
.ro-hero-bg--grupo {
  background: linear-gradient(135deg, #071C38 0%, #0A2E50 45%, #0A5052 100%);
}
.ro-hero-bg--clinica {
  background: linear-gradient(135deg, #072144 0%, #153C73 50%, #234E92 100%);
}
.ro-hero-bg--hospital {
  background: linear-gradient(135deg, #1C3306 0%, #30540C 50%, #4E8717 100%);
}
.ro-hero-bg--residencial {
  background: linear-gradient(135deg, #05332F 0%, #0A504A 50%, #11756D 100%);
}
.ro-hero-bg--labs {
  background: linear-gradient(135deg, #381B02 0%, #5C2F07 50%, #DB7C00 100%);
}
body[data-front="grupo"] .ro-hero-bg--grupo {
  opacity: 1;
}
body[data-front="clinica"] .ro-hero-bg--clinica {
  opacity: 1;
}
body[data-front="hospital"] .ro-hero-bg--hospital {
  opacity: 1;
}
body[data-front="residencial"] .ro-hero-bg--residencial {
  opacity: 1;
}
body[data-front="labs"] .ro-hero-bg--labs {
  opacity: 1;
}

/* 5. Transições Contínuas de Cor e Iluminação nos Botões e Elementos */
.site-header .header-cta .btn-pill-primary,
.btn-pill-primary,
.button--primary,
.ro-btn-yellow,
.ro-btn-outline-white,
.nav-link,
.nav-dropdown-item,
.hero-slider-dots .slider-dot,
.mobile-drawer-front-btn,
.dot-indicator,
.ro-hero__tag,
.dyn-hero-pills,
.ro-speech-bubble-frame,
.ro-portrait-badge,
.ro-text-yellow {
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease,
              text-shadow 0.5s ease !important;
}

/* 1. Botão Principal Assinatura Spatium */
.ro-btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--theme-btn-bg, #ffffff);
  color: var(--theme-btn-text, #072144) !important;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.ro-btn-yellow:hover {
  background-color: var(--theme-btn-hover, #f8fafc);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  color: var(--theme-btn-text, #072144) !important;
}

.ro-btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ffffff !important;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.ro-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* 2. Hero Section Nobre Spatium com Card Executivo */
.ro-hero {
  position: relative;
  background: var(--theme-hero-bg, linear-gradient(135deg, #071C38 0%, #0E2E5C 45%, #184785 100%));
  color: #ffffff;
  padding: 105px 0 45px; /* Respiro seguro de 105px para a navbar flutuante não sobrepor a logo */
  min-height: 680px; /* Trava altura fixa para evitar oscilação de tamanho entre frentes */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.ro-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(35, 78, 146, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.ro-hero > .container {
  position: relative;
  z-index: 3;
}

.ro-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.ro-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 18px;
}

.ro-hero__title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 16px;
  min-height: 80px;
  display: block;
}

.ro-hero__title .ro-text-yellow {
  color: var(--theme-accent, #F4D085);
  position: relative;
  display: inline;
  text-shadow: 0 2px 14px rgba(244, 208, 133, 0.25);
}

.ro-hero__subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-bottom: 28px;
  min-height: 80px;
  display: block;
}

.ro-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.ro-hero__portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

/* --------------------------------------------------------------------------
   Constelação Conectada de Soluções (Padrão Tour House)
   -------------------------------------------------------------------------- */
.sp-cluster-wrap {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: 520px;
  height: 480px;
  display: block;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.65s;
  will-change: opacity, transform;
}

.sp-cluster {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Bolhas Circulares Conectadas */
.sp-bubble {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}

/* Bolha Central: Grupo Spatium */
.sp-bubble--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 195px;
  height: 195px;
  z-index: 10;
  padding: 22px 16px;
  box-shadow: 0 16px 45px rgba(11, 37, 69, 0.09), 0 4px 14px rgba(11, 37, 69, 0.04);
  border: 2px solid rgba(11, 37, 69, 0.06);
  animation: tourhouseFloatCenter 8s ease-in-out infinite;
}

.sp-bubble--center:hover {
  transform: translate(-50%, -54%) scale(1.04);
  box-shadow: 0 24px 55px rgba(11, 37, 69, 0.15);
  border-color: rgba(42, 146, 150, 0.35);
}

.sp-bubble__logo-master {
  max-width: 145px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 6px;
}

.sp-bubble__caption {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0A7A78;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Frentes Orbitais Conectadas */
.sp-bubble--clinica {
  top: 4%;
  right: 6%;
  width: 135px;
  height: 135px;
  z-index: 8;
  padding: 14px 10px;
  box-shadow: 0 12px 35px rgba(35, 78, 146, 0.1);
  border: 1.5px solid rgba(35, 78, 146, 0.14);
  animation: tourhouseFloat1 6.5s ease-in-out infinite;
}
.sp-bubble--clinica:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 20px 45px rgba(35, 78, 146, 0.2);
  border-color: #234E92;
}

.sp-bubble--hospital {
  bottom: 8%;
  right: 6%;
  width: 130px;
  height: 130px;
  z-index: 8;
  padding: 14px 10px;
  box-shadow: 0 12px 35px rgba(78, 135, 23, 0.1);
  border: 1.5px solid rgba(78, 135, 23, 0.14);
  animation: tourhouseFloat2 7s ease-in-out infinite 0.6s;
}
.sp-bubble--hospital:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 20px 45px rgba(78, 135, 23, 0.2);
  border-color: #4E8717;
}

.sp-bubble--residencial {
  bottom: 6%;
  left: 6%;
  width: 130px;
  height: 130px;
  z-index: 8;
  padding: 14px 10px;
  box-shadow: 0 12px 35px rgba(7, 76, 71, 0.1);
  border: 1.5px solid rgba(7, 76, 71, 0.14);
  animation: tourhouseFloat3 6.8s ease-in-out infinite 1.2s;
}
.sp-bubble--residencial:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 20px 45px rgba(7, 76, 71, 0.2);
  border-color: #074C47;
}

.sp-bubble--labs {
  top: 6%;
  left: 6%;
  width: 125px;
  height: 125px;
  z-index: 8;
  padding: 14px 10px;
  box-shadow: 0 12px 35px rgba(199, 91, 9, 0.1);
  border: 1.5px solid rgba(199, 91, 9, 0.14);
  animation: tourhouseFloat1 7.2s ease-in-out infinite 1.8s;
}
.sp-bubble--labs:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 20px 45px rgba(199, 91, 9, 0.2);
  border-color: #C75B09;
}

.sp-bubble__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 4px;
}

.sp-bubble__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0c1e3c;
  line-height: 1.15;
  display: block;
}

.sp-bubble__sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
  display: block;
  margin-top: 2px;
}

/* Satélites de Conexão */
.sp-bubble--sat {
  position: absolute;
  background: #ffffff;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
  border: 1px solid rgba(11, 37, 69, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 7;
  pointer-events: none;
}

.sp-bubble--sat-1 {
  top: 2%;
  left: 48%;
  transform: translateX(-50%);
  animation: tourhouseFloat2 6.2s ease-in-out infinite 0.3s;
}

.sp-bubble--sat-2 {
  top: 48%;
  right: -2%;
  animation: tourhouseFloat3 7.4s ease-in-out infinite 0.9s;
}

.sp-bubble--sat-3 {
  bottom: 0%;
  left: 48%;
  transform: translateX(-50%);
  animation: tourhouseFloat1 6.8s ease-in-out infinite 1.4s;
}

/* Animações Orgânicas de Flutuação Suave */
@keyframes tourhouseFloatCenter {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -53%); }
}
@keyframes tourhouseFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes tourhouseFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@keyframes tourhouseFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 992px) {
  .sp-cluster-wrap {
    height: 420px;
    max-width: 440px;
  }
  .sp-bubble--center {
    width: 170px;
    height: 170px;
    padding: 16px 12px;
  }
  .sp-bubble--clinica,
  .sp-bubble--hospital,
  .sp-bubble--residencial,
  .sp-bubble--labs {
    width: 115px;
    height: 115px;
    padding: 10px 8px;
  }
}

@media (max-width: 768px) {
  .ro-hero__portrait-wrap {
    min-height: auto;
    margin-top: 16px;
  }
  .sp-cluster-wrap {
    height: 350px;
    max-width: 350px;
    margin: 0 auto;
  }
  .sp-bubble--center {
    width: 145px;
    height: 145px;
    padding: 12px 8px;
  }
  .sp-bubble__logo-master {
    max-width: 110px;
    max-height: 34px;
  }
  .sp-bubble--clinica,
  .sp-bubble--hospital,
  .sp-bubble--residencial,
  .sp-bubble--labs {
    width: 98px;
    height: 98px;
    padding: 8px 4px;
  }
  .sp-bubble__icon {
    width: 26px;
    height: 26px;
  }
  .sp-bubble__title {
    font-size: 0.72rem;
  }
  .sp-bubble__sub {
    font-size: 0.56rem;
  }
  .sp-bubble--sat {
    padding: 4px 10px;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .sp-cluster-wrap {
    height: 310px;
    max-width: 310px;
    transform: scale(0.88);
    transform-origin: center center;
  }
}

/* Moldura Executiva Médica de Alto Padrão (Sem balão de fala) */
.ro-speech-bubble-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1/1.08;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.65s;
  will-change: opacity, transform;
}

.ro-speech-bubble-frame::after {
  display: none !important;
}

.ro-speech-bubble-inner {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #071c38;
}

.ro-speech-bubble-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 56, 0.02) 0%, rgba(7, 28, 56, 0.15) 55%, rgba(7, 28, 56, 0.72) 100%);
  pointer-events: none;
  z-index: 2;
}

.ro-speech-bubble-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.04) saturate(1.05);
}

.ro-portrait-badge {
  position: absolute;
  bottom: 18px;
  left: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(7, 28, 56, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Scroll indicator */
.ro-scroll-down {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.ro-scroll-down__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: roBounce 2s infinite;
  text-decoration: none;
}

@keyframes roBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* 3. Ticker / Faixa Marquee Dark Teal */
.ro-ticker {
  background-color: var(--ro-teal-deep);
  color: #ffffff;
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ro-ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: roTickerScroll 30s linear infinite;
  width: max-content;
}

.ro-ticker:hover .ro-ticker__track {
  animation-play-state: paused;
}

@keyframes roTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ro-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.ro-ticker__item span.ro-plus {
  color: var(--ro-yellow);
  font-weight: 900;
  font-size: 1.25rem;
}

/* 4. Seção de Dores & Empatia (4 Cards Arredondados) */
.ro-empathy {
  padding: 96px 0;
  background-color: var(--ro-offwhite);
}

.ro-empathy__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.ro-empathy__title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ro-teal-deep);
  margin-bottom: 18px;
}

.ro-empathy__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #52606d;
}

.ro-empathy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ro-empathy-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 28px;
  border: 1px solid var(--ro-card-border);
  box-shadow: 0 10px 30px rgba(12, 61, 68, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.ro-empathy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 61, 68, 0.08);
  border-color: var(--ro-turquoise);
}

.ro-empathy-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ro-turquoise-light);
  color: var(--ro-turquoise-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.ro-empathy-card__text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ro-teal-deep);
  margin-bottom: 12px;
}

.ro-empathy-card__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #62727f;
}

/* 5. Bento Box de Pilares ("Evolução, Acessibilidade e Humanização") */
.ro-bento-section {
  padding: 20px 0 96px;
  background-color: var(--ro-offwhite);
}

.ro-bento-card {
  background-color: var(--ro-teal-dark);
  border-radius: 32px;
  padding: 60px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(7, 38, 43, 0.2);
  position: relative;
  overflow: hidden;
}

.ro-bento-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 168, 168, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ro-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.ro-bento-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.ro-bento-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ro-yellow);
}

.ro-bento-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.ro-bento-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.ro-bento-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ro-bento-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.ro-bento-feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ro-yellow);
}

.ro-bento-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ro-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ro-bento-feature-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.ro-bento-feature-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* 6. Grid de 8 Cards de Tratamentos / Serviços */
.ro-treatments {
  padding: 96px 0;
  background-color: #ffffff;
}

.ro-treatments__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.ro-treatments__title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ro-teal-deep);
  margin-bottom: 16px;
}

.ro-treatments__subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #52606d;
}

.ro-treatments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ro-treatment-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ro-card-border);
  box-shadow: 0 10px 30px rgba(7, 38, 43, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.ro-treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7, 38, 43, 0.12);
}

.ro-treatment-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e2e8f0;
}

.ro-treatment-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ro-treatment-card:hover .ro-treatment-card__img {
  transform: scale(1.05);
}

.ro-treatment-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ro-treatment-card__badge--clinica {
  color: var(--sp-azul-clinica);
  border: 1px solid var(--sp-azul-border);
}

.ro-treatment-card__badge--residencial {
  color: var(--sp-verde-residencial);
  border: 1px solid var(--sp-verde-border);
}

.ro-treatment-card__badge--labs {
  color: #d91b1b;
  border: 1px solid var(--sp-laranja-border);
}

.ro-treatment-card__badge--med {
  color: var(--ro-teal-dark);
  border: 1px solid rgba(12, 61, 68, 0.2);
}

/* Barra Inferior Dark Teal com Título e Botão Circular */
.ro-treatment-card__footer {
  background-color: var(--ro-teal-dark);
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 82px;
}

.ro-treatment-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #ffffff;
}

.ro-treatment-card__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.ro-treatment-card:hover .ro-treatment-card__btn {
  background: var(--ro-yellow);
  color: var(--ro-teal-deep);
  border-color: var(--ro-yellow);
}

/* 7. Quem Cuida de Você (Doctor Spotlight 2 Colunas) */
.ro-doctor {
  padding: 96px 0;
  background-color: var(--ro-offwhite);
}

.ro-doctor__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 52px;
}

.ro-doctor__card {
  background: #ffffff;
  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--ro-card-border);
  box-shadow: 0 16px 40px rgba(7, 38, 43, 0.06);
}

.ro-doctor__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ro-turquoise-light);
  color: var(--ro-turquoise-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.ro-doctor__name {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--ro-teal-deep);
  margin-bottom: 6px;
}

.ro-doctor__role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sp-azul-clinica);
  margin-bottom: 24px;
}

.ro-doctor__bio {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 28px;
}

.ro-doctor__quote {
  background: #f8fafc;
  border-left: 4px solid var(--ro-yellow);
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ro-teal-deep);
  margin-bottom: 32px;
}

.ro-doctor__media-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.ro-doctor__bubble {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1.1;
  background: linear-gradient(135deg, #00A8A8 0%, #0c3d44 100%);
  border-radius: 36px 36px 8px 36px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(7, 38, 43, 0.25);
}

.ro-doctor__bubble-inner {
  width: 100%;
  height: 100%;
  border-radius: 28px 28px 4px 28px;
  overflow: hidden;
  background: #cbd5e1;
}

.ro-doctor__bubble-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 8. Cyan Mid-Page Action Card */
.ro-action-section {
  padding: 30px 0 96px;
  background-color: var(--ro-offwhite);
}

.ro-action-card {
  background: linear-gradient(135deg, #00A8A8 0%, #008787 100%);
  border-radius: 32px;
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 168, 168, 0.3);
  position: relative;
  overflow: hidden;
}

.ro-action-card__title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.ro-action-card__subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto 32px;
}

.ro-action-card__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.ro-action-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 9. Avaliações & Prova Social (Padrão Hospital de Excelência) */
.ro-reviews {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f8fafc 100%);
  position: relative;
  scroll-margin-top: 100px;
}

.ro-reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 240px;
  background: radial-gradient(ellipse at top, rgba(35, 78, 146, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ro-reviews__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
  position: relative;
  z-index: 1;
}

.ro-reviews__rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #a16207;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12);
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

.ro-reviews__rating-badge:hover {
  transform: translateY(-1px);
}

.ro-reviews__title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  color: var(--ro-teal-deep);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.ro-reviews__subtitle {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Micro-métricas de Confiança Médica */
.ro-reviews__metrics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: #ffffff;
  border: 1px solid rgba(7, 33, 68, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(7, 33, 68, 0.04);
}

.ro-reviews__metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.ro-reviews__metric-item strong {
  color: var(--ro-teal-deep);
  font-weight: 800;
}

.ro-reviews__metric-divider {
  width: 1px;
  height: 16px;
  background: #e2e8f0;
}

.ro-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.ro-review-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 30px;
  border: 1px solid rgba(7, 33, 68, 0.08);
  box-shadow: 0 10px 30px rgba(7, 38, 43, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.ro-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(7, 38, 43, 0.09), 0 2px 8px rgba(0, 0, 0, 0.03);
  border-color: rgba(35, 78, 146, 0.22);
}

.ro-review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-bottom: 22px;
}

.ro-review-stars {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  color: #f59e0b;
  margin-bottom: 0 !important;
}

.ro-review-stars svg {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.ro-review-score {
  font-weight: 800;
  font-size: 0.88rem;
  color: #b45309;
  margin-left: 6px;
}

.ro-review-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ro-review-quote-wrap {
  position: relative;
  margin-bottom: 24px;
}

.ro-review-quote-icon {
  position: absolute;
  top: -4px;
  right: 0;
  width: 28px;
  height: 28px;
  color: rgba(7, 76, 71, 0.08);
  pointer-events: none;
}

.ro-review-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  font-style: normal;
  position: relative;
  z-index: 1;
}

.ro-review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-top: auto;
}

.ro-review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ro-review-avatar--clinica {
  background: #edf4fb;
  color: #234E92;
  border: 2px solid #bcd2eb;
}

.ro-review-avatar--hospital {
  background: #f4fbe8;
  color: #4E8717;
  border: 2px solid #d9f99d;
}

.ro-review-avatar--residencial {
  background: #eaf6f4;
  color: #074C47;
  border: 2px solid #a7ddd6;
}

.ro-review-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.3;
}

.ro-review-relation {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* 10. Arquitetura da Clínica & Endereço */
.ro-clinic {
  padding: 96px 0;
  background-color: var(--ro-offwhite);
}

.ro-clinic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.ro-clinic__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(7, 38, 43, 0.12);
  aspect-ratio: 4/3;
  background: #cbd5e1;
}

.ro-clinic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ro-clinic__card {
  background: #ffffff;
  border-radius: 28px;
  padding: 44px;
  border: 1px solid var(--ro-card-border);
  box-shadow: 0 12px 36px rgba(7, 38, 43, 0.05);
}

.ro-clinic__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ro-turquoise-light);
  color: var(--ro-turquoise-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.ro-clinic__title {
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--ro-teal-deep);
  margin-bottom: 16px;
}

.ro-clinic__address {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 24px;
}

.ro-clinic__amenities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.ro-clinic__amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ro-teal-deep);
}

.ro-clinic__amenity span.ro-check {
  color: var(--sp-verde-residencial);
  font-weight: 900;
}

.ro-clinic__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* 11. Bottom Reassurance Banner */
.ro-banner {
  background: linear-gradient(90deg, #009E9E 0%, #00B3B3 100%);
  color: #ffffff;
  padding: 36px 0;
}

.ro-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ro-banner__text {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

/* 12. 2-Column FAQ Accordion */
.ro-faq {
  padding: 96px 0;
  background-color: #ffffff;
}

.ro-faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: flex-start;
}

.ro-faq__info {
  position: sticky;
  top: 100px;
}

.ro-faq__title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--ro-teal-deep);
  margin-bottom: 16px;
}

.ro-faq__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 32px;
}

.ro-faq__help-box {
  background: var(--ro-offwhite);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--ro-card-border);
}

.ro-faq__help-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ro-teal-deep);
  margin-bottom: 8px;
}

.ro-faq__help-text {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 20px;
}

.ro-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ro-faq-item {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--ro-card-border);
  box-shadow: 0 4px 14px rgba(7, 38, 43, 0.03);
  overflow: hidden;
  transition: all 0.25s ease;
}

.ro-faq-item.is-active {
  border-color: var(--ro-turquoise);
  box-shadow: 0 8px 24px rgba(0, 168, 168, 0.1);
}

.ro-faq-trigger {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ro-teal-deep);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ro-faq-trigger:hover {
  color: var(--ro-turquoise-dark);
}

.ro-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ro-turquoise-light);
  color: var(--ro-turquoise-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.ro-faq-item.is-active .ro-faq-icon {
  background: var(--ro-teal-dark);
  color: #ffffff;
  transform: rotate(45deg);
}

.ro-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}

.ro-faq-item.is-active .ro-faq-content {
  max-height: 500px;
  padding: 0 24px 22px 24px;
}

.ro-faq-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #52606d;
}

/* ==========================================================================
   13. RODAPÉ DE ALTA DISTINÇÃO MÉDICA (Padrão Hospital Premium / Concierge 24h)
   ========================================================================== */
.ro-footer {
  background: radial-gradient(120% 120% at 50% 0%, #0d1e35 0%, #060e19 100%) !important;
  color: #ffffff;
  padding: 80px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.ro-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.45), transparent);
  pointer-events: none;
}

/* Pre-Footer: Banner de Acolhimento 24h */
.ro-footer__pre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 28px 36px;
  margin-bottom: 56px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.ro-footer__pre-info {
  max-width: 640px;
}

.ro-footer__pre-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 8px;
}

.ro-footer__pre-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.ro-footer__pre-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

.ro-footer__pre-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ro-footer__btn-wa {
  height: 48px !important;
  padding: 0 24px !important;
  font-size: 0.92rem !important;
  background: #234E92 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(35, 78, 146, 0.35) !important;
  text-decoration: none;
}

.ro-footer__btn-wa:hover {
  background: #1d427d !important;
  transform: translateY(-2px) !important;
}

.ro-footer__btn-tel {
  height: 48px;
  padding: 0 22px;
  font-size: 0.9rem;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.ro-footer__btn-tel:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* Grid Principal em 4 Colunas */
.ro-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.25fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Coluna 1: Marca & Frentes */
.ro-footer__brand-link {
  display: inline-block;
  margin-bottom: 18px;
}

.ro-footer__logo {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease !important;
  will-change: opacity, transform, filter;
}

.ro-footer__logo.is-morphing {
  opacity: 0 !important;
  transform: scale(0.93) !important;
  filter: blur(3px) !important;
}

.ro-footer__brand-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
  max-width: 340px;
}

.ro-footer__fronts-group {
  margin-bottom: 22px;
}

.ro-footer__fronts-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.ro-footer__fronts-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 360px;
}

.ro-footer-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ro-footer-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.ro-footer-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ro-footer-chip--clinica .ro-footer-chip__dot { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; }
.ro-footer-chip--hospital .ro-footer-chip__dot { background: #a3e635; box-shadow: 0 0 8px #a3e635; }
.ro-footer-chip--residencial .ro-footer-chip__dot { background: #2dd4bf; box-shadow: 0 0 8px #2dd4bf; }
.ro-footer-chip--labs .ro-footer-chip__dot { background: #fb923c; box-shadow: 0 0 8px #fb923c; }

.ro-footer-chip__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.ro-footer-chip__sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

.ro-footer__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
}

/* Colunas de Navegação */
.ro-footer__col-title {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.ro-footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #60a5fa;
  border-radius: 2px;
}

.ro-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.ro-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ro-footer__link-chevron {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ro-footer__links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.ro-footer__links a:hover .ro-footer__link-chevron {
  color: #60a5fa;
  transform: translateX(2px);
}

/* Coluna 4: Card VIP Concierge 24 Horas */
.ro-footer__concierge-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.ro-footer__concierge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ro-footer__concierge-status {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.02em;
}

.ro-footer__concierge-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ro-footer__contact-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.ro-footer__contact-entry strong {
  display: block;
  color: #ffffff;
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.ro-footer__contact-entry p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.ro-footer__contact-icon {
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 2px;
}

.ro-footer__map-link {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #93c5fd;
  text-decoration: none;
  margin-top: 3px;
  transition: color 0.2s ease;
}

.ro-footer__map-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ro-footer__phone-link,
.ro-footer__mail-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.ro-footer__phone-link:hover,
.ro-footer__mail-link:hover {
  color: #ffffff;
}

.ro-footer__concierge-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #22c55e;
  color: #ffffff !important;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.ro-footer__concierge-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
}

/* Rodapé Inferior: Bottom Bar */
.ro-footer__bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ro-footer__legal-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.ro-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ro-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ro-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.ro-footer__bottom-links a:hover {
  color: #ffffff;
}

.ro-footer__sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.ro-footer__sigilo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade do Design System Risos */
@media (max-width: 1024px) {
  .ro-reviews__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .ro-hero {
    min-height: auto;
    padding: 85px 0 35px;
  }
  .hero-brand-badge-wrap {
    justify-content: center;
  }
  .ro-hero__title {
    min-height: 70px;
    font-size: clamp(1.8rem, 6vw, 2.3rem);
  }
  .ro-hero__subtitle {
    min-height: 75px;
    margin: 0 auto 28px;
  }
  .ro-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .ro-hero__actions {
    justify-content: center;
  }
  .ro-bento-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ro-doctor__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ro-treatments__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ro-empathy__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ro-reviews__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ro-review-card {
    padding: 28px 22px;
  }
  .ro-reviews__metrics {
    gap: 12px;
    padding: 12px 18px;
    border-radius: 20px;
  }
  .ro-clinic__grid {
    grid-template-columns: 1fr;
  }
  .ro-faq__grid {
    grid-template-columns: 1fr;
  }
  .ro-faq__info {
    position: static;
  }
  .ro-footer__pre {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  .ro-footer__pre-actions {
    flex-direction: column;
    width: 100%;
  }
  .ro-footer__btn-wa, .ro-footer__btn-tel {
    width: 100%;
    justify-content: center;
  }
  .ro-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ro-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .ro-footer__bottom-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .ro-treatments__grid {
    grid-template-columns: 1fr;
  }
  .ro-empathy__grid {
    grid-template-columns: 1fr;
  }
  .ro-bento-card {
    padding: 32px 20px;
  }
  .ro-doctor__card {
    padding: 32px 20px;
  }
  .ro-action-card {
    padding: 36px 20px;
    border-radius: 24px;
  }
  .ro-action-card__title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  .ro-action-card__badges {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 340px !important;
    margin: 0 auto 28px !important;
    gap: 10px !important;
  }
  .ro-action-card__badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
  }
  .ro-action-card .ro-btn-yellow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 16px 24px !important;
    box-sizing: border-box !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
  }
  .ro-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll Margins para Proteção de Conteúdo contra o Header Sticky no Mobile */
section, [id], .ro-action-section, .ro-action-card, .ro-reviews, .review-card, .news-card {
  scroll-margin-top: 76px;
}

/* ==========================================================================
   16. Central Flutuante de Atendimento & Triagem Rápida Spatium (Concierge 24h)
   ========================================================================== */
.sp-triage-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 1. Teaser Pill / Tooltip */
.sp-triage-teaser {
  position: absolute;
  bottom: 74px;
  right: 0;
  background: #0b1f33;
  color: #ffffff;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 26, 47, 0.22);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: spTeaserFloat 4s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.sp-triage-teaser.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

@keyframes spTeaserFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.sp-triage-teaser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  animation: spPulseDot 2s infinite;
}

.sp-triage-teaser__text strong {
  color: #38bdf8;
}

.sp-triage-teaser__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 4px;
  margin: 0;
  transition: color 0.15s ease;
}
.sp-triage-teaser__close:hover {
  color: #ffffff;
}

/* 2. Floating Launcher Button */
.sp-triage-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--theme-front-color, var(--sp-azul-clinica, #234E92));
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px var(--theme-front-shadow, rgba(35, 78, 146, 0.4)), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.25s ease;
  position: relative;
  outline: none;
}

.sp-triage-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 34px var(--theme-front-shadow, rgba(35, 78, 146, 0.52));
}

.sp-triage-btn:active {
  transform: scale(0.96);
}

.sp-triage-btn__status-ring {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sp-triage-btn__icon {
  transition: transform 0.25s ease, opacity 0.2s ease;
  position: absolute;
}

.sp-triage-btn__icon--chat {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.sp-triage-btn__icon--close {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.sp-triage-container.is-open .sp-triage-btn__icon--chat {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.sp-triage-container.is-open .sp-triage-btn__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 3. Triage Modal Card */
.sp-triage-card {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 390px;
  max-width: calc(100vw - 32px);
  max-height: min(620px, calc(100vh - 120px));
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(7, 26, 47, 0.24), 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(7, 33, 68, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s;
  pointer-events: none;
}

.sp-triage-container.is-open .sp-triage-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Card Header */
.sp-triage-card__header {
  background: #0b1f33;
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-triage-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-triage-card__avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.sp-triage-card__avatar-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.sp-triage-card__avatar-fallback {
  display: none;
  font-family: 'Chillax', sans-serif;
  font-weight: 700;
  color: #38bdf8;
  font-size: 1.1rem;
}

.sp-triage-card__online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #0b1f33;
  border-radius: 50%;
}

.sp-triage-card__meta {
  display: flex;
  flex-direction: column;
}

.sp-triage-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sp-triage-card__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.sp-triage-card__pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: spPulseDot 1.8s infinite;
}

.sp-triage-card__close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.75);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sp-triage-card__close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Card Body */
.sp-triage-card__body {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
}

.sp-triage-card__security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #edf4fb;
  border: 1px solid #bcd2eb;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  color: #234E92;
  font-weight: 500;
  text-align: center;
}

/* Chat Bubble */
.sp-triage-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-triage-msg__bubble {
  background: #ffffff;
  border: 1px solid rgba(7, 33, 68, 0.08);
  padding: 14px 16px;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 2px 8px rgba(7, 26, 47, 0.04);
}

.sp-triage-msg__greeting {
  margin: 0 0 6px 0;
  font-size: 0.88rem;
  color: #0b1f33;
}

.sp-triage-msg__prompt {
  margin: 0;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
}

.sp-triage-msg__time {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-left: 4px;
}

/* Quick Options (Chips) */
.sp-triage-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-triage-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.sp-triage-opt:hover {
  border-color: #234E92;
  background: #f1f6fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 78, 146, 0.12);
}

.sp-triage-opt--urgente {
  border-color: #fecaca;
  background: #fff8f8;
}
.sp-triage-opt--urgente:hover {
  border-color: #ef4444;
  background: #fee2e2;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.sp-triage-opt--urgente .sp-triage-opt__title {
  color: #b91c1c;
}

.sp-triage-opt__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sp-triage-opt__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sp-triage-opt__title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.sp-triage-opt__desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-triage-opt__arrow {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.sp-triage-opt:hover .sp-triage-opt__arrow {
  color: #234E92;
  transform: translateX(3px);
}
.sp-triage-opt--urgente:hover .sp-triage-opt__arrow {
  color: #ef4444;
}

/* Card Footer */
.sp-triage-card__footer {
  background: #ffffff;
  padding: 12px 18px 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-triage-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-triage-input-form:focus-within {
  border-color: #234E92;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(35, 78, 146, 0.12);
}

.sp-triage-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: #0f172a;
  font-family: inherit;
}
.sp-triage-input::placeholder {
  color: #94a3b8;
}

.sp-triage-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #234E92;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.sp-triage-send-btn:hover {
  background: #1a3c72;
  transform: scale(1.05);
}

.sp-triage-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.74rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sp-triage-phone-link strong {
  color: #0f172a;
}

.sp-triage-phone-link:hover {
  color: #234E92;
}

@keyframes spPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Mobile Responsiveness for Concierge */
@media (max-width: 480px) {
  .sp-triage-container {
    bottom: 16px;
    right: 16px;
  }
  .sp-triage-card {
    position: fixed;
    bottom: 84px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 100px);
    border-radius: 20px;
  }
  .sp-triage-btn {
    width: 56px;
    height: 56px;
  }
  .sp-triage-teaser {
    bottom: 66px;
    right: 0;
    max-width: 250px;
    font-size: 0.76rem;
  }
}


/* ==========================================================================
   ENHANCEMENT: ESPACAMENTO BOUTIQUE & PREVENCAO TOTAL DE COMPRESSAO MOBILE/TABLET
   Garante respiro nobre, sem quebras de texto espremidas e conforto visual absoluto.
   ========================================================================== */

/* 1. Comparativo Boutique e Tabelas Responsivas */
.boutique-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .boutique-compare-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .glass-island [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* 2. Cartoes de Solucao e 4 Frentes */
@media (max-width: 640px) {
  .solution-card {
    min-height: 280px !important;
  }
  .solution-card__title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }
  .solution-card__desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
}

/* 3. Hero Cluster & Badges em Telas Compactas */
@media (max-width: 480px) {
  .ro-hero__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .ro-hero__actions .ro-btn-yellow,
  .ro-hero__actions .btn-pill-secondary,
  .ro-hero__actions .ro-hero__btn-cta {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-front-switcher {
    gap: 8px !important;
  }
  .hero-front-btn {
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
  }
}

/* 4. Avaliacoes (Review Cards) - Protecao Maxima contra aperto */
.ro-review-card {
  box-sizing: border-box;
}

.ro-review-stars {
  white-space: nowrap !important;
}

.ro-review-badge-verified {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

@media (max-width: 480px) {
  .ro-review-card {
    padding: 24px 18px !important;
  }
  .ro-review-quote {
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
  }
  .ro-review-name {
    font-size: 0.95rem !important;
  }
  .ro-review-relation {
    font-size: 0.76rem !important;
  }
}

/* 5. Rodape: Protecao contra quebras em colunas e chips */
@media (max-width: 768px) {
  .ro-footer__fronts-chips {
    grid-template-columns: 1fr 1fr !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .ro-footer__fronts-chips {
    grid-template-columns: 1fr !important;
  }
}
