/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  margin: 0;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top;
  background-image: url(../imagens/fundo_site.webp);
}
.botao_inscreva {
background-image: linear-gradient(-20deg, #00cdac 0%, #8ddad5 100%);
	transition:fadeIn;
}
	^

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
; 	color: #FFF;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(0.8); }
  75% { transform: scale(1.2); }
}

@keyframes fly {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(200px, -100px) rotate(10deg); }
  50% { transform: translate(400px, 0) rotate(0deg); }
  75% { transform: translate(600px, -150px) rotate(-10deg); }
  100% { transform: translate(800px, 0) rotate(0deg); }
}

/* ===== ELEMENTOS ANIMADOS ===== */
.animated {
  animation: fadeIn 1s ease-out forwards;
}

.slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* ===== LINKS ===== */
a {
  text-decoration: none;
  color: #069;
  transition: color 0.3s ease;
}

a:hover {
  color: #09C;
}

/* ===== BARRAS ===== */
.barra {
  height: 10px;
  width: 100%;
  background-color: #006699;
}

.barra_topo {
  width: 100%;
  background-color: #FF6600;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #FFF;
  text-decoration: none;
}

.barra_topo a {
  font-size: small;
  font-weight: 200;
  color: #FFF;
}

/* ===== LAYOUT PRINCIPAL ===== */
.site {
  display: grid;
  grid-template-columns: 1fr; 
  width: 1200px;
  grid-gap: 10px;
  margin: auto auto;
}

.grade_cabecalho {
  display: grid;
  grid-template-columns: 5fr 1fr;
  grid-gap: 10px;
}

/* ===== REDES SOCIAIS ===== */
.redes_sociais {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 4px;
  text-align: left;
  width: 98%;
}

.linkedin { color: #0077B5; }
.facebook { color: #3B5998; }
.instagram { color: #C13584; }
.youtube { color: #FF0000; }

/* ===== CONTEÚDO ===== */
.conteudo {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
}

.conteudo img {
  max-width: 50%;
  float: left;
  padding: 10px;
  transition: transform 0.3s ease;
}

.conteudo img:hover {
  transform: scale(1.03);
}

/* ===== CURSOS ===== */
.cursos {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  border: 1px dashed #F96;
  border-radius: 25px;
  margin: 10px;
  padding: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(240,240,240,1) 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cursos:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== GRIDS ===== */
.colunas2,
.grid-container2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  grid-gap: 10px;
}

.grid-container1 {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr;
  grid-gap: 10px;
}

.grid-container3 {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
}

.colunas42 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}

.colunas3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.colunas51 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 10px;
}

.colunas6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 10px;
}

.grid-rodape {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.lista_documentos {
  display: grid;
  grid-template-columns: 1fr 7fr;
  grid-gap: 5px;
}

.colunas24 {
  display: grid;
  grid-template-columns: 2fr 4fr;
  grid-gap: 10px;
}

/* ===== ELEMENTOS DE INTERFACE ===== */
.icone {
  border: 1px dashed #ccc;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.icone:hover {
  background-color: #f7f7f7;
  transform: scale(1.05);
}

.documento {
  border: 1px dashed #ccc;
  padding: 10px;
}

/* ===== TIPOGRAFIA ===== */
h1 {
  color: #014c72;	
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

h1::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 20%;
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  transition: width 0.5s ease;
}

h1:hover::before {
  width: 30%;
}

h3 {
  color: #000;
  position: relative;
}

h3::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 20%;
  height: 3px;
  background: #f0f0f0;
  border-radius: 5px;
}

/* ===== RODAPÉ ===== */
.rodape {
  margin: auto auto;
  width: 1200px;
}

footer {
  background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
  background-attachment: cover;
  color: #000;
  width: 100%;
  left: 0;
  bottom: 0;
}

.links_rodape a {
  display: block;
  margin: 2px;
  transition: transform 0.2s ease;
}

.links_rodape a:hover {
  transform: translateX(5px);
}

/* ===== BOTÕES ===== */
.btn-link {
  display: inline-block;
  padding: 5px 10px;
  border: none;
  background-color: #666666;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-link:hover {
  background-color: #006666;
  transform: translateY(-2px);
}

.btn-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: #006699;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  transform: translateY(20px);
}

