/*
Theme Name: Astra CinSis
Template: astra
Description: Tema filho CinSis Saúde, Design Premium v2.0
Version: 2.0
*/

/* ============================================================
   DESIGN SYSTEM, variáveis
   ============================================================ */
:root {
  --navy:       #1B3A5C;
  --navy-dark:  #0F2540;
  --navy-light: #2A537A;
  --gold:       #C89438;
  --gold-light: #E5B84A;
  --text:       #1A2733;
  --text-muted: #5A6B7C;
  --bg:         #FFFFFF;
  --bg-soft:    #F7F9FC;
  --border:     #E2E8F0;
  --radius:     12px;
  --radius-sm:  6px;

  --shadow-sm:  0 2px 8px  rgba(27, 58, 92, 0.07);
  --shadow-md:  0 8px 24px rgba(27, 58, 92, 0.11);
  --shadow-lg:  0 20px 48px rgba(27, 58, 92, 0.17);

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-gap: 80px;
  --content-max: 1160px;
}

/* ============================================================
   BASE, tipografia, espaçamentos
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: 0.75em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-top: 0; margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

strong { font-weight: 600; }
em { font-style: italic; }

/* Parágrafo lead */
.entry-content .lead,
.entry-content p.lead,
.has-text-align-center.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   HEADER
   ============================================================ */
.main-header-bar {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

/* Classe adicionada pelo site.js ao rolar */
.main-header-bar.scrolled {
  box-shadow: var(--shadow-md);
}

.ast-header-break-point .main-header-bar {
  background: var(--bg) !important;
}

/* Logo */
.ast-custom-logo img,
.custom-logo-link img {
  max-height: 52px !important;
  width: auto !important;
  object-fit: contain;
}

/* Menu de navegação */
.main-header-menu .menu-item a {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.2px !important;
  color: var(--navy) !important;
  transition: color 0.2s !important;
}
.main-header-menu .menu-item a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--gold) !important;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.wp-block-button__link,
.ast-button,
button[type="submit"],
.wpcf7-submit {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.2px !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 15px 30px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
  display: inline-block;
}
.wp-block-button__link:hover,
.ast-button:hover,
button[type="submit"]:hover,
.wpcf7-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-lg) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Botão outline */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--navy) !important;
  border: 2px solid var(--navy) !important;
  box-shadow: none !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--navy) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Botões dentro do hero/cover, versão ouro */
.wp-block-cover .wp-block-button__link {
  background: var(--gold) !important;
  color: #fff !important;
}
.wp-block-cover .wp-block-button__link:hover {
  background: var(--gold-light) !important;
}
.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
}
.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #fff !important;
}

/* ============================================================
   HERO, wp-block-cover (página Home)
   ============================================================ */
.wp-block-cover.alignfull {
  min-height: 68vh !important;
  position: relative;
}

/* Gradiente adicional sobre a imagem para profundidade */
.wp-block-cover.alignfull::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 25, 45, 0.55) 0%,
    rgba(27, 58, 92, 0.25) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.wp-block-cover.alignfull .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 40px 24px;
}

.wp-block-cover__inner-container h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

.wp-block-cover__inner-container p {
  font-family: var(--font-body) !important;
  font-size: 1.15rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 2rem !important;
}

/* ============================================================
   CONTEÚDO DAS PÁGINAS
   ============================================================ */
.entry-content,
.ast-article-single {
  max-width: 820px;
  margin: 0 auto;
}

/* Espaçamento entre seções principais */
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-separator + *,
.entry-content > .wp-block-heading,
.entry-content > .wp-block-image {
  margin-top: 2rem;
}

/* ============================================================
   CARDS DE SERVIÇO, wp-block-column
   ============================================================ */
.wp-block-columns .wp-block-column {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.3s ease, border-bottom-color 0.3s ease;
  /* transform via GSAP no hover */
}

.wp-block-columns .wp-block-column:hover {
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--navy);
}

.wp-block-columns .wp-block-column h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.wp-block-columns .wp-block-column h4 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.wp-block-columns .wp-block-column h4 a:hover {
  color: var(--gold);
}

.wp-block-columns .wp-block-column p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Colunas dentro do cover, não recebem card style */
.wp-block-cover .wp-block-column {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ============================================================
   EQUIPE, fotos quadradas com hover
   ============================================================ */
.wp-block-column.is-vertically-aligned-top.has-text-align-center .wp-block-image,
.wp-block-column .wp-block-image.aligncenter {
  margin-bottom: 1.2rem;
}

/* Fotos quadradas (equipe) */
.wp-block-column .wp-block-image img,
.wp-block-column.has-text-align-center .wp-block-image img {
  width: 180px !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 2px solid var(--border) !important;
  box-shadow: var(--shadow-md) !important;
  transition: border-color 0.3s, box-shadow 0.3s;
  /* scale via GSAP no hover */
}
.wp-block-column .wp-block-image img:hover,
.wp-block-column.has-text-align-center .wp-block-image img:hover {
  border-color: var(--gold) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Nome do profissional */
.wp-block-column.has-text-align-center h3,
.wp-block-column.is-vertically-aligned-top.has-text-align-center h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

/* Especialidade em itálico dourado */
.wp-block-column.has-text-align-center p:first-of-type em,
.wp-block-column.is-vertically-aligned-top.has-text-align-center p em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
}

/* ============================================================
   IMAGENS gerais
   ============================================================ */
.wp-block-image img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  height: auto;
}

/* Imagem da família (sobre/home), não recebe os estilos de equipe */
.wp-block-image.size-large img,
.wp-block-image.size-full img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   GALERIA
   ============================================================ */
.wp-block-gallery {
  gap: 12px !important;
}

.wp-block-gallery .wp-block-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.wp-block-gallery .wp-block-image img {
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.wp-block-gallery .wp-block-image:hover img {
  /* scale via GSAP, mas fallback CSS */
  filter: brightness(1.06);
}

/* ============================================================
   BLOCKQUOTE / DEPOIMENTO
   ============================================================ */
.wp-block-quote {
  background: var(--navy-dark);
  border-left: 4px solid var(--gold) !important;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 36px !important;
  margin: 2.5em 0 !important;
  position: relative;
}

.wp-block-quote p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92) !important;
  line-height: 1.8;
  margin-bottom: 1rem !important;
}

.wp-block-quote cite {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--gold) !important;
  letter-spacing: 0.3px;
}

/* ============================================================
   SEPARADOR
   ============================================================ */
.wp-block-separator {
  border: none !important;
  border-top: 1px solid var(--border) !important;
  margin: 3em 0 !important;
  opacity: 1;
}

.wp-block-separator.has-alpha-channel-opacity {
  opacity: 1;
}

/* ============================================================
   SEÇÕES ALTERNADAS, bg-soft a cada 2 seções de colunas
   Funciona via :nth-child selecionando blocos pares
   ============================================================ */
.entry-content .wp-block-columns:nth-of-type(even) {
  background: var(--bg-soft);
  padding: 48px 40px;
  border-radius: var(--radius);
  margin-left: -20px;
  margin-right: -20px;
}

/* ============================================================
   COBERTURA DA SEÇÃO DE SOBRE (imagem + texto lado a lado)
   ============================================================ */
.entry-content .wp-block-columns.alignwide {
  align-items: center;
  gap: 48px;
}

/* ============================================================
   HEADINGS DE SEÇÃO, linha dourada
   ============================================================ */
.entry-content h2 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 2rem;
}

.entry-content h2.has-text-align-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
}

.entry-content h2:not(.has-text-align-center)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ============================================================
   BLOG
   ============================================================ */
.ast-article-post {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}
.ast-article-post:hover {
  box-shadow: var(--shadow-md);
}

.ast-post-format-standard .post-thumb img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.entry-title a {
  font-family: var(--font-heading);
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.entry-title a:hover { color: var(--gold); }

/* Meta (data, autor) */
.entry-meta,
.ast-post-meta * {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   FORMULÁRIO CONTACT FORM 7
   ============================================================ */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}
.wpcf7-form label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  display: block;
  margin-bottom: 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark) !important;
  color: #9BAEC0;
  padding: 56px 20px 0 !important;
}

.site-footer .widget-title,
.site-footer h3, .site-footer h4 {
  font-family: var(--font-heading);
  color: #E8EFF7;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.2rem;
}

.site-footer p,
.site-footer li,
.site-footer address {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #7A93AA;
}

.site-footer a {
  color: #9BAEC0;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--gold); }

.footer-copyright-bar,
.ast-footer-copyright {
  background: rgba(0, 0, 0, 0.35) !important;
  color: #5A7590 !important;
  padding: 18px 20px !important;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================================ */
@keyframes cinsis-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 13px 22px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: background 0.25s ease, transform 0.25s ease;
  animation: cinsis-pulse 2.5s ease-in-out 3s infinite;
}
.whatsapp-float:hover {
  background: #128C7E;
  color: #fff;
  text-decoration: none;
  animation: none;
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .whatsapp-float .whatsapp-text { display: none; }
  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
  }
}

/* ============================================================
   LISTA, marcadores dourados
   ============================================================ */
.entry-content ul li::marker {
  color: var(--gold);
}
.entry-content ol li::marker {
  color: var(--navy);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVO, 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-gap: 48px; }

  .wp-block-cover.alignfull {
    min-height: 55vh !important;
  }

  .wp-block-cover__inner-container h1 {
    font-size: 2rem !important;
  }

  .wp-block-cover__inner-container p {
    font-size: 1rem !important;
  }

  .wp-block-columns .wp-block-column {
    padding: 20px 18px;
  }

  .wp-block-column .wp-block-image img,
  .wp-block-column.has-text-align-center .wp-block-image img {
    width: 150px !important;
    height: 150px !important;
  }

  .entry-content .wp-block-columns:nth-of-type(even) {
    padding: 32px 20px;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--radius-sm);
  }

  .wp-block-quote {
    padding: 24px 20px !important;
  }

  .entry-content h2.has-text-align-center::after,
  .entry-content h2:not(.has-text-align-center)::after {
    display: none;
  }
}

/* ============================================================
   RESPONSIVO, 480px
   ============================================================ */
@media (max-width: 480px) {
  body { font-size: 17px; }

  .wp-block-cover.alignfull {
    min-height: 48vh !important;
  }

  .wp-block-cover__inner-container h1 {
    font-size: 1.75rem !important;
  }

  .wp-block-columns .wp-block-column {
    padding: 18px 16px;
  }
}

/* ============================================================
   AOS, override de timing para suavidade
   ============================================================ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ============================================================
   prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
  .whatsapp-float {
    animation: none !important;
  }
}

/* ============================================================
   MAPA LEAFLET, componente imersivo
   ============================================================ */

/* Wrapper do mapa */
.cinsis-map-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 3rem 0 0;
  border: 1px solid var(--border);
}

/* Container Leaflet */
#mapa-leaflet {
  width: 100%;
  height: 460px;
  display: block;
  background: var(--bg-soft);
}

/* Card de informações sobrepostas */
.cinsis-map-card {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1000;
  background: var(--navy-dark);
  color: #fff;
  padding: 24px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 270px;
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(2px);
}

.cinsis-map-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cinsis-map-card h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.cinsis-map-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #8AAEC8;
  line-height: 1.65;
  margin-bottom: 18px;
}

.cinsis-map-card p strong {
  color: #C8DCF0;
  font-weight: 500;
}

/* Botões de ação */
.map-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-card-actions a {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
}

.map-btn-whatsapp {
  background: #25D366;
  color: #fff !important;
}
.map-btn-whatsapp:hover {
  background: #128C7E;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.map-btn-route {
  background: transparent;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold);
}
.map-btn-route:hover {
  background: var(--gold);
  color: var(--navy-dark) !important;
  transform: translateY(-1px);
}

/* Marker SVG customizado */
.cinsis-marker {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cinsis-marker:hover {
  transform: translateY(-3px) scale(1.08);
}

@keyframes cinsis-marker-pulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.25) translateY(-6px); }
  60%  { transform: scale(0.95) translateY(-2px); }
  80%  { transform: scale(1.08) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}

.cinsis-marker--pulse {
  animation: cinsis-marker-pulse 1.2s ease forwards;
}

/* Popup customizado */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  border: 1px solid var(--border) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
}

.cinsis-popup {
  font-family: var(--font-body);
  padding: 14px 16px;
}

.cinsis-popup strong {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.cinsis-popup span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.leaflet-popup-tip-container {
  margin-top: -1px;
}

/* Attribution pequeno */
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(4px);
}

/* ============================================================
   MAPA, RESPONSIVO
   ============================================================ */
@media (max-width: 768px) {
  .cinsis-map-wrapper {
    border-radius: var(--radius-sm);
    flex-direction: column;
    display: flex;
  }

  #mapa-leaflet {
    height: 280px;
    order: 1;
  }

  .cinsis-map-card {
    position: static;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-top: 3px solid var(--gold);
    box-shadow: none;
    order: 2;
  }

  .map-card-actions {
    flex-direction: row;
  }

  .map-card-actions a {
    flex: 1;
  }
}

/* ============================================================
   MAPA v1.1, classes corrigidas
   ============================================================ */
.cinsis-mapa-secao {
  margin-top: 3rem;
}

.cinsis-mapa-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.cinsis-mapa-container {
  width: 100%;
  height: 460px;
  display: block;
  background: var(--bg-soft);
}

/* Card overlay */
.cinsis-mapa-card {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1000;
  background: var(--navy-dark);
  color: #fff;
  padding: 22px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 260px;
  border-left: 3px solid var(--gold);
  pointer-events: auto;
}

.cinsis-mapa-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cinsis-mapa-card h3::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.cinsis-mapa-card p {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: #8AAEC8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cinsis-mapa-card p strong {
  color: #C8DCF0;
  font-weight: 500;
}

/* Botões */
.cinsis-mapa-acoes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cinsis-mapa-acoes a {
  display: block;
  text-align: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mapa-btn-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
}
.mapa-btn-whatsapp:hover {
  background: #128C7E !important;
  color: #fff !important;
}

.mapa-btn-rota {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold) !important;
}
.mapa-btn-rota:hover {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
}

/* Marker */
.cinsis-marker {
  cursor: pointer;
}
.cinsis-marker svg {
  overflow: visible;
}

/* Popup */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(27,58,92,0.18) !important;
  padding: 0 !important;
  border: 1px solid #E2E8F0 !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
}
.cinsis-popup {
  font-family: 'Inter', sans-serif;
  padding: 13px 15px;
}
.cinsis-popup strong {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1B3A5C;
  display: block;
  margin-bottom: 5px;
}
.cinsis-popup span {
  display: block;
  font-size: 11.5px;
  color: #5A6B7C;
  line-height: 1.5;
}
.leaflet-popup-tip-container {
  margin-top: -1px;
}
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255,255,255,0.8) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .cinsis-mapa-wrapper {
    border-radius: 6px;
    display: flex;
    flex-direction: column;
  }

  .cinsis-mapa-container {
    height: 280px !important;
    order: 1;
  }

  .cinsis-mapa-card {
    position: static;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-top: 3px solid var(--gold);
    box-shadow: none;
    order: 2;
  }

  .cinsis-mapa-acoes {
    flex-direction: row;
  }

  .cinsis-mapa-acoes a {
    flex: 1;
  }
}


/* ============================================================
   HOME PREMIUM, cs-* components (page-inicio.php)
   Appended to style.css v2.0
   ============================================================ */

/* ── Reset da área principal ─────────────────────────────── */
.cs-home {
  overflow-x: hidden;
}

/* ── Container global ────────────────────────────────────── */
.cs-container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Label de seção (etiqueta dourada) ───────────────────── */
.cs-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Cabeçalho de seção ──────────────────────────────────── */
.cs-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.cs-section__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.22;
}

.cs-section__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ── Seção base ──────────────────────────────────────────── */
.cs-section {
  padding: 96px 0;
}

.cs-section--soft {
  background-color: var(--bg-soft);
}

/* ── Botões ──────────────────────────────────────────────── */
.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cs-btn--primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200, 148, 56, 0.35);
}
.cs-btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 148, 56, 0.45);
  color: #fff;
}

.cs-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.cs-btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.cs-btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.cs-btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.cs-btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.cs-btn--ghost-navy:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.cs-btn--lg {
  font-size: 16px;
  padding: 17px 36px;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.cs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.cs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(15, 37, 64, 0.82) 0%,
    rgba(27, 58, 92, 0.70) 55%,
    rgba(15, 37, 64, 0.88) 100%
  );
}

