
 
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9fbfd;
  color: #333;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* FontAwesome */
.fa, .fas, .fab {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
/* CABEÇALHO SUPERIOR */
.top-header {
  background: rgb(128, 128, 128);
  padding: 10px 0;
}
.top-header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}
.top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-top {
  width: 150px;
}
/* Adicione este bloco para mover os itens do cabeçalho para a direita */
.top-info {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-left: 200px; /* ajuste aqui para mais ou menos deslocamento */
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.info-item .label {
  font-size: 14px;
  color: #e6f0f1;
}
.info-item .valor {
  font-weight: bold;
  font-size: 15px;
  color: #ffffff;
}
.top-info .info-item i {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.top-header .info-item i,
.top-header .info-item .fab,
.top-header .info-item .fas {
  color: #ffe082; /* amarelo claro para destaque */
}
.top-header .info-item .fa-location-dot { color: #ffffff; }
.top-header .info-item .fa-whatsapp { color: #ffffff; }
.top-header .info-item .fa-instagram { color: #ffffff; }
.top-header .info-item .fa-linkedin { color: #ffffff; }
/* SUBCABEÇALHO */
.subheader {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 18px 0;
}
.nav-menu a {
  text-decoration: none;
  color: #181818;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #027c84;
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: #027c84;
}
.nav-menu a:hover::after {
  width: 100%;
}
/* Dropdown de Especialidades */
.nav-menu li {
  position: relative;
}
.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;            /* logo abaixo do link “Especialidades” */
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 200;
}
.nav-menu .dropdown-menu li {
  white-space: nowrap;
}
.nav-menu .dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: #181818;
  font-weight: 400;
  transition: background 0.2s;
}
.nav-menu .dropdown-menu a:hover {
  background: #f0f0f0;
}
.nav-menu .dropdown:hover .dropdown-menu {
  display: block;
}
:root {
      --cor-primaria:  #003f3f;
      --cor-accento:   #494949;
      --fundo-secao:   #f0f4f5;
      --texto-normal:  #333;
      --altura-slider: 430px; /* ajuste aqui a altura fixa do slider */
    }

    /* ===== Sessão e container ===== */
    .sessao-sobre-slider {
      background-color: var(--fundo-secao);
      padding: 60px 20px 40px;
    }
    .slider-sobre {
      position: relative;
      max-width: 1500px;
      margin: 0 auto;
      height: var(--altura-slider);
      padding: 0 80px;   
      overflow: visible; 
    }

    /* ===== Slides com fade ===== */
    .slide {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
    .slide.active {
      opacity: 1;
    }

    /* ===== Conteúdo interno ===== */
    .conteudo-sobre {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 40px;
      align-items: center;
      padding-bottom: 40px; /* espaço para o texto não colar no fim */
      box-sizing: border-box;
      height: 100%;
    }

    .texto-sobre h2 {
      display: inline-block;
      position: center;
      font-size: 2.5rem;
      color: var(--cor-primaria);
      margin-bottom: 1rem;
    }
    .texto-sobre h2::after {
      content: '';
      display: block;
      width: 100%;
      height: 4px;
      background: var(--cor-accento);
      margin-top: 8px;
      border-radius: 2px;
    }
    .texto-sobre p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--texto-normal);
}


    /* ===== Slide 1 – imagem da doutora ===== */
    .imagem-sobre {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .imagem-sobre img {
      width: 120%;
      max-width: 700px;
      height: auto;
      object-fit: cover;
      border-radius: 12px;
      display: block;
    }

    /* ===== Slide 2 – galeria de salas ===== */
    .galeria-salas {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
    }
    .galeria-salas img {
      width: 100%;
      border-radius: 8px;
      object-fit: cover;
      display: block;
    }

   /* Container de botões: flex com gap */
.cta-sobre {
  display: flex;
  justify-content: center;
  gap: 16px;      /* espaço entre os botões */
  margin-top: 40px;
}

/* Botões de navegação do slider */
.nav-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  z-index: 5;
}

.nav-slide:hover {
  background: rgba(255,255,255,1);
}

.nav-prev {
  left: 0;
  transform: translateX(-150%) translateY(-50%);
}
.nav-next {
  right: 0;
  transform: translateX(150%) translateY(-50%);
}
/* Ambos usam .btn-sobre para manter o mesmo estilo */
.btn-sobre {
  display: inline-block;
  background-color: var(--cor-acento);
  color: #fff;
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

/* Hover idêntico nos dois */
.btn-sobre:hover {
  background-color: #c17d2c;
}

/* (Opcional) se quiser um estilo levemente diferente no segundo botão: */
.btn-convenios {
  background-color: transparent;
  color: var(--cor-primaria);
  border: 2px solid var(--cor-primaria);
}
.btn-convenios:hover {
  background-color: var(--cor-primaria);
  color: #fff;
}

    /* 1) Faça o grid do slide 2 dar mais espaço ao texto e menos às imagens */
/* ===== Slide 2 – layout normal (texto à esquerda, imagens à direita) ===== */
.slide:nth-of-type(2) .conteudo-sobre {
  grid-template-columns: 1fr 1fr; /* proporção igual, texto à esquerda */
  align-items: start;
  gap: 40px;
}


/* 2) Aumente levemente a tipografia do texto no slide 2 */
.slide:nth-of-type(2) .texto-sobre p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ===== Slide 2 – galeria horizontal ===== */
.slide:nth-of-type(2) .galeria-salas {
  display: flex;
  gap: 24px;
  overflow-x: auto;       /* permite rolar horizontalmente se necessário */
  scroll-snap-type: x mandatory;
}

/* Exibir as 3 imagens lado a lado no slide 2 */
.slider-estruturas .slides-estruturas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.slider-estruturas .slides-estruturas img {
  width: 100%;
  height: 220px; /* ajuste de altura uniforme */
  object-fit: cover;
  border-radius: 12px;
}


/* 4) Ajuste as imagens para preencher melhor seu bloco */
.slide:nth-of-type(2) .galeria-salas img {
  width: 100%;
  height: 300px;        /* altura fixa para uniformizar */
  object-fit: cover;
  border-radius: 12px;
}
/* ========== Ajustes para o Slide 2 ========== */



/* 2) Garante que o título fique sempre em uma linha só */
.slide:nth-of-type(2) .texto-sobre h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* opcional, evita estouro visual */
}

/* 3) (Opcional) Afasta um pouquinho as imagens do texto */
.slide:nth-of-type(2) .texto-sobre {
  margin-right: 20px;
  max-width: 600px;
}


/* Texto mais compacto só no slide 2 */
.slide:nth-of-type(2) .texto-sobre p {
  line-height: 1.5;
  margin-bottom: 0.8rem;
}


    
/* ===== Seção MVV – Novo Layout ===== */
.section-mvv-bleed {
  position: relative;
  background: #fff;
  padding: 80px 20px;
  overflow: hidden;
}

/* Pseudo‑backgrounds circulares para dar profundidade */
.section-mvv-bleed::before,
.section-mvv-bleed::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.section-mvv-bleed::before {
  width: 300px;
  height: 300px;
  background: var(--cor-acento);
  top: -100px;
  left: -100px;
}
.section-mvv-bleed::after {
  width: 400px;
  height: 400px;
  background: var(--cor-primaria);
  bottom: -150px;
  right: -150px;
}

/* Grid responsivo de cards */
.mvv-bleed-content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1; /* acima dos círculos */
}

/* ===== Cards ===== */
.mvv-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}
.mvv-card:nth-child(1) { animation-delay: 0.1s; }
.mvv-card:nth-child(2) { animation-delay: 0.3s; }
.mvv-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Hover “levanta” e revela texto */
.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.mvv-card h3 {
  margin: 16px 0 8px;
  font-size: 1.4rem;
  color: var(--cor-primaria);
}
.mvv-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto-normal);
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

