/* =========================================================
   ABRACI – estilos do site one-page
   Cores e fontes extraídas do folder impresso
   ========================================================= */

:root {
  --azul: #0f4b88;
  --azul-texto: #0e4e8b;
  --verde: #23a649;
  --amarelo: #f9e404;
  --vermelho: #c02026;
  --texto: #231f20;
  --cinza-aspas: #eef0ef;
  --branco: #ffffff;

  --fonte-titulo: "Montserrat", Arial, sans-serif;
  --fonte-texto: "Poppins", Arial, sans-serif;

  --altura-menu: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--altura-menu);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--fonte-titulo);
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Largura confortável de leitura para os blocos de texto */
.container--texto {
  max-width: 860px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--fonte-titulo);
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn--amarelo {
  background: var(--amarelo);
  color: var(--azul);
}

.btn--amarelo:hover,
.btn--amarelo:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.btn--pequeno {
  padding: 8px 18px;
  font-size: .9rem;
}

.btn--grande {
  padding: 16px 30px;
  font-size: 1.15rem;
}

/* ---------- Menu fixo ---------- */
.menu {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--altura-menu);
  background: var(--azul);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.menu__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu__marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-decoration: none;
}

/* O logo tem fundo transparente: um círculo branco garante contraste no azul */
.menu__marca img {
  width: 40px;
  height: 40px;
  padding: 3px;
  border-radius: 50%;
  background: var(--branco);
  object-fit: contain;
}

.menu__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu__links a:not(.btn) {
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}

.menu__links a:not(.btn):hover,
.menu__links a:not(.btn):focus-visible {
  color: var(--amarelo);
}

.menu__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu__toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--branco);
}

@media (max-width: 820px) {
  .menu__toggle { display: block; }

  .menu__links {
    display: none;
    position: absolute;
    top: var(--altura-menu);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--azul);
    box-shadow: 0 8px 12px rgba(0, 0, 0, .2);
  }

  .menu__links.is-aberto { display: flex; }

  .menu__links a:not(.btn) {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .menu__links .btn { margin-top: 16px; }
}

/* ---------- Capa (metade superior azul, inferior verde) ---------- */
.capa {
  min-height: 100vh;
  padding: calc(var(--altura-menu) + 48px) 16px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  background: linear-gradient(to bottom, var(--azul) 0 50%, var(--verde) 50% 100%);
}

.capa__logo {
  width: min(420px, 82vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Padding em % usaria a largura da seção; por isso o cálculo é feito sobre o tamanho do círculo */
  padding: calc(min(420px, 82vw) * .09);
  border: clamp(8px, 2.2vw, 14px) solid var(--vermelho);
  border-radius: 50%;
  background: #fcf9f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.capa__logo img {
  width: 100%;
  height: auto;
}

.capa__lema {
  margin: 0;
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  line-height: 1.35;
}

/* ---------- Lançamento do livro ---------- */
.livro {
  padding: 72px 0 96px;
  background: var(--azul);
  color: var(--branco);
}

.livro__inner {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 56px;
  align-items: center;
}

.livro__capa img {
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transform: rotate(-3deg);
  transition: transform .2s ease;
}

.livro__capa:hover img,
.livro__capa:focus-visible img {
  transform: rotate(0) scale(1.02);
}

.selo {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--verde);
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.livro h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.livro__autor {
  margin: 8px 0 20px;
  color: var(--amarelo);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.livro__texto > p:not(.livro__autor):not(.livro__info) {
  margin: 0 0 28px;
  font-weight: 400;
}

.livro__info {
  margin: 12px 0 0;
  font-size: .85rem;
  opacity: .8;
}

@media (max-width: 720px) {
  .livro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .livro__capa {
    width: min(240px, 70%);
    margin: 0 auto;
  }
}

/* ---------- Seções de conteúdo ---------- */
.secao {
  position: relative;
  padding: 120px 0 72px;
}

/* Onda azul no topo, igual ao folder */
.onda {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  fill: var(--azul);
}

.secao p {
  margin: 0 0 1.2em;
  text-align: justify;
  hyphens: auto;
}

/* Em telas estreitas o texto justificado abre espaços grandes entre as palavras */
@media (max-width: 560px) {
  .secao p { text-align: left; }
}

/* ---------- ABRACI (Quem somos) ---------- */
.sobre__titulo {
  font-family: var(--fonte-texto);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: #000;
  text-align: center;
}

.sobre__subtitulo {
  margin: 6px 0 36px !important;
  color: var(--azul);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  text-align: center !important;
}

/* Foto com as formas amarelas no canto inferior, como no folder */
.sobre__foto {
  position: relative;
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 0 16px 36px;
}

.sobre__foto::before,
.sobre__foto::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--amarelo);
  border-radius: 50%;
}