.cs-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}

.cs-hero__tagline {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.cs-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  margin: 0 0 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.cs-hero__title span {
  color: var(--gold-light);
}

.cs-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.cs-hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Indicador de scroll */
.cs-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.cs-hero__scroll-line {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  margin: 0 auto;
  animation: cs-scroll-pulse 2s ease-in-out infinite;
}

@keyframes cs-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.cs-stats {
  background: var(--navy);
  padding: 36px 0;
}

.cs-stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cs-stats__item {
  flex: 1;
  text-align: center;
  padding: 16px 20px;
}

.cs-stats__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.cs-stats__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.cs-stats__suffix {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}

.cs-stats__label {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.cs-stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   SOBRE
══════════════════════════════════════════════════════════ */
.cs-sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.cs-sobre__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 20px;
}

.cs-sobre__content p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.cs-sobre__content .cs-btn {
  margin-top: 12px;
}

.cs-sobre__media {
  position: relative;
}

.cs-sobre__media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Badge "20+ anos" */
.cs-sobre__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  border: 2px solid var(--gold);
}

.cs-sobre__badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.cs-sobre__badge-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════
   SERVIÇOS
══════════════════════════════════════════════════════════ */
.cs-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.cs-service-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cs-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cs-service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.cs-service-card__icon svg {
  width: 100%;
  height: 100%;
}

.cs-service-card__body {
  flex: 1;
}

.cs-service-card__title {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.cs-service-card__desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.cs-service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Badge de duração */
.cs-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-light);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.cs-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.cs-service-card__link:hover {
  color: var(--navy);
  gap: 8px;
}

.cs-servicos__cta,
.cs-equipe__cta,
.cs-espaco__cta {
  text-align: center;
  margin-top: 40px;
}

/* ══════════════════════════════════════════════════════════
   EQUIPE
══════════════════════════════════════════════════════════ */
.cs-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.cs-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-team-card__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.cs-team-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cs-team-card:hover .cs-team-card__photo-wrap img {
  transform: scale(1.06);
}

/* Overlay com ícones sociais */
.cs-team-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 64, 0.80);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cs-team-card:hover .cs-team-card__overlay {
  opacity: 1;
}

.cs-team-card__social {
  display: flex;
  gap: 14px;
}

.cs-team-card__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cs-team-card__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.cs-team-card__specialty {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
}

.cs-team-card__info {
  text-align: center;
}

.cs-team-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
}

.cs-team-card__role {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   GALERIA (ESPAÇO)
══════════════════════════════════════════════════════════ */
.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.cs-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  background: var(--bg-soft);
}

.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cs-gallery-item:hover img {
  transform: scale(1.06);
}

.cs-gallery-item__hover {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 64, 0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cs-gallery-item:hover .cs-gallery-item__hover {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════
   DEPOIMENTOS / TESTIMONIALS
══════════════════════════════════════════════════════════ */
.cs-testimonials .cs-section__header h2 {
  color: var(--navy);
}

.cs-swiper {
  padding-bottom: 48px !important;
  overflow: visible;
}

.cs-swiper .swiper-wrapper {
  align-items: stretch;
}

.cs-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* Paginação */
.cs-swiper__pagination {
  bottom: 0 !important;
}

.cs-swiper__pagination .swiper-pagination-bullet {
  background: var(--navy-light);
  opacity: 0.35;
  width: 8px;
  height: 8px;
  transition: all 0.2s ease;
}

.cs-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

/* Card de depoimento */
.cs-testimonial-card {
  flex: 1;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 36px 32px 28px;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
  width: 100%;
}

.cs-testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.cs-testimonial-card__quote {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--navy);
  opacity: 0.08;
}

.cs-testimonial-card__text {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  margin: 0;
}

.cs-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-style: normal;
}

.cs-testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-testimonial-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  font-style: normal;
}

.cs-testimonial-card__detail {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* CTA Google */
.cs-testimonials__google-cta {
  text-align: center;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cs-testimonials__google-link {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cs-testimonials__google-link:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   MAPA (home template)
══════════════════════════════════════════════════════════ */
.cs-mapa .cs-section__header {
  margin-bottom: 36px;
}

.cs-mapa__wrapper {
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════════════ */
.cs-cta-final {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
}

.cs-cta-final__content {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.cs-cta-final__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.cs-cta-final__content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════════════ */
.cs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cs-fade-in 0.25s ease;
}

.cs-lightbox[hidden] {
  display: none;
}

@keyframes cs-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cs-lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.cs-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.cs-lightbox__close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVO, Tablet (max 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cs-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cs-sobre__grid {
    gap: 48px;
  }

  .cs-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .cs-stats__divider {
    display: none;
  }

  .cs-stats__item {
    padding: 20px;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVO, Mobile (max 768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cs-section {
    padding: 64px 0;
  }

  .cs-hero {
    min-height: 100svh;
  }

  .cs-hero__title {
    font-size: 2rem;
  }

  .cs-hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .cs-sobre__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cs-sobre__media img {
    height: 300px;
  }

  .cs-sobre__badge {
    bottom: -14px;
    left: 16px;
    padding: 14px 18px;
  }

  .cs-services-grid {
    grid-template-columns: 1fr;
  }

  .cs-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .cs-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-testimonial-card {
    padding: 24px 20px;
  }

  .cs-mapa .cs-container {
    padding-inline: 0;
  }

  .cs-mapa__wrapper {
    border-radius: 0;
  }

  .cs-section__header {
    margin-bottom: 36px;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVO, Mobile pequeno (max 480px)
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .cs-team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }

  .cs-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cs-stats__grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   HOME PAGE FULL-WIDTH: remover padding/max-width do Astra
   O body.page-id-6 é adicionado pelo WordPress automaticamente
   para a pagina Inicio (ID 6, slug: inicio)
   ========================================================== */

body.page-id-6 #content.site-content > .ast-container,
body.page-id-6 #content.site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Garante que o main direto tambem nao adicione padding */
body.page-id-6 #main.site-main,
body.page-id-6 #primary.content-area {
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
}

/* ================================================================
   CINSIS SAUDE v2.0 -- Design editorial Anton
   Aplica ao .cs-home e todos os cs-*-v2 components
================================================================ */

:root {
  --charcoal: #302b2f;
  --taupe:    #7a7060;
  --gold-light: #d4aa6d;
  --anton: 'Anton', sans-serif;
}

/* Remove padding Astra container na home */
body.page-id-6 #content.site-content > .ast-container,
body.page-id-6 #content.site-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.page-id-6 #main.site-main,
body.page-id-6 #primary.content-area {
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  max-width: 100% !important;
}
body.page-id-6 .site-below-header-wrap {
  display: none !important;
}
/* Rodape padrao Astra oculto globalmente: footer-cinsis.php e o rodape oficial */
.ast-site-footer,
#colophon {
  display: none !important;
}

/* ================================================================
   HERO V2
================================================================ */
.cs-hero-v2 {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px 48px 56px;
  box-sizing: border-box;
}
.cs-hero-v2__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cs-hero-v2__blob--gold {
  width: 520px; height: 520px;
  background: var(--gold);
  opacity: 0.18;
  top: -80px; right: 8%;
}
.cs-hero-v2__blob--blue {
  width: 360px; height: 360px;
  background: #7ba7bc;
  opacity: 0.14;
  bottom: 15%; left: 4%;
}
.cs-hero-v2__content {
  position: relative;
  z-index: 1;
}
.cs-hero-v2__title {
  font-family: var(--anton);
  font-size: clamp(5rem, 18vw, 18vw);
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}
.cs-hero-v2__solid {
  display: block;
  color: #fff;
}
.cs-hero-v2__outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
}
.cs-hero-v2__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 4rem;
  gap: 24px;
}
.cs-hero-v2__tagline {
  max-width: 300px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 0;
}
.cs-hero-v2__arrow-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
  animation: cs-bounce-arrow 2.2s ease-in-out infinite;
}
.cs-hero-v2__arrow-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
@keyframes cs-bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ================================================================
   STATS V2
================================================================ */
.cs-stats-v2 {
  background: #fff;
  border-top: 1px solid var(--border, #e5e7eb);
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 28px 0;
}
.cs-stats-v2__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.cs-stats-v2__item { padding: 8px; }
.cs-stats-v2__num-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.cs-stats-v2__item .cs-stats__num {
  font-family: var(--anton);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1;
}
.cs-stats-v2__plus {
  font-family: var(--anton);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.cs-stats-v2__item p {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin: 6px 0 0;
}

/* ================================================================
   SERVICOS V2
================================================================ */
.cs-services-v2 {
  background: #fff;
  padding: 80px 48px 96px;
}
.cs-services-v2__header {
  max-width: 1160px;
  margin: 0 auto 48px;
}
.cs-services-v2__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}
.cs-services-v2__title {
  font-family: var(--anton);
  font-size: clamp(4rem, 9vw, 9vw);
  line-height: 0.88;
  color: var(--navy);
  text-transform: uppercase;
  margin: 0;
}
.cs-services-v2__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}
.cs-svc-card {
  display: block;
  text-decoration: none;
  background: var(--card-bg, #f5f3f0);
  transition: transform 0.3s;
}
.cs-svc-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.cs-svc-card--offset { margin-top: 4rem; }
.cs-svc-card__visual {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-svc-card__visual svg {
  width: 80px; height: 80px;
  color: var(--navy);
  opacity: 0.35;
  transition: transform 0.5s, opacity 0.5s;
}
.cs-svc-card:hover .cs-svc-card__visual svg {
  transform: scale(1.08);
  opacity: 0.15;
}
.cs-svc-card__overlay {
  position: absolute; inset: 0;
  background: rgba(15,37,64,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.cs-svc-card:hover .cs-svc-card__overlay { opacity: 1; }
.cs-svc-card__view {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--anton);
}
.cs-svc-card__foot {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cs-svc-card__foot h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.cs-svc-card__dur {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--taupe);
  white-space: nowrap;
  margin-left: 12px;
}

/* ================================================================
   SOBRE V2
================================================================ */
.cs-about-v2 {
  background: var(--navy);
  padding: 96px 48px;
}
.cs-about-v2__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cs-about-v2__visual { position: relative; }
.cs-about-v2__deco {
  position: absolute;
  width: 78%; height: 78%;
  background: var(--gold);
  opacity: 0.12;
  top: 48px; left: -48px;
  z-index: 0;
}
.cs-about-v2__img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  display: block;
}
.cs-about-v2__label {
  display: block;
  font-family: var(--anton);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cs-about-v2__heading {
  font-family: var(--anton);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.cs-about-v2__text p {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 16px;
  max-width: 460px;
}
.cs-about-v2__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  margin-top: 24px;
  transition: gap 0.3s;
}
.cs-about-v2__link:hover { gap: 18px; }

/* ================================================================
   EQUIPE V2
================================================================ */
.cs-team-v2 {
  background: var(--bg-soft, #f7f5f2);
  padding: 80px 48px;
}
.cs-team-v2__container {
  max-width: 1160px;
  margin: 0 auto;
}
.cs-team-v2__header { margin-bottom: 48px; }
.cs-team-v2__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}
.cs-team-v2__title {
  font-family: var(--anton);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.88;
  color: var(--navy);
  text-transform: uppercase;
  margin: 0;
}
.cs-team-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.cs-team-v2__photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.cs-team-v2__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s;
}
.cs-team-v2__card:hover .cs-team-v2__photo-wrap img {
  transform: scale(1.05);
}
.cs-team-v2__overlay {
  position: absolute; inset: 0;
  background: rgba(15,37,64,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.cs-team-v2__card:hover .cs-team-v2__overlay { opacity: 1; }
.cs-team-v2__socials { display: flex; gap: 16px; }
.cs-team-v2__socials a {
  color: #fff;
  transition: color 0.3s;
  display: flex; align-items: center;
}
.cs-team-v2__socials a:hover { color: var(--gold); }
.cs-team-v2__info { padding: 14px 0 0; }
.cs-team-v2__name {
  font-family: var(--anton);
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.cs-team-v2__role {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.cs-team-v2__spec {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--taupe);
  margin-top: 2px;
}

/* ================================================================
   CAPABILITIES V2
================================================================ */
.cs-caps-v2 {
  background: #fafafa;
  padding: 96px 48px;
}
.cs-caps-v2__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 80px;
  align-items: start;
}
.cs-caps-v2__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 32px;
}
.cs-caps-v2__list { list-style: none; margin: 0; padding: 0; }
.cs-caps-v2__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
  font-size: 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 16px;
}
.cs-caps-v2__item::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--navy);
  flex-shrink: 0;
  transition: width 0.35s;
}
.cs-caps-v2__item:hover::before { width: 64px; }
.cs-caps-v2__heading {
  font-family: var(--anton);
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 1.05;
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 28px;
}
.cs-caps-v2__heading em {
  font-style: italic;
  color: var(--taupe);
  font-family: Georgia, 'Times New Roman', serif;
  text-transform: none;
}
.cs-caps-v2__sub {
  font-size: 15px;
  color: var(--taupe);
  line-height: 1.8;
  max-width: 520px;
}

/* ================================================================
   DEPOIMENTOS V2
================================================================ */
.cs-testimonials-v2 {
  background: var(--charcoal, #302b2f);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cs-testimonials-v2__deco {
  position: absolute;
  font-family: var(--anton);
  font-size: 28rem;
  line-height: 1;
  color: var(--navy);
  opacity: 0.35;
  top: -4rem; left: -1rem;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.cs-testimonials-v2__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.cs-swiper-v2 { padding-bottom: 56px !important; }
.cs-testimonial-v2 { margin: 0; }
.cs-testimonial-v2__stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 24px;
}
.cs-testimonial-v2__text {
  font-family: var(--anton);
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 40px;
}
.cs-testimonial-v2__bio {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cs-testimonial-v2__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--anton);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.cs-testimonial-v2__name {
  display: block;
  color: #fff;
  font-family: var(--anton);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cs-testimonial-v2__detail {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}
.cs-testimonials-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s, gap 0.3s;
}
.cs-testimonials-v2__cta:hover { color: var(--gold); gap: 16px; }
.cs-swiper-v2 .swiper-pagination-bullet { background: rgba(255,255,255,0.4); }
.cs-swiper-v2 .swiper-pagination-bullet-active { background: var(--gold); }

/* ================================================================
   MAPA V2
================================================================ */
.cs-map-v2 {
  background: var(--bg-soft, #f7f5f2);
  padding: 80px 48px 0;
}
.cs-map-v2__header {
  max-width: 1160px;
  margin: 0 auto 40px;
}
.cs-map-v2__title {
  font-family: var(--anton);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.88;
  color: var(--navy);
  text-transform: uppercase;
  margin: 8px 0 0;
}

/* ================================================================
   FOOTER V2
================================================================ */
.cs-footer-v2 {
  background: var(--navy);
  padding: 80px 48px 40px;
}
.cs-footer-v2__inner {
  max-width: 1160px;
  margin: 0 auto;
}
.cs-footer-v2__headline {
  font-family: var(--anton);
  font-size: clamp(4rem, 10vw, 10vw);
  line-height: 0.88;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.cs-footer-v2__email {
  display: inline-block;
  font-family: var(--anton);
  font-size: clamp(1.4rem, 3vw, 3rem);
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.cs-footer-v2__email:hover { color: var(--gold-light); }
.cs-footer-v2__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cs-footer-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  background: var(--gold);
  color: #fff;
  transition: background 0.3s, gap 0.3s;
}
.cs-footer-v2__btn:hover { background: var(--gold-light); gap: 14px; }
.cs-footer-v2__btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.cs-footer-v2__btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
  gap: 8px;
}
.cs-footer-v2__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 56px 0 28px;
}
.cs-footer-v2__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}
.cs-footer-v2__legal { display: flex; gap: 24px; }
.cs-footer-v2__legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.cs-footer-v2__legal a:hover { color: var(--gold); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .cs-hero-v2 { padding: 120px 32px 48px; }
  .cs-about-v2 { padding: 72px 32px; }
  .cs-caps-v2 { padding: 72px 32px; }
  .cs-team-v2 { padding: 64px 32px; }
  .cs-services-v2 { padding: 64px 32px 80px; }
  .cs-testimonials-v2__container { padding: 0 32px; }
  .cs-map-v2 { padding: 64px 32px 0; }
  .cs-footer-v2 { padding: 64px 32px 32px; }
  .cs-stats-v2__inner { padding: 0 32px; }
}
@media (max-width: 768px) {
  .cs-hero-v2 { padding: 100px 24px 40px; }
  .cs-hero-v2__title { font-size: clamp(3.5rem, 14vw, 14vw); }
  .cs-stats-v2__inner { grid-template-columns: repeat(2,1fr); padding: 0 24px; gap: 16px; }
  .cs-services-v2 { padding: 56px 24px 72px; }
  .cs-services-v2__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .cs-svc-card--offset { margin-top: 0; }
  .cs-about-v2 { padding: 64px 24px; }
  .cs-about-v2__inner { grid-template-columns: 1fr; gap: 40px; }
  .cs-about-v2__deco { display: none; }
  .cs-team-v2 { padding: 56px 24px; }
  .cs-team-v2__grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .cs-caps-v2 { padding: 64px 24px; }
  .cs-caps-v2__inner { grid-template-columns: 1fr; gap: 40px; }
  .cs-testimonials-v2 { padding: 72px 0; }
  .cs-testimonials-v2__container { padding: 0 24px; }
  .cs-testimonials-v2__deco { font-size: 14rem; }
  .cs-testimonial-v2__text { font-size: clamp(1.4rem, 5vw, 2rem); }
  .cs-map-v2 { padding: 56px 24px 0; }
  .cs-map-v2__title { font-size: clamp(2.5rem, 10vw, 10vw); }
  .cs-footer-v2 { padding: 56px 24px 32px; }
  .cs-footer-v2__headline { font-size: clamp(3rem, 14vw, 14vw); }
  .cs-footer-v2__email { font-size: clamp(1.1rem, 5vw, 5vw); }
  .cs-footer-v2__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cs-footer-v2__legal { gap: 16px; }
}
@media (max-width: 480px) {
  .cs-team-v2__grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .cs-hero-v2__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-hero-v2__arrow-btn { animation: none; }
  .cs-caps-v2__item::before,
  .cs-about-v2__link,
  .cs-testimonials-v2__cta,
  .cs-team-v2__photo-wrap img { transition: none; }
}

/* =======================================================
   CinSis Saúde, CSS v4.0
   Redesign referencia bioback.com.br
   Paleta: --navy #0f2540, --gold #c9a96e
   ======================================================= */

/* ----- Ocultar footer padrao do Astra em todas as paginas ----- */
.ast-site-footer,
.footer-widget-area,
.ast-small-footer {
  display: none !important;
}

/* ----- Wrapper fullwidth: remove padding/margin do Astra ----- */
body.page-id-6 .site-content,
body.page-id-6 .content-area,
body.page-id-6 .entry-content,
body.page-id-6 .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.page-id-6 #content .ast-container,
body.page-id-6 #content .ast-row {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ----- Base: reset de margens nas secoes cs4 ----- */
.cs4-wrapper * { box-sizing: border-box; }
.cs4-wrapper a { text-decoration: none; }

/* ----- Utilitario: label pequeno acima dos titulos ----- */
.cs4-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold, #c9a96e);
  margin-bottom: 12px;
}