/* Icon inside a colored circle */
.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: var(--cor-accento);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}




/* FEATURES CENTRAIS - mantém igual ao MVV */
.mvv-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-box i {
  font-size: 2.2rem;
  color: #027c84;
  margin-top: 4px;
}
.feature-box h3 {
  font-size: 1.35rem;
  color: #033B3E;
  margin: 0 0 6px;
}
.feature-box p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
/* HORÁRIOS LATERAL - ajuste para igualar altura de fonte */
.horarios-bleed {
  background: #fff;
  padding: 36px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  max-width: 400px;
  width: 100%;
}
.horarios-bleed h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #033B3E;
  font-size: 1.35rem;
}
.horarios-bleed table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
}
.horarios-bleed td {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1.1rem;
}
.horarios-bleed td:first-child {
  text-align: left;
  font-weight: 500;
}
.horarios-bleed td:last-child {
  text-align: right;
  color: #05585e;
}

/* ========== SEÇÃO ESPECIALIDADES ========== */
.section-especialidades {
  background: linear-gradient(120deg, #f4f9fb 0%, #e8f3f7 100%);
  padding: 80px 0;
}
.especialidades {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.especialidades h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #05585e;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.especialidades h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #027c84;
  border-radius: 2px;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}
/* ==== SLIDER DE CARDS ===== */
.cards-slider {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}
.cards-slider .slides {
  display: flex;
  gap: 48px;
  transition: transform 0.4s ease;
}
.cards-slider .card {
  flex: 0 0 320px;
  max-width: 320px;
  min-width: 260px;
  padding: 40px 28px;
}
.card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  min-height: 420px;
}
.card img {
  width: 140px;
  height: 140px;
  margin-bottom: 28px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #033b3e;
}
.card p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #555;
}
.detalhes-btn {
  padding: 12px 28px;
  font-size: 1.08rem;
}
/* ===== BOTÃO DETALHES ===== */
.detalhes-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #027c84;
  color: #027c84;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}