.sobre__foto::before {
  left: -60px;
  bottom: 0;
  width: 46%;
  height: 120px;
}

.sobre__foto::after {
  left: 20%;
  bottom: -20px;
  width: 40%;
  height: 90px;
}

.sobre__foto img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sobre {
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Valores e Mensagem ---------- */
.valores__titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  color: var(--azul);
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  text-transform: uppercase;
  text-align: center;
}

/* Bolinhas amarelas antes e depois do título */
.valores__titulo::before,
.valores__titulo::after {
  content: "";
  flex: none;
  width: .45em;
  height: .45em;
  border-radius: 50%;
  background: var(--amarelo);
}

.valores__lista {
  margin: 0;
  padding: 0;
  list-style: none;
}

.valor {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}

.valor__roda {
  width: 96px;
  height: 96px;
}

.valor p {
  margin: 0;
  color: var(--azul-texto);
  font-weight: 400;
}

.valor small {
  font-size: .82em;
}

@media (max-width: 560px) {
  .valor {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .valor__roda {
    width: 72px;
    height: 72px;
  }
}

/* ---------- Desafio ---------- */
.desafio .container {
  position: relative;
}

/* Aspas cinza claro decorativas no canto superior direito */
.desafio__aspas {
  position: absolute;
  top: -70px;
  right: 16px;
  z-index: -1;
  color: var(--cinza-aspas);
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-size: 22rem;
  line-height: 1;
  user-select: none;
}

.desafio {
  isolation: isolate;
  overflow: hidden;
}

.desafio__titulo {
  margin-bottom: 28px;
  color: var(--azul);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3rem);
  text-transform: uppercase;
}

.diretoria {
  margin-top: 40px;
  color: var(--azul);
  font-family: var(--fonte-titulo);
  font-weight: 700;
}

.diretoria h3 {
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.diretoria h3 span {
  font-weight: 700;
  font-size: .8em;
  text-transform: none;
}

.diretoria ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  line-height: 1.9;
}

/* ---------- Rodapé amarelo (rede e contato) ---------- */
.rodape {
  position: relative;
  padding: 96px 0 0;
  background: var(--amarelo);
  color: var(--texto);
  /* Borda superior inclinada, como no folder */
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
}

.rede {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

/* Aspas vazadas (apenas contorno) */
.rede__aspas {
  color: transparent;
  -webkit-text-stroke: 1.5px #6b6b6b;
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-size: 10rem;
  line-height: .8;
  user-select: none;
}

.rede__titulo,
.contato__titulo {
  font-weight: 900;
  font-size: 1.35rem;
}

.rede__titulo {
  margin-bottom: 10px;
  color: var(--azul);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rede p {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 600;
}

.contato {
  margin-top: 56px;
  text-align: center;
  font-family: var(--fonte-titulo);
  font-weight: 600;
}

.contato__titulo {
  margin-bottom: 8px;
}

.contato p {
  margin: 0 0 20px;
}

.contato a {
  text-decoration: none;
}

.contato a:hover,
.contato a:focus-visible {
  text-decoration: underline;
}

.contato__redes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contato__redes a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rodape__copy {
  margin: 56px 0 32px;
  font-size: .8rem;
  text-align: center;
  opacity: .75;
}

/* Faixa com o crédito da hospedagem (mesmo amarelo do rodapé, para melhor leitura do logo) */
.hospedagem {
  padding: 16px;
  background: var(--amarelo);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-weight: 400;
  font-size: .85rem;
  line-height: 1.6;
  text-align: center;
}

.hospedagem a {
  display: inline-block;
  margin-top: 4px;
}

.hospedagem img {
  width: auto;
  height: 27px;
}

@media (max-width: 560px) {
  .rede {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rede__aspas {
    font-size: 6rem;
    height: 70px;
  }
}

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

.rodape a:focus-visible,
.btn--amarelo:focus-visible {
  outline-color: var(--azul);
}
