/*--------------------------------------------------------------
# INDEX.CSS - Estilos completos para index.html
# Extraído de main.css com todas as dependências necessárias
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variáveis de Fonte e Cor
--------------------------------------------------------------*/
:root {
  /* Fonts */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Ubuntu", sans-serif;
  --nav-font: "Poppins", sans-serif;
  
  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #363f40;
  --heading-color: #1f2f31;
  --accent-color: #2e7bbf;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  
  /* Nav Menu Colors */
  --nav-color: #363f40;
  --nav-hover-color: #099aa7;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #363f40;
  --nav-dropdown-hover-color: #099aa7;
}

.light-background {
  --background-color: #f7f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #021418;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #11262a;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Reset e Configurações Globais
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0;
  transition: all 0.5s;
  z-index: 997;
  min-height: 80px;
  top: 0;
}

.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-page .header .logo img {
  margin-top: 15px;
}

.header .logo img {
  height: 85px;
  width: auto;
  max-height: 60px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

body:not(.index-page) .logo {
  justify-content: center !important;
  width: 100%;
}

body:not(.index-page) .logo img {
  display: block;
  opacity: 1;
  margin: 0 auto !important;
  margin-left: 220px !important;
  transform: translateX(0) !important;
}

.header .logo img.logo-visible {
  opacity: 1;
  transform: translateY(0);
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo h1 span {
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
  white-space: nowrap;
  min-width: 160px;
  text-align: center;
  display: inline-block;
}

.header .btn-getstarted {
  margin-left: 25px !important;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.header .btn-getstarted {
  width: auto !important;
  padding: 8px 26px !important;
}

/* Global Header on Scroll */
.scrolled .header {
  --background-color: #ffffff;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 0;
  min-height: 80px;
}

/*--------------------------------------------------------------
# Navigation Menu - Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus,
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #000000 !important;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    max-height: 400px;
    overflow-y: auto;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  /* Linha azul no hover */
  .navmenu ul li a {
    position: relative !important;
  }

  .navmenu ul li a::after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    bottom: -1px !important;
    left: 0 !important;
    right: 0 !important;
    background: #2e7bbf !important;
    transition: width 0.4s ease !important;
    margin: 0 auto !important;
  }

  .navmenu ul li a:hover::after {
    width: 100% !important;
  }

  .navmenu .dropdown > a::after {
    display: none !important;
  }

  /* Esconde "Agendar Consulta" do dropdown no desktop */
  .navmenu .dropdown ul li:last-child {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Navigation Menu - Mobile
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a {
    font-size: 17px;
    font-weight: 500;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 20px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu .dropdown > a i.toggle-dropdown {
    display: inline-flex !important;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #3f97d3 !important;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    box-shadow: none;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
  }

  .navmenu .dropdown.active ul {
    display: block !important;
    max-height: 1000px;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown.active > ul {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #000000 !important;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: relative;
    overflow: hidden;
    inset: 0;
    background: transparent;
    transition: 0.3s;
    z-index: 9997;
  }

  .mobile-nav-active .navmenu ul {
    display: block !important;
    position: fixed;
    top: 80px;
    right: 20px;
    left: auto;
    background: white;
    width: 280px;
    padding: 20px 0;
    border-radius: 10px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  /* Correções específicas para mobile */
  body.mobile-nav-active .navmenu ul {
    top: 10px !important;
    padding: 30px 20px !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-radius: 10px !important;
    background: #ffffff !important;
  }

  /* Aumenta tamanho do texto dos itens do menu */
  .navmenu a {
    font-size: 17px;
    font-weight: 500;
  }

  .btn-getstarted {
    font-size: 17px;
    padding: 10px 22px;
  }

  /* Dropdown mobile */
  .navmenu .dropdown > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .navmenu .dropdown > a span {
    flex: 1;
  }

  .navmenu .dropdown > a i {
    margin-left: 10px;
    flex-shrink: 0;
  }

  body.mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
  }

  body.mobile-nav-active .navmenu .dropdown.active ul {
    display: block !important;
  }

  .navmenu .dropdown ul li a {
    font-size: 16px;
    padding: 18px 20px;
  }

  /* Ajuste altura do bloco menu mobile */
  body.mobile-nav-active .navmenu ul {
    top: 52px !important;
    padding: 5px 10px !important;
    min-height: 450px !important;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .mobile-nav-toggle {
    position: absolute;
    right: 15px;
    top: 25px;
    margin: 0;
  }

  .header .container {
    position: relative;
  }
}



@media (max-width: 768px) {
  .index-page .logo-home,
  .index-page .logo-normal {
    height: 50px !important;
    max-height: 50px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }

  .header .logo {
    margin-top: 0 !important;
  }

  .header {
    min-height: 70px !important;
  }

  .header .container {
    padding: 0 15px;
  }

  .header {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 !important;
  }

  .header .container {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 15px !important;
    display: flex;
    align-items: center;
  }

  body.mobile-nav-active .header,
  body.mobile-nav-active .header .container {
    min-height: 80px !important;
    height: 80px !important;
  }

  .index-page .logo-home,
  .index-page .logo-normal {
    height: 50px !important;
    max-height: 50px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }

  /* Esconde botão Agendar Consulta no mobile */
  .header .btn-getstarted {
    display: none !important;
  }

  /* Garante altura estável do header */
  .header {
    min-height: 70px !important;
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .header .container {
    min-height: 70px !important;
    align-items: center !important;
  }

  .index-page.mobile-nav-active .header {
    min-height: 40px !important;
  }

  /* Ajusta posição da logo no mobile */
  .header .logo img,
  .header .logo-home img {
    margin-top: 30px !important;
    position: relative !important;
    z-index: 10000 !important;
  }

  /* Correção logo normal ao rolar no mobile */
  .index-page.scrolled .logo-home {
    display: none !important;
  }

  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    height: 80px !important;
    max-height: 70px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .index-page.scrolled .logo {
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }

  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    height: 70px !important;
    max-height: 70px !important;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: linear-gradient(135deg, #2e7bbf 0%, #1a5a8f 50%, #3f97d3 100%);
  color: #ffffff;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 900px;
  height: 900px;
  background: rgba(26, 60, 100, 0.4);
  border-radius: 45% 55% 60% 40%;
  z-index: 0;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: rgba(35, 80, 130, 0.35);
  border-radius: 60% 40% 50% 50%;
  z-index: 0;
}

.footer-top::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 25%;
  width: 700px;
  height: 700px;
  background: rgba(45, 100, 150, 0.25);
  border-radius: 50% 50% 45% 55%;
  z-index: 0;
}

.footer-top::after {
  content: '';
  position: absolute;
  top: -30%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: rgba(30, 75, 120, 0.3);
  border-radius: 40% 60% 55% 45%;
  z-index: 0;
}

.footer .footer-top {
  padding: 60px 0 40px;
  position: relative;
  z-index: 10;
}

/* Garante que TODO conteúdo fique acima das bolhas */
.footer .footer-top * {
  position: relative;
  z-index: 10;
}

.footer .logo-section,
.footer .footer-links,
.footer .footer-contact-section,
.footer .social-links,
.footer .contact-info,
.footer h4,
.footer ul,
.footer li,
.footer a,
.footer p {
  position: relative;
  z-index: 10;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  position: relative;
  z-index: 10;
}

.footer .logo-section {
  margin-bottom: 10px;
  margin-top: 0;
}


.footer .logo-rodape {
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
  margin: -70px 30px 10px 0; /* 20px puxa levemente para a esquerda */
}




.footer .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-style: italic;
  margin-top: -40px;
  margin-bottom: 0;
    margin-left: 28px;

}

.footer h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
  transition: all 0.3s ease;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer .social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer .social-links a:hover {
  background: #ffffff;
  color: #2e7bbf;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer .contact-info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer .contact-info i {
  color: #ffffff;
  font-size: 16px;
  margin-top: 2px;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  position: relative;
  z-index: 1;
}

.footer .copyright p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 13px;
}

.footer .company-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 10px;
}

.footer .privacy-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-decoration: underline;
  transition: color 0.3s ease;
  cursor: pointer !important;
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
}

.footer .privacy-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Correção cliques no footer */
.footer::before,
.footer::after,
.footer-top::before,
.footer-top::after {
  pointer-events: none !important;
  z-index: 0 !important;
}

.footer {
  position: relative;
  z-index: 1;
}

.footer .copyright,
.footer .privacy-link,
.footer a {
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .footer .footer-top {
    padding: 40px 0 30px;
  }

  .footer .social-links {
    justify-content: center;
  }

  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact-section {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer .logo-rodape {
    margin-left: auto;
    margin-right: auto;
  }

  .footer .contact-info p {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

#scroll-top {
  display: none !important;
}

/*--------------------------------------------------------------
# Disable AOS animation delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  padding: 0 500px;
  overflow: hidden;
}

.hero .hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease-in-out; 
}

.hero .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 90, 160, 0.9) 0%, rgba(5, 90, 160, 0.6) 30%, rgba(5, 90, 160, 0) 70%);
  z-index: 1;
}

.hero .hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Indicadores e controles */
.hero .hero-indicators {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  display: flex;
  gap: 10px;
  z-index: 10;
  pointer-events: auto;
}



/*--------------------------------------------------------------
# animação dos textos do slide 
--------------------------------------------------------------*/
/* Slides de texto */
.hero .hero-content-slide {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.hero .hero-content-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

/* Animações de entrada para cada elemento */
.hero .hero-content-slide .hero-title,
.hero .hero-content-slide .hero-subtitle,
.hero .hero-content-slide .hero-description,
.hero .hero-content-slide .cta-buttons {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero .hero-content-slide.active .hero-title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.hero .hero-content-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.hero .hero-content-slide.active .hero-description {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.hero .hero-content-slide.active .cta-buttons {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}




.hero .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 11;
}

.hero .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.hero .dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Container principal do conteúdo */
.hero .container {
  max-width: 700px;
  position: relative;
  z-index: 2;
  margin-left: -200px;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  padding: 20px;
}

.hero .container.hero-content-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Títulos */
.hero .hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  line-height: 1.2;
  word-wrap: break-word;
}

.hero h2,
.hero .hero-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  line-height: 1.3;
  word-wrap: break-word;
}

.hero .hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  word-wrap: break-word;
}

/* Botões */
.hero .cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero .cta-buttons a {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  transition: 0.3s ease-in-out;
}

.hero .btn-primary {
  background: #f39c12;
  color: #fff;
}

.hero .btn-primary:hover {
  background: #d35400;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero .cta-buttons a i {
  margin-right: 8px;
}

/* Slides de texto */
.hero .hero-content-slide {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; 
}

.hero .hero-content-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0.1s;
}

/* Controles do slider */
.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-controls .prev-slide,
.hero-controls .next-slide {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 15px;
}

.hero-controls .prev-slide:hover,
.hero-controls .next-slide:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-controls button i {
  color: #00aaff;
  font-size: 1.3rem;
}

.hero-controls .hero-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-controls .prev-slide {
  margin-right: 60px;
}

.hero-controls .next-slide {
  margin-left: 60px;
}

/* ============================================
   BREAKPOINTS RESPONSIVOS
   ============================================ */

/* Desktop grande (até 1400px) */
@media (max-width: 1400px) {
  .hero {
    padding: 0 300px;
  }
  
  .hero .container {
    margin-left: -100px;
  }
}

/* Desktop médio (até 1283px) */
@media (max-width: 1283px) {
  .hero {
    padding: 0 150px;
  }
  
  .hero .container {
    margin-left: -50px;
    max-width: 600px;
  }
  
  .hero .hero-title {
    font-size: 2.5rem;
  }
  
  .hero h2,
  .hero .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .hero .hero-description {
    font-size: 1.1rem;
  }
}

/* Tablet grande e médio (769px até 992px) */
@media (max-width: 992px) {
  .hero {
    padding: 0 40px !important;
    justify-content: center;
  }
  
  .hero .container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    padding: 0 30px !important;
  }
  
  .hero .hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero h2,
  .hero .hero-subtitle {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  .hero .hero-description {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  
  .hero .cta-buttons {
    justify-content: flex-start;
  }
  
  .hero .btn-primary,
  .hero .btn-secondary {
    padding: 11px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px !important;
    min-height: 100vh;
  }
  
  .hero .container {
    margin-left: 0 !important;
    padding: 0 20px !important;
    text-align: center !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .hero .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  .hero h2,
  .hero .hero-subtitle {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  .hero .hero-description {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin: 0 auto 20px auto !important;
    width: 90% !important;
    text-align: center !important;
  }

  .hero .cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 80% !important;
    text-align: center !important;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
}

/*--------------------------------------------------------------
# Quick Access Section
--------------------------------------------------------------*/
.quick-access {
  padding: 60px 0;
  background: #ffffff;
}

.quick-access-card {
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 16px;
  padding: 10px 30px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  height: 100%;
}

.quick-access-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 35px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.quick-access-card .quick-icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.quick-access-card:hover .quick-icon {
  background: var(--accent-color);
}

.quick-access-card .quick-icon i {
  font-size: 36px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.quick-access-card:hover .quick-icon i {
  color: var(--contrast-color);
}

.quick-access-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
}

.quick-access-card .quick-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.quick-access-card .quick-content i {
  font-size: 24px;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.quick-access-card:hover .quick-content i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .quick-access {
    padding: 40px 0;
  }

  .quick-access-card {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Home About Section
--------------------------------------------------------------*/
.home-about {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--background-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%);
}

.home-about .section-heading {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--heading-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .home-about .section-heading {
    font-size: 2.25rem;
  }
}

.home-about .lead-description {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 600px;
  margin: 0 auto;
}

.home-about .image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  height: 500px;
}

@media (max-width: 768px) {
  .home-about .image-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1rem;
  }
}

.home-about .image-grid .primary-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px color-mix(in srgb, var(--default-color), transparent 88%);
}

.home-about .image-grid .primary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-about .image-grid .primary-image:hover img {
  transform: scale(1.08);
}

.home-about .image-grid .secondary-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .home-about .image-grid .secondary-images {
    flex-direction: row;
    height: 180px;
  }
}

.home-about .image-grid .secondary-images .small-image {
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 92%);
}

.home-about .image-grid .secondary-images .small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-about .image-grid .secondary-images .small-image:hover img {
  transform: scale(1.1);
}

.home-about .content-wrapper {
  padding-left: 2rem;
}

@media (max-width: 992px) {
  .home-about .content-wrapper {
    padding-left: 0;
    text-align: center;
  }
}

.home-about .content-wrapper .highlight-box {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 95%);
}