.detalhes-btn:hover {
  background: #027c84;
  color: #fff;
}
/* ===== AGENDAMENTO INTEGRADO ===== */
.agendamento-integrada {
  text-align: center;
  margin-top: 40px;
}
.agendamento-integrada h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #033B3E;
  margin-bottom: 16px;
  position: relative;
}
.agendamento-integrada .agendar-btn {
  display: inline-block;
  background-color: #0a705a;
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}
.agendamento-integrada .agendar-btn:hover {
  background-color: #146568;
  transform: translateY(-2px);
}


/* == UNIDADE TATUAPÉ + MAPA + LOGO == */
.section-unidade {
  padding: 60px 0;
  background: #fff;
}
.section-unidade .container {
  display: grid;
  grid-template-areas:
    "info galeria"
    "mapa mapa"
    "logo logo";
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* texto */
.info-unidade {
  grid-area: info;
  background: #f4f9fb;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.info-unidade h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #033B3E;
  position: relative;
}
.info-unidade h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #027c84;
  border-radius: 2px;
  position: absolute;
  bottom: -8px;
  left: 0;
}
.info-unidade p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #05585E;
  margin-bottom: 16px;
}
.info-unidade ul {
  list-style: none;
  padding-left: 0;
}
.info-unidade li {
  font-size: 1rem;
  color: #033B3E;
  margin-bottom: 8px;
}
.info-unidade li::before {
  content: '✔';
  color: #027C84;
  display: inline-block;
  width: 20px;
  text-align: center;
  margin-right: 8px;
}

/* galeria */
.galeria {
  grid-area: galeria;
  position: relative;
  overflow: hidden;
  max-width: 600px;
}
.galeria .slides {
  display: flex;
  transition: transform 0.5s ease;
}
.galeria img {
  flex: 0 0 50%;
  width: 50%;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 16px;
}
.galeria img:last-child {
  margin-right: 0;
}

/* botões de navegação */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3,59,62,0.7);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.nav-btn.prev { left: 8px; }
.nav-btn.next { right: 8px; }



