/* Reset CSS básico */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}

body {

  font-family:"Inter Tight", sans-serif;
  line-height: 1.4;
  flex-direction: column;
  min-height: 100vh; /* altura mínima 100% da tela */
  
 
}


section.formulario {
  flex: 1; /* ocupa o espaço restante */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}



p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
}

h1{
    font-family: 'Outfit', sans-serif;
    font-size: 4 rem;
    line-height: 1;
}


.developer-credit {
    line-height: 1;
    word-break: break-word;
    word-wrap: break-word;
    font-weight: 400;
}


input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.section, .container {
    position: relative;
    overflow-wrap: break-word;
}

.topo {
 background-image: url("./assets/images/bg-header.png");
 background-position: cover;
 background-size:cover;
 padding-top:6rem;
padding-bottom: 4rem;
}

.formulario {
  padding: 4rem 2rem;
  background-color: #edf0ec;
  display: flex;
  justify-content: center;
}

.form-container {
  display: flex;
  align-items: flex-start;  /* agora alinha pelo topo */
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
}

.form-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 25px;
  object-fit: cover;
}

.form-image {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* começa no mesmo topo do título */
  margin-top: 0.5rem; /* pequeno ajuste opcional */
}



.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.2rem;
  margin-top: 1rem;
  color:#2196f3
}

fieldset {
  border: none;
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}















/* --- Estilo bonito para o último item (radios) --- */
/* --- Estilo moderno para checkboxes e radios --- */
fieldset {
  border: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
}

fieldset legend {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  cursor: pointer;
  color: #333;
}

/* Remove aparência padrão */
fieldset input[type="radio"],
fieldset input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 6px; /* quadrado levemente arredondado */
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Quando selecionado */
fieldset input[type="radio"]:checked,
fieldset input[type="checkbox"]:checked {
  background-color: #2196f3;
  border-color: #2196f3;
}

/* Check interno */
fieldset input[type="checkbox"]:checked::after,
fieldset input[type="radio"]:checked::after {
  content: "✔";
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

/* Hover */
fieldset input[type="radio"]:hover,
fieldset input[type="checkbox"]:hover {
  border-color: #2196f3;
}










/*======================*/





.form-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.form-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  color: #2196f3;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 1rem;
  border-radius: 25px;
  background: #fff;
  font-size: 1rem;
  border: none;
}

fieldset {
  border: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

fieldset legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

form button {
  background: #2196f3;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s;
}

form button:hover {
  background: #1976d2;
}



.rodape {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #232323;
    overflow: hidden;
}


.media-container-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: start;
}


.display-7 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #fff;
    text-align: center;
}


.developer-credit {
  font-size: 0.75em; /* Fonte um pouco menor */
  color: #7c7c7c;    /* Cinza claro */
}


/* Barra de navegação */
.navbar {
  width: 100%;
  background: #2aa8ea !important; /* azul padrão */
  color: #fff;
  display: flex;
  justify-content: center;   /* centraliza os itens */
  align-items: center;
  padding: 10px 0px;
  position: fixed;   /* fixa no topo */
  top: 0;
  left: 0;
  z-index: 9999 !important;
 
}



.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
   margin: 0 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Botão destacado */
.btn-menu {
  background: #fff;
  color: #2aa7eb !important;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 
}

.btn-menu:hover {
  background: #ffcc00;
  color: #000 !important;
}

/* Menu responsivo (mobile) */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
 .nav-links {
    display: none;
    position: absolute;
    top: 60px; /* logo abaixo da navbar */
    left: 0;   /* alinhar à esquerda */
    width: 100%; /* ocupa toda a largura */
    background: #0073b7;
    flex-direction: column;
    text-align: center; /* centraliza os links */
    padding: 15px 0;
    z-index: 9999;
  }
  .nav-links li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

  .nav-links.active {
    display: flex;
  }
}


/* Responsividade mobile */
@media (max-width: 768px) {
  .topo {
    padding-top: 4rem;   /* reduz espaço no mobile */
    padding-bottom: 2rem;
  }

  .form-container {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem; /* menos espaço lateral no mobile */
  }

  .form-image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 1rem auto; /* centraliza e dá espaçamento embaixo */
  }

  .form-content {
    text-align: center;
  }

  

.display-7 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    color: #fff;
    text-align: center;
   
    }


    pan, p, a {
    line-height: 1;
    word-break: break-word;
    word-wrap: break-word;
    font-weight: 400;

}

/* Elimina espaços extras que causavam faixa abaixo ou acima */
section.formulario {
  margin: 0;
  padding-top: 10px;
  padding-bottom: 30px;
}


.col-12 {
    flex: 0 0 auto;
    width: 80%;
}

}
