body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  /* background-color: var(--cinza-claro); */
  background-image: url(/src/img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 25% top;
}
:root {
  --azul: #2a3d5e;
  --bege: #a68e62;
  --branco: #ffffff;
  --cinza-claro: #f4f4f4;
  --cinza-escuro: #333333;
  --sombra: rgba(0, 0, 0, 0.075);
  --transition: all 0.2s ease-in-out;
}
/* Animação para textos */
@keyframes fadeInUp {
  from {
    opacity: 1;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animação para imagens */
@keyframes fadeInImage {
  from {
    opacity: 1;
    transform: translateY(30px) scale(1.1);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Estilo inicial */
h1, h2, h3, p, li {
  opacity: 1;
  /* transform: translateY(20px); */
}

/* Imagem com animação */
img.img-animada {
  opacity: 1;
  transform: translateY(30px) scale(1.1);
}

/* Classe que ativa a animação */
.animate {
  animation: fadeInUp 1s ease forwards;
}

/* Imagens ganham animação diferente */
img.animate {
  animation: fadeInImage 1s ease forwards;
}

/* Delays suaves */
p:nth-of-type(1) { animation-delay: 0.2s; }
p:nth-of-type(2) { animation-delay: 0.2s; }
p:nth-of-type(3) { animation-delay: 0.2s; }
h2, h3 {
  animation-delay: 0.1s;
}


.container-especialidades {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 20px;
  transition: all 0.5s ease-in-out;
  
}

.card-espe {
  width: 36%;
  height: 42vh;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.card-espe {
  text-shadow: 2px 3px 10px black;
}

.card-espe:hover {
  transform: scale(1.05);
}

.hidden {
  display: none;
}

.content-section {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.5s ease forwards;
}
.content-section h2{
    color: var(--azul);
}
.content-section.active {
  display: flex;
}

button {
    background-color: var(--azul);
    color: var(--branco);
    width: 20%;
    font-size: 1.2vw;
    font-weight: 500;
    margin-top: 24px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding: 12px 28px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.2s;
   
}


@keyframes fadeIn {
  from { opacity: 1; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
header *:not(.menu-toggle),
.topo * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
/* === Estilos para telas pequenas (celulares) === */

nav .dropdown-menu li,
nav .dropdown-menu a {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
footer * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 768px) {
  

  .card-espe{
    width: 100%;
    height: 180px;
    font-size: 20px;
  }

  .content-section {
    padding: 20px;
  }

  button {
    width: 60%;
    max-width: 300px;
    font-size: 4vw;
    padding: 2% 3%;
  }
}