/* ——— RODAPÉ PERSONALIZADO ——— */
.footer {
  background: #2a2a2a;        /* tom mais cinza escuro */
  color: #ccc;
  padding: 60px 0 30px;       /* sem barra branca abaixo */
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 40px;
  align-items: start;
}
.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #027c84;
  margin-top: 6px;
  border-radius: 2px;
}
.footer-col ul {
  list-style: none;
  margin-top: 16px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .3s;
}
.footer-col ul li a:hover {
  color: #fff;
}
.logo-col .footer-logo {
  width: 140px;
  margin-bottom: 16px;
  border-radius: 12px;
}
.logo-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bbb;
}

/* tabela de horários reduzida */
.footer-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.footer-hours-table td {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #ddd;
}
.footer-hours-table td:first-child {
  width: 50%;
  color: #fff;
  font-weight: 500;
}
.footer-hours-table td:last-child {
  text-align: right;
}



/* ANIMAÇÃO */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================ CONVÊNIOS ================ */
.section-convenios {
  padding: 40px 0;
  background: #f9fbfd;
}
.convenios-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}
.section-convenios .watermark img {
  max-width: 80%;
  opacity: 1;
}
.section-convenios .convenios-texto h2 {
  font-size: 2.5rem;
  color: #033B3E;
  margin-bottom: 1rem;
  position: relative;
}
.section-convenios .convenios-texto h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #027c84;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}
.section-convenios .convenios-texto p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-top: 1rem;
}

/* galeria de logos em “cards” */
.convenios-logos h3 {
  text-align: center;
  font-size: 1.75rem;
  color: #05585e;
  margin-bottom: 40px;
}
.grid-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
  align-items: center;
}

.grid-logos {
  display: grid;
  /* sempre 3 colunas fixas de 350px */
  grid-template-columns: repeat(3, 350px);
  /* duas linhas de 240px de altura */
  grid-auto-rows: 240px;
  gap: 32px;
  justify-content: center;
}

.grid-logos img {
  /* faz a imagem preencher 100% do card */
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* styling de card */
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grid-logos img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}





/* === UNIDADE: MAPA ESQ. | HORÁRIOS DIR. === */
.section-unidade .container {
  display: grid;
  grid-template-areas: "info detalhes";
  grid-template-columns: 1fr auto;
  gap: 40px;
}
.info-unidade { grid-area: info; }
.unidade-detalhes {
  grid-area: detalhes;
  display: grid;
  grid-template-areas: "mapa horarios";
  grid-template-columns: 1fr auto;
  gap: 24px;
}
.mapa-unidade { grid-area: mapa; }
.horarios-bleed {
  grid-area: horarios;
  max-width: 300px;
}



/* NOVO GRID PARA SEÇÃO UNIDADE */
.unidade-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "info galeria"
    "localizacao localizacao"
    "logo logo";
  gap: 40px 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.info-unidade { grid-area: info; }
.galeria { grid-area: galeria; }
.unidade-localizacao-horarios {
  grid-area: localizacao;
  display: flex;
  gap: 40px;
  align-items: stretch; /* faz ambos esticarem igualmente na altura */
  justify-content: flex-start;
  min-height: 320px;
}
.mapa-unidade {
  flex: 1 1 60%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
}
.mapa-unidade iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.horarios-bleed {
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 220px;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;
}
.logo-baixo { grid-area: logo; display: flex; justify-content: center; }


/* Slider Buttons - VISUAL MELHORADO */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #027c84;
  color: #fff;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(2,124,132,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  outline: none;
  border: 2px solid #e0f7fa;
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-btn:hover, .slider-btn:focus {
  background: #05585e;
  box-shadow: 0 8px 24px rgba(2,124,132,0.18);
  transform: translateY(-50%) scale(1.08);
  border-color: #027c84;
}
.slider-btn:active {
  background: #033b3e;
}
/* ===== ESTILO PARA OS TOGGLE-BUTTONS (Convênios/Particular) ===== */
.convenios-toggle {
  display: flex;
  justify-content: left;
  gap: 32px;
  margin: 0px 0px 20px;
  margin-left: 15px;
}
.toggle-btn {
  background: transparent;
  border: 2px solid #027c84;
  color: #027c84;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.toggle-btn:hover {
  background-color: #027c84;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.toggle-btn.active {
  background-color: #027c84;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}



/* ==== Layout da seção de Especialidade ==== */
.section-especialidade-intro {
  padding: 80px 20px;
  background: #f0f4f5;
}

.especialidade-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;   /* garante que ambas as colunas comecem do topo */
  max-width: 1500px;
  margin: 0 auto;
  gap: 20px;
}

