/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --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: "Poppins", sans-serif;
  --nav-font: "Raleway", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0aaad8;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #2c4964;
  /* The default color of the main navmenu links */
  --nav-hover-color: #0aaad8;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2c4964;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0aaad8;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
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);
}

/* Parceiros Shinshukan 
------------------------------*/
.partner-institutions {
  margin-top: 30px;
  /* Espaço acima da seção de parceiros */
  padding-top: 20px;
  border-top: 1px solid #555;
  /* Linha separadora, se desejar */
}

.partner-institutions h3 {
  font-size: 1.0em;
  margin-bottom: 25px;
  color: #505050;
  text-align: center;
}

.partners-logo-container {
  display: flex;
  justify-content: center;
  /* Centraliza os logos horizontalmente */
  align-items: center;
  flex-wrap: wrap;
  /* Permite que os logos quebrem linha */
  gap: 30px;
  /* Espaço entre os logos */
}

.partners-logo-container img {
  max-height: 60px;
  /* Ajuste a altura máxima dos logos */
  width: auto;
  /* Mantém a proporção da imagem */
  filter: grayscale(100%);
  /* Opcional: logos em tons de cinza */
  opacity: 0.7;
  /* Opcional: logos mais sutis */
  transition: all 0.3s ease;
}

.partners-logo-container img:hover {
  filter: grayscale(0%);
  /* Opcional: remove o cinza ao passar o mouse */
  opacity: 1;
  /* Opcional: brilho total ao passar o mouse */
  transform: scale(1.05);
  /* Opcional: pequeno zoom ao passar o mouse */
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #0aaad8;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

/* Garante que o contêiner principal do branding tenha position: relative para os absolutos */
.header .branding {
  position: relative;
  /* Adicione outras propriedades de branding aqui se não estiverem já */
}

/* Estilo para o ícone de busca */
.header .branding .search-icon {
  font-size: 1.2rem;
  /* Ajuste o tamanho da lupa se necessário */
  color: var(--color-default);
  /* Use a cor padrão do seu tema */
  transition: 0.3s;
  line-height: 0;
  /* Ajuda a centralizar o ícone verticalmente */
  cursor: pointer;
  /* Indica que é clicável */
}

.header .branding .search-icon:hover {
  color: var(--color-primary);
  /* Cor ao passar o mouse */
}

/* Estilo para o contêiner do formulário de busca */
.search-form-container {
  width: 100%;
  /* Ocupa toda a largura do pai */
  max-width: 500px;
  /* Limita a largura máxima para não ficar muito grande em desktops */
  z-index: 1050;
  /* Garante que ele apareça acima de outros elementos */
  /* top-100, start-50, translate-middle-x já o posicionam corretamente com Bootstrap */
}

/* Estilo para o contêiner do formulário de membros */
.members-form-container {
  width: 100%;
  max-width: 300px;
  /* Ligeiramente mais estreito que a busca, pode ajustar */
  z-index: 1050;
  /* top-100, start-50, translate-middle-x já o posicionam corretamente com Bootstrap */
}

/* Se você quiser ajustar o espaçamento entre o menu, lupa e CTA em telas pequenas */
@media (max-width: 1199px) {

  /* Breakpoint d-xl-none para o menu mobile */
  .header .branding .header-tools {
    /* Garante que o ícone de busca e o CTA (se visível) fiquem à direita do toggle do menu */
    margin-left: auto;
    /* Empurra para a direita */
    display: flex;
    /* Garante que os itens dentro de header-tools fiquem lado a lado */
    align-items: center;
  }
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 50px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    /*order: 1;*/
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/* Redução de tamanhos e margens para telas pequenas */
@media (max-width: 1199.98px) {

  /* Garante que o toggle mobile use o ms-3 e não tenha margem direita extra */
  .header-right-side-content .header-tools-group .mobile-nav-toggle {
    margin-right: 0 !important;
    /* Anula qualquer margin-right remanescente */
    font-size: 26px;
    /* Ajuste o tamanho do ícone */
  }

  /* Reduz o tamanho da lupa */
  .header-right-side-content .header-tools-group .search-toggle {
    font-size: 22px;
    /* Lupa menor */
  }

  /* Ajusta o botão "Área de Membros" para mobile */
  .header-right-side-content .header-tools-group .cta-btn {
    padding: 5px 12px;
    /* Reduz o padding */
    font-size: 0.85rem;
    /* Fonte menor */
    white-space: nowrap;
    /* Impede a quebra de linha do texto do botão */
    margin-left: 0.75rem !important;
    /* Reduz o ms-3 para 12px */
  }

  /* Reduz o espaçamento geral entre os itens do header-tools-group */
  .header-right-side-content .header-tools-group>.ms-3 {
    margin-left: 0.75rem !important;
    /* Reduz o espaçamento entre os elementos para 12px */
  }
}

/* Ajustes ainda mais agressivos para telefones menores (largura < 768px) */
@media (max-width: 767.98px) {

  /* Logo pode ser um pouco menor */
  .header .logo img {
    max-height: 38px;
  }

  /* Reduz o espaçamento entre a lupa e o ícone do menu mobile */
  .header-right-side-content .header-tools-group>.ms-3 {
    margin-left: 0.5rem !important;
    /* Reduz o espaçamento para 8px */
  }

  /* Reduz o tamanho da lupa */
  .header-right-side-content .header-tools-group .search-toggle {
    font-size: 20px;
  }

  /* Reduz o tamanho do ícone do menu mobile */
  .header-right-side-content .header-tools-group .mobile-nav-toggle {
    font-size: 24px;
  }

  /* Ajusta o botão "Área de Membros" */
  .header-right-side-content .header-tools-group .cta-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
}

/* Para telefones muito pequenos (largura < 576px, ex: iPhone 5/SE em portrait) */
@media (max-width: 575.98px) {
  .header .logo img {
    max-height: 32px;
    /* Logo ainda menor */
  }

  /* Oculta o botão "Área de Membros" para liberar espaço crítico */
  /*.header-right-side-content .header-tools-group #membersAreaToggleMobile {
        display: none !important;
    }*/
  /* Reduz ainda mais o espaçamento e o tamanho dos ícones restantes */
  .header-right-side-content .header-tools-group>.ms-3 {
    margin-left: 0.4rem !important;
    /* Spacing for 6.4px */
  }

  .header-right-side-content .header-tools-group .search-toggle {
    font-size: 18px;
  }

  .header-right-side-content .header-tools-group .mobile-nav-toggle {
    font-size: 22px;
  }

  /* Opcional: Reduz o padding lateral do container principal para ganhar mais espaço */
  .branding .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu>ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  /* Remove os bullets de todos os submenus */
  .navmenu ul ul {
    /* Este seletor mira em ULs que são filhos de outros ULs dentro do navmenu */
    list-style-type: none;
    /* Remove o marcador (bullet) */
    padding: 0;
    /* Remove o padding padrão que listas geralmente têm */
    margin: 0;
    /* Remove a margem padrão que listas geralmente têm */
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .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;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .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;
  }
}

/* Dentro do seu style.css */

.header-right-side-wrapper .navmenu {
  /* Garante que o navmenu dentro do wrapper possa crescer e centralizar seu conteúdo */
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Alinha itens verticalmente no centro */
}

.header-right-side-wrapper .navmenu ul {
  /* Certifica-se de que os itens da lista são flexíveis para o justify-content-center */
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
  /* Espaço entre os itens do menu, ajuste conforme necessário */
}

/* Estilo para os ícones de busca e mobile toggle */
.search-toggle,
.mobile-nav-toggle {
  font-size: 1.2rem;
  /* Tamanho do ícone, ajuste conforme necessário */
  color: var(--color-default);
  /* Cor padrão do seu tema ou uma cor específica */
  cursor: pointer;
  line-height: 1;
  /* Ajuda a alinhar verticalmente */
}

.search-toggle:hover,
.mobile-nav-toggle:hover {
  color: var(--color-primary);
  /* ou uma cor de hover */
}

/* Ajustes para alinhar o logo se a imagem for muito pequena ou grande */
.header .logo img {
  max-height: 40px;
  /* Ou o que for adequado para seu logo */
  width: auto;
}

.branding .container .logo {
  margin-left: 0 !important;
  /* Desfaz qualquer margin-left: auto */
  margin-right: 0 !important;
  /* Desfaz qualquer margin-right: auto */
}

/* Garante que o menu de navegação (em desktop) ocupe o espaço e centralize seus itens */
#navmenu {
  /* flex-grow-1 e justify-content-center já estão no HTML via classes, mas aqui para garantir */
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  /* Alinha verticalmente os itens do menu */
}

#navmenu>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  /* ESSENCIAL: Faz com que os li's sejam itens flexíveis */
  gap: 15px;
  /* Espaçamento entre os itens do menu. Ajuste se quiser. */
}

