/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --secondary: #64748b;
  --success: #10b981;
  --error: #ef4444;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --border: #d1d5db;
  --border-focus: #3b82f6;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-focus: 0 0 0 3px rgba(59, 130, 246, 0.1);
  --transition: all 0.2s ease-in-out;
}

/* ===== INPUT ===== */
input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
  transform: translateY(-1px);
}

input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

/* ===== SELECT ===== */
select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  box-sizing: border-box;
}

select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

/* ===== TEXTAREA ===== */
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: var(--transition);
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

/* ===== BUTTON ===== */
button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

button:active {
  transform: translateY(0);
}

button:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ===== ESTADOS ESPECIAIS ===== */
input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: var(--error);
}

input:valid,
select:valid,
textarea:valid {
  border-color: var(--success);
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f9fafb;
    --text-light: #9ca3af;
    --bg: #1f2937;
    --border: #374151;
  }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  input,
  select,
  textarea,
  button {
    font-size: 14px;
    padding: 10px 14px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
	 font-family: "Nunito", sans-serif;
	font-optical-sizing: auto;
	margin: auto auto;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: top;
	background-color: #f7f7f7;
	width:99%;
}
.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;
	border-radius:25px;
	padding:15px;
}

.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;
	margin-top: 10px;
	margin-bottom: 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: "Nunito", 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-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,
    .colunas42,
  .colunas2 {
    grid-template-columns: 1fr;
  }
    .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;
  }
}