/* Coluna de texto */
.especialidade-texto {
  flex: 1 1 55%;    
  max-width: 55%;
}
.especialidade-texto h1 {
  display: inline-block;
  font-size: 2.5rem;
  color: #003f3f;
  border-bottom: 3px solid #027c84;
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.especialidade-texto h2 {
  font-size: 1.5rem;
  color: #003f3f;
  margin: 24px 0 8px;
}
.especialidade-texto p {
  font-size: 1.125rem;
  line-height: 1.4;
  color: #333;
  margin-bottom: 16px;
}

/* Coluna lateral: imagem + botão */
.especialidade-aside {
  flex: 1 1 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* sempre começa no topo */
  text-align: center;
}

/* Imagem fixa em todas as páginas */
.especialidade-aside .especialidade-img {
  width: 100%;
  max-width:auto;   /* largura igual para todas */
  min-height: 400px;
  height: 400px;      /* mesma altura para todas */
  object-fit:cover;  
  border-radius: 12px;
  margin-bottom: 24px;
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: inline-block;
  background-color: #0e635c;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}
.btn-whatsapp:hover {
  background-color: #3f3e3d;
}

/* Override específico para Terapia Ocupacional */
#terapia-ocupacional .especialidade-aside .especialidade-img {
  width: 100%;          /* preenche toda a coluna */
  max-width: 400px;     /* ajusta este valor até ficar no tamanho ideal */
  height: auto;         /* mantém proporção natural */
  object-fit: contain;  /* garante que nada seja cortado */
  margin: 0 auto 24px;  /* centraliza e adiciona espaçamento */
}

#pac .especialidade-aside .especialidade-img {
  width: 100%;          /* preenche toda a coluna */
  max-width: 600px;     /* ajusta este valor até ficar no tamanho ideal */
  height: auto;         /* mantém proporção natural */
  object-fit: contain;  /* garante que nada seja cortado */
  margin: 0 auto 24px;  /* centraliza e adiciona espaçamento */
}




/* ===== Particular: botão de WhatsApp ===== */
.cta-particular {
  margin-top: 24px;
}

.cta-particular .btn-whatsapp {
  display: inline-block;
  background-color: #0e635c;    /* mesma cor do seu .btn-whatsapp */
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-particular .btn-whatsapp:hover {
  background-color: #3f3e3d;
}
/* Aumenta só a imagem da aba “Particular” */
#particular-secao .watermark img {
  display: block;
  width: 80%;       /* ocupa toda a largura do container */
  max-width: 600px;  /* limite máximo (ajuste como quiser) */
  height: auto;      /* mantém proporção */
  margin-right: 500px;  /* centra horizontalmente */
}



/* ==============================================
   RESPONSIVIDADE MÓVEL (width ≤ 480px), TUDO EMPILHADO
   ============================================== */