/* Ajusta o tamanho da imagem da logo, caso precise */
.branding .logo img {
  max-height: 40px;
  /* Exemplo, ajuste para o tamanho desejado */
  width: auto;
}

/* Mobile Navigation */
@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 {
    position: absolute;
    inset: 60px 20px 20px 20px;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    z-index: 9998;

    display: flex;
    flex-direction: column;
    max-height: 0;
    /* Collapsed by default */
    opacity: 0;
    pointer-events: none;
    padding: 0;
    margin: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: normal;
    transition: 0.3s;
    text-align: left;
    /* Garante que o texto dentro do link esteja alinhado à esquerda */
    justify-content: flex-start;
    /* <--- PADRÃO: Alinha o conteúdo do link à esquerda */
  }

  /* Para links que são itens de dropdown (com seta), queremos o texto à esquerda e a seta à direita */
  .navmenu li.dropdown>a {
    justify-content: space-between;
    /* <--- SOBRESCREVE PARA DROPDOWNS */
  }

  .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 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: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  /* 3. Default state for all submenus (ULs directly inside dropdown LIs) */
  /* Garante que submenus NÃO ativos estejam colapsados */
  #navmenu .dropdown>ul:not(.dropdown-active) {
    max-height: 0;
    /* CRUCIAL: Colapsa a altura */
    opacity: 0;
    pointer-events: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    /* Garante que o conteúdo seja cortado */
    transition: all 0.3s ease-in-out;
    /* Para transição suave */
  }

  /* 4. When a submenu is active, expand it */
  #navmenu .dropdown>ul.dropdown-active {
    max-height: 2000px;
    /* Expande a altura (ajuste se necessário) */
    opacity: 1;
    pointer-events: auto;
    padding: 10px 0;
    margin: 10px 20px;
    overflow: hidden;
    /* Garante que o conteúdo seja cortado */
    transition: all 0.3s ease-in-out;
    /* Para transição suave */
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    /* CRUCIAL: Posiciona em relação ao viewport */
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 10000;
    /* CRUCIAL: Garante que esteja acima de tudo */
  }

  .mobile-nav-active .navmenu {
    display: flex !important;
    /* <--- ADICIONE ESTA LINHA */
    flex-direction: column;
    /* <--- FAZ OS FILHOS DIRETOS DO <NAV> SE EMPILHAREM */
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  /* 2. When the mobile menu is active, expand the main UL */
  .mobile-nav-active #navmenu>ul {
    max-height: 100vh;
    /* Expanded */
    opacity: 1;
    pointer-events: auto;
    padding: 10px 0;
    margin: 10px 20px;
  }
}