/* ----- Titulo padrao de secao ----- */
.cs4-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy, #0f2540);
  margin: 0 0 48px;
  line-height: 1.2;
}

/* ----- Botoes cs4 ----- */
.cs4-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.cs4-btn--gold {
  background: var(--gold, #c9a96e);
  color: #fff;
}
.cs4-btn--gold:hover {
  background: #b8934a;
  color: #fff;
  transform: translateY(-1px);
}
.cs4-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cs4-btn--ghost:hover {
  border-color: var(--gold, #c9a96e);
  color: var(--gold, #c9a96e);
}
.cs4-btn--navy {
  background: var(--navy, #0f2540);
  color: #fff;
}
.cs4-btn--navy:hover {
  background: #1a3a5c;
  color: #fff;
  transform: translateY(-1px);
}
.cs4-btn--outline-navy {
  background: transparent;
  color: var(--navy, #0f2540);
  border-color: var(--navy, #0f2540);
}
.cs4-btn--outline-navy:hover {
  background: var(--navy, #0f2540);
  color: #fff;
}

/* =======================================================
   HERO SPLIT
   ======================================================= */
.cs4-hero {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

.cs4-hero__panel {
  width: 42%;
  flex-shrink: 0;
  background: var(--navy, #0f2540);
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.cs4-hero__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

.cs4-hero__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 50px);
  color: #fff;
  line-height: 1.1;
  margin: 0;
}
.cs4-hero__title strong {
  color: var(--gold, #c9a96e);
  display: block;
}

.cs4-hero__sub {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 400px;
}

.cs4-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cs4-hero__photo {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.cs4-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* =======================================================
   STATS BAR
   ======================================================= */
.cs4-stats {
  background: var(--navy, #0f2540);
  border-top: 1px solid rgba(201,169,110,0.2);
  padding: 40px 24px;
}
.cs4-stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.cs4-stat {
  padding: 8px;
}
.cs4-stat__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--gold, #c9a96e);
  line-height: 1;
}
.cs4-stat__lbl,
.cs4-stat__label {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* =======================================================
   SOBRE
   ======================================================= */
.cs4-sobre {
  padding: 88px 24px;
  background: #f7f5f2;
}
.cs4-sobre__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}
.cs4-sobre__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--navy, #0f2540);
  margin: 0 0 24px;
  line-height: 1.25;
}
.cs4-sobre__text {
  color: #5a5650;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.cs4-sobre__text-col .cs4-btn { margin-top: 16px; }

.cs4-sobre__photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,37,64,0.13);
}
.cs4-sobre__photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* =======================================================
   ESPECIALIDADES
   ======================================================= */
.cs4-svc {
  padding: 88px 24px;
  background: #f7f5f2;
}
.cs4-svc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cs4-svc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cs4-svc-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  border-bottom: 3px solid transparent;
  transition: border-bottom-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cs4-svc-card:hover {
  border-bottom-color: var(--gold, #c9a96e);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15,37,64,0.1);
  color: inherit;
}
.cs4-svc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy, #0f2540);
  color: var(--gold, #c9a96e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cs4-svc-card__icon svg {
  width: 26px;
  height: 26px;
}
.cs4-svc-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy, #0f2540);
  margin: 0 0 10px;
}
.cs4-svc-card__desc {
  font-size: 13.5px;
  color: #7a7060;
  line-height: 1.65;
  margin: 0;
}

/* =======================================================
   EQUIPE
   ======================================================= */
.cs4-team {
  padding: 88px 24px;
  background: #fff;
}
.cs4-team__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cs4-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.cs4-team-card {
  text-align: center;
}
.cs4-team-card__photo-wrap {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid #ede9e4;
  transition: border-color 0.3s;
}
.cs4-team-card:hover .cs4-team-card__photo-wrap {
  border-color: var(--gold, #c9a96e);
}
.cs4-team-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cs4-team-card__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy, #0f2540);
  margin: 0 0 4px;
}
.cs4-team-card__role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold, #c9a96e);
  margin: 0 0 6px;
}
.cs4-team-card__spec {
  font-size: 13px;
  color: #7a7060;
  margin: 0;
  line-height: 1.4;
}
.cs4-team-card__socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.cs4-team-card__socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a7060;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cs4-team-card__socials a:hover {
  background: var(--navy, #0f2540);
  border-color: var(--navy, #0f2540);
  color: #fff;
}
.cs4-team__cta {
  text-align: center;
}

/* =======================================================
   AVALIACOES GOOGLE
   ======================================================= */
.cs4-reviews {
  padding: 88px 24px;
  background: #f7f5f2;
}
.cs4-reviews__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cs4-reviews__rating-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}
.cs4-reviews__avg {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--navy, #0f2540);
  line-height: 1;
}
.cs4-reviews__stars span {
  color: #FBBC05;
  font-size: 24px;
}
.cs4-reviews__count {
  font-size: 14px;
  color: #888;
}
.cs4-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.cs4-review-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
}
.cs4-review-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.cs4-review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cs4-review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy, #0f2540);
  color: var(--gold, #c9a96e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.cs4-review-card__meta { flex: 1; }
.cs4-review-card__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy, #0f2540);
  margin: 0 0 2px;
}
.cs4-review-card__time {
  font-size: 13.5px;
  color: #767676;
  margin: 0;
}
.cs4-review-card__g {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.cs4-review-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 12px;
}
.cs4-review-stars span {
  color: #FBBC05;
  font-size: 15px;
}
.cs4-review-card__text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}
.cs4-reviews__cta { text-align: center; }

/* =======================================================
   GALERIA
   ======================================================= */
.cs4-gallery {
  padding: 88px 24px;
  background: #fff;
}
.cs4-gallery__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cs4-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.cs4-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}
.cs4-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
}
.cs4-gallery__item:hover img { transform: scale(1.06); }
.cs4-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,37,64,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  color: #fff;
  opacity: 0;
}
.cs4-gallery__item:hover .cs4-gallery__overlay {
  background: rgba(15,37,64,0.35);
  opacity: 1;
}
.cs4-gallery__cta { text-align: center; }

/* Lightbox */
.cs4-lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cs4-lb-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  cursor: default;
}
.cs4-lb-inner img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.cs4-lb-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.cs4-lb-close:hover { opacity: 1; }

/* =======================================================
   CTA FINAL (dark)
   ======================================================= */
.cs4-cta-dark {
  padding: 88px 24px;
  background: #0f2540;
  text-align: center;
}
.cs4-cta-dark__inner {
  max-width: 760px;
  margin: 0 auto;
}
.cs4-cta-dark__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 44px);
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.15;
}
.cs4-cta-dark__title strong { color: var(--gold, #c9a96e); }
.cs4-cta-dark__sub {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin: 0 0 44px;
  line-height: 1.65;
}
.cs4-cta-dark__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.cs4-cta-dark__info {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.cs4-cta-info__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold, #c9a96e);
  display: block;
  margin-bottom: 8px;
}
.cs4-cta-info__val {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.cs4-cta-info__val a:hover { color: var(--gold, #c9a96e); }

/* =======================================================
   FOOTER cs4
   ======================================================= */
.cs4-footer {
  background: #f5f3ef;
  padding: 72px 24px 0;
  color: #5a6b7c;
  font-size: 14px;
}
.cs4-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.6fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(15,37,64,0.1);
}
.cs4-footer__logo {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.cs4-footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.cs4-footer__socials {
  display: flex;
  gap: 10px;
}
.cs4-footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15,37,64,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f2540;
  transition: all 0.25s;
  text-decoration: none;
}
.cs4-footer__social:hover {
  background: var(--gold, #c9a96e);
  border-color: var(--gold, #c9a96e);
  color: #fff;
}
.cs4-footer__social svg { width: 16px; height: 16px; }
.cs4-footer__col-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #0f2540;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}
.cs4-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs4-footer__nav a {
  color: #5a6b7c;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}
.cs4-footer__nav a:hover { color: #b8935a; }
.cs4-footer__contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.cs4-footer__contact-icon {
  color: #b8935a;
  flex-shrink: 0;
  margin-top: 1px;
}
.cs4-footer__contact-icon svg { width: 15px; height: 15px; }
.cs4-footer__contact-row a { color: inherit; }
.cs4-footer__contact-row a:hover { color: #b8935a; }
.cs4-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: rgba(15,37,64,0.72);
  flex-wrap: wrap;
  gap: 8px;
}
.cs4-footer__bottom a { color: inherit; text-decoration: none; }
.cs4-footer__bottom a:hover { color: #b8935a; }

/* =======================================================
   RESPONSIVO
   ======================================================= */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .cs4-hero {
    flex-direction: column;
    min-height: auto;
  }
  .cs4-hero__panel {
    width: 100%;
    padding: 64px 40px;
    order: 2;
  }
  .cs4-hero__photo {
    order: 1;
    min-height: 360px;
    flex: none;
    width: 100%;
  }
  .cs4-svc__grid { grid-template-columns: repeat(2, 1fr); }
  .cs4-team__grid { grid-template-columns: repeat(2, 1fr); }
  .cs4-reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .cs4-sobre__inner { grid-template-columns: 1fr; gap: 0; }
  /* Ordem mobile: titulo/texto -> foto -> CTA */
  .cs4-sobre__text-col { display: contents; }
  .cs4-sobre__photo-col { display: contents; }
  .cs4-sobre__photo { order: 1; margin: 26px -12px 6px; }
  .cs4-sobre__text-col .cs4-btn { order: 2; justify-self: start; margin-top: 20px; }
  .cs4-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cs4-cta-dark__info { grid-template-columns: 1fr 1fr; }
}

/* Mobile: 640px */
@media (max-width: 640px) {
  .cs4-hero__panel { padding: 48px 24px; gap: 16px; }
  .cs4-hero__photo { min-height: 280px; }
  .cs4-stats__inner { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cs4-sobre, .cs4-svc, .cs4-team, .cs4-reviews, .cs4-gallery, .cs4-cta-dark {
    padding: 56px 20px;
  }
  .cs4-sobre__photo { margin-left: -16px; margin-right: -16px; }
  .cs4-svc__grid { grid-template-columns: 1fr; }
  .cs4-team__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cs4-team-card__photo-wrap { width: 140px; height: 140px; }
  .cs4-reviews__grid { grid-template-columns: 1fr; }
  .cs4-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .cs4-cta-dark__info { grid-template-columns: 1fr; }
  .cs4-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .cs4-footer__bottom { justify-content: center; text-align: center; }
  .cs4-hero__ctas { flex-direction: column; }
  .cs4-cta-dark__actions { flex-direction: column; align-items: center; }
  .cs4-reviews__rating-bar { flex-wrap: wrap; }
}
/* =====================================================
   CinSis Saude - CSS paginas internas v4.1
   ===================================================== */

/* Inner Page Hero (paginas internas) */
.cs4-inner-hero {
  background: var(--navy);
  padding: 72px 0 56px;
  text-align: center;
}

.cs4-inner-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.cs4-inner-hero__label {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  display: block;
}

.cs4-inner-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}

/* Garante full-width nas paginas internas tambem */
body.page #content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

body.page .entry-content,
body.page .ast-post-pagination,
body.page article.page {
  max-width: 100% !important;
  padding: 0 !important;
}

body.page .site-content,
body.page .content-area {
  width: 100% !important;
  float: none !important;
}

body.page .ast-inner-page-layout,
body.page .ast-article-single {
  padding: 0 !important;
}

body.page .hentry {
  margin: 0 !important;
}

/* Sobre page: 2 cols */
.cs4-sobre--page .cs4-sobre__inner {
  grid-template-columns: 1fr 1fr;
  padding: 0 32px;
}

/* Equipe page: alternancia bio */
.cs4-equipe-bio--reverse {
  direction: rtl;
}
.cs4-equipe-bio--reverse > * {
  direction: ltr;
}

/* Responsive: inner pages */
@media (max-width: 1024px) {
  .cs4-inner-hero__title {
    font-size: 36px;
  }

  .cs4-sobre--page .cs4-sobre__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .cs4-inner-hero {
    padding: 48px 0 36px;
  }

  .cs4-inner-hero__title {
    font-size: 28px;
  }

  /* Equipe page: stacks no mobile */
  .cs4-equipe-bio {
    grid-template-columns: 1fr !important;
  }

  /* Contato / Espaco: stacks no mobile */
  .cs4-contato-grid {
    grid-template-columns: 1fr !important;
  }
}
/* =====================================================
   CinSis Saude - Servicos Journey Page v1.0
   SVG line draws itself on scroll
   ===================================================== */

/* Sub-headline do hero */
.svj-hero-sub {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  margin-top: 14px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── Secao wrapper ── */
.svj-section {
  background: #f7f5f2;
  overflow-x: hidden;
  padding-bottom: 120px;
}

/* ── Body: posicionamento relativo para o SVG absoluto ── */
.svj-body {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px;
}

/* ── SVG overlay (ocupa 100% do svj-body) ── */
.svj-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

/* Trilho cinza de fundo */
.svj-track {
  stroke: #d8d4cf;
  stroke-width: 2;
}

/* Linha gold que se desenha com scroll */
.svj-progress {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
}

/* ══ SERVICE STOP (desktop: 3 colunas) ══ */
.svj-stop {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 320px;
  padding: 32px 0;
}

/* Node: sempre na coluna central */
.svj-node-wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card: coluna 1 para stops esquerdos, coluna 3 para direitos */
.svj-stop--left .svj-card {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  margin-right: 40px;
}

.svj-stop--right .svj-card {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  margin-left: 40px;
}

/* Conectores horizontais via pseudo-elemento do card */
.svj-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.055);
  border: 1px solid rgba(0,0,0,.055);
  transition: box-shadow .3s ease, transform .3s ease;
}

.svj-card:hover {
  box-shadow: 0 10px 40px rgba(15,37,64,.13);
  transform: translateY(-4px);
}

/* Linha horizontal card->node */
.svj-stop--left .svj-card::after,
.svj-stop--right .svj-card::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: width .35s ease, opacity .3s ease;
}

.svj-stop--left .svj-card::after {
  right: -40px;
  left: auto;
}

.svj-stop--right .svj-card::before {
  left: -40px;
  right: auto;
}

/* Ativa o conector quando o dot esta ativo */
.svj-stop--left:has(.svj-dot.is-active) .svj-card::after {
  width: 40px;
  opacity: 1;
}

.svj-stop--right:has(.svj-dot.is-active) .svj-card::before {
  width: 40px;
  opacity: 1;
}

/* ── Card content ── */
.svj-card__label {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.svj-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.25;
}

.svj-card__desc {
  color: #555;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.svj-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.svj-stop--left .svj-card__tags {
  justify-content: flex-end;
}

.svj-stop--right .svj-card__tags {
  justify-content: flex-start;
}

.svj-tag {
  background: rgba(15,37,64,.07);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .4px;
}

.svj-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s, gap .2s;
}

.svj-card__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .2s;
}

.svj-card__link:hover {
  color: var(--gold);
  gap: 12px;
}

.svj-card__link:hover svg {
  transform: translateX(3px);
}

/* ── Dot (no do servico) ── */
.svj-dot {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d0ccc6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  z-index: 3;
  transition:
    border-color .4s ease,
    background   .4s ease,
    transform    .45s cubic-bezier(.34,1.56,.64,1),
    box-shadow   .4s ease;
}

.svj-dot__icon {
  width: 28px;
  height: 28px;
  color: #b0aba4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .4s ease;
}

.svj-dot__icon svg {
  width: 100%;
  height: 100%;
}

.svj-dot__num {
  font-size: 8px;
  font-weight: 800;
  color: #c0bcb6;
  letter-spacing: 1.5px;
  transition: color .4s ease;
  line-height: 1;
}

/* ── Dot ativo: linha chegou nele ── */
.svj-dot.is-active {
  border-color: var(--gold);
  background: var(--navy);
  transform: scale(1.22);
  box-shadow:
    0 0 0 6px rgba(201,169,110,.16),
    0 6px 24px rgba(15,37,64,.22);
}

.svj-dot.is-active .svj-dot__icon {
  color: var(--gold);
}

.svj-dot.is-active .svj-dot__num {
  color: rgba(201,169,110,.6);
}

/* ── Full-width para pagina /servicos/ (ID 10) ── */
body.page-id-10 #content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

body.page-id-10 .entry-content,
body.page-id-10 article.page,
body.page-id-10 .ast-article-single,
body.page-id-10 .ast-inner-page-layout {
  max-width: 100% !important;
  padding: 0 !important;
}

body.page-id-10 .site-content,
body.page-id-10 .content-area {
  width: 100% !important;
  float: none !important;
}

body.page-id-10 .hentry {
  margin: 0 !important;
}


/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

/* Tablet (ate 1024px) */
@media (max-width: 1024px) {
  .svj-body {
    padding: 72px 32px;
  }

  .svj-stop {
    grid-template-columns: 1fr 72px 1fr;
    min-height: 260px;
    padding: 24px 0;
  }

  .svj-dot {
    width: 56px;
    height: 56px;
  }

  .svj-dot__icon {
    width: 22px;
    height: 22px;
  }

  .svj-card {
    padding: 28px 24px;
  }

  .svj-card__title {
    font-size: 20px;
  }

  .svj-stop--left .svj-card { margin-right: 28px; }
  .svj-stop--right .svj-card { margin-left: 28px; }

  .svj-stop--left .svj-card::after  { right: -28px; }
  .svj-stop--right .svj-card::before { left: -28px; }
  .svj-stop--left:has(.svj-dot.is-active) .svj-card::after  { width: 28px; }
  .svj-stop--right:has(.svj-dot.is-active) .svj-card::before { width: 28px; }

  .svj-hero-sub {
    font-size: 14px;
  }
}


/* Mobile (ate 768px): linha na esquerda, cards empilhados a direita */
@media (max-width: 768px) {
  .svj-section {
    padding-bottom: 72px;
  }

  .svj-body {
    padding: 56px 20px 56px 64px; /* 64px para acomodar linha+dot na esquerda */
  }

  /* Linha vertical fica na esquerda */
  .svj-svg {
    left: 0;
  }

  /* Stop: agora eh flex row, node fixo na esquerda */
  .svj-stop {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: unset;
    padding: 0 0 52px 0;
    position: relative;
    gap: 0;
  }

  /* Nó centralizado na "coluna" esquerda (posicao absoluta) */
  .svj-node-wrap {
    position: absolute;
    left: -52px; /* puxado para a faixa esquerda do padding */
    top: 0;
    width: 40px;
    grid-column: unset;
    grid-row: unset;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4px;
  }

  .svj-dot {
    width: 40px;
    height: 40px;
  }

  .svj-dot__num {
    display: none;
  }

  .svj-dot__icon {
    width: 18px;
    height: 18px;
  }

  /* Card: ocupa toda a largura disponivel */
  .svj-stop--left .svj-card,
  .svj-stop--right .svj-card {
    grid-column: unset;
    grid-row: unset;
    text-align: left;
    margin: 0;
    flex: 1;
    width: 100%;
    max-width: 100%;
  }

  /* Oculta conectores horizontais no mobile */
  .svj-stop--left .svj-card::after,
  .svj-stop--right .svj-card::before {
    display: none;
  }

  .svj-card__tags {
    justify-content: flex-start !important;
  }

  .svj-card__title {
    font-size: 18px;
  }

  .svj-card__desc {
    font-size: 13.5px;
  }

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

  .svj-hero-sub {
    font-size: 13.5px;
    padding: 0 20px;
  }
}


/* Mobile pequeno (ate 480px) */
@media (max-width: 480px) {
  .svj-body {
    padding: 40px 16px 40px 56px;
  }

  .svj-node-wrap {
    left: -44px;
  }

  .svj-card {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .svj-card__title {
    font-size: 16px;
  }

  .svj-section {
    padding-bottom: 48px;
  }
}

/* ================================================
   SVG Journey Horizontal (svjh-) + Logo fix + Full-width
   ================================================ */
/* =====================================================
   CinSis Saude - Servicos Journey HORIZONTAL v2.0
   Dois grids de 4 colunas conectados por SVG S-path
   ===================================================== */

/* Sub-title dentro do hero da pagina */
.svjh-sub {
  color: rgba(255, 255, 255, .65);
  font-size: 17px;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Secao externa (fundo off-white) ── */
.svjh-section {
  background: #f7f5f2;
  overflow: hidden;
}

/* ── Timeline: wrapper com posicao relativa para o SVG ── */
.svjh-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 40px 80px;
}

/* ── SVG overlay (path vertical que se desenha) ── */
.svjh-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

/* Trilho de fundo: linha cinza tracejada */
.svjh-track {
  stroke: #dedad5;
  stroke-width: 2;
  stroke-dasharray: 6 5;
  fill: none;
}

/* Linha gold que aparece com scroll */
.svjh-progress {
  stroke: var(--gold, #c9a96e);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ── Lista vertical: flex-column com todos os 8 servicos ── */
.svjh-list {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* ── Item: 3 colunas (left 1fr | center 60px | right 1fr) ── */
.svjh-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0;
  padding: 28px 0;
  position: relative;
  z-index: 2;
}

/* ── Colunas ── */
.svjh-col--left {
  display: flex;
  justify-content: flex-end;
  padding-right: 36px;
  position: relative;
}

.svjh-col--center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.svjh-col--right {
  display: flex;
  justify-content: flex-start;
  padding-left: 36px;
  position: relative;
}

/* ── Conector horizontal: linha entre card e dot ── */
.svjh-item--left .svjh-col--left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: #d0ccc6;
  transition: background .4s ease;
}

.svjh-item--left.is-active .svjh-col--left::after {
  background: var(--gold, #c9a96e);
}

.svjh-item--right .svjh-col--right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: #d0ccc6;
  transition: background .4s ease;
}

.svjh-item--right.is-active .svjh-col--right::before {
  background: var(--gold, #c9a96e);
}

/* ── Card de servico ── */
.svjh-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .055);
  transition: box-shadow .3s ease, transform .3s ease;
  position: relative;
  overflow: hidden;
}

.svjh-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold, #c9a96e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.svjh-item.is-active .svjh-card::before {
  transform: scaleX(1);
}

.svjh-card:hover {
  box-shadow: 0 8px 32px rgba(15, 37, 64, .12);
  transform: translateY(-3px);
}

.svjh-card__label {
  display: block;
  color: var(--gold, #c9a96e);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.svjh-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #0f2540);
  margin: 0 0 10px;
  line-height: 1.3;
}

.svjh-card__desc {
  color: #5a5a5a;
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.svjh-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.svjh-tag {
  background: rgba(15, 37, 64, .07);
  color: var(--navy, #0f2540);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  letter-spacing: .2px;
}

.svjh-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy, #0f2540);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
  transition: color .2s, gap .2s;
}

.svjh-card__link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform .2s;
}

.svjh-card__link:hover {
  color: var(--gold, #c9a96e);
  gap: 11px;
}

.svjh-card__link:hover svg {
  transform: translateX(3px);
}

/* ── Dot (icone de no) ── */
.svjh-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d0ccc6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  transition:
    border-color .4s ease,
    background   .4s ease,
    transform    .45s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow   .4s ease;
}

.svjh-dot__icon {
  width: 22px;
  height: 22px;
  color: #b5b0aa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .4s ease;
}

.svjh-dot__icon svg {
  width: 100%;
  height: 100%;
}

.svjh-dot__num {
  font-size: 7.5px;
  font-weight: 800;
  color: #c5c0ba;
  letter-spacing: 1.5px;
  line-height: 1;
  transition: color .4s ease;
}

/* Dot ativo: a linha SVG chegou nele */
.svjh-dot.is-active {
  border-color: var(--gold, #c9a96e);
  background: var(--navy, #0f2540);
  transform: scale(1.25);
  box-shadow:
    0 0 0 6px rgba(201, 169, 110, .15),
    0 4px 20px rgba(15, 37, 64, .22);
}

.svjh-dot.is-active .svjh-dot__icon {
  color: var(--gold, #c9a96e);
}

.svjh-dot.is-active .svjh-dot__num {
  color: rgba(201, 169, 110, .55);
}

/* ─────────────────────────────────────────────
   FULL-WIDTH: remover restricoes do Astra
   para TODAS as paginas com template custom
   ───────────────────────────────────────────── */
body.page #content .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page #primary.content-area,
body.page .content-area.primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.page #secondary.widget-area {
  display: none !important;
}

body.page .entry-content,
body.page .entry-header {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page .hentry,
body.page article.page,
body.page .ast-article-single {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove o titulo da pagina que o Astra coloca no topo */
body.page .entry-header {
  display: none !important;
}

/* ── Logo: ocultar texto "CinSis Saude" quando ha imagem ── */
.ast-site-identity .ast-site-title-wrap {
  display: none !important;
}

/* ─────────────────────────────────────────────
   RESPONSIVE: VERTICAL TIMELINE
   ───────────────────────────────────────────── */

/* Tablet 900px: compacta padding e colunas */
@media (max-width: 900px) {
  .svjh-timeline {
    padding: 56px 24px 64px;
    max-width: 100%;
  }

  .svjh-item {
    grid-template-columns: 1fr 52px 1fr;
    padding: 22px 0;
  }

  .svjh-col--left  { padding-right: 28px; }
  .svjh-col--right { padding-left:  28px; }

  .svjh-item--left  .svjh-col--left::after,
  .svjh-item--right .svjh-col--right::before { width: 28px; }

  .svjh-card { padding: 22px 18px; }
  .svjh-card__title { font-size: 16px; }
}

/* Mobile 768px: coluna unica, dot esquerda, card direita */
@media (max-width: 768px) {
  .svjh-section { overflow-x: visible; }

  .svjh-timeline {
    padding: 40px 16px 40px 72px;
    max-width: 100%;
  }

  /* SVG desabilitado no mobile */
  .svjh-svg { display: none; }

  /* Linha vertical via ::before na lista */
  .svjh-list {
    position: relative;
  }
  .svjh-list::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dedad5;
  }

  /* Item: 2 colunas (dot 44px | card 1fr) */
  .svjh-item {
    grid-template-columns: 44px 1fr;
    gap: 0;
    padding: 0 0 32px 0;
    align-items: flex-start;
  }

  /* Col esquerda, normalmente oculta no mobile,
     exceto em --left onde tem o card */
  .svjh-col--left {
    display: none;
    padding: 0;
  }
  .svjh-item--left .svjh-col--left {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    padding-left: 16px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .svjh-item--left .svjh-col--right { display: none; }

  /* Col central (dot): sempre col 1 */
  .svjh-col--center {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4px;
    margin-left: -52px;
  }

  /* Col direita: col 2 para items --right */
  .svjh-col--right {
    grid-column: 2;
    grid-row: 1;
    padding-left: 16px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .svjh-item--right .svjh-col--left { display: none; }
  .svjh-item--right .svjh-col--center { margin-left: -52px; }

  /* Esconder conectores horizontais */
  .svjh-item--left  .svjh-col--left::after,
  .svjh-item--right .svjh-col--right::before { display: none; }

  /* Dot menor no mobile */
  .svjh-dot {
    width: 40px;
    height: 40px;
  }
  .svjh-dot__num   { display: none; }
  .svjh-dot__icon  { width: 18px; height: 18px; }

  /* Card full-width */
  .svjh-card {
    width: 100%;
    max-width: 100%;
    padding: 18px 14px;
    border-radius: 8px;
  }

  .svjh-card__title { font-size: 15px; }
  .svjh-card__desc  { font-size: 13px; }

  .svjh-sub {
    font-size: 15px;
    padding: 0 20px;
  }
}

/* ═══════════════════════════════════════════════
   DEPOIMENTOS: Google Reviews Carrossel (dep-)
   ═══════════════════════════════════════════════ */
.dep-section {
  background: #f7f5f2;
  padding: 80px 0;
  overflow: hidden;
}

.dep-outer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 64px;
}

/* ── Painel esquerdo ── */
.dep-summary {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dep-excellent {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1;
}

.dep-stars-row {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.dep-star {
  width: 26px;
  height: 26px;
}

.dep-count {
  font-size: 12.5px;
  color: #777;
  margin: 0 0 18px;
}

.dep-google-word {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -.5px;
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}

.dep-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  width: fit-content;
  transition: color .2s, border-color .2s;
}

.dep-link:hover {
  color: #4285F4;
  border-color: #4285F4;
}

/* ── Carrossel ── */
.dep-carousel {
  flex: 1;
  min-width: 0;
  position: relative;
}

.dep-swiper {
  overflow: hidden;
}

.dep-swiper .swiper-slide {
  height: auto;
}

/* ── Card ── */
.dep-card {
  background: #f1f3f4;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.dep-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dep-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: .5px;
  font-family: 'Poppins', sans-serif;
}

.dep-card__info {
  flex: 1;
  min-width: 0;
}

.dep-card__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dep-card__time {
  display: block;
  font-size: 13.5px;
  color: #767676;
  margin-top: 2px;
}

.dep-card__gicon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dep-card__stars {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 12px;
}

.dep-card__text {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
  margin: 0;
  flex: 1;
}

/* ── Botoes de nav ── */
.dep-nav {
  width: 36px !important;
  height: 36px !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.1) !important;
  color: #333 !important;
  top: 50% !important;
  margin-top: -18px !important;
}

.dep-nav::after {
  font-size: 12px !important;
  font-weight: 800;
  color: #333;
}

.dep-nav--prev { left: -18px !important; }
.dep-nav--next { right: -18px !important; }

.dep-nav:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

.dep-nav:hover::after { color: #fff; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .dep-outer {
    flex-direction: column;
    gap: 40px;
    padding: 0 24px;
  }

  .dep-summary {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .dep-link { margin: 0 auto; }

  .dep-nav--prev { left: -10px !important; }
  .dep-nav--next { right: -10px !important; }
}

@media (max-width: 480px) {
  .dep-section { padding: 56px 0; }

  .dep-outer { padding: 0 16px; }

  .dep-excellent { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO GLASSMORPHISM v2.0 (gh-), CinSis Saude
   ═══════════════════════════════════════════════════════════════════ */

@keyframes gh-fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gh-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes gh-ping {
  0%, 100% { transform: scale(1); opacity: 1; }
  60% { transform: scale(2.2); opacity: 0; }
}

.gh-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f2540;
}

.gh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: .32;
  mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 88%, transparent 100%);
}

.gh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(15,37,64,.97) 0%, rgba(15,37,64,.88) 50%, rgba(15,37,64,.72) 100%);
}

.gh-inner {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.gh-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(201,169,110,.28);
  background: rgba(201,169,110,.07);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  width: fit-content;
  animation: gh-fadeUp .7s ease-out .1s both;
}

.gh-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a96e;
  flex-shrink: 0;
}

.gh-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0;
  animation: gh-fadeUp .7s ease-out .2s both;
}

.gh-title--gold {
  background: linear-gradient(135deg, #c9a96e 0%, #f0d898 55%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gh-sub {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(255,255,255,.68);
  max-width: 540px;
  margin: 0;
  animation: gh-fadeUp .7s ease-out .3s both;
}

.gh-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: gh-fadeUp .7s ease-out .4s both;
}

.gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .22s ease;
  white-space: nowrap;
  cursor: pointer;
}

.gh-btn--primary {
  background: #c9a96e;
  color: #0f2540;
  box-shadow: 0 8px 28px rgba(201,169,110,.38);
}

.gh-btn--primary:hover {
  background: #d4b47a;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(201,169,110,.5);
  color: #0f2540;
}

.gh-btn--ghost {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

.gh-btn--ghost:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
  border-color: rgba(255,255,255,.32);
}

.gh-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: gh-fadeUp .7s ease-out .5s both;
}

.gh-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 56px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.gh-card__glow {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 70%);
  pointer-events: none;
}

.gh-card__body {
  position: relative;
  z-index: 2;
  padding: 28px 26px;
}

.gh-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.gh-card__icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gh-card__icon {
  width: 26px;
  height: 26px;
}

.gh-card__big-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.gh-card__big-lbl {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
  margin-top: 3px;
}

.gh-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
}