@media (max-width: 992px) {
  .home-about .content-wrapper .highlight-box {
    text-align: left;
  }
}

.home-about .content-wrapper .highlight-box .highlight-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-about .content-wrapper .highlight-box .highlight-icon i {
  color: var(--accent-color);
  font-size: 1.75rem;
}

.home-about .content-wrapper .highlight-box .highlight-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.home-about .content-wrapper .highlight-box .highlight-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.home-about .content-wrapper .feature-list {
  margin-bottom: 2.5rem;
}

.home-about .content-wrapper .feature-list .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .home-about .content-wrapper .feature-list .feature-item {
    justify-content: center;
  }
}

.home-about .content-wrapper .feature-list .feature-item .feature-icon i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.home-about .content-wrapper .feature-list .feature-item .feature-text {
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 400;
}

.home-about .content-wrapper .metrics-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .home-about .content-wrapper .metrics-row {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .home-about .content-wrapper .metrics-row {
    gap: 1rem;
  }
}

.home-about .content-wrapper .metrics-row .metric-box {
  text-align: center;
}

.home-about .content-wrapper .metrics-row .metric-box .metric-number {
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--accent-color);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.home-about .content-wrapper .metrics-row .metric-box .metric-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.home-about .content-wrapper .action-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .home-about .content-wrapper .action-buttons {
    justify-content: center;
  }
}