/*--------------------------------------------------------------
# Hero Slider
--------------------------------------------------------------*/
/* Hero Slider Section */
.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Importante para o slider */
}

.hero-slider .owl-carousel .item {
  height: 60vh;
  /* Altura inicial: 60% da altura da viewport */
  background-size: cover;
  /* Garante que a imagem cubra toda a área */
  background-position: center center;
  /* Centraliza a imagem */
  background-repeat: no-repeat;
  display: flex;
  /* Para centralizar o conteúdo verticalmente */
  align-items: center;
  /* Centraliza verticalmente */
  justify-content: center;
  /* Centraliza horizontalmente */
  color: #fff;
  /* Cor do texto */
  text-align: center;
  position: relative;
}

/* Overlay para cada slide para melhorar a legibilidade do texto sobre a imagem */
/*.hero-slider .owl-carousel .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}*/

.hero-slider .owl-carousel .item .container {
  position: relative;
  z-index: 2;
  /* Garante que o conteúdo fique acima do overlay */
}

.hero-slider .hero-content h2 {
  font-size: 3.5rem;
  /* Tamanho da fonte para o título */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* Sombra para o texto */
}

.hero-slider .hero-content p {
  font-size: 1.2rem;
  /* Tamanho da fonte para a primeira frase */
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-slider .hero-content p.sub-phrase {
  font-size: 1rem;
  /* Tamanho da fonte para a segunda frase (ban_frase2) */
  margin-bottom: 30px;
  opacity: 0.8;
  /* Um pouco mais transparente */
}

.hero-slider .hero-content .btn-get-started {
  font-family: "Poppins", sans-serif;
  /* Fonte do botão */
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #0aaad8;
  /* Cor de fundo do botão (exemplo) */
  text-decoration: none;
  border: 2px solid #0aaad8;
  /* Borda do botão */
}

.hero-slider .hero-content .btn-get-started:hover {
  background: #45a049;
  /* Cor de fundo do botão ao passar o mouse */
  border-color: #45a049;
}

/* Estilos para a navegação (setas e dots) do Owl Carousel */
.hero-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5) !important;
  /* Fundo semi-transparente */
  color: #fff !important;
  /* Cor das setas */
  font-size: 2rem !important;
  padding: 0 15px !important;
  height: 60px;
  line-height: 60px !important;
  border-radius: 0 !important;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-slider .owl-nav button:hover {
  opacity: 1;
}