.gh-star { color: #f5a623; font-size: 17px; }

.gh-card__rating {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-left: 8px;
  font-weight: 500;
}

.gh-progress { margin-bottom: 16px; }

.gh-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 7px;
}

.gh-progress__pct { color: #fff; font-weight: 600; }

.gh-progress__track {
  height: 5px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.gh-progress__fill {
  height: 100%;
  width: 98%;
  border-radius: 100px;
  background: linear-gradient(90deg, #c9a96e, #f0d898);
}

.gh-divider {
  height: 1px;
  background: rgba(255,255,255,.09);
  margin-bottom: 16px;
}

.gh-mini {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 16px;
  text-align: center;
}

.gh-mini__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.gh-mini__item strong {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold, #c9a96e);
  line-height: 1;
}

.gh-mini__item span {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.7);
}

.gh-mini__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
  margin: 0 4px;
}

.gh-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.gh-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.75);
}

.gh-tag--active { border-color: rgba(74,222,128,.28); }
.gh-tag--gold   { border-color: rgba(201,169,110,.28); color: #c9a96e; }

.gh-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.gh-pulse__dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
}

.gh-pulse__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
  animation: gh-ping 1.8s ease-out infinite;
}

.gh-marquee-wrap {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 18px 0 16px;
  overflow: hidden;
}