.home-about .content-wrapper .action-buttons .btn-explore {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.home-about .content-wrapper .action-buttons .btn-explore:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}

.home-about .content-wrapper .action-buttons .btn-contact {
  color: var(--contrast-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 20px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.home-about .content-wrapper .action-buttons .btn-contact i {
  color: var(--contrast-color);
  font-size: 1.1rem;
}

.home-about .content-wrapper .action-buttons .btn-contact:hover {
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
}

@media (max-width: 992px) {
  .home-about {
    padding: 100px 0;
  }
}

@media (max-width: 768px) {
  .home-about {
    padding: 80px 0;
  }

  .home-about .content-wrapper {
    margin-top: 3rem;
  }
}

/*--------------------------------------------------------------
# Featured Departments Section
--------------------------------------------------------------*/
.featured-departments {
  position: relative;
  padding: 120px 0;
  background: transparent;
}

.featured-departments .container,
.featured-departments .departments-showcase {
  position: relative;
  z-index: 1;
}

/* Estilo especial para página index */
.index-page .featured-departments {
  background-image: url('../img/health/Fundo-padrao.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  position: relative;
  background-attachment: scroll;
}

.index-page .featured-services {
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.index-page .featured-departments .featured-department:nth-child(odd) {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 60px 50px;
}

.index-page .featured-departments .featured-department:nth-child(even) {
  background: linear-gradient(135deg, #eaf5ff, #f8fcff);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 60px 50px;
}

.index-page .featured-departments .department-title {
  border-left: 5px solid var(--accent-color);
  padding-left: 15px;
  font-weight: 500;
}

.index-page .featured-departments .image-wrapper img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.index-page .featured-departments .image-wrapper:hover img {
  transform: scale(1.04);
}

.index-page .featured-departments .featured-department:hover {
  transform: translateY(-8px);
  transition: all 0.4s ease;
}

.index-page .featured-departments .department-description {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.featured-departments .featured-department {
  position: relative;
  padding: 80px 40px;
  margin-bottom: 60px;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}

.featured-departments .featured-department .row,
.featured-departments .featured-department .department-content,
.featured-departments .featured-department .department-visual {
  position: relative;
  z-index: 1;
}

.featured-departments .departments-grid {
  background: transparent;
}

.featured-departments .departments-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-departments .featured-department {
  margin-bottom: 120px;
}

@media (max-width: 992px) {
  .featured-departments .featured-department {
    margin-bottom: 80px;
  }
}

.featured-departments .department-content {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .featured-departments .department-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

.featured-departments .department-category {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-departments .department-title {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .featured-departments .department-title {
    font-size: 2.25rem;
  }
}

.featured-departments .department-description {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 32px;
}

.featured-departments .department-features {
  margin-bottom: 40px;
}

.featured-departments .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.featured-departments .feature-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 12px;
}

.featured-departments .feature-item span {
  font-size: 16px;
  color: var(--default-color);
}

.featured-departments .cta-link {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.featured-departments .cta-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.featured-departments .cta-link:hover {
  color: var(--accent-color);
}

.featured-departments .cta-link:hover i {
  transform: translateX(4px);
}

.featured-departments .department-visual {
  position: relative;
}

@media (max-width: 992px) {
  .featured-departments .department-visual {
    margin-top: 40px;
  }
}

.featured-departments .image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.featured-departments .image-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 8px;
  z-index: 2;
  pointer-events: none;
}

.featured-departments .image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .featured-departments .image-wrapper img {
    height: 350px;
  }
}

.featured-departments .image-wrapper:hover img {
  transform: scale(1.02);
}

/*--------------------------------------------------------------
# Departments Cards Section
--------------------------------------------------------------*/
.departments-cards {
  padding: 60px 0;
  background: #f9fafc;
}

.departments-cards .departments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 100px;
}

@media (max-width: 992px) {
  .departments-cards .departments-grid {
    margin-bottom: 80px;
  }
}

.departments-cards .departments-grid .row {
  row-gap: 20px;
}

.departments-cards .department-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border-top: 3px solid transparent;
}

.departments-cards .department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-top: 3px solid #385ca7;
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
  transform: translateY(-6px);
}

.departments-cards .card-icon {
  width: 80px;
  height: 80px;
  background: #e8f0ff;
  color: #385ca7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 32px;
}

.departments-cards .card-title {
  font-weight: 600;
  font-size: 22px;
  color: #2c4964;
  margin-bottom: 10px;
}

.departments-cards .card-description {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 20px;
}

.departments-cards .card-stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.departments-cards .stat-number {
  font-weight: 700;
  color: #385ca7;
  font-size: 18px;
}

.departments-cards .stat-label {
  font-size: 13px;
  color: #6c757d;
  text-transform: uppercase;
}

.departments-cards .service-link {
  font-size: 14px;
  color: #0d6efd;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.departments-cards .service-link:hover {
  text-decoration: underline;
}

.departments-cards .departments-cta {
  text-align: center;
  padding: 80px 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .departments-cards .departments-cta {
    padding: 60px 24px;
  }
}

.departments-cards .cta-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .departments-cards .cta-title {
    font-size: 1.75rem;
  }
}

.departments-cards .cta-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.departments-cards .btn-primary {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0;
  text-transform: none;
  transition: all 0.3s ease;
}

.departments-cards .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.departments-cards .btn {
  background: #385ca7;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 20px;
  transition: 0.3s;
}

.departments-cards .btn:hover {
  background: #0b5ed7;
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.featured-services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-services .service-card:hover .service-image img {
  transform: scale(1.05);
}

.featured-services .service-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-services .service-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.featured-services .service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.featured-services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-services .service-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--surface-color), transparent);
}

