/* =================================================================
   BARDOS & BODES — estilo do site
   A cor e a fonte estão todas aqui em cima, em "variáveis".
   Para mudar uma cor do site inteiro, é só trocar o valor aqui.
   ================================================================= */

:root {
  /* --- Cores --- */
  --noite:  #16110c;   /* fundo: noite terrosa do sertão */
  --tinta:  #241a12;   /* marrom-tinta para caixas e a cabeça do bode */
  --osso:   #f2e8d6;   /* texto claro, cor de osso/papel de cordel */
  --osso-2: #b8a988;   /* texto secundário, mais apagado */
  --milho:  #ffc24b;   /* dourado de fogueira (camada ancestral) */
  --rosa:   #ff3d7f;   /* rosa-anilina elétrico (camada digital / IAra) */

  /* --- Fontes --- */
  --fonte-titulo: "Bricolage Grotesque", sans-serif;
  --fonte-texto:  "IBM Plex Sans", sans-serif;
  --fonte-mono:   "IBM Plex Mono", monospace;
}

/* --- Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--noite);
  color: var(--osso);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Faixa dourada fininha no topo da página, tipo bandeirinha */
body { border-top: 4px solid var(--milho); }

/* --- Link de pular para o conteúdo (só aparece com o teclado) --- */
.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--milho); color: var(--noite);
  padding: 0.6rem 1rem; border-radius: 6px;
  font-weight: 600; text-decoration: none;
  transition: top 0.2s ease; z-index: 10;
}
.skip-link:focus { top: 1rem; }

/* --- Foco visível para navegação por teclado (acessibilidade) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--rosa);
  outline-offset: 3px;
}

/* =================================================================
   TOPO
   ================================================================= */
.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}
.topo__marca {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.tag {
  font-family: var(--fonte-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--osso-2);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.tag__ponto {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rosa);
  box-shadow: 0 0 0 0 var(--rosa);
  animation: pulso 2s infinite;
}
@keyframes pulso {
  0%   { box-shadow: 0 0 0 0 rgba(255,61,127,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,61,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,61,127,0); }
}

/* =================================================================
   HERO / ABERTURA
   ================================================================= */
.hero {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem) clamp(3.5rem, 8vw, 6rem);
  max-width: 780px;
  margin: 0 auto;
}
.hero__emblema { margin-bottom: 1.5rem; }
.emblema {
  width: clamp(120px, 30vw, 180px);
  height: auto;
}
.emblema__sinal { animation: brilho 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes brilho { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.eyebrow {
  font-family: var(--fonte-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--milho);
  margin-bottom: 1rem;
}
.hero__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero__titulo span { color: var(--rosa); }
.hero__logline {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  color: var(--osso);
  max-width: 34ch;
  margin: 0 auto 2rem;
  line-height: 1.45;
}

/* =================================================================
   BOTÃO
   ================================================================= */
.botao {
  display: inline-block;
  background: var(--milho);
  color: var(--noite);
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.botao:hover { background: var(--rosa); color: var(--noite); transform: translateY(-2px); }

/* =================================================================
   BLOCOS DE CONTEÚDO
   ================================================================= */
.bloco {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem);
}
.bloco--escuro {
  max-width: none;
  background: var(--tinta);
}
.bloco--escuro > * { max-width: 680px; margin-left: auto; margin-right: auto; }

.bloco__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.bloco__texto {
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  color: var(--osso);
  max-width: 60ch;
}
.bloco__texto--nota {
  margin-top: 1.5rem;
  font-family: var(--fonte-mono);
  color: var(--milho);
  font-size: 1rem;
}

/* --- Destaque da IAra --- */
.iara {
  margin-top: 2rem;
  padding: 1.75rem;
  border: 2px solid var(--rosa);
  border-radius: 14px;
  background: rgba(255, 61, 127, 0.06);
}
.iara__nome {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--rosa);
  margin-bottom: 0.75rem;
}
.iara__nome span {
  display: block;
  font-family: var(--fonte-mono);
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--osso-2);
  margin-top: 0.25rem;
}
.iara__texto { color: var(--osso); }
.iara__texto strong { color: var(--rosa); }

/* --- Lista de acessibilidade --- */
.lista { list-style: none; display: grid; gap: 1rem; }
.lista li {
  position: relative;
  padding-left: 1.75rem;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
}
.lista li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 10px; height: 10px;
  background: var(--milho);
  border-radius: 2px;
}
.lista strong { color: var(--milho); }

/* =================================================================
   AVISE-ME (formulário)
   ================================================================= */
.form { margin-top: 1.75rem; }
.form__label {
  display: block;
  font-family: var(--fonte-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--osso-2);
  margin-bottom: 0.5rem;
}
.form__linha { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form__input {
  flex: 1 1 240px;
  background: var(--noite);
  border: 2px solid var(--osso-2);
  border-radius: 999px;
  color: var(--osso);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  padding: 0.8rem 1.25rem;
}
.form__input::placeholder { color: var(--osso-2); }
.form__input:focus { border-color: var(--rosa); }

.redes { margin-top: 1.75rem; color: var(--osso-2); font-size: 0.95rem; }
.redes a {
  color: var(--osso);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rosa);
  margin-left: 0.85rem;
}
.redes a:hover { color: var(--rosa); }

/* =================================================================
   RODAPÉ
   ================================================================= */
.rodape {
  text-align: center;
  padding: 3rem clamp(1.25rem, 5vw, 3rem) 3.5rem;
  border-top: 1px solid rgba(242, 232, 214, 0.12);
  color: var(--osso-2);
  font-size: 0.9rem;
  display: grid;
  gap: 0.4rem;
}
.rodape strong { color: var(--osso); }
.rodape__contato a { color: var(--milho); text-decoration: none; }
.rodape__contato a:hover { text-decoration: underline; }

/* =================================================================
   MOVIMENTO REDUZIDO
   Respeita quem prefere menos animação nas configurações do sistema.
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