.hero-slider .owl-nav .owl-prev {
  left: 0;
}

.hero-slider .owl-nav .owl-next {
  right: 0;
}

.hero-slider .owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.hero-slider .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.5) !important;
  /* Cor dos dots inativos */
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  width: 12px !important;
  height: 12px !important;
  margin: 5px 7px !important;
  transition: all 0.3s ease;
}

.hero-slider .owl-dots .owl-dot.active span {
  background: #0aaad8 !important;
  /* Cor do dot ativo */
  border-color: #0aaad8 !important;
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-slider .owl-carousel .item {
    height: 55vh;
  }

  .hero-slider .hero-content h2 {
    font-size: 2.8rem;
  }

  .hero-slider .hero-content p {
    font-size: 1.1rem;
  }

  .hero-slider .hero-content p.sub-phrase {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-slider .owl-carousel .item {
    height: 50vh;
  }

  .hero-slider .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-slider .hero-content p {
    font-size: 1rem;
  }

  .hero-slider .hero-content p.sub-phrase {
    font-size: 0.8rem;
  }

  .hero-slider .hero-content .btn-get-started {
    padding: 8px 25px;
    font-size: 14px;
  }

  .hero-slider .owl-nav button {
    font-size: 1.5rem !important;
    height: 40px;
    line-height: 40px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 576px) {
  .hero-slider .owl-carousel .item {
    height: 45vh;
  }

  .hero-slider .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-slider .hero-content p {
    font-size: 0.9rem;
  }

  .hero-slider .hero-content p.sub-phrase {
    font-size: 0.75rem;
  }

  .hero-slider .hero-content .btn-get-started {
    padding: 7px 20px;
    font-size: 13px;
  }

  .hero-slider .owl-nav {
    display: none;
    /* Oculta as setas em telas muito pequenas */
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  /*max-height: 40px;*/
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# 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 {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  z-index: 3;
}

.hero .welcome h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero .welcome p {
  font-size: 24px;
  margin: 0;
}

.hero .content {
  margin-top: 40px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 20px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: transparent;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

.doctors .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.doctors .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .doctors .team-member span::after {
    left: calc(50% - 25px);
  }
}

.doctors .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .social {
    justify-content: center;
  }
}

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Filiados Section
--------------------------------------------------------------*/

/* ===================================== */
/* ESTILOS DA PÁGINA DO FILIADO */

/* Sessão Hero (Topo da Página do Filiado) */
#filiado-hero {
  background-image: url('../images/background-filiado.jpg');
  /* Use uma imagem impactante */
  background-size: cover;
  background-position: center;
  height: 300px;
  min-height: 200px;
  /* Altura da sessão hero */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
}

#filiado-hero::before {
  /* Overlay escuro para melhorar a leitura do texto */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

#filiado-hero .hero-content {
  position: relative;
  /* Para garantir que o texto fique acima do overlay */
  z-index: 1;
}

