:root {
  --azul: #002949;
  --azul-2: #0b3d66;
  --vermelho: #c8102e;
  --vermelho-escuro: #9e0c24;
  --texto: #1f2933;
  --texto-suave: #52606d;
  --fundo: #ffffff;
  --fundo-2: #f3f5f8;
  --borda: #dde3ea;
  --raio: 10px;
  --largura: 1120px;
  --sombra: 0 6px 24px rgba(0, 41, 73, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: var(--fundo);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermelho); }
a:hover { color: var(--vermelho-escuro); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--azul); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--largura), 100% - 2rem); margin-inline: auto; }
.pular { position: absolute; left: -999px; }
.pular:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem 1rem; }

/* Topo e menu */
.topo { background: var(--azul); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.topo__barra { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.menu ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.menu a {
  display: block; padding: .5rem .75rem; border-radius: 6px;
  color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500;
}
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--vermelho); }
.menu-abrir, .menu-botao { display: none; }

@media (max-width: 920px) {
  .menu-botao { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .menu-botao span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--azul); padding: .5rem 1rem 1rem; }
  .menu ul { flex-direction: column; }
  .menu-abrir:checked ~ .menu { display: block; }
}

/* Blocos */
.secao { padding: 4rem 0; }
.secao--cinza { background: var(--fundo-2); }
.secao--azul { background: var(--azul); color: #e8eef5; }
.secao--azul h2, .secao--azul h3 { color: #fff; }
.secao--azul a { color: #ffd2d9; }
.titulo-secao { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.titulo-secao p { color: var(--texto-suave); }
.secao--azul .titulo-secao p { color: #c9d6e3; }
.sobretitulo { display: inline-block; color: var(--vermelho); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .5rem; }

.capa {
  position: relative; color: #fff; min-height: min(78vh, 640px); display: grid; align-items: end;
  background: var(--azul) center/cover no-repeat;
}
.capa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,41,73,.15) 0%, rgba(0,25,45,.85) 100%); }
.capa__texto { position: relative; padding: 3rem 0 4rem; max-width: 760px; }
.capa h1 { color: #fff; }
.capa .sobretitulo, .secao--azul .sobretitulo { color: #ffb3bf; }
.capa p { font-size: 1.2rem; color: #e8eef5; }

.cabecalho-pagina { background: var(--azul) center/cover no-repeat; color: #fff; position: relative; padding: 5rem 0 3rem; }
.cabecalho-pagina::before { content: ""; position: absolute; inset: 0; background: rgba(0,25,45,.72); }
.cabecalho-pagina .container { position: relative; }
.cabecalho-pagina h1 { color: #fff; margin: 0; }
.cabecalho-pagina p { color: #d9e3ec; margin: .5rem 0 0; max-width: 720px; }

.botao {
  display: inline-block; background: var(--vermelho); color: #fff; text-decoration: none; font-weight: 600;
  padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid var(--vermelho); transition: .15s;
}
.botao:hover { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); color: #fff; }
.botao--claro { background: transparent; border-color: #fff; color: #fff; }
.botao--claro:hover { background: #fff; color: var(--azul); border-color: #fff; }
.botoes { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.grade { display: grid; gap: 1.5rem; }
.grade--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grade--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grade--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.alinhado { align-items: center; }

.cartao {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden;
  box-shadow: var(--sombra); display: flex; flex-direction: column;
}
.cartao img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cartao__corpo { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.cartao__corpo p { color: var(--texto-suave); }
.cartao__corpo .mais { margin-top: auto; font-weight: 600; text-decoration: none; }
.cartao--simples { padding: 1.4rem; }

.foto-arredondada { border-radius: var(--raio); box-shadow: var(--sombra); }
.galeria { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.galeria img { border-radius: 8px; aspect-ratio: 3/2; object-fit: cover; width: 100%; }

.lista-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.lista-check li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.lista-check li::before { content: "✓"; position: absolute; left: 0; color: var(--vermelho); font-weight: 700; }

.depoimento { text-align: center; }
.depoimento img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.depoimento blockquote { margin: 0 0 .75rem; font-style: italic; color: var(--texto-suave); }
.depoimento cite { font-style: normal; font-weight: 600; color: var(--azul); }

.atividade { scroll-margin-top: 90px; padding: 2.5rem 0; border-bottom: 1px solid var(--borda); }
.atividade:last-child { border-bottom: 0; }

details { background: #fff; border: 1px solid var(--borda); border-radius: 8px; padding: .9rem 1.2rem; margin-bottom: .6rem; }
summary { cursor: pointer; font-weight: 600; color: var(--azul); }
details[open] summary { margin-bottom: .5rem; }

.video { position: relative; aspect-ratio: 16/9; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-drive { width: 100%; height: 520px; border: 1px solid var(--borda); border-radius: var(--raio); background: #fff; }
.formulario { width: 100%; min-height: 900px; border: 0; }
.mapa { width: 100%; height: 360px; border: 0; border-radius: var(--raio); }
.instagram-posts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.instagram-posts .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.aviso { background: #fff7e6; border: 1px solid #f5d38a; border-radius: 8px; padding: 1rem 1.2rem; color: #6b4e00; }

.aces { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.aces img { width: 260px; }

/* Rodapé */
.rodape { background: #00192d; color: #b8c6d4; padding: 3rem 0 1.5rem; font-size: .95rem; }
.rodape h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.rodape a { color: #fff; }
.rodape__grade { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rodape__grade img { margin-bottom: 1rem; }
.rodape__nota { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }
