/* Stellar Capital — página provisória.
   Paleta e regras de uso: Identidade Visual - SC (ALT/G) e Guia de Marca 2026.
   O dourado é selo, não cor de fundo: aparece só na sobrelinha e no botão. */

@font-face {
  font-family: "Libre Franklin";
  src: url("assets/fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #273C52;
  --tinta: #1E1E28;
  --dourado: #CAA255;
  --dourado-hover: #B48B3B;
  --branco: #FFFFFF;
  --suave: rgba(255, 255, 255, 0.66);
  --discreto: rgba(255, 255, 255, 0.5);
  --fio: rgba(255, 255, 255, 0.16);
  --fio-campo: rgba(255, 255, 255, 0.34);
  --erro: #F2B1A8;
  --margem: clamp(24px, 6vw, 96px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--tinta);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 var(--margem);
  background: linear-gradient(178deg, var(--navy) 0%, var(--tinta) 100%);
  color: var(--branco);
  font-family: "Libre Franklin", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--fio-campo);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--branco);
  outline-offset: 3px;
}

.topo,
.conteudo,
.conteudo-texto,
.rodape {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

/* Topo */

.topo {
  padding-top: clamp(28px, 5vh, 56px);
}

.logo {
  display: block;
  width: auto;
  height: clamp(52px, 6vw, 68px);
  /* O PNG traz margem transparente à esquerda; alinha a estrela com o texto. */
  margin-left: -0.6%;
}

/* Conteúdo */

.conteudo {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 400px);
  gap: clamp(48px, 9vw, 140px);
  align-items: center;
  padding-block: clamp(40px, 7vh, 88px);
}

.sobrelinha {
  margin: 0 0 1.5rem;
  color: var(--dourado);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 13em;
  font-size: clamp(2.125rem, 4.1vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.reconhecimentos {
  list-style: none;
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  padding: 0;
  max-width: 30rem;
  border-top: 1px solid var(--fio);
}

.reconhecimentos li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--fio);
  color: var(--suave);
  font-size: 0.9375rem;
}

.posicao {
  color: var(--branco);
  font-size: 1.375rem;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.01em;
}

/* Formulário */

.contato h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.apoio {
  margin: 0.5rem 0 0;
  color: var(--suave);
  font-size: 0.9375rem;
}

form {
  margin-top: 2rem;
}

.campo {
  margin-bottom: 1.5rem;
}

.campo label {
  display: block;
  color: var(--suave);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.opcional {
  color: var(--discreto);
}

.campo input[type="text"],
.campo input[type="tel"],
.campo input[type="email"],
.campo textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0 0.6rem;
  border: 0;
  border-bottom: 1px solid var(--fio-campo);
  border-radius: 0;
  background: transparent;
  color: var(--branco);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.campo textarea {
  min-height: 4.2rem;
  resize: none;
}

.campo input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.campo input:hover,
.campo textarea:hover {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.campo input[type="text"]:focus,
.campo input[type="tel"]:focus,
.campo input[type="email"]:focus,
.campo textarea:focus {
  outline: none;
  border-bottom-color: var(--branco);
  box-shadow: 0 1px 0 0 var(--branco);
}

.campo [aria-invalid="true"] {
  border-bottom-color: var(--erro);
}

/* Mantém o fundo escuro quando o navegador preenche o campo sozinho. */
.campo input:-webkit-autofill,
.campo input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--branco);
  caret-color: var(--branco);
  transition: background-color 99999s ease-out;
}

.erro {
  margin: 0.4rem 0 0;
  color: var(--erro);
  font-size: 0.8125rem;
}

.isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consentimento {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: start;
  margin-top: 0.25rem;
}

.consentimento input {
  display: grid;
  place-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  border: 1px solid var(--fio-campo);
  border-radius: 2px;
  background: transparent;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.consentimento input:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.consentimento input::before {
  content: "";
  width: 0.55rem;
  height: 0.3rem;
  margin-top: -0.12rem;
  border-left: 1.5px solid var(--tinta);
  border-bottom: 1.5px solid var(--tinta);
  transform: rotate(-45deg) scale(0);
}

.consentimento input:checked {
  border-color: var(--branco);
  background: var(--branco);
}

.consentimento input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.consentimento input[aria-invalid="true"] {
  border-color: var(--erro);
}

.consentimento label {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.consentimento .erro {
  grid-column: 2;
}

.botao {
  display: inline-block;
  min-width: 10rem;
  margin-top: 0.5rem;
  padding: 0.9rem 2rem;
  border: 0;
  border-radius: 2px;
  background: var(--dourado);
  color: var(--tinta);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.botao:hover {
  background: var(--dourado-hover);
}

.botao:disabled {
  opacity: 0.6;
  cursor: default;
}

.aviso {
  margin: 1rem 0 0;
  color: var(--erro);
  font-size: 0.875rem;
}

.confirmacao:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

/* Rodapé */

.rodape {
  padding: 1.5rem 0 clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--fio);
  color: var(--discreto);
  font-size: 0.75rem;
  line-height: 1.6;
}

.rodape-linha {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  color: var(--suave);
}

.rodape address {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.rodape a {
  white-space: nowrap;
}

.legal {
  margin: 1rem 0 0;
  max-width: 62rem;
}

/* Página de texto (política de privacidade) */

.texto {
  max-width: 44rem;
  padding-block: clamp(40px, 7vh, 88px);
}

.texto h1 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  max-width: none;
}

.texto h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.texto p,
.texto li {
  color: var(--suave);
  font-size: 0.9375rem;
}

.texto ul {
  padding-left: 1.1rem;
}

.texto .voltar {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--suave);
}

/* Telas menores */

@media (max-width: 900px) {
  .conteudo {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .contato {
    max-width: 30rem;
  }

  .rodape a {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
