/*-----HEADER-----*/
* { /*zerar tudo*/
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*ficar um quadrado*/
}

/*-----Logo-----*/
nav .logo {
    width: 80px;
    height: auto;
    margin-left: 0; /* espaço entre o texto e a logo */
}

.navbar-brand {
  margin-right: 0;   /* tira espaço do lado direito do texto */
  padding-right: 0;  /* garante que não tenha espaçamento interno */
}

/*-----Fundo do Body-----*/
body{
    background-color: rgb(151, 195, 231);
}

/*-----Fundo do Menu-----*/
.navbar {
    background-color: #002ab3;
}

/*-----Carrossel Texto-----*/
.carousel-item {
  position: relative;           /* base para posicionamento absoluto do texto */
}

.carousel-item h5 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(251, 255, 0);
  background-color: rgba(18, 122, 207, 0.6);
  padding: 2px 2px;
  border-radius: 10px;
  display: inline-block;
  width: auto;          /* mantém o fundo do tamanho do texto */
  text-align: center;
  z-index: 2;
}

.carousel-item p {
    position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: rgba(18, 122, 207, 0.6);
  padding: 2px 2px;
  border-radius: 10px;
  display: inline-block;
  width: auto;          /* mantém o fundo do tamanho do texto */
  text-align: center;
  z-index: 2;
}

/* Ajuste individual da posição vertical */
.carousel-item h5 {
  top: 60%;                     /* altura onde o título aparece */
  font-size: 2rem;
  font-weight: bold;
}

.carousel-item p {
  top: 75%;                     /* altura do parágrafo */
  font-size: 1.2rem;
}

/*-----Carrossel Imagens-----*/
.carousel-inner img {
  width: 100%;        /* ocupa toda a largura */
  height: 530px;      /* altura menor (ajuste como quiser) */
  object-fit: cover;  /* corta o excesso sem distorcer */
  display: block;     /* remove espaçamentos fantasmas */
  margin: 0;          /* garante que não centralize */
  padding: 0;
}

/* ===== SOBRE NÓS ===== */
.sobre-nos {
  background: rgba(18, 122, 207, 0.6);
  border-radius: 20px;
  padding: 50px 30px;
  color: #fff;
  backdrop-filter: blur(6px);
}

.titulo-sobre {
  font-family: 'Fredericka the Great', cursive;
  color: yellow;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.texto-sobre p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
  text-align: justify;
}

.imagem-sobre img {
  width: 100%;          /* ocupa toda a largura da coluna */
  height: 100%;         /* ocupa toda a altura da coluna */
  object-fit: cover;    /* mantém proporção e corta o excesso se necessário */
  border-radius: 0;     /* remove cantos arredondados */
  border: none;         /* remove borda */
  transition: transform 0.4s ease;
}


