/* PALETA OFICIAL */
:root {
  --azul-escuro: #1E3A5F;
  --azul-claro: #3B82B3;
  --azul-ceu: #A3D2F4;
  --verde: #5EC5A6;
  --bege: #fefae0;
  --cinza-gelo: #F3F6F9;
}

/* =========================================================
   RESET + BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Jeju Gothic', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* =========================================================
   ÍCONE DO USUÁRIO
========================================================= */
.icon-user {
  width: 32px;
  height: 32px;
  cursor: pointer;
  vertical-align: middle;
  transform: translateY(2px);
  transition: transform .3s ease, opacity .3s ease;
}

.icon-user:hover {
  transform: scale(1.15);
  opacity: .8;
}

/* =========================================================
   HEADER
========================================================= */

header {
  background-image: url("../img/pexels-tomfisk-3856440.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
  transition: background-position 1s ease;
}

header:hover {
  background-position: center 10%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

header h1 {
  font-size: 60px;
  color: var(--azul-escuro);
  /* substituído: #1e3a5f */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* SUP ESQUERDO */
.header_sup_esquerdo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 440px;
  gap: 1rem;
  animation: fadeIn 1s ease;
}

.header_sup_esquerdo p {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* BOTÃO HEADER */
header button {
  background-color: var(--azul-escuro);
  /* substituído: #1e3a5f */
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.4s ease, transform .3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

header button:hover {
  background-color: #16314a;
  transform: translateY(-3px);
}

/* LINKS HEADER */
#links_header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

#links_header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  transition: color .3s ease, transform .2s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

#links_header a:hover {
  color: var(--azul-escuro);
  /* substituído: #1e3a5f */
  transform: translateY(-3px);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   MAIN
========================================================= */
main {
  padding: 2rem 1rem;
  margin: auto;
}

/* =========================================================
   INTRODUÇÃO
========================================================= */

/* SEÇÃO ------------------------------------------------------*/

.introducao {
  display: flex;
  justify-content: center;
  background-color: var(--cinza-gelo);
  padding: 4rem 3rem;
  border-radius: 12px;
  margin-bottom: 4rem;
}

.intro_conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  width: 100%;
  gap: 4rem;
  flex-wrap: wrap;
}

/* TEXTO ------------------------------------------------------*/

.intro_texto {
  flex: 1;
  min-width: 340px;
}

.intro_texto h2 {
  font-size: 2.4rem;
  color: var(--azul-escuro);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.4rem;
}

.barra {
  width: 6px;
  height: 32px;
  background: var(--verde);
  border-radius: 6px;
}

.intro_texto p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--azul-escuro);
  text-align: left;
  margin-top: 1rem;
}

.destaque {
  color: var(--azul-claro);
  font-weight: 600;
}

/* IMAGEM ------------------------------------------------------*/

.intro_imagem {
  flex: 1;
  min-width: 340px;
  display: flex;
  justify-content: center;
}

.intro_imagem img {
  width: 80%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   FEATURES / CARDS
========================================================= */

.features {
  background-color: #1E3A5F;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  animation: fadeIn .8s ease;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #94d2bd;
}

.feature {
  display: inline-block;
  width: 250px;
  margin: 0 1rem;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feature:hover {
  background-color: #16314a;
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.icone {
  background-color: #ffffff;
  font-size: 2rem;
  padding: 1.8rem;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform .35s ease;
}

.feature:hover .icone {
  transform: rotate(8deg) scale(1.1);
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  color: #94d2bd;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #fefae0;
}

/* =========================================================
   CARROSSEL
========================================================= */

.carrossel-section {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  border-radius: 10px;
  animation: fadeIn 1s ease;
}

.carrossel-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carrossel-imagens {
  display: flex;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.carrossel-imagens .item {
  flex: 0 0 100%;
}

.carrossel-imagens .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 10000;
}

.modal-overlay.ativo {
  opacity: 1;
  pointer-events: all;
}

.modal-cadastro {
  background: var(--cinza-gelo);
  padding: 2.5rem;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  position: relative;
  text-align: center;
  transform: scale(0.85);
  transition: transform .4s ease;
}

.modal-overlay.ativo .modal-cadastro {
  transform: scale(1);
}

.modal-cadastro h2 {
  color: var(--azul-escuro);
  margin-bottom: .5rem;
}

.modal-cadastro p {
  font-size: .95rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.modal-cadastro form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-cadastro input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: .95rem;
}

.modal-cadastro button {
  background: var(--azul-escuro);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
}

.modal-cadastro button:hover {
  background: #16314a;
  transform: translateY(-2px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 28px;
  height: 28px;

  background-color: #ffffff;
  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 400;
  color: #9aa0a6;

  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);

  transition: background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.modal-close:hover {
  background-color: #f1f3f4;
}

/* =========================================================
   FAQ FLUTUANTE
========================================================= */

.faq-flutuante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1e3a5f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color .3s ease, transform .3s ease;
  z-index: 9999;
}

.faq-flutuante:hover {
  background-color: #16314a;
  transform: translateY(-4px);
}

/* =========================================================
   BOTÕES E INPUTS GERAIS
========================================================= */

button {
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  border-radius: 6px;
  padding: 8px;
  border: 1px solid #ccc;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  background-color: #1E3A5F;
  color: #fefae0;
  padding: 2rem 1.5rem;
  font-size: 0.95rem;
  text-align: center;
  animation: fadeIn .8s ease;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.footer_contatos h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #94d2bd;
}

.footer_contatos a {
  color: #fefae0;
  text-decoration: none;
}

.footer_contatos a:hover {
  text-decoration: underline;
}

.footer-botão {
  margin-top: 2rem;
}

.footer-botão a {
  margin: 0 1rem;
  color: #94d2bd;
  text-decoration: none;
  font-weight: bold;
}

.footer-botão a:hover {
  text-decoration: underline;
}

/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}