@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --cor-fundo: #ebebeb;
  --cor-card: #e0e0e0;
  --cor-input: #f2f2f2;
  --cor-texto: #1a1a1a;
  --cor-texto-suave: #666666;
  --cor-borda: #cccccc;
  --cor-botao: #556B2F; 
  --cor-botao-hover: #6B8E23;
  --cor-botao-texto: #ffffff;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bebas Neue", Arial, sans-serif;
}

/* Corpo */
body {
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 120px; /* espaço para header fixo */
}

/* ========================== */
/*   HEADER ESTILO NOVO       */
/* ========================== */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #d3d3d3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  z-index: 1000;
}

/* Ícone esquerdo (menu) */
.icon-left {
  width: 35px;
  cursor: pointer;
}

/* Central: logo */
.logo {
  height: 55px;
  object-fit: contain;
}

/* Ícones da direita */
.icons-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.icon {
  width: 32px;
  cursor: pointer;
}

/* ========================== */
/*   TÍTULOS / FORMULÁRIO     */
/* ========================== */

h1 {
  font-size: 2.2em;
  margin-bottom: 5px;
}

p {
  margin-bottom: 30px;
  color: var(--cor-texto-suave);
}

form {
  width: 100%;
  max-width: 500px;
}

/* CARD */
fieldset {
  border: 1px solid var(--cor-borda);
  border-radius: 12px;
  padding: 25px;
  background-color: var(--cor-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

legend {
  font-weight: bold;
  padding: 0 10px;
  color: var(--cor-texto);
}

/* Inputs */
label {
  display: block;
  margin-top: 15px;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid var(--cor-borda);
  border-radius: 8px;
  background-color: var(--cor-input);
  color: var(--cor-texto);
  transition: all 0.3s ease;
}

input::placeholder {
  color: var(--cor-texto-suave);
}

input:focus {
  border-color: var(--cor-botao);
  outline: none;
  box-shadow: 0 0 4px var(--cor-botao);
}

/* Botão */
button {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: var(--cor-botao);
  color: var(--cor-botao-texto);
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: var(--cor-botao-hover);
}

/* ============================ */
/*       RESPONSIVIDADE         */
/* ============================ */

@media (max-width: 600px) {

  .topbar {
    padding: 0 15px;
    height: 60px;
  }

  .icon-left,
  .icon {
    width: 28px;
  }

  .logo {
    height: 45px;
  }

  fieldset {
    padding: 18px;
  }

  input,
  button {
    font-size: 0.9em;
  }
}
