:root {
  --orange: #CD5C08;
  --green:  #6A9C89;
  --beige:  #FFF5E4;
  --white:  #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: var(--beige);
  color: var(--green);
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  text-align: center;
  padding: 1rem;
}

/* Header com botão de voltar */
.page--with-form .page__header {
  position: relative;
  padding-top: 2rem;
}

.btn-back {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--orange);
  font-size: 1.25rem;
  text-decoration: none;
}

.btn-back:hover {
  opacity: 0.8;
}

.page__main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page__footer {
  padding: 1rem 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

.brand {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1.2;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin-top: 1rem;
}

.form__label {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
}

.form__input {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 2px solid var(--orange);
  border-radius: 0.5rem;
  background-color: var(--white);
  color: var(--green);
  transition: border-color 0.2s ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--green);
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--orange);
  color: var(--white);
  border: none;
}

.btn--full {
  width: 100%;
  max-width: 400px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsividade */
@media (max-width: 480px) {
  .brand {
    font-size: 2rem;
  }
  .form {
    max-width: 100%;
  }
}