.sombra-sobre {
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.assinatura {
  font-size: 1rem;
  color: yellow;
  text-align: right;
  margin-top: 10px;
}

/*-----Coluna do Quiz-----*/
main section.quiz {
    text-align: center;    /* mantém conteúdo centralizado */
    margin: 5rem auto 0;   /* espaço em cima e centralizado horizontalmente */
}

.quiz .card-custom {
    background: rgba(18, 122, 207, 0.6); /* fundo azul transparente */
    color: yellow;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(6px);
    padding: 30px;
    max-width: 400px;       /* largura máxima do card */
    margin: 0 auto;         /* centraliza horizontalmente */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quiz .card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}

.quiz .card-custom img {
    display: block;          /* transforma em bloco para aplicar margin auto */
    margin: 0 auto 20px;     /* centraliza horizontalmente e adiciona espaçamento embaixo */
    border-radius: 50%;      
    border: 4px solid rgb(0, 140, 255);
    width: 140px;
    height: 140px;
    object-fit: cover;
}

.quiz .card-custom h2 {
    font-family: 'Fredericka the Great', cursive;
    font-size: 2rem;
    color: yellow;
    margin-bottom: 15px;
}

.quiz .card-custom p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

/*-----Botão Quiz-----*/
main section.quiz .botao {
    display: block;           /* ocupa a largura do conteúdo */
    text-align: center;       /* centraliza o link interno */
    margin-top: 1rem;         /* espaço entre imagem e botão */
}

main section.quiz .botao a {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    color: #fff;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(rgb(48, 145, 255)0%,rgb(33, 63, 194)50%,rgb(58, 28, 140)100%);
    display: inline-block;
    animation-name: HeaderA-moverParaCima;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: backwards;
    transition: 0.5s ease-in-out;
}

main section.quiz a:hover {
    background: #b39b17;
    border-color: #b39b17;
    color: #fff;
}

/* ===== TÍTULO DESTAQUE ===== */
.titulo-destaque {
  display: block;                /* permite usar margin auto */
  width: fit-content;            /* fundo só até o tamanho do texto */
  margin: 40px auto;             /* centraliza o bloco */
  text-align: center;
  font-family: 'Fredericka the Great', cursive;
  font-size: 2rem;
  background: rgba(18, 122, 207, 0.6);
  color: yellow;
  padding: 10px 15px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

/* ===== CARDS ===== */
.card-custom {
  background: rgba(18, 122, 207, 0.6);
  color: yellow;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-custom img {
  height: 220px;
  object-fit: cover;
}

.card-body {
  flex-grow: 1;
  text-align: center;
  padding: 20px;
}

.card-title {
  font-family: 'Fredericka the Great', cursive;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card-text {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  margin-bottom: 20px;
}

/* ===== BOTÃO DOS CARDS ===== */
.btn-card {
  background: linear-gradient(rgb(48, 145, 255)0%,rgb(33, 63, 194)50%,rgb(58, 28, 140)100%);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 10px 25px;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  transition: 0.3s;
}

.btn-card:hover {
  background: #b39b17;
  border-color: #b39b17;
  color: #fff;
}

/*-----Rodapé-----*/
section.rodape {
    padding: 20px 70px 60px 70px;   /* topo, direita, baixo, esquerda */
    font-size: 15px;
    color: #fff;
    background: #002ab3;            
}


section.rodape footer.container { 
    display: flex; /*alinhar esquerda e direita */
    flex-direction: row-reverse;    /* inverte a ordem horizontal */
    justify-content: space-between; /* separa esquerda e direita */
    align-items: center;            /* alinha verticalmente */
    padding-top: 10px;              /* espaço entre linha e conteúdo */
}

/* Remove margens extras dos parágrafos */
section.rodape p {
    margin: 0;
}


/* ===== CONTATO ===== */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background-color: #002ab3;
  color: #fff;
  padding: 40px 30px;
}

.contact-info h3 {
  font-family: 'Fredericka the Great', cursive;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item ion-icon {
  font-size: 24px;
  margin-right: 10px;
  background: #fff;
  color: #002ab3;
  padding: 8px;
  border-radius: 50%;
}

.contact-form {
  flex: 2;
  min-width: 300px;
  padding: 40px 50px;
  background-color: #ffffff;
}

.contact-form h3 {
  font-family: 'Fredericka the Great', cursive;
  font-size: 1.8rem;
  color: #002ab3;
  margin-bottom: 25px;
}

.contact-form label {
  font-weight: 600;
  color: #333;
}

.contact-form .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #002ab3;
  box-shadow: 0 0 4px rgba(0, 42, 179, 0.3);
}

.btn-enviar {
  background-color: #002ab3;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  border: none;
  transition: 0.3s;
}

.btn-enviar:hover {
  background-color: #b39b17;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-form {
    padding: 30px 25px;
  }
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background-color: #002ab3;
  color: #fff;
  padding: 40px 30px;
}

.contact-info h3 {
  font-family: 'Fredericka the Great', cursive;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item ion-icon {
  font-size: 24px;
  margin-right: 10px;
  background: #fff;
  color: #002ab3;
  padding: 8px;
  border-radius: 50%;
}

.container{
  flex: 2;
  min-width: 300px;
  padding: 40px 50px;
  background-color: #ffffff;
}

.container h1 {
  font-family: 'Fredericka the Great', cursive;
  font-size: 1.8rem;
  color: #002ab3;
  margin-bottom: 25px;
}
/* ========================= ESTILOS DA PÁGINA PERFIL ========================= */

.perfil-container {
    background-color: #ffffff; /* Fundo branco para a caixa do perfil */
    color: #333333; /* Texto escuro */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); /* Sombra suave */
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

.perfil-container h1 {
    color: #002ab3; /* Cor azul forte do seu navbar/rodapé */
    margin-bottom: 30px;
    font-size: 2.2em;
    border-bottom: 2px solid #00c9c8; /* Linha de destaque */
    padding-bottom: 10px;
    display: inline-block;
}

.perfil-info {
    text-align: left;
    margin-top: 20px;
    font-size: 1.1em;
}

.perfil-info p {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed #cccccc;
}

.perfil-info p strong {
    color: #002ab3;
    display: inline-block;
    min-width: 100px; /* Alinha o texto */
    font-weight: 700;
}

#quiz {
    font-weight: 700;
    color: #b39b17; /* Cor de destaque (amarelo/dourado) para o resultado */
    font-size: 1.2em;
}

.botoes-perfil {
    margin-top: 40px;
}

.botoes-perfil a {
    text-decoration: none;
    margin: 0 10px;
}

.botoes-perfil .btn-perfil {
    background-color: #0077cc; /* Azul claro */
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s;
    display: inline-block;
}

.botoes-perfil .btn-perfil:hover {
    background-color: #005fa3;
}
/* ========================= FIM ESTILOS DA PÁGINA PERFIL ========================= */
