/* Página inicial do Delfos — tudo fora do hero (o hero está em delfos-hero.css). */

html,
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
}
body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

/* Atalho de teclado para quem não quer rolar a animação inteira */
.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  background: var(--destaque);
  color: var(--sobre-destaque);
  font-weight: 500;
  text-decoration: none;
}
.pular:focus-visible {
  top: 1rem;
}

/* ---------- Quatro frentes ---------- */
.frentes {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) 6vw clamp(4rem, 10vh, 7rem);
  text-align: center;
}
.frentes h2 {
  margin: 0 0 clamp(2.5rem, 6vh, 4rem);
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.frentes dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  text-align: left;
}
.frentes dl > div {
  padding: 1.4rem 1.4rem 0 0;
  border-top: 1px solid rgba(237, 233, 225, 0.18);
}
.frentes dl > div + div {
  padding-left: 1.4rem;
  border-left: 1px solid rgba(237, 233, 225, 0.1);
}
.frentes dt {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.frentes dd {
  margin: 0;
  color: var(--texto-2);
  font-size: 1rem;
  line-height: 1.5;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.link {
  display: inline-flex; align-items: center; min-height: var(--control-size);
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
}
.link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.link:focus-visible {
  outline: 2px solid var(--destaque);
  outline-offset: 3px;
  border-radius: 4px;
}
.botao {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-md);
  background: var(--destaque);
  color: var(--sobre-destaque);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.botao:hover {
  background: var(--destaque);
}
.botao:focus-visible {
  outline: 2px solid var(--destaque);
  outline-offset: 3px;
}

/* ---------- Rodapé ---------- */
.rodape {
  padding: 3rem 6vw calc(3rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(237, 233, 225, 0.1);
  text-align: center;
  color: var(--texto-2);
}
.rodape__logo {
  display: block;
  width: 96px;
  margin: 0 auto 0.8rem;
  color: var(--texto);
  line-height: 0;
}

.rodape p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 760px) {
  .frentes dl {
    grid-template-columns: 1fr;
  }
  .frentes dl > div,
  .frentes dl > div + div {
    padding: 1.2rem 0 1.4rem;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dh__cta,
  .botao {
    transition: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