.gh-marquee-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin: 0 0 10px;
  padding: 0 20px;
}

.gh-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 18%, black 82%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 18%, black 82%, transparent);
}

.gh-marquee__track {
  display: flex;
  white-space: nowrap;
  animation: gh-marquee 28s linear infinite;
}

.gh-marquee-wrap:hover .gh-marquee__track { animation-play-state: paused; }

.gh-mq-item {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: 0 6px;
}

.gh-mq-sep {
  color: #c9a96e;
  opacity: .55;
  font-size: 12px;
  padding: 0 2px;
}

@media (max-width: 1100px) {
  .gh-inner {
    grid-template-columns: 1fr 360px;
    gap: 48px;
    padding: 108px 32px 72px;
  }
}

@media (max-width: 860px) {
  .gh-inner {
    grid-template-columns: 1fr;
    padding: 100px 24px 56px;
    gap: 48px;
  }

  .gh-right {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }

  .gh-title { font-size: clamp(32px, 9vw, 48px); }
  .gh-sub   { font-size: 16px; }
}

@media (max-width: 480px) {
  .gh-hero { min-height: auto; }

  .gh-inner { padding: 90px 16px 48px; }

  .gh-ctas { flex-direction: column; }

  .gh-btn {
    justify-content: center;
    padding: 13px 24px;
  }

  .gh-card__body  { padding: 20px 18px; }
  .gh-card__big-num { font-size: 28px; }
  .gh-mini__item strong { font-size: 18px; }
  .gh-title { letter-spacing: -.5px; }
}

/* ═══════════════════════════════
   HERO PATCH v2.1: imagem mais
   visível + novo layout card head
   ═══════════════════════════════ */

/* Foto de fundo plena, o overlay cuida do escurecimento */
.gh-bg {
  opacity: 1 !important;
}

/* Overlay vertical navy, mesmo estilo do hero da /sobre/ */
.gh-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15,37,64,.88) 0%,
    rgba(15,37,64,.72) 50%,
    rgba(15,37,64,.9) 100%
  ) !important;
}