.featured-services .service-content {
  padding: 30px 25px;
}

.featured-services .service-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
  line-height: 1.4;
}

.featured-services .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.featured-services .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.featured-services .service-link:hover {
  color: var(--heading-color);
  gap: 12px;
}

.featured-services .service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.featured-services .service-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .featured-services .service-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }

  .featured-services .service-icon i {
    font-size: 20px;
  }

  .featured-services .service-image {
    height: 180px;
  }

  .featured-services .service-content {
    padding: 20px;
  }

  .featured-services .service-content h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Find A Doctor Section
--------------------------------------------------------------*/
.find-a-doctor .search-header {
  text-align: center;
  margin-bottom: 3rem;
}

.find-a-doctor .search-header h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.find-a-doctor .search-header p {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.find-a-doctor .view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 28px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.find-a-doctor .view-all-link:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .view-all-link:hover i {
  transform: translateX(2px);
}

.find-a-doctor .view-all-link i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .find-a-doctor .search-header {
    margin-bottom: 2rem;
  }

  .find-a-doctor .search-header h2 {
    font-size: 1.875rem;
  }

  .find-a-doctor .search-header p {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background: linear-gradient(180deg, var(--background-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%);
}

.call-to-action .contact-banner {
  background-color: rgba(46, 123, 191, 0.85);
  border-radius: 16px;
  padding: 3rem;
  color: var(--contrast-color);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .call-to-action .contact-banner {
    padding: 2rem;
  }
}

.call-to-action .contact-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .call-to-action .contact-banner .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

.call-to-action .contact-banner .contact-info {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .call-to-action .contact-banner .contact-info {
    flex-direction: column;
    text-align: center;
  }
}

.call-to-action .contact-banner .contact-icon {
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

@media (max-width: 768px) {
  .call-to-action .contact-banner .contact-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.call-to-action .contact-banner .contact-icon i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.call-to-action .contact-banner .contact-text h5 {
  color: var(--contrast-color);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.call-to-action .contact-banner .contact-text p {
  color: color-mix(in srgb, var(--contrast-color), transparent 25%);
  margin: 0;
  line-height: 1.6;
}

.call-to-action .contact-banner .contact-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .call-to-action .contact-banner .contact-actions {
    flex-direction: column;
    width: 100%;
  }
}

.call-to-action .contact-banner .call-btn {
  background: var(--contrast-color);
  color: var(--heading-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .call-to-action .contact-banner .call-btn {
    width: 100%;
    justify-content: center;
  }
}

.call-to-action .contact-banner .call-btn i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.call-to-action .contact-banner .call-btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 75%);
}

.call-to-action .contact-banner .contact-link {
  color: var(--contrast-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--contrast-color), transparent 60%);
  transition: all 0.3s ease;
}

.call-to-action .contact-banner .contact-link:hover {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  border-bottom-color: var(--contrast-color);
}

/*--------------------------------------------------------------
# WhatsApp Float Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  left: 20px;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  background: #20bd5a;
}

.whatsapp-float i {
  font-size: 32px;
  color: white;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 55px;
    height: 55px;
  }

  .whatsapp-float i {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Estilos Específicos da Logo na Index
--------------------------------------------------------------*/
.index-page .logo-home {
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin-top: -10px;
  margin-left: -1200px;
  position: relative;
  z-index: 20;
}

@media (max-width: 768px) {
  .index-page .logo-home,
  .index-page .logo-normal {
    height: 45px !important;
    max-height: 45px !important;
    margin-top: -15px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }

  .header .logo {
    margin-top: -20px !important;
    margin-bottom: 0 !important;
    padding: 5px 0 !important;
  }

  .header {
    min-height: 65px !important;
    padding: 8px 0 !important;
  }

  .header .container {
    min-height: auto !important;
    padding: 8px 15px !important;
  }
}

.index-page .logo-normal {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.index-page.scrolled .logo-home {
  display: none;
  opacity: 0;
}

.index-page.scrolled .logo-normal {
  display: block;
  opacity: 1;
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin-top: -10px;
  margin-left: -2500px;
  position: relative;
  z-index: 20;
  transition: 0.3s ease, transform 0.3s ease;
  animation: fadeInDown 0.8s ease-out forwards;
}

@media (max-width: 768px) {
  .index-page.scrolled .logo-home {
    display: none !important;
  }

  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    height: 80px !important;
    max-height: 70px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 20 !important;
  }
}

.index-page.scrolled .logo {
  justify-content: center;
  margin: 0 auto;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.index-page .header {
  background: none;
}

.index-page .navmenu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  margin: 0;
  padding: 20px 0;
  background: rgba(255, 255, 255, 1);
  z-index: 10;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.index-page .navmenu-wrapper > * {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.index-page .header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center !important;
}

.index-page .header .navmenu,
.index-page .header .btn-getstarted {
  margin: 0;
}



@media (max-width: 768px) {
  .index-page .navmenu-wrapper {
    padding: 10px 15px;
  }

  .index-page .navmenu ul {
    font-size: 14px;
  }

  .header .btn-getstarted {
    padding: 6px 15px;
    font-size: 13px;
  }
}

.header .container {
  height: 80px;
  align-items: center;
}

/* Ajustes para garantir visibilidade da logo */
.header.header-scrolled,
.header.scrolled,
.header.fixed-top {
  background: #fff !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.header .logo-home img {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 10000 !important;
}

.header.header-scrolled .container,
.header.scrolled .container {
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.nav-item.dropdown {
  margin-right: 30px;
}

/*--------------------------------------------------------------
# Ajustes Responsivos Adicionais
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .index-page .logo-home,
  .index-page .logo-normal {
    height: 50px !important;
    max-height: 50px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
}


















/* ========== HEADER MOBILE - ABOUT PAGE ========== */
@media (max-width: 1199px) {
  /* Altura e estrutura do header */
  .header {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 !important;
  }


  
    /* Esconde o botão "Agendar Consulta" no mobile/tablet */
  .header .btn-getstarted {
    display: none !important;
  }
  
  .header .container {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 15px !important;
    display: flex;
    align-items: center;
    position: relative !important;
  }
  
  /* Quando o menu mobile está ativo */
  body.mobile-nav-active .header,
  body.mobile-nav-active .header .container {
    min-height: 80px !important;
    height: 80px !important;
  }
  
  /* Logo no mobile - ABOUT */
  body:not(.index-page) .logo-normal {
    height: 50px !important;
    max-height: 50px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
  
  /* Esconde logo-home na about */
  body:not(.index-page) .logo-home {
    display: none !important;
  }
  
  /* Ícone do menu mobile (hambúrguer) */
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 24px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
    position: absolute;
    right: 15px;
    top: 25px;
    margin: 0;
  }
  
  /* X preto no menu mobile quando ativo */
  .mobile-nav-active .mobile-nav-toggle {
    color: #000000 !important;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    z-index: 9999;
  }
  
  /* Container do menu */
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  
  /* Menu escondido por padrão */
  .navmenu ul {
    display: none !important;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  
/* Bloco branco do menu mobile quando ativo */
/* Bloco branco do menu mobile quando ativo */
body.mobile-nav-active .navmenu ul {
  display: block !important;
  position: fixed;
  top: 60px !important;
  right: 15px !important;
  left: auto !important;
  background: #fff;
  width: 260px;
  padding: 5px 10px !important;
  border-radius: 5px;
  min-height: 450px !important;
  max-height: calc(100vh - 120px) !important;
  overflow-y: auto !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

  
  /* Estilo dos links do menu */
  .navmenu a {
    font-size: 17px;
    font-weight: 500;
  }
  
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 20px;
  }
  
  /* Ícone do dropdown */
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  
  .navmenu .dropdown > a i.toggle-dropdown {
    display: inline-flex !important;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
  }
  
  /* Hover dos links */
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #3f97d3 !important;
  }
  
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  
  /* Dropdowns no mobile */
/* Dropdowns no mobile */
.navmenu .dropdown ul {
  position: static;
  display: none;
  box-shadow: none;
  padding: 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  transition: all 0.4s ease-in-out;
  max-height: 0;
  overflow: hidden;
  min-height: 0 !important;
}
.navmenu .dropdown.dropdown-active ul {
  display: block !important;
  max-height: fit-content !important;
  padding: 10px 0 !important;
  overflow-y: visible !important;
}

/* Estilo dos itens do dropdown */
.navmenu .dropdown ul li {
  width: 100%;
  padding: 0;
  margin: 0;
}

.navmenu .dropdown ul li a {
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: var(--nav-dropdown-color) !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.navmenu .dropdown ul li a:hover {
  background: rgba(46, 123, 191, 0.1) !important;
  color: var(--nav-dropdown-hover-color) !important;
}

/* Ícone de rotação quando dropdown está ativo */
.navmenu .dropdown.dropdown-active > a i.toggle-dropdown {
  transform: rotate(180deg);
  background-color: var(--accent-color) !important;
  color: white !important;
}
  
  .navmenu .dropdown.active ul {
    display: block !important;
    max-height: 1000px;
    background-color: rgba(33, 37, 41, 0.03);
  }
  
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  
  .navmenu .dropdown > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  
  .navmenu .dropdown > a .toggle-dropdown {
    margin-left: auto;
  }
  
  /* Força dropdowns fechados no mobile */
  body.mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
  }
  
  body.mobile-nav-active .navmenu .dropdown.active ul {
    display: block !important;
  }
  
  /* Itens do menu mobile */
  .navmenu ul li {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .navmenu ul li a {
    display: block;
    padding: 12px 15px;
    background: transparent;
    border-radius: 6px;
    color: #363f40;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .navmenu ul li a:hover {
    background: #f8f9fa;
  }
  
  /* Previne overflow quando menu está ativo */
  .mobile-nav-active {
    overflow: hidden;
  }
  
  .mobile-nav-active .navmenu {
    position: relative;
    overflow: hidden;
    inset: 0;
    background: transparent;
    transition: 0.3s;
    z-index: 9997;
  }
}

/* ========== MOBILE ESPECÍFICO (768px) - ABOUT ========== */
@media (max-width: 768px) {
  /* Logo menor em telas muito pequenas - ABOUT */
  body:not(.index-page) .logo-normal {
    height: 45px !important;
    max-height: 45px !important;
    margin-top: -15px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .header .logo {
    margin-top: -20px !important;
    margin-bottom: 0 !important;
    padding: 5px 0 !important;
  }
  
  .header {
    min-height: 65px !important;
    padding: 8px 0 !important;
  }
  
  .header .container {
    min-height: auto !important;
    padding: 8px 15px !important;
  }
  
  /* Esconde botão "Agendar Consulta" no mobile */
  .header .btn-getstarted {
    display: none !important;
  }
  
  /* Ajusta a posição da logo para baixo - ABOUT */
  body:not(.index-page) .logo img,
  body:not(.index-page) .logo-normal img {
    margin-top: 30px !important;
    position: relative !important;
    z-index: 10000 !important;
  }
}

/* ========== CORREÇÃO APÓS SCROLL - ABOUT ========== */
.header.header-scrolled,
.header.scrolled,
.header.fixed-top {
  background: #fff !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.header.header-scrolled .container,
.header.scrolled .container {
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ========== GARANTE VISIBILIDADE DA LOGO - ABOUT ========== */
body:not(.index-page) .logo-normal {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 10000 !important;
}

body:not(.index-page) .logo-home {
  display: none !important;
}

/* ========== NAVMENU-WRAPPER (SEM FUNDO BRANCO NA ABOUT) ========== */
body:not(.index-page) .navmenu-wrapper {
  background: transparent !important;
  padding: 0 !important;
}

/* ============================================
   CORREÇÃO DEFINITIVA - LOGO FIXA NO MOBILE
   ============================================ */

@media (max-width: 1199px) {
  /* Força o tamanho fixo da logo em TODAS as situações */
  .header .logo img,
  .header.scrolled .logo img,
  header.scrolled .logo img,
  body.scrolled .header .logo img,
  body:not(.index-page) .logo img,
  body:not(.index-page) .logo-normal,
  body:not(.index-page).scrolled .logo img,
  .logo-home,
  .logo-normal {
    height: 70px !important;
    max-height: 70px !important;
    min-height: 70px !important;
    width: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
    animation: none !important;
  }

  /* Posiciona a logo no CANTO ESQUERDO */
  .header .logo,
  .header.scrolled .logo,
  body:not(.index-page) .logo {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    margin: 0 !important;
    margin-right: auto !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Container do header alinha itens nas pontas */
  .header .container,
  .header.scrolled .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
  }

  /* Fixa a altura do header */
  .header,
  .header.scrolled,
  header,
  header.scrolled {
    min-height: 70px !important;
    max-height: 70px !important;
    height: 70px !important;
    padding: 0 !important;
  }

  .header .container,
  .header.scrolled .container {
    min-height: 70px !important;
    max-height: 70px !important;
    height: 70px !important;
  }

  /* Remove qualquer centralização forçada */
  body:not(.index-page) .logo {
    justify-content: flex-start !important;
    width: auto !important;
    margin-left: 0 !important;
  }
}

/* Tablets menores e celulares */
@media (max-width: 768px) {
  .header .logo img,
  .logo-home,
  .logo-normal {
    height: 70px !important;
    max-height: 70px !important;
    min-height: 70px !important;
  }
  
  .header,
  .header.scrolled {
    min-height: 65px !important;
    max-height: 65px !important;
    height: 65px !important;
  }
  
  .header .logo {
    justify-content: flex-start !important;
  }
}

/* ========== CORREÇÃO FINAL DROPDOWN MOBILE ========== */
@media (max-width: 1199px) {
  
  /* FORÇA TODOS os dropdowns a ficarem ESCONDIDOS por padrão */
  .navmenu .dropdown ul,
  body.mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
  }
  
  /* SÓ mostra quando tiver a classe dropdown-active */
  .navmenu .dropdown.dropdown-active ul,
  body.mobile-nav-active .navmenu .dropdown.dropdown-active ul {
    display: block !important;
    max-height: 2000px !important;
    padding: 10px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto !important;
  }
  
  /* Remove bordas e estilos desnecessários dos links principais */
  .navmenu .dropdown > a {
    border: none !important;
  }
  
  /* Estilo dos itens dropdown */
  .navmenu .dropdown ul li a {
    padding: 12px 20px !important;
    font-size: 14px !important;
    border: none !important;
    border-radius: 0 !important;
  }
  
  /* Ícone girado quando dropdown está ativo */
  .navmenu .dropdown.dropdown-active > a i.toggle-dropdown {
    transform: rotate(180deg) !important;
    background-color: var(--accent-color) !important;
    color: white !important;
  }
}

/* ======== CORREÇÃO FINAL - SUBMENU MOBILE ======== */
@media (max-width: 1199px) {

  /* Mantém o menu branco centralizado */
  body.mobile-nav-active .navmenu ul {
    display: block !important;
    position: fixed;
    top: 80px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #fff;
    width: 90%;
    max-width: 320px;
    padding: 15px 10px !important;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow-y: auto;
    max-height: calc(100vh - 100px);
  }

  /* 🔹 Submenu escondido inicialmente */
  .navmenu .dropdown ul {
    display: none;
    background: #fff;
    margin-top: 5px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: static !important; /* ← ESSENCIAL */
  }

  /* 🔹 Quando ativo, aparece logo abaixo */
  .navmenu .dropdown.dropdown-active > ul {
    display: block !important;
  }

  /* 🔹 Links do submenu */
  .navmenu .dropdown ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul li a:hover {
    color: var(--accent-color);
  }

  /* 🔹 Ícone da seta gira */
  .navmenu .dropdown > a i {
    transition: transform 0.3s ease;
  }

  .navmenu .dropdown.dropdown-active > a i {
    transform: rotate(180deg);
    background: var(--accent-color);
    color: #fff;
  }
}


/*--------------------------------------------------------------
# Esconde "Agendar Consulta" do dropdown em Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  /* Esconde o item "Agendar Consulta" dentro do dropdown "Fale Conosco" */
  .navmenu .dropdown ul li:last-child {
    display: none !important;
  }
  
  /* OU se você quiser ser mais específico e seguro, use isso: */
  .navmenu .dropdown ul li a[href*="wa.me"] {
    display: none !important;
  }
  
  /* Esconde o <li> pai do link do WhatsApp */
  .navmenu .dropdown ul li:has(a[href*="wa.me"]) {
    display: none !important;
  }
}




/* ========================================================================
   CORREÇÃO DEFINITIVA DA LOGO ENTRE 1200px E 1400px
   ======================================================================== */
@media (min-width: 1200px) and (max-width: 1400px) {
  
  /* Logo Home (antes do scroll) - POSICIONADA À ESQUERDA */
  .index-page .logo-home {
    height: 130px !important;
    max-height: 130px !important;
    width: auto !important;
    margin-top: 15px !important;
    margin-left: -35px !important;
    position: relative !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
  }
  
  /* Logo Normal (depois do scroll) - POSICIONADA À ESQUERDA */
  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    height: 130px !important;
    max-height: 130px !important;
    width: auto !important;
    margin-top: 15px !important;
    margin-left: -35px !important;
    position: relative !important;
    z-index: 20 !important;
    visibility: visible !important;
  }
  
  /* Esconde logo-home quando rolar */
  .index-page.scrolled .logo-home {
    display: none !important;
  }
  
  /* Esconde logo-normal antes de rolar */
  .index-page .logo-normal {
    display: none !important;
    opacity: 0 !important;
  }
  
  /* POSICIONA O CONTAINER DA LOGO À ESQUERDA */
  .index-page .logo,
  .index-page.scrolled .logo {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    margin-right: auto !important;
  }
  
  /* Garante que o header container distribua os elementos corretamente */
  .index-page .header .container,
  .index-page.scrolled .header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  /* ← NOVO: Puxa o menu (navmenu) para a direita */
  .index-page .navmenu-wrapper {
    margin-right: -100px !important; /* Ajuste esse valor conforme necessário */
  }
  
  /* ← NOVO: Puxa o botão "Agendar Consulta" para a direita */
  .index-page .btn-getstarted {
    margin-right: -80px !important; /* Ajuste esse valor conforme necessário */
  }
}