@media (max-width: 480px) {
  /* 1) Reset de containers principais */
  .container,
  .sessao-sobre-slider,
  .section-mvv-bleed,
  .section-especialidades,
  .section-convenios,
  .cards-slider,
  .section-unidade,
  footer.footer {
    width: 100% !important;
    max-width: none !important;
    padding: 20px 16px !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* 2) Slider “Sobre” em fluxo normal */
  .sessao-sobre-slider .slider-sobre {
    display: block !important;
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    padding: 0 !important;
  }
  .sessao-sobre-slider .slide {
    display: block !important;
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 24px !important;
  }
  /* mostra todos os slides (não só .active) */
  .sessao-sobre-slider .slide:not(.active) {
    display: block !important;
  }
  /* esconde botões de navegação do slider */
  .sessao-sobre-slider .nav-slide,
  .sessao-sobre-slider .slider-btn {
    display: none !important;
  }

  /* 3) Conteúdo do slide: texto acima, depois imagem */
  .sessao-sobre-slider .conteudo-sobre {
    display: block !important;
    grid-template-columns: none !important;
    padding: 0 !important;
  }
  .sessao-sobre-slider .conteudo-sobre > * {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 16px !important;
    text-align: center !important;
  }

  /* 4) Texto “Sobre” centralizado e legível */
  .sessao-sobre-slider .texto-sobre h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }
  .sessao-sobre-slider .texto-sobre p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    max-width: 90vw !important;
    margin: 0.5rem auto 1.5rem !important;
    text-align: center !important;
  }

  /* 5) Imagens full‑width */
  .sessao-sobre-slider .imagem-sobre img,
  .sessao-sobre-slider .galeria-salas img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
  }

  /* 6) CTA full‑width */
  .cta-sobre .btn-sobre,
  .cta-sobre .btn-convenios {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 16px !important;
  }

  /* 7) Especialidades: carrossel swipe */
  .cards-slider .slides {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 12px 0 !important;
  }
  .cards-slider .card {
    flex: 0 0 80% !important;
    scroll-snap-align: center !important;
    width: auto !important;
  }
  .cards-slider .slides::-webkit-scrollbar {
    display: none !important;
  }
  .cards-slider .slider-btn {
    display: none !important;
  }

  /* 8) Unidade Tatuapé empilhada */
  .unidade-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "info"
      "galeria"
      "localizacao"
      "logo" !important;
    gap: 24px !important;
    padding: 20px 16px !important;
  }
  .unidade-localizacao-horarios {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .mapa-unidade iframe {
    width: 100% !important;
    min-height: 200px !important;
  }
  .horarios-bleed {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* 9) Footer empilhado */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 24px !important;
  }

  /* 10) Evita qualquer overflow horizontal */
  html, body {
    overflow-x: hidden !important;
  }
  img, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
}
/* ========================================
   HIDE TOP-INFO & SHOW HAMBURGER NO CELULAR
   ======================================== */