#filiado-hero h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  word-wrap: break-word;
  padding: 0 15px;
}

/* Layout principal de duas colunas */
#filiado-details {
  display: grid;
  grid-template-columns: 1fr 3fr;
  /* Sidebar 1 parte, conteúdo principal 3 partes */
  gap: 30px;
  padding: 40px 0;
}

/* Estilos para a Sidebar (Esquerda) */
.sidebar {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filiado-logo {
  text-align: center;
  margin-bottom: 30px;
}

.filiado-logo img {
  max-width: 180px;
  height: auto;
  border-radius: 8px;
}

.sidebar-block {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.sidebar-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar h2 {
  font-size: 1.5em;
  color: #2c3e50;
  margin-bottom: 15px;
  border-bottom: 2px solid #0aaad8;
  display: inline-block;
  padding-bottom: 5px;
}

.presentation-text {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.responsible-name {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.responsible-rank {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.8em;
  color: #555;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0aaad8;
}

/* Estilos para o Conteúdo Principal (Direita) */
.main-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 3px solid #0aaad8;
  padding-bottom: 8px;
}

/* Mapa de Localização */
.location-map {
  position: relative;
  padding-bottom: 56.25%;
  /* Proporção 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
}

.location-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* Galeria de Fotos */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Colunas responsivas */
  gap: 15px;
}

.photo-gallery img {
  width: 100%;
  height: 200px;
  /* Altura fixa para as imagens */
  object-fit: cover;
  /* Recorta a imagem para preencher o espaço */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.03);
}

/* Formulário de Aula Experimental */
.trial-form .form-group {
  margin-bottom: 20px;
}

.trial-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #444;
}

.trial-form input[type="text"],
.trial-form input[type="email"],
.trial-form input[type="tel"],
.trial-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.trial-form input:focus,
.trial-form textarea:focus {
  border-color: #007bff;
  outline: none;
}

.trial-form textarea {
  resize: vertical;
}

.trial-form .btn {
  display: inline-block;
  background-color: #28a745;
  /* Botão verde de sucesso */
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.trial-form .btn:hover {
  background-color: #218838;
}

/* Responsividade para a página de Detalhes do Filiado */
@media (max-width: 991.98px) {
  #filiado-hero {
    height: auto;
    padding: 60px 0;
  }

  #filiado-hero h1 {
    font-size: 2em;
  }

  #filiado-details {
    grid-template-columns: 1fr;
    /* Stack sidebar and content */
    padding: 20px 15px;
    gap: 20px;
  }

  .sidebar,
  .main-content {
    padding: 20px;
  }

  .filiado-logo img {
    max-width: 150px;
  }
}

@media (max-width: 575.98px) {
  #filiado-hero h1 {
    font-size: 1.6em;
  }

  .sidebar h2 {
    font-size: 1.3em;
  }

  .main-content h2 {
    font-size: 1.5em;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 200px;
  position: relative;
  margin: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  height: 250px;
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
  align-items: center;
  /* Centraliza a imagem verticalmente */
  justify-content: center;
  /* Centraliza a imagem horizontalmente */
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
  width: 100%;
  /* Garante que a imagem preencha a largura disponível do seu contêiner (.col-lg-3, .col-md-4) */
  height: 100%;
  /* Garante que a imagem preencha a altura fixa do .gallery-item */
  object-fit: cover;
  /* ESSENCIAL: Redimensiona a imagem para cobrir toda a área do contêiner, mantendo sua proporção original e cortando as partes que não se encaixam. */
  object-position: center;
}

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 36px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}