.btn-topo.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-topo:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

button {
  background-color: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  font-family: "Dosis", sans-serif;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.btn_redondo {
  border-radius: 25px;
  background-color: #FFF;
  border: 1px solid #014c72;
  font-size: 1.2em;
  text-align: center;
  padding: 5px;
  font-weight: 800;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.btn_redondo:hover {
  background-color: #014c72;
  color: white;
}

/* ===== SLIDES ===== */
.slide-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slide-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.slide-item:hover {
  transform: scale(1.02);
}

.slide-item img {
  width: 100%;
}

#slideshow {
  margin: 5px auto;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  display: block;
  animation: fadeIn 1s ease-out;
}

/* ===== BOXES ===== */
.box {
  padding: 10px;
  box-shadow: 0 6px 15px rgba(36, 37, 38, 0.08);
  background-color: #FFF;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.box:hover {
  background-color: #f7f7f7;
  box-shadow: 0 10px 25px rgba(36, 37, 38, 0.12);
  transform: translateY(-5px);
}

.box img {
  max-width: 100%;
  transition: transform 0.3s ease;
}

.box:hover img {
  transform: scale(1.03);
}

/* ===== ELEMENTOS ESPECIAIS ===== */
.logo {
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 80%;
}
.neve {
  background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}

.blue {
  background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
  color: #FFF;
}

.thin {
  font-weight: 200;
  line-height: 1.5em;
}

.medicos {
  border-radius: 25px;
}

.resultados {
  border-radius: 10px;
  border: 1px solid #FFF;
  text-align: center;
  padding-right: 5px;
  padding-left: 5px;
}

.contador {
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #CCC;
  float: left;
  text-align: center;
  margin: 5px;
  box-shadow: 0 6px 15px rgba(36, 37, 38, 0.08);
  transition: all 0.3s ease;
}

.contador:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(36, 37, 38, 0.12);
}

.numeros {
  font-size: 1.8em;
  font-weight: 900;
}

#regressivo {
  margin-right: auto;
  margin-left: auto;
}

hr {
  width: 80%;
  color: #CCC;
  transition: width 0.5s ease;
}

hr:hover {
  width: 90%;
}

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

/* ===== ELEMENTOS ANIMADOS ===== */
.colibri {
  position: absolute;
  width: 75px;
  height: 75px;
  background-image: url('../colibri.gif');
  background-size: cover;
  animation: fly 10s infinite;
}

.heart-icon {
  font-size: 2.8rem;
  color: #e63946;
  animation: heartbeat 1.5s infinite;
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}
#onda {
      position: relative;
      width: 100%;
      height: 50px;
      overflow: hidden;
	    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
    }

    canvas {
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
    }

/* ===== RESPONSIVIDADE ===== */
@media screen and (max-width: 768px) {
  body {
    background-image: url(../imagens/fundo_mobile.webp);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: top;
  }
  
  .desktop {
    display: none;
  }
  
  .mobile {
    display: block;
  }
  
  .slide {
    height: auto;
  }
  
  .site {
    width: 96%;
  }
  
  .logo {
    text-align: center;
    max-width: 90%;
  }
  
  .grade_cabecalho,
  .grid-container1,
  .colunas2,
  .grid-container2,
  .grid-container3,
  .colunas24,
  .colunas3,
  .colunas2 {
    grid-template-columns: 1fr;
  }
  
  .colunas42,
  .colunas51,
  .colunas6 {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-rodape {
    grid-template-columns: 1fr;
  }
  
  .rodape {
    width: 100%;
  }
  
  .redessociais,
  .webmail,
  .contatos {
    display: none;
  }
  
  .conteudo {
    grid-template-columns: 1fr;
  }
  
  .conteudo img {
    max-width: 100%;
    padding: 2px;
    float: none;
  }
  
  .2colunas {
    grid-template-columns: 1fr;
  }
  
  #slideshow {
    width: 100%;
  }
  
  /* Ajustes de animação para mobile */
  .animated,
  .slide-left,
  .slide-right {
    animation: none;
  }
}