/* Novo layout do card head: Google G + stars + label */
.gh-card__head {
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.gh-card__av-lbl {
  display: block;
  font-size: 10.5px;
  color: rgba(255,255,255,.42);
  letter-spacing: .2px;
}

/* Ocultar badge (removido do HTML, mas por segurança) */
.gh-badge { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   HERO PATCH v3.0: imagem mais evidente, conteúdo acima
   dos rostos, header sticky, mobile abrangente
   ═══════════════════════════════════════════════════════════ */

/* ── Foto de fundo: mais visível ── */
.gh-bg {
  opacity: .70 !important;
  background-position: center 65% !important; /* empurra rostos para baixo */
}

/* ── Overlay muito mais leve ── */
.gh-overlay {
  background: linear-gradient(
    130deg,
    rgba(10,28,52,.72) 0%,
    rgba(10,28,52,.55) 45%,
    rgba(10,28,52,.36) 100%
  ) !important;
}

/* ── Conteúdo sobe: alinha no topo do hero ── */
.gh-hero {
  align-items: flex-start !important;
}

/* ── Desktop: padding-top generoso para afastar dos rostos ── */
.gh-inner {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
  align-items: flex-start !important;
}

/* ═══════════════════════════════════════════════════════════
   HEADER STICKY: fixo ao rolar
   ═══════════════════════════════════════════════════════════ */

.site-header,
#masthead {
  position: sticky !important;
  top: 0 !important;
  z-index: 9998 !important;
  background: rgba(10, 28, 52, .97) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,.22) !important;
  transition: box-shadow .3s ease, background .3s ease !important;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE: responsividade abrangente
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet 768-1100px ── */
@media (max-width: 1100px) and (min-width: 861px) {
  .gh-inner {
    grid-template-columns: 1fr 340px !important;
    gap: 40px !important;
    padding: 88px 28px 72px !important;
  }
}

/* ── Mobile padrão (≤860px) ── */
@media (max-width: 860px) {
  .gh-hero {
    min-height: 100svh !important;
  }

  .gh-inner {
    grid-template-columns: 1fr !important;
    padding: 88px 20px 52px !important;
    gap: 36px !important;
  }

  .gh-left {
    gap: 22px !important;
  }

  .gh-title {
    font-size: clamp(34px, 8.5vw, 52px) !important;
    letter-spacing: -1px !important;
    line-height: 1.08 !important;
  }

  .gh-sub {
    font-size: 15.5px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
  }

  .gh-ctas {
    gap: 12px !important;
  }

  .gh-btn {
    padding: 13px 22px !important;
    font-size: 14px !important;
  }

  .gh-right {
    max-width: 420px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/* ── Mobile pequeno (≤520px) ── */
@media (max-width: 520px) {
  .gh-inner {
    padding: 80px 16px 44px !important;
    gap: 28px !important;
  }

  .gh-title {
    font-size: clamp(30px, 9vw, 44px) !important;
    letter-spacing: -.5px !important;
  }

  .gh-sub {
    font-size: 14.5px !important;
  }

  .gh-ctas {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .gh-btn {
    justify-content: center !important;
    padding: 14px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .gh-card__body {
    padding: 20px 16px !important;
  }

  .gh-card__big-num {
    font-size: 28px !important;
  }

  .gh-mini__item strong {
    font-size: 18px !important;
  }

  .gh-mini__item span {
    font-size: 9px !important;
  }

  .gh-right {
    max-width: 100% !important;
  }

  .gh-marquee-wrap {
    border-radius: 14px !important;
  }
}

/* ── Mobile muito pequeno: 360px e abaixo ── */
@media (max-width: 380px) {
  .gh-inner {
    padding: 76px 12px 36px !important;
  }

  .gh-title {
    font-size: 28px !important;
    letter-spacing: 0 !important;
  }

  .gh-sub {
    font-size: 13.5px !important;
  }

  .gh-card__body {
    padding: 16px 12px !important;
  }

  .gh-tag {
    font-size: 8.5px !important;
    padding: 4px 8px !important;
  }

  .gh-mini {
    gap: 2px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE: outras seções do site
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Stats bar */
  .cs4-stats__inner {
    flex-wrap: wrap !important;
    gap: 16px 0 !important;
    justify-content: center !important;
  }

  .cs4-stat {
    flex: 0 0 auto !important;
    text-align: center !important;
  }

  /* Sobre */
  .cs4-sobre__grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Serviços grid */
  .cs4-svc-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Equipe grid */
  .cs4-team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Reviews grid */
  .cs4-reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Gallery grid */
  .cs4-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Inner hero de páginas internas */
  .cs4-inner-hero__inner {
    padding: 0 20px !important;
    text-align: center !important;
  }

  .cs4-inner-hero__title {
    font-size: clamp(28px, 8vw, 42px) !important;
  }

  /* Footer */
  .cs4-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  /* Seção de depoimentos */
  .dep-outer {
    flex-direction: column !important;
    gap: 32px !important;
    padding: 0 20px !important;
  }

  .dep-summary {
    width: 100% !important;
    text-align: center !important;
  }

  /* Formulários e contato */
  .cs4-contato__grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ── Mobile pequeno: 2 colunas de equipe vira 1 ── */
@media (max-width: 420px) {
  .cs4-team-grid {
    grid-template-columns: 1fr !important;
  }

  .cs4-gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .cs4-stat {
    flex: 0 0 100% !important;
  }
}

/* ── Touch targets e usabilidade ── */
@media (max-width: 860px) {
  .gh-btn,
  .cs4-btn,
  .dep-link,
  .svjh-card__link {
    min-height: 44px !important;
  }

  /* Evita texto muito pequeno em botões */
  .gh-btn {
    font-size: 14px !important;
  }

  /* Evitar scroll horizontal em qualquer seção */
  .cs4-wrapper,
  .gh-hero,
  .cs4-stats,
  .cs4-sobre,
  .dep-section {
    overflow-x: hidden !important;
  }
}

/* ── Viewport units para mobile browsers (barra do browser) ── */
@supports (height: 100svh) {
  @media (max-width: 860px) {
    .gh-hero { min-height: 100svh !important; }
  }
}
@supports not (height: 100svh) {
  @media (max-width: 860px) {
    .gh-hero { min-height: calc(100vh - 60px) !important; }
  }
}

/* ═══════════════════════════════════════════════════════════════
   NOSSO ESPAÇO: Carrossel + Lightbox (esp-)
   ═══════════════════════════════════════════════════════════════ */

/* ── Intro ── */
.esp-intro {
  padding: 72px 0 40px;
  background: #f7f5f2;
}

.esp-intro__body {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.esp-intro__label {
  color: var(--gold, #c9a96e);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.esp-intro__title {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy, #0f2540);
  margin: 0 0 18px;
  line-height: 1.2;
}

.esp-intro__text {
  color: #555;
  line-height: 1.85;
  font-size: 15px;
}

/* ── Seção Carrossel ── */
.esp-section {
  background: #0f2540;
  padding-bottom: 0;
}

/* ── Wrap do carrossel ── */
.esp-carousel-wrap {
  position: relative;
  width: 100%;
}

/* ── Swiper ── */
.esp-swiper {
  width: 100%;
  height: 70vh;
  max-height: 740px;
  min-height: 380px;
}

/* ── Slide ── */
.esp-slide {
  position: relative;
  cursor: zoom-in;
  outline: none;
}

.esp-slide__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.esp-slide__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}

.esp-slide:hover .esp-slide__img-wrap img {
  transform: scale(1.03);
}

/* Hint "Ampliar" no hover */
.esp-slide__hint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(10,28,52,.55) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px 24px;
  opacity: 0;
  transition: opacity .3s ease;
}

.esp-slide:hover .esp-slide__hint,
.esp-slide:focus .esp-slide__hint {
  opacity: 1;
}

.esp-slide__hint svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,.9);
  margin-right: 6px;
  flex-shrink: 0;
}

.esp-slide__hint span {
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Setas de navegação ── */
.esp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .22s ease, transform .22s ease;
  padding: 0;
}

.esp-nav svg { width: 22px; height: 22px; }

.esp-nav--prev { left: 20px; }
.esp-nav--next { right: 20px; }

.esp-nav:hover {
  background: rgba(201,169,110,.85);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

/* ── Barra inferior: paginação + contador ── */
.esp-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(10,28,52,.7) 0%, transparent 100%);
  padding: 0 20px;
  z-index: 10;
}

.esp-pagination.swiper-pagination {
  position: static;
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  transform: none;
}

.esp-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  opacity: 1;
  margin: 0 !important;
  transition: all .3s ease;
}

.esp-pagination .swiper-pagination-bullet-active {
  background: var(--gold, #c9a96e);
  width: 24px;
  border-radius: 4px;
}

.esp-counter {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: 1px;
  white-space: nowrap;
  min-width: 48px;
  text-align: right;
}

/* ── Thumbnails ── */
.esp-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 10px;
  background: #0f2540;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.esp-thumbs::-webkit-scrollbar { display: none; }

.esp-thumb {
  flex: 0 0 calc(16.666% - 5px);
  min-width: 80px;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  transition: border-color .22s ease, opacity .22s ease;
  scroll-snap-align: start;
  opacity: .55;
}

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

.esp-thumb.is-active,
.esp-thumb:hover {
  border-color: var(--gold, #c9a96e);
  opacity: 1;
}

/* ══════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════ */

.esp-lb {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(4, 10, 20, .96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  outline: none;
}

.esp-lb.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Stage da imagem */
.esp-lb__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(94vw, 1280px);
  max-height: 86vh;
  padding: 0 72px;
  box-sizing: border-box;
}

.esp-lb__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transition: opacity .22s ease;
  display: block;
}

/* Botão fechar */
.esp-lb__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
  padding: 0;
}

.esp-lb__close svg { width: 18px; height: 18px; }

.esp-lb__close:hover {
  background: rgba(201,169,110,.85);
  border-color: transparent;
  transform: rotate(90deg);
}

/* Setas do lightbox */
.esp-lb__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
  padding: 0;
}

.esp-lb__nav svg { width: 22px; height: 22px; }

.esp-lb__nav--prev { left: 16px; }
.esp-lb__nav--next { right: 16px; }

.esp-lb__nav:hover {
  background: rgba(201,169,110,.85);
  border-color: transparent;
}

.esp-lb__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.esp-lb__nav--next:hover { transform: translateY(-50%) translateX(2px); }

/* Dots do lightbox */
.esp-lb__dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.esp-lb__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .22s ease;
}

.esp-lb__dot.is-active {
  background: var(--gold, #c9a96e);
  width: 24px;
  border-radius: 4px;
}

.esp-lb__dot:hover {
  background: rgba(255,255,255,.65);
}

/* ══════════════════════════════════════════════
   ENDEREÇO / MAPA
   ══════════════════════════════════════════════ */

.esp-end {
  background: #f7f5f2;
  padding: 72px 0;
}

.esp-end__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.esp-end__label {
  color: var(--gold, #c9a96e);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
}

.esp-end__title {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy, #0f2540);
  margin: 0 0 20px;
}

.esp-end__line {
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
  font-size: 15px;
}

.esp-end__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.esp-map {
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,.1);
}

/* ══════════════════════════════════════════════
   RESPONSIVE: Tablet
   ══════════════════════════════════════════════ */

@media (max-width: 900px) {
  .esp-swiper {
    height: 56vw;
    max-height: 520px;
    min-height: 300px;
  }

  .esp-end__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  .esp-map { height: 260px; }

  .esp-lb__stage {
    padding: 0 58px;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE: Mobile
   ══════════════════════════════════════════════ */

@media (max-width: 640px) {
  .esp-intro { padding: 48px 0 28px; }
  .esp-intro__body { padding: 0 20px; }
  .esp-intro__title { font-size: 26px; }

  .esp-swiper {
    height: 62vw;
    min-height: 220px;
    max-height: 400px;
  }

  /* Setas menores no mobile */
  .esp-nav {
    width: 38px;
    height: 38px;
  }

  .esp-nav svg { width: 18px; height: 18px; }
  .esp-nav--prev { left: 10px; }
  .esp-nav--next { right: 10px; }

  .esp-thumb {
    flex: 0 0 80px;
    min-width: 80px;
  }

  /* Lightbox mobile */
  .esp-lb__stage {
    padding: 0 52px;
    max-height: 88vh;
  }

  .esp-lb__img {
    max-height: 74vh;
    border-radius: 4px;
  }

  .esp-lb__nav {
    width: 40px;
    height: 40px;
  }

  .esp-lb__nav svg { width: 18px; height: 18px; }
  .esp-lb__nav--prev { left: 6px; }
  .esp-lb__nav--next { right: 6px; }

  .esp-lb__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .esp-end { padding: 48px 0; }
  .esp-end__grid { gap: 28px; padding: 0 20px; }
  .esp-end__title { font-size: 24px; }
  .esp-end__btns { flex-direction: column; }
  .esp-map { height: 220px; }
}

@media (max-width: 380px) {
  .esp-swiper {
    height: 66vw;
    min-height: 200px;
  }

  .esp-lb__stage { padding: 0 44px; }

  .esp-lb__nav--prev { left: 2px; }
  .esp-lb__nav--next { right: 2px; }
}

/* ═══════════════════════════════════════════════════════
   HOME SWIPER: Nosso Espaço (hs-)
   ═══════════════════════════════════════════════════════ */
.hs-section {
  background: #0f2540;
  padding: 0;
}

.hs-header {
  padding: 72px 32px 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.hs-section .cs4-label { color: var(--gold, #c9a96e); }
.hs-section .cs4-section-title { color: #fff; }

.hs-carousel-wrap { position: relative; width: 100%; }

.hs-swiper {
  width: 100%;
  height: 62vh;
  max-height: 660px;
  min-height: 340px;
}

.hs-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(10,28,52,.65) 0%, transparent 100%);
  padding: 0 20px;
  z-index: 10;
}

.hs-pagination.swiper-pagination {
  position: static;
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  transform: none;
}

.hs-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  opacity: 1; margin: 0 !important;
  transition: all .3s ease;
}

.hs-pagination .swiper-pagination-bullet-active {
  background: var(--gold, #c9a96e);
  width: 24px; border-radius: 4px;
}

.hs-thumbs {
  background: #0f2540;
  padding: 8px 10px 10px;
}

.hs-cta {
  background: #0f2540;
  padding: 28px 32px 56px;
  text-align: center;
}

@media (max-width: 768px) {
  .hs-header { padding: 48px 20px 24px; }
  .hs-swiper { height: 58vw; min-height: 220px; max-height: 420px; }
  .hs-cta { padding: 20px 20px 40px; }
}

@media (max-width: 480px) {
  .hs-swiper { height: 64vw; min-height: 200px; }
  .hs-header { padding: 36px 16px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   PATCH MOBILE v12
   Corrige: hero overflow, setas carousel home, lightbox mobile
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────
   1. HERO: corrigir overflow horizontal causado pelo marquee
   ──────────────────────────────────────────────────────────────── */

/* O marquee__track é muito largo (texto duplicado) e vazava para
   fora do viewport causando scroll horizontal e empurrando o
   gh-inner inteiro além de 100vw. */
.gh-hero        { overflow-x: hidden !important; }
.gh-marquee     { overflow: hidden !important; max-width: 100% !important; }
.gh-marquee-wrap { overflow: hidden !important; max-width: 100% !important; width: 100% !important; }
.gh-marquee__track { will-change: transform; }

/* ────────────────────────────────────────────────────────────────
   2. HERO MOBILE: layout elegante e completo
   ──────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {

  /* Centralizar alinhamento no mobile para experiência mais limpa */
  .gh-left {
    align-items: center !important;
    text-align: center !important;
  }

  .gh-title {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    letter-spacing: -.5px !important;
    line-height: 1.12 !important;
  }

  .gh-sub {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    max-width: 92% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Botões em coluna e full-width desde 860px */
  .gh-ctas {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .gh-btn {
    width: 100% !important;
    max-width: 340px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Card compacto, centralizado abaixo do conteúdo */
  .gh-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .gh-card {
    max-width: 380px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Marquee mais compacto */
  .gh-marquee-wrap {
    max-width: 340px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 520px) {
  .gh-inner {
    padding: 72px 18px 40px !important;
    gap: 24px !important;
  }

  .gh-title {
    font-size: clamp(26px, 8vw, 36px) !important;
    line-height: 1.14 !important;
  }

  .gh-sub { font-size: 13.5px !important; max-width: 100% !important; }

  .gh-btn { max-width: 100% !important; padding: 14px 18px !important; font-size: 13.5px !important; }

  /* Card: mais compacto sem perder elegância */
  .gh-card { max-width: 100% !important; }

  .gh-card__body  { padding: 16px 14px !important; }

  .gh-card__head  { gap: 10px !important; margin-bottom: 14px !important; }
  .gh-card__head svg { width: 30px !important; height: 30px !important; }
  .gh-card__stars { font-size: 13px !important; }
  .gh-card__rating { font-size: 17px !important; }
  .gh-card__av-lbl { font-size: 10px !important; }

  .gh-progress { margin-bottom: 12px !important; }
  .gh-divider  { margin: 10px 0 !important; }

  .gh-mini { gap: 6px !important; }
  .gh-mini__item strong { font-size: 17px !important; }
  .gh-mini__item span   { font-size: 9px !important; }
  .gh-mini__sep { height: 22px !important; }

  .gh-tags { gap: 6px !important; flex-wrap: wrap !important; justify-content: center !important; }
  .gh-tag  { font-size: 9.5px !important; padding: 5px 10px !important; }

  .gh-marquee-wrap { max-width: 100% !important; }
}

@media (max-width: 380px) {
  .gh-inner { padding: 56px 14px 36px !important; gap: 20px !important; }
  .gh-title { font-size: clamp(23px, 7.5vw, 30px) !important; }
  .gh-sub   { font-size: 13px !important; }
  .gh-card__body { padding: 14px 12px !important; }
  .gh-mini__item strong { font-size: 15px !important; }
}

/* ────────────────────────────────────────────────────────────────
   3. CARROSSEL HOME: corrigir posicionamento das setas
      (hs-nav--prev / hs-nav--next não tinham left/right definido)
   ──────────────────────────────────────────────────────────────── */

.hs-nav--prev { left: 12px !important; }
.hs-nav--next { right: 12px !important; }

@media (max-width: 640px) {
  .hs-nav--prev { left: 8px !important; }
  .hs-nav--next { right: 8px !important; }
}

/* ────────────────────────────────────────────────────────────────
   4. LIGHTBOX: imagem maior e centralizada no mobile
   ──────────────────────────────────────────────────────────────── */

/* O padding lateral do stage restringia demais a imagem.
   Solução: remover padding do stage e usar max-width na imagem
   que respeita os botões de navegação fixos nas bordas. */

@media (max-width: 768px) {
  .esp-lb__stage {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 88vh !important;
    align-items: center !important;
  }

  .esp-lb__img {
    /* Desconta 96px (48px de cada lado para os botões nav) */
    max-width: calc(100vw - 96px) !important;
    max-height: 76vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 4px !important;
  }

}

@media (max-width: 480px) {
  .esp-lb__nav {
    width: 38px !important;
    height: 38px !important;
    background: rgba(0, 0, 0, .55) !important;
    border-color: rgba(255,255,255,.18) !important;
  }

  .esp-lb__nav svg { width: 17px !important; height: 17px !important; }
  .esp-lb__nav--prev { left: 5px !important; }
  .esp-lb__nav--next { right: 5px !important; }

  .esp-lb__close {
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .esp-lb__img {
    /* 5px margem de cada lado + 38px botão = 86px total */
    max-width: calc(100vw - 86px) !important;
    max-height: 78vh !important;
    border-radius: 3px !important;
  }

  .esp-lb__dots { gap: 6px !important; margin-top: 12px !important; }
  .esp-lb__dot  { width: 7px !important; height: 7px !important; }
  .esp-lb__dot.is-active { width: 20px !important; }
}

@media (max-width: 380px) {
  .esp-lb__nav { width: 34px !important; height: 34px !important; }
  .esp-lb__nav svg { width: 15px !important; height: 15px !important; }
  .esp-lb__nav--prev { left: 3px !important; }
  .esp-lb__nav--next { right: 3px !important; }
  .esp-lb__img { max-width: calc(100vw - 78px) !important; }
}

/* ────────────────────────────────────────────────────────────────
   5. CARROSSEL GERAL: setas do esp- (página /espaco/) no mobile
   ──────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .esp-nav { width: 36px !important; height: 36px !important; }
  .esp-nav svg { width: 17px !important; height: 17px !important; }
  .esp-nav--prev { left: 8px !important; }
  .esp-nav--next { right: 8px !important; }
}

/* ── Botão verde: "Agendar Consulta" ── */
.cs4-btn--green {
  background: #22c55e;
  color: #fff;
}
.cs4-btn--green:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-1px);
}
.gh-btn--green {
  background: #22c55e !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(34,197,94,.35) !important;
}
.gh-btn--green:hover {
  background: #16a34a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 36px rgba(34,197,94,.5) !important;
  color: #fff !important;
}
/* Largura do CTA das seções (espaco, alinhamento) */
.cs4-svc__cta,
.cs4-reviews__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}


/* ==============================================
   EQUIPE - Circular Carousel (cs4-ct-)
   ============================================== */
.cs4-ct-section {
  background: #0f2540;
  padding: 96px 0 80px;
}

.cs4-ct-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.cs4-ct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin: 56px auto 0;
  text-align: left;
}

.cs4-ct__imgs {
  position: relative;
  height: 440px;
  perspective: 1000px;
}

.cs4-ct__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: 0 28px 56px rgba(0,0,0,.48);
  will-change: transform, opacity;
}

.cs4-ct__content {
  display: flex;
  flex-direction: column;
}

.cs4-ct__meta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .32s ease, transform .32s ease;
}

.cs4-ct__meta.is-in {
  opacity: 1;
  transform: translateY(0);
}

.cs4-ct__role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-light, #e5b84a);
  margin: 0 0 10px;
}

.cs4-ct__name {
  font-family: Poppins, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}

.cs4-ct__spec {
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  margin: 0 0 22px;
  font-style: normal;
}

.cs4-ct__bio {
  font-size: 15.5px;
  line-height: 1.82;
  color: rgba(255,255,255,.72);
  margin: 0;
}

.cs4-ct__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

button.cs4-ct__arrow {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 0 !important;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .22s, box-shadow .25s;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.cs4-ct__arrow svg {
  width: 18px;
  height: 18px;
}

button.cs4-ct__arrow:hover {
  background: var(--gold, #c9a96e) !important;
  border-color: var(--gold, #c9a96e) !important;
  transform: scale(1.1);
  box-shadow: 0 4px 18px rgba(201,169,110,.45);
}

.cs4-ct__dots {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.cs4-ct__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .25s, border-color .25s, transform .25s;
}

.cs4-ct__dot.is-active {
  background: var(--gold, #c9a96e);
  border-color: var(--gold, #c9a96e);
  transform: scale(1.35);
}

@media (max-width: 900px) {
  .cs4-ct-section__inner { padding: 0 28px; }
  .cs4-ct { gap: 40px; }
  .cs4-ct__imgs { height: 360px; }
  .cs4-ct__name { font-size: 24px; }
}

@media (max-width: 768px) {
  .cs4-ct-section { padding: 64px 0 56px; }
  .cs4-ct-section__inner { padding: 0 20px; }
  .cs4-ct {
    grid-template-columns: 1fr;
    gap: 20px;
    touch-action: pan-y;
  }
  .cs4-ct__imgs {
    height: auto;
    aspect-ratio: 4 / 5;
    padding-top: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .cs4-ct__content { padding-top: 0; }
  .cs4-ct__name  { font-size: 20px; }
  .cs4-ct__bio   { font-size: 14px; line-height: 1.72; }
  .cs4-ct__spec  { margin-bottom: 14px; }
  .cs4-ct__nav   { margin-top: 24px; gap: 12px; }
  .cs4-ct__arrow { width: 40px; height: 40px; }
  .cs4-ct__arrow svg { width: 16px; height: 16px; }
}

@media (max-width: 390px) {
  .cs4-ct__name  { font-size: 18px; }
  .cs4-ct__bio   { font-size: 13px; }
}

/* Mobile: imagem ocupa o container 4:5 sem corte */
@media (max-width: 768px) {
  .cs4-ct__img {
    object-position: center center;
  }
}


/* ============================================================
   LEGAL PAGES (cs4-legal)
   ============================================================ */
.cs4-legal-updated {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  margin-top: 12px;
  letter-spacing: .3px;
}
.cs4-legal {
  background: #f7f5f2;
  padding: 72px 24px 96px;
}
.cs4-legal__inner {
  max-width: 780px;
  margin: 0 auto;
}
.cs4-legal-intro {
  font-size: 17px;
  line-height: 1.85;
  color: #374151;
  padding: 22px 26px;
  background: #f5f3ef;
  border-left: 3px solid var(--gold, #c9a96e);
  border-radius: 0 12px 12px 0;
  margin: 0 0 12px;
}
.cs4-legal h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0f2540;
  margin: 46px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0ece5;
  position: relative;
}
.cs4-legal h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 52px;
  height: 2px;
  background: var(--gold, #c9a96e);
}
.cs4-legal p {
  font-size: 15.5px;
  line-height: 1.85;
  color: #4b5563;
  margin: 0 0 16px;
}
.cs4-legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs4-legal li {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
  padding-left: 22px;
  position: relative;
}
.cs4-legal li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold, #c9a96e);
}
.cs4-legal li strong,
.cs4-legal p strong {
  color: #1a1a2e;
  font-weight: 600;
}
.cs4-legal a {
  color: #b8935a;
  text-decoration: none;
  border-bottom: 1px solid rgba(184,147,90,.35);
  transition: color .2s, border-color .2s;
}
.cs4-legal a:hover {
  color: #0f2540;
  border-color: #0f2540;
}
.cs4-legal-contact {
  margin-top: 60px;
  background: #f5f3ef;
  border: 1px solid #e8e4df;
  border-radius: 16px;
  padding: 28px 30px;
}
.cs4-legal-contact h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f2540;
  margin: 0 0 12px;
}
.cs4-legal-contact p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
}
.cs4-footer__legal {
  display: flex;
  gap: 6px 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.cs4-footer__legal a {
  font-size: 14px;
  color: inherit;
  text-decoration: none;
}
.cs4-footer__legal a:hover { color: #b8935a; }
@media (max-width: 768px) {
  .cs4-legal { padding: 48px 18px 64px; }
  .cs4-legal-intro { font-size: 15px; padding: 18px 20px; }
  .cs4-legal h2 { font-size: 18px; margin-top: 38px; }
  .cs4-legal p { font-size: 14.5px; }
  .cs4-legal-contact { padding: 22px 20px; }
}


/* ═══════════════════════════════════════════════════════════
   HEADER: margem lateral no desktop (nao mexe no mobile)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 922px) {
  .site-primary-header-wrap.ast-container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
  }

  .main-header-menu > .menu-item > .menu-link {
    font-size: 16px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Menu centralizado no cabecalho, logo continua a esquerda */
  .site-primary-header-wrap.ast-container .ast-builder-grid-row {
    position: relative;
    width: 100%;
  }
  .site-primary-header-wrap.ast-container .site-header-primary-section-right {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ═══════════════════════════════════════════════════════════
   HEADER: fundo creme (igual ao resto do site), nao mais branco
   ═══════════════════════════════════════════════════════════ */
.ast-primary-header-bar {
  background-color: #f7f5f2 !important;
}

/* ═══════════════════════════════════════════════════════════
   MEGA MENU: A Clinica / Servicos (desktop, hover)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 922px) {
  .main-header-menu > .menu-item.menu-item-has-children {
    position: relative;
  }
  .main-header-menu > .menu-item.menu-item-has-children > a.menu-link {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
  }
  .main-header-menu > .menu-item.menu-item-has-children .dropdown-menu-toggle.ast-header-navigation-arrow {
    transition: transform .3s ease;
  }
  .main-header-menu > .menu-item.menu-item-has-children:hover .dropdown-menu-toggle.ast-header-navigation-arrow,
  .main-header-menu > .menu-item.menu-item-has-children:focus-within .dropdown-menu-toggle.ast-header-navigation-arrow {
    transform: rotate(180deg);
  }

  .main-header-menu > .menu-item.menu-item-has-children > .sub-menu {
    left: 50% !important;
    right: auto !important;
    top: 100% !important;
    transform: translateX(-50%) translateY(6px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15,37,64,.18);
    padding: 16px;
    margin-top: 16px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold, #c9a96e) transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  .main-header-menu > .menu-item.menu-item-has-children > .sub-menu::-webkit-scrollbar {
    width: 6px;
  }
  .main-header-menu > .menu-item.menu-item-has-children > .sub-menu::-webkit-scrollbar-thumb {
    background: var(--gold, #c9a96e);
    border-radius: 99px;
  }
  .main-header-menu > .menu-item.menu-item-has-children > .sub-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  /* Ponte invisivel: cobre a faixa morta entre o botao e o painel (16px de margin-top
     acima), pra o cursor nunca "perder" o hover ao descer do menu ate uma opcao */
  .main-header-menu > .menu-item.menu-item-has-children > .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
  .main-header-menu > .menu-item.menu-item-has-children:hover > .sub-menu,
  .main-header-menu > .menu-item.menu-item-has-children:focus-within > .sub-menu,
  .main-header-menu > .menu-item.menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .sub-menu[data-mega="clinica"] {
    width: 600px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .sub-menu[data-mega="servicos"] {
    width: min(1000px, calc(100vw - 40px));
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
  }

  .sub-menu[data-mega] > .menu-item {
    position: static !important;
  }
  .sub-menu[data-mega] a.menu-link {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    padding: 12px !important;
    border-radius: 10px;
    color: var(--navy, #0f2540) !important;
    text-decoration: none !important;
    border: 0 !important;
  }
  .sub-menu[data-mega] a.menu-link:hover {
    background: #f7f5f2;
  }
  .cs4-mega-icon {
    display: block;
    width: 24px;
    height: 24px;
    color: var(--gold, #c9a96e);
  }
  .cs4-mega-icon svg { width: 100%; height: 100%; }
  .cs4-mega-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--navy, #0f2540);
    line-height: 1.3;
  }
  .cs4-mega-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
    font-weight: 400;
  }

  .cs4-mega-footer {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #f0ece5;
    text-align: center;
  }
  .cs4-mega-footer a {
    font-size: 13px;
    font-weight: 600;
    color: #b8935a;
    text-decoration: none;
  }
  .cs4-mega-footer a:hover { color: var(--navy, #0f2540); }

  @media (prefers-reduced-motion: reduce) {
    .main-header-menu > .menu-item.menu-item-has-children > .sub-menu,
    .main-header-menu > .menu-item.menu-item-has-children .dropdown-menu-toggle.ast-header-navigation-arrow {
      transition: none;
    }
  }
}

/* ═══════════════════════════════════════════════════════════
   MENU MOBILE: redesign do painel (fundo creme, hierarquia, CTA)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 921px) {
  .ast-mobile-popup-drawer .ast-mobile-popup-inner,
  .ast-mobile-header-wrap .ast-mobile-header-content {
    background-color: #f7f5f2 !important;
  }

  .ast-mobile-popup-inner {
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
  }

  .ast-mobile-header-content .main-header-menu.ast-nav-menu > .menu-item {
    border-bottom: 1px solid rgba(15, 37, 64, .08) !important;
  }

  .ast-mobile-header-content .main-header-menu .menu-item > .menu-link {
    color: #0f2540 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    min-height: 52px !important;
  }

  .ast-mobile-header-content .main-header-menu .menu-item:hover > .menu-link,
  .ast-mobile-header-content .main-header-menu .menu-item.current-menu-item > .menu-link,
  .ast-mobile-header-content .main-header-menu .menu-item.current-menu-ancestor > .menu-link {
    color: #c9a96e !important;
  }

  .ast-mobile-popup-drawer .menu-toggle-close {
    color: #0f2540 !important;
  }

  .cs4-mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px 20px 24px;
    padding: 15px 20px;
    background: #0f2540 !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    border-radius: 10px;
    text-align: center;
  }

  .cs4-mobile-cta:hover {
    background: #16345a !important;
  }

  .ast-mobile-header-content .main-header-menu .sub-menu {
    background: transparent !important;
  }
  .ast-mobile-header-content .main-header-menu .sub-menu .menu-link {
    color: #5a5650 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    min-height: 44px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .ast-mobile-header-content .main-header-menu .sub-menu .menu-item {
    border-bottom: 1px solid rgba(15, 37, 64, .06) !important;
  }
  .ast-mobile-header-content .cs4-mega-desc {
    display: block;
    font-size: 11.5px;
    color: #9a958c;
    margin-top: 2px;
    font-weight: 400;
  }
  .ast-mobile-header-content .cs4-mega-icon {
    display: none;
  }
  .ast-mobile-header-content .cs4-mega-footer a {
    color: #b8935a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   ESPECIALIDADES: paginas individuais de servico (cs4-svc-*)
   ═══════════════════════════════════════════════════════════ */
.cs4-svc-page{background:#f7f5f2;padding:0 24px 80px}
.cs4-svc-topnav{max-width:720px;margin:0 auto;padding:28px 0 0}
.cs4-svc-back{display:inline-flex;align-items:center;gap:6px;color:#b8935a;font-size:14px;font-weight:600;text-decoration:none}
.cs4-svc-back:hover{color:#0f2540}
.cs4-svc-content{max-width:720px;margin:20px auto 0}
.cs4-svc-content p{font-size:17px;line-height:1.9;color:#374151;margin:0 0 24px}
.cs4-svc-content p.lead{font-size:19px;line-height:1.7;color:#0f2540;font-weight:500;margin:0 0 28px}
.cs4-svc-content h2{font-family:'Poppins',sans-serif;font-size:24px;font-weight:700;color:#0f2540;margin:46px 0 18px;line-height:1.35;padding-bottom:12px;border-bottom:2px solid #f0ece5;position:relative}
.cs4-svc-content h2::after{content:"";position:absolute;left:0;bottom:-2px;width:52px;height:2px;background:var(--gold,#c9a96e)}
.cs4-svc-content h3{font-family:'Poppins',sans-serif;font-size:19px;font-weight:700;color:#0f2540;margin:36px 0 14px;line-height:1.4}
.cs4-svc-content h4{font-family:'Poppins',sans-serif;font-size:16px;font-weight:700;color:#0f2540;margin:0 0 10px}
.cs4-svc-content a{color:#b8935a;text-decoration:none;border-bottom:1px solid rgba(184,147,90,.4);transition:color .2s,border-color .2s}
.cs4-svc-content a:hover{color:#0f2540;border-color:#0f2540}
.cs4-svc-content strong{color:#1a1a2e}
.cs4-svc-content ul,.cs4-svc-content ol{margin:0 0 24px 22px;font-size:16.5px;line-height:1.85;color:#374151}
.cs4-svc-content li{margin-bottom:8px}
.cs4-svc-content hr{border:none;border-top:1px solid #e8e4df;margin:44px 0}
.cs4-svc-content figure{margin:32px 0}
.cs4-svc-content figure img{border-radius:14px;height:auto;width:100%}
.cs4-svc-content .wp-block-columns{gap:24px}
.cs4-svc-content .wp-block-gallery{margin:32px 0}
.cs4-svc-content .wp-block-buttons{margin:32px 0;display:flex;justify-content:center}
.cs4-svc-content .wp-block-button__link{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:6px;font-family:'Poppins',sans-serif;font-weight:600;font-size:15px;text-decoration:none!important;background:#22c55e!important;color:#fff!important;border:none;transition:background .25s,transform .2s}
.cs4-svc-content .wp-block-button__link:hover{background:#16a34a!important;transform:translateY(-1px)}
@media(max-width:768px){
  .cs4-svc-page{padding:0 18px 56px}
  .cs4-svc-topnav{padding:20px 0 0}
  .cs4-svc-content{margin-top:16px}
  .cs4-svc-content p{font-size:15.5px;line-height:1.85;margin-bottom:20px}
  .cs4-svc-content p.lead{font-size:17px}
  .cs4-svc-content h2{font-size:20px;margin-top:38px}
  .cs4-svc-content h3{font-size:17px}
  .cs4-svc-content ul,.cs4-svc-content ol{font-size:15px}
  .cs4-svc-content .wp-block-columns{flex-wrap:wrap}
}


/* ═══════════════════════════════════════════════════════════
   HERO MOBILE: forcar visibilidade do card e do marquee
   (override final, resolve conflito de regras acumuladas)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .gh-right,
  .gh-card,
  .gh-marquee-wrap,
  .gh-marquee,
  .gh-marquee__track {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
  }
  .gh-marquee__track { display: flex !important; }
  .gh-right {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }
  .gh-hero {
    overflow-y: visible !important;
    height: auto !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   HERO: kicker sobe, headline desce ate a altura dos ombros
   (override final, resolve conflito de paddings acumulados)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  .gh-inner {
    padding-top: 44px !important;
  }
  .gh-kicker {
    margin-bottom: 8px !important;
  }
  .gh-title {
    margin-top: 300px !important;
  }
}
@media (max-width: 860px) {
  .gh-inner {
    padding-top: 36px !important;
  }
  .gh-kicker {
    margin-bottom: 6px !important;
  }
  .gh-title {
    margin-top: 170px !important;
  }
}



/* ═══════════════════════════════════════════════════════════
   FAIXA DE METADADOS nas paginas de especialidade (cs4-svc-meta)
   Duracao / Modalidade / Profissional, em blocos separados
   ═══════════════════════════════════════════════════════════ */
.cs4-svc-content .cs4-svc-meta{display:flex;flex-wrap:wrap;margin:24px 0 30px;border-radius:14px;background:#faf8f5;border:1px solid #ece7de;overflow:hidden}
.cs4-svc-content .cs4-svc-meta__item{display:flex;align-items:flex-start;gap:12px;padding:18px 24px;flex:1 1 220px;border-right:1px solid #ece7de;min-width:0}
.cs4-svc-content .cs4-svc-meta__item:last-child{border-right:none}
.cs4-svc-content .cs4-svc-meta__icon{width:22px;height:22px;flex-shrink:0;color:var(--gold);margin-top:2px}
.cs4-svc-content .cs4-svc-meta__text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 auto}
.cs4-svc-content .cs4-svc-meta__label{font-family:'Poppins',sans-serif;font-weight:700;font-size:12.5px;text-transform:uppercase;letter-spacing:1px;color:#9a8355}
.cs4-svc-content .cs4-svc-meta__value{font-size:16px;font-weight:600;color:#0f2540;line-height:1.4;overflow-wrap:break-word;word-break:break-word}

/* Mobile: empilha cada bloco em largura total (corrige flex-basis herdado do modo linha) */
@media(max-width:700px){
  .cs4-svc-content .cs4-svc-meta{flex-direction:column}
  .cs4-svc-content .cs4-svc-meta__item{flex:1 1 auto;width:100%;border-right:none;border-bottom:1px solid #ece7de;padding:16px 18px}
  .cs4-svc-content .cs4-svc-meta__item:last-child{border-bottom:none}
}

/* Celulares pequenos: reduz respiro e icone para caber com folga */
@media(max-width:400px){
  .cs4-svc-content .cs4-svc-meta{border-radius:10px}
  .cs4-svc-content .cs4-svc-meta__item{padding:13px 14px;gap:10px}
  .cs4-svc-content .cs4-svc-meta__icon{width:19px;height:19px;margin-top:1px}
  .cs4-svc-content .cs4-svc-meta__label{font-size:11.5px;letter-spacing:.6px}
  .cs4-svc-content .cs4-svc-meta__value{font-size:15px;line-height:1.45}
}

/* ═══════════════════════════════════════════════════════════
   CURSOS: cards, carrossel da home, hub, pagina do curso (cs4-curso-*)
   Imagem de card/thumbnail: proporcao 1:1 (quadrada). Ideal exportar
   as artes de curso ja quadradas (ex: 1000x1000px), com o rosto/logo
   centralizados no terco superior, para o corte automatico ficar bem
   em qualquer card ou slide do carrossel.
   ═══════════════════════════════════════════════════════════ */

/* Card de curso (home, carrossel e hub /cursos/) */
.cs4-curso-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 6px 28px rgba(15,37,64,.10);border:1px solid #eee6da;display:flex;flex-direction:column;height:100%;transition:transform .3s ease,box-shadow .3s ease;text-decoration:none;color:inherit}
.cs4-curso-card:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(15,37,64,.16)}
.cs4-curso-card__media{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;background:var(--navy)}
.cs4-curso-card__media img{width:100%;height:100%;object-fit:cover;object-position:center 12%}
.cs4-curso-card__date{position:absolute;bottom:14px;left:14px;background:rgba(255,255,255,.96);color:var(--navy);font-family:'Poppins',sans-serif;font-weight:700;font-size:clamp(12px,1.3vw,13px);letter-spacing:.2px;padding:7px 14px;border-radius:30px;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.cs4-curso-card__body{padding:24px 22px 26px;display:flex;flex-direction:column;flex:1}
.cs4-curso-card__label{color:var(--gold);font-family:'Poppins',sans-serif;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.cs4-curso-card__title{font-family:'Poppins',sans-serif;font-size:clamp(17px,2.4vw,20px);font-weight:700;color:var(--navy);line-height:1.35;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cs4-curso-card__desc{font-size:14.5px;line-height:1.7;color:#5a6472;margin-bottom:16px;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cs4-curso-card__meta{display:flex;align-items:flex-start;gap:8px;font-size:13.5px;color:#8a8f98;margin-bottom:18px;line-height:1.5}
.cs4-curso-card__meta svg{width:16px;height:16px;flex-shrink:0;color:var(--gold);margin-top:1px}
.cs4-curso-card__link{display:inline-flex;align-items:center;gap:8px;font-family:'Poppins',sans-serif;font-weight:600;font-size:15px;color:var(--navy);margin-top:auto}
.cs4-curso-card__link svg{width:16px;height:16px;transition:transform .2s ease;flex-shrink:0}
.cs4-curso-card:hover .cs4-curso-card__link svg{transform:translateX(4px)}

/* Secao "Proximos Cursos" na home, com carrossel */
.cs4-cursos-home{padding:88px 24px;background:#f7f5f2}
.cs4-cursos-home__inner{max-width:1180px;margin:0 auto}
.cs4-cursos-home__head{text-align:center;margin-bottom:48px}
.cs4-cursos-home__head .cs4-section-title{font-size:clamp(26px,4vw,38px);line-height:1.25}
.cs4-cursos-carousel{position:relative;padding:0 8px}
.cs4-cursos-swiper{overflow:hidden;padding:6px 2px 10px}
.cs4-cursos-slide{height:auto!important;width:260px!important;max-width:260px!important;flex-shrink:0!important}
.cs4-cursos-slide .cs4-curso-card{height:100%}
.cs4-cursos-arrow{position:absolute;top:36%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid #eee6da;box-shadow:0 6px 20px rgba(15,37,64,.14);display:flex;align-items:center;justify-content:center;color:var(--navy);cursor:pointer;z-index:2;transition:background .2s ease,transform .2s ease}
.cs4-cursos-arrow:hover{background:var(--navy);color:#fff}
.cs4-cursos-arrow svg{width:20px;height:20px}
.cs4-cursos-arrow--prev{left:-4px}
.cs4-cursos-arrow--next{right:-4px}
.cs4-cursos-arrow.swiper-button-disabled{opacity:.35;cursor:default;pointer-events:none}
.cs4-cursos-arrow.is-hidden{display:none}
.cs4-cursos-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:32px;position:static}
.cs4-cursos-pagination .swiper-pagination-bullet{width:9px;height:9px;background:#d8d2c6;opacity:1;border-radius:50%;transition:background .2s ease,transform .2s ease;margin:0!important}
.cs4-cursos-pagination .swiper-pagination-bullet-active{background:var(--gold);transform:scale(1.25)}
.cs4-cursos-home__more{text-align:center;margin-top:40px}
.cs4-cursos-home__more a{display:inline-flex;align-items:center;gap:8px;font-family:'Poppins',sans-serif;font-weight:600;font-size:16px;color:var(--navy);text-decoration:none;border-bottom:2px solid var(--gold);padding-bottom:3px}
@media(max-width:900px){
  .cs4-cursos-arrow{display:none}
  .cs4-cursos-carousel{padding:0}
}
@media(max-width:768px){
  .cs4-cursos-home{padding:64px 18px}
  .cs4-cursos-home__head{margin-bottom:34px}
  .cs4-cursos-slide{width:78vw!important;max-width:280px!important}
}

/* Hub /cursos/: grid estatico, mesmo card */
.cs4-cursos-hub{padding:12px 24px 80px}
.cs4-cursos-hub__grid{display:flex;flex-wrap:wrap;justify-content:center;gap:32px;max-width:1100px;margin:0 auto}
.cs4-cursos-hub__grid .cs4-curso-card{width:260px;max-width:100%}
.cs4-cursos-hub__vazio{max-width:640px;margin:40px auto;text-align:center;font-size:17px;line-height:1.8;color:#5a6472}
@media(max-width:768px){
  .cs4-cursos-hub{padding:8px 18px 56px}
}

/* Pagina do curso: media de destaque (flyer) */
.cs4-curso-media{max-width:340px;margin:0 auto 32px;border-radius:18px;overflow:hidden;box-shadow:0 12px 40px rgba(15,37,64,.16)}
.cs4-curso-media img{width:100%;height:auto;display:block}
@media(min-width:860px){
  .cs4-curso-media{float:right;margin:0 0 24px 40px}
}

/* Bloco do professor na pagina do curso */
.cs4-curso-content .cs4-curso-professor{display:flex;align-items:center;gap:22px;background:#faf8f5;border:1px solid #ece7de;border-radius:16px;padding:26px 28px;margin:24px 0 30px;clear:both}
.cs4-curso-professor__photo{width:96px;height:96px;border-radius:50%;object-fit:cover;flex-shrink:0}
.cs4-curso-professor__info{display:flex;flex-direction:column;gap:2px}
.cs4-curso-professor__name{font-family:'Poppins',sans-serif;font-weight:700;font-size:clamp(18px,2.6vw,20px);color:var(--navy);line-height:1.3}
.cs4-curso-professor__cred{font-size:15px;color:#5a6472;line-height:1.6}
@media(max-width:600px){
  .cs4-curso-content .cs4-curso-professor{flex-direction:column;text-align:center;padding:24px 20px}
  .cs4-curso-professor__photo{width:84px;height:84px}
}

/* CTA final da pagina do curso */
.cs4-curso-cta{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);border-radius:20px;padding:40px 36px;margin:44px 0 12px;text-align:center;clear:both}
.cs4-curso-cta__vagas{display:inline-block;background:var(--gold-light,#e5b84a);color:var(--navy);font-family:'Poppins',sans-serif;font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase;padding:8px 18px;border-radius:20px;margin-bottom:18px}
.cs4-svc-content .cs4-curso-cta__preco{font-family:'Poppins',sans-serif;font-size:clamp(24px,4vw,32px);font-weight:700;color:#fff!important;margin-bottom:6px}
.cs4-curso-cta__preco span{font-size:15px;font-weight:500;color:rgba(255,255,255,.75);display:block;margin-top:4px}
.cs4-curso-cta .wp-block-buttons{margin-top:22px!important}
@media(max-width:600px){
  .cs4-curso-cta{padding:30px 22px}
}


/* ═══════════════════════════════════════════════════════════
   BOTAO INSTAGRAM moderno (pagina /equipe/), gradiente oficial
   ═══════════════════════════════════════════════════════════ */
.cs4-ig-btn{display:inline-flex;align-items:center;gap:10px;margin-top:14px;padding:6px 18px 6px 6px;border-radius:30px;background:#fff;border:1.5px solid #ece7de;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.cs4-ig-btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,37,64,.14);border-color:transparent}
.cs4-ig-btn__icon{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--navy,#0f2540)}
.cs4-ig-btn__icon svg{width:19px;height:19px}
.cs4-ig-btn__label{font-family:'Poppins',sans-serif;font-weight:600;font-size:13.5px;color:var(--navy);letter-spacing:.1px}
@media(max-width:420px){
  .cs4-ig-btn{padding:5px 15px 5px 5px;gap:8px}
  .cs4-ig-btn__icon{width:32px;height:32px}
  .cs4-ig-btn__icon svg{width:17px;height:17px}
  .cs4-ig-btn__label{font-size:13px}
}

/* ═══════════════════════════════════════════════════════════
   HERO v6: estrutura da referencia. Foto reenquadrada (familia
   a direita do quadro, banda 2:1, corte na altura da coxa),
   texto a esquerda sobre gradiente horizontal escuro.
   Mobile e controlado pelo bloco cinsis-hero-mobile do
   functions.php (imprime por ultimo e vence este arquivo).
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  .gh-hero {
    align-items: center !important;
  }
  .gh-inner {
    max-width: 1500px !important;
    padding: 110px 48px 90px !important;
    align-items: center !important;
  }
  .gh-title {
    margin-top: 0 !important;
  }
  .gh-kicker {
    margin-bottom: 12px !important;
  }
  .gh-bg {
    opacity: 1 !important;
    background-position: right top !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .gh-overlay {
    background: linear-gradient(
      90deg,
      rgba(10,28,52,.95) 0%,
      rgba(10,28,52,.86) 30%,
      rgba(10,28,52,.55) 55%,
      rgba(10,28,52,.22) 78%,
      rgba(10,28,52,.3) 100%
    ) !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   HERO v6.1: todo o conteudo na coluna esquerda (texto, CTAs,
   selos e letreiro); foto 100% limpa na direita. Imagem dir2:
   enquadramento aberto (altura cheia) + parede estendida a
   esquerda (pad na cor real da parede) pra familia cair depois
   dos 50% do quadro em qualquer largura de tela.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  .gh-inner {
    display: block !important;
    max-width: 1500px !important;
  }
  .gh-left {
    max-width: 620px !important;
    gap: 26px !important;
  }
  .gh-title {
    font-size: clamp(38px, 4vw, 60px) !important;
  }
  .gh-tags {
    justify-content: flex-start !important;
  }
  .gh-marquee-wrap {
    max-width: 560px !important;
  }
  .gh-marquee-label {
    text-align: left !important;
  }
  .gh-bg {
    background-position: right center !important;
  }
  .gh-overlay {
    background: linear-gradient(
      90deg,
      rgba(10,28,52,.95) 0%,
      rgba(10,28,52,.9) 30%,
      rgba(10,28,52,.6) 48%,
      rgba(10,28,52,.16) 68%,
      rgba(10,28,52,.05) 100%
    ) !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   HERO v6.2: refinamento tipografico da coluna esquerda.
   1) Elevacao optica: bloco sobe ~14px (centro em ~48% em vez
      de 51%, padrao de composicao profissional).
   2) Ritmo progressivo de espacamento: cluster de apresentacao
      (kicker > selos > headline) apertado em 18px, respiro
      cresce descendo (sub 24, CTA 28, letreiro 44), em vez de
      26px uniforme entre tudo (le como lista, nao hierarquia).
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  .gh-inner {
    padding: 90px 48px 118px !important;
  }
  .gh-left {
    gap: 18px !important;
  }
  .gh-kicker {
    margin-bottom: 0 !important;
  }
  .gh-tags {
    margin: 0 !important;
  }
  .gh-sub {
    margin-top: 6px !important;
  }
  .gh-ctas {
    margin-top: 10px !important;
  }
  .gh-marquee-wrap {
    margin-top: 26px !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   POLISH v7: revisao geral de elegancia
   1) Rolagem suave nos links de ancora do menu (com fallback
      para quem prefere movimento reduzido).
   2) scroll-margin-top: secao ancorada nunca esconde o titulo
      sob o header fixo.
   3) Padding da secao de equipe normalizado pra escala global
      de 88px (era o unico outlier, 96px).
   ═══════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
section[id] {
  scroll-margin-top: 96px;
}
.cs4-ct-section {
  padding-top: 88px;
}


/* ── SWIPE EQUIPE (mobile): palco aceita gesto horizontal sem travar a rolagem vertical ── */
.cs4-ct__imgs {
  touch-action: pan-y;
}


/* ── LOTES DO SEMINARIO (pagina do curso): vigente em destaque, encerrados riscados ── */
.cs4-svc-content li.cs4-lote { list-style: none; position: relative; }
.cs4-lote-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--gold, #c9a96e);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  vertical-align: 2px;
}
.cs4-lote-badge--off {
  background: #b9b2a8;
}
.cs4-lote.is-encerrado { opacity: .62; }
.cs4-lote.is-encerrado strong,
.cs4-lote.is-encerrado { text-decoration: line-through; }
.cs4-lote.is-encerrado .cs4-lote-badge { text-decoration: none; }
.cs4-lote.is-atual {
  background: #faf6ee;
  border: 1px solid #e8dcc4;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 6px 0;
}


/* ═══════════════════════════════════════════════════════════
   CURSOS NAV v2: navegacao do carrossel de cursos no mesmo
   padrao da secao de profissionais (fileira central: seta,
   dots, seta), cores adaptadas ao fundo claro da secao.
   ═══════════════════════════════════════════════════════════ */
.cs4-cursos-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.cs4-cursos-arrow {
  position: static;
  transform: none;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(15,37,64,.35);
  background: transparent;
  box-shadow: none;
  color: var(--navy, #0f2540);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .22s, box-shadow .25s;
}
.cs4-cursos-arrow:hover {
  background: var(--navy, #0f2540);
  border-color: var(--navy, #0f2540);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15,37,64,.18);
}
.cs4-cursos-arrow svg { width: 18px; height: 18px; }
.cs4-cursos-pagination {
  position: static;
  width: auto;
  display: flex;
  gap: 6px;
}
/* Se o Swiper travar tudo (todos os cards visiveis), some a fileira inteira */
.cs4-cursos-nav:has(.swiper-button-lock):has(.swiper-pagination-lock) { display: none; }


/* ── KICKER QUEBRA MOBILE: "Belo Horizonte" cai pra linha de baixo, sem o separador ── */
@media (max-width: 860px) {
  .gh-kicker__sep { display: none; }
  .gh-kicker__city { display: block; }
}


/* ============================================================
   PAINEL DE SELECAO WHATSAPP (botao flutuante)
   Desktop: card compacto ancorado no canto.
   Mobile: folha (bottom sheet) com handle, backdrop e swipe.
   ============================================================ */
.whatsapp-float { position: fixed; z-index: 9999; }
.whatsapp-float.is-open { animation: none; }
.whatsapp-float .cs4-wa-icon-close,
.whatsapp-float .cs4-wa-label-close { display: none; }
.whatsapp-float.is-open .cs4-wa-icon-chat,
.whatsapp-float.is-open .cs4-wa-label-chat { display: none; }
.whatsapp-float.is-open .cs4-wa-icon-close,
.whatsapp-float.is-open .cs4-wa-label-close { display: inline-flex; align-items: center; }
.whatsapp-float.is-open .cs4-wa-icon-close { width: 22px; height: 22px; }

.cs4-wa-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(10, 24, 43, .5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s;
}
.cs4-wa-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cs4-wa-panel {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 9998;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(15,37,64,.24);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .24s ease, transform .24s ease, visibility .24s;
}
.cs4-wa-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.cs4-wa-panel.is-dragging { transition: none; }

.cs4-wa-panel__handle {
  display: none;
}

.cs4-wa-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, var(--navy, #0f2540) 0%, #0a1c34 100%);
  color: #fff;
}
.cs4-wa-panel__head-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cs4-wa-panel__title {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.cs4-wa-panel__subtitle {
  font-size: 12.5px;
  color: rgba(255,255,255,.62);
}
.cs4-wa-panel__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 0;
  color: rgba(255,255,255,.85);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.cs4-wa-panel__close:hover { background: rgba(255,255,255,.2); color: #fff; }

.cs4-wa-panel__list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 60vh;
  overflow-y: auto;
}
.cs4-wa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  transition: background .18s ease;
}
.cs4-wa-item:hover { background: #f7f5f2; }
.cs4-wa-item:hover .cs4-wa-item__chevron { transform: translateX(2px); color: var(--gold, #c9a96e); }

.cs4-wa-item__avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0ece5;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #ece7de;
}
.cs4-wa-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(2.6);
}
.cs4-wa-item__avatar--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf6ee;
  color: var(--gold, #c9a96e);
}
.cs4-wa-item__avatar--icon svg { width: 22px; height: 22px; }

.cs4-wa-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs4-wa-item__name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy, #0f2540);
}
.cs4-wa-item__spec {
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}
.cs4-wa-item__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #c7c1b7;
  transition: transform .2s ease, color .2s ease;
}

.cs4-wa-item--geral {
  border-top: 1px solid #f0ece5;
  margin-top: 6px;
  padding-top: 14px;
}
.cs4-wa-item--geral .cs4-wa-item__name { color: #b8935a; }

@media (max-width: 600px) {
  .cs4-wa-panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    transform-origin: bottom center;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -16px 44px rgba(0,0,0,.28);
  }
  .cs4-wa-panel.is-open { transform: translateY(0); }
  .cs4-wa-panel__handle {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 99px;
    background: #e2ddd6;
    margin: 10px auto 0;
  }
  .cs4-wa-panel__head { padding: 12px 18px 16px; cursor: grab; }
  .cs4-wa-panel__list { max-height: 52vh; padding: 8px 12px 14px; }
  .cs4-wa-item { padding: 12px 8px; }
  .cs4-wa-item__avatar { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs4-wa-panel,
  .cs4-wa-backdrop { transition: none; }
}


/* ═══════════════════════════════════════════════════════════
   AVALIACAO GOOGLE NO HERO: reintroduzida entre o subtitulo e
   o CTA, mesmo espacamento das outras transicoes (28px).
   ═══════════════════════════════════════════════════════════ */
.gh-google {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gh-google__icon { flex-shrink: 0; }
.gh-google__stars {
  color: var(--gold, #c9a96e);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}
.gh-google__text {
  font-size: 13px;
  color: rgba(255,255,255,.72);
}
.gh-google__text strong {
  color: #fff;
  font-weight: 700;
}
@media (min-width: 861px) {
  .gh-google { margin-top: 10px; }
}
@media (max-width: 860px) {
  .gh-google { justify-content: center; margin-top: 4px; }
}


/* ============================================================
   SELO "RECENTE" nos depoimentos vindos ao vivo do Google
   ============================================================ */
.cs4-ts-card__badge,
.dep-card__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(201,169,110,.14);
  border: 1px solid rgba(201,169,110,.5);
  color: #b8935a;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  vertical-align: 2px;
}