@media (max-width: 480px) {
  /* 1) Esconde todo o bloco de infos da top-header */
  .top-header .top-info,
  .top-header .info-item {
    display: none !important;
  }

  /* 2) Exibe apenas o logo centralizado */
  .top-header .container {
    justify-content: center !important;
  }

  /* 3) Subheader: esconde o menu tradicional */
  .subheader .nav-menu {
    display: none !important;
  }
  .subheader .nav-menu.open {
    display: block !important; /* quando .open via JS */
  }

  /* 4) Exibe o hamburger dentro do subheader */

  

  /* 5) Ajusta padding do subheader para acomodar o hamburger */
  .subheader {
    padding: 16px 0 !important;
  }
  .header-inner {
    padding: 0 16px !important;
  }

  

  
/* ==============================
   SLIDER “Estrutura Preparada” 
   SOMENTE NO MOBILE (≤480px)
   ============================== */
.slider-estruturas .nav-btn {
  display: none; /* desktop: esconde setas */
}

@media (max-width: 480px) {
  .slider-estruturas {
    position: relative;
    overflow: hidden;
    margin: 24px 0;
  }
  .slides-estruturas {
    display: flex;
    transition: transform 0.4s ease;
  }
  .slides-estruturas img {
    flex: 0 0 100%;
    max-width: 100%;
    border-radius: 12px;
    display: block;
  }
  .prev-estr, .next-estr {
    display: block; /* mobile: mostra setas */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
  }
  .prev-estr { left: 8px; }
  .next-estr { right: 8px; }
}
/* ================================
   CORREÇÕES HEADER & HAMBURGER
   ================================ */

/* 1) Remove qualquer gap entre top-header e subheader */
.top-header,
.subheader {
  margin-bottom: 0;
  width: 100%;
}

/* 2) No tablet e celular (≤768px), centraliza o logo e mostra o hamburger */
@media (max-width: 768px) {
  /* Centraliza logo no topo */
  .top-header .container {
    justify-content: center !important;
  }
  /* Esconde as info‑items (contatos e redes) */
  .top-header .top-info {
    display: none !important;
  }
  /* Ajusta altura/padding do topo */
  .top-header {
    padding: 12px 0 !important;
  }

  /* Oculta o menu desktop */
  .subheader .nav-menu {
    display: none;
  }
  /* Subheader mais alto para caber o burger */
  .subheader {
    padding: 20px 0 !important;
  }
}



/* breaks up any nesting errors */
@media only screen and (max-width: 768px) {
  .header-inner {
    position: relative;       /* garante que o burger “flutue” */
  }


  /* esconde o nav padrão */
  .subheader .nav-menu {
    display: none !important;
  }
}
/* ===============================
   Ajusta off‑canvas para não cobrir header
   =============================== */
@media (max-width: 768px) {
  /* 1) Painel começa logo abaixo do subheader */
  .nav-menu {
    top: 56px !important;                      /* distância igual à altura do subheader */
    height: calc(100% - 56px) !important;       /* preenche o resto da tela */
  }

  /* 2) Garante que o UL comece sob o hamburger */
  .nav-menu > ul {
    margin: 0 !important;
    padding: 8px 16px !important;               /* empurra itens para baixo e cria espaçamento lateral */
    list-style: none;
  }

  /* 3) Links ocupam toda a largura e quebram linhas longas */
  .nav-menu a {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 8px 0 !important;                  /* espaçamento vertical entre itens */
  }


  
  
}
/* ===================================
   HEADER STICKY E PAINEL DENTRO DELE
   =================================== */
@media only screen and (max-width: 768px) {
  /* 1) Garante que o .subheader fique sempre visível */
  .subheader {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  /* 2) Define o contexto absoluto para o painel */
  .header-inner {
    position: relative !important;
  }

  
  }

 

/* =========================
   BOTÃO HAMBURGER
   ========================= */
.hamburger {
  display: none; /* Desktop escondido */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 1101;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #003f3f;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* =========================
   MENU MOBILE
   ========================= */
.nav-menu {
  display: flex;
  gap: 32px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    padding: 80px 20px 20px;
    flex-direction: column;
    gap: 20px;
    z-index: 1100;
    display: flex;
  }
  .nav-menu.open {
    left: 0; /* Aparece */
  }
  .nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .nav-menu a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #003f3f;
  }
  .nav-menu a:hover {
    color: #027c84;
  }
}
@media (max-width: 768px) {
  /* Container principal da página de especialidade */
  .especialidade-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px 16px !important;
    box-sizing: border-box !important;
  }

  /* Texto ocupa largura total */
  .especialidade-texto {
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* Títulos */
  .especialidade-texto h2, 
  .especialidade-texto h3 {
    text-align: center !important;
  }

  /* Imagem full width */
  .especialidade-imagem {
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
  }
  .especialidade-imagem img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }
}
@media (max-width: 768px) {
  /* Força o container a ocupar toda a largura */
  .especialidade-imagem,
  .especialidade-imagem img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Garante que nenhum pai corte a imagem */
  .especialidade-container, 
  .especialidade-content {
    overflow: visible !important;
  }
}
@media (max-width: 768px) {
  /* Força o layout a ser empilhado */
  .especialidade-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    overflow: visible !important;
  }

  /* Força imagem a ocupar toda a largura */
  .especialidade-container img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Corrige texto para largura completa */
  .especialidade-container .texto-especialidade {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 768px) {
  .especialidade-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .especialidade-container > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .imagem-especialidade {
    width: 100% !important;
    overflow: visible !important; /* evita corte */
  }

  .imagem-especialidade img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
