/* VamosAmerica — cores oficiais da bandeira dos EUA (Old Glory Blue / Old Glory Red) */
:root {
  --azul: #0046E0; --azul-2: #0035B0; --azul-claro: #e6eeff;
  --verm: #F01414; --verm-2: #C00000; --verm-claro: #ffe9e7;
  --branco: #fff; --bg: #fff; --txt: #14213d; --cinza: #5a6478; --borda: #dbe1ec;
  --verde: #1b7f4b; --amarelo: #fff6d6;
  --raio: 14px; --sombra: 0 2px 12px rgba(0,70,224,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--txt); line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.25; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }
.estreito { max-width: 760px; }
[hidden] { display: none !important; }

.listras { height: 6px; background: repeating-linear-gradient(90deg, var(--verm) 0 28px, var(--branco) 28px 56px); }

.topo { background: var(--azul); color: #fff; position: sticky; top: 0; z-index: 20; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.logo b { color: var(--verm); font-weight: 800; }
.menu { display: flex; align-items: center; gap: .3rem; }
.menu a { color: #fff; text-decoration: none; padding: .5rem .75rem; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.menu a:hover, .menu a[aria-current] { background: rgba(255,255,255,.12); }
.menu .btn { margin-left: .4rem; }
#abre-menu { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: .3rem .5rem; }
@media (max-width: 820px) {
  #abre-menu { display: block; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--azul); flex-direction: column; align-items: stretch; padding: .5rem 1rem 1rem; }
  .menu.aberto { display: flex; }
  .menu .btn { margin: .4rem 0 0; text-align: center; }
}

.btn { display: inline-block; border: 0; border-radius: 10px; padding: .85rem 1.35rem; font-size: 1.02rem; font-weight: 700; cursor: pointer; background: var(--verm); color: #fff; text-decoration: none; text-align: center; transition: background .15s; font-family: inherit; }
.btn:hover { background: var(--verm-2); }
.btn.azul { background: var(--azul); } .btn.azul:hover { background: var(--azul-2); }
.btn.claro { background: var(--branco); color: var(--azul); border: 2px solid var(--borda); }
.btn.claro:hover { border-color: var(--azul); }
.btn.peq { padding: .5rem .85rem; font-size: .9rem; }
.btn.bloco { display: block; width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

.card { background: #fff; border-radius: var(--raio); padding: 1.5rem; box-shadow: var(--sombra); border: 1px solid var(--borda); margin-bottom: 1.25rem; }
.secao { padding: 3.5rem 0; }
.secao.branca { background: #fff; }
.secao.azul { background: var(--azul); color: #fff; }
.secao.azul a { color: #fff; }
.secao h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
.centro { text-align: center; }
.grade { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.muted { color: var(--cinza); font-size: .92rem; }
.aviso { background: var(--amarelo); border: 1px solid #f1d98a; border-radius: var(--raio); padding: 1rem 1.2rem; margin-bottom: 1.25rem; }
.erro { background: var(--verm-claro); color: var(--verm-2); padding: .8rem 1rem; border-radius: 10px; }
.ok { background: #e6f5ec; color: #145c37; padding: .8rem 1rem; border-radius: 10px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 800; padding: .15rem .6rem; border-radius: 99px; color: #fff; background: var(--azul); letter-spacing: .02em; }
.tag.H-2A, .tag.verde { background: var(--verde); } .tag.H-2B, .tag.verm { background: var(--verm); }
.sal { color: var(--verde); font-weight: 800; }

.hero { background: linear-gradient(160deg, var(--azul) 0%, var(--azul-2) 100%); color: #fff; padding: 4rem 0 4.5rem; position: relative; overflow: hidden; }
.hero::after { content: "★ ★ ★ ★ ★"; position: absolute; right: -1rem; top: 1rem; font-size: 5rem; letter-spacing: .5rem; color: rgba(255,255,255,.05); white-space: nowrap; pointer-events: none; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .8rem; letter-spacing: -.02em; }
.hero p.sub { font-size: 1.2rem; opacity: .92; margin: 0 0 1.4rem; max-width: 640px; }
.contador { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); padding: .5rem 1rem; border-radius: 99px; font-weight: 700; margin-bottom: 1.6rem; }
.contador::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); }
.acoes { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.hero .btn.claro { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cabeca { background: var(--azul); color: #fff; padding: 2.5rem 0 2.8rem; }
.cabeca h1 { margin: 0 0 .4rem; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cabeca p { margin: 0; opacity: .9; max-width: 680px; }
.cabeca a { color: #fff; }

.passo { text-align: center; padding: 1.5rem 1rem; }
.passo .n { width: 52px; height: 52px; border-radius: 50%; background: var(--verm); color: #fff; font-weight: 800; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .6rem; }

.vaga h3 { margin: .35rem 0 .15rem; font-size: 1.12rem; }
.linha { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--cinza); font-size: .92rem; margin-top: .45rem; }
.borrado { filter: blur(5px); user-select: none; }
.vaga details summary { cursor: pointer; color: var(--azul); font-weight: 700; margin-top: .6rem; }
.vaga .acoes { margin-top: .8rem; }
.fav { background: none; border: 0; font-size: 1.5rem; cursor: pointer; float: right; color: var(--cinza); line-height: 1; }
.fav[aria-pressed="true"] { color: #f2b705; }
.filtros { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: .6rem; }
.filtros input, .filtros select { margin-top: 0; }
@media (max-width: 760px) { .filtros { grid-template-columns: 1fr 1fr; } .filtros input[type=search] { grid-column: 1 / -1; } }
.checks { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-top: .7rem; }
.checks label { margin: 0; font-weight: 500; }

.area { display: flex; align-items: center; gap: .8rem; background: #fff; border: 2px solid var(--borda); border-radius: var(--raio); padding: 1rem 1.2rem; text-decoration: none; color: var(--txt); font-weight: 700; }
.area:hover { border-color: var(--azul); }
.area .emo { font-size: 1.8rem; }
.area small { display: block; color: var(--cinza); font-weight: 500; }

.preco-card { max-width: 460px; margin: 0 auto; text-align: center; border-top: 6px solid var(--verm); }
.preco { font-size: 3rem; font-weight: 800; color: var(--azul); margin: .3rem 0; }
.preco span { font-size: 1.1rem; color: var(--cinza); font-weight: 500; }
.lista-check { list-style: none; padding: 0; text-align: left; }
.lista-check li { padding: .35rem 0 .35rem 1.8rem; position: relative; }
.lista-check li::before { content: "★"; position: absolute; left: 0; color: var(--verm); }

label { display: block; margin: .9rem 0; font-weight: 600; }
input[type=email], input[type=password], input[type=text], input[type=search], select, textarea {
  display: block; width: 100%; padding: .75rem .85rem; margin-top: .3rem; border: 2px solid var(--borda); border-radius: 10px; font-size: 1rem; background: #fff; font-family: inherit; }
.form-peq { max-width: 460px; margin: 0 auto; }

details.faq { background: #fff; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .6rem; box-shadow: var(--sombra); }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq[open] summary { color: var(--verm); }

.opt { display: block; width: 100%; text-align: left; margin: .55rem 0; padding: 1rem 1.1rem; border: 2px solid var(--borda); border-radius: 12px; background: #fff; font-size: 1.02rem; cursor: pointer; font-family: inherit; color: var(--txt); }
.opt:hover { border-color: var(--azul); background: var(--azul-claro); }
.barra { height: 8px; background: var(--azul-claro); border-radius: 99px; overflow: hidden; margin-bottom: 1rem; }
.barra div { height: 100%; background: var(--verm); transition: width .3s; }
.res { border-left: 6px solid var(--azul); }
.res.alta { border-color: var(--verde); } .res.media { border-color: #e9a23b; } .res.baixa { border-color: #aab3c2; }
.res.destaque { border-color: var(--verm); background: var(--verm-claro); }

.texto h2 { margin-top: 2rem; color: var(--azul); }
.texto h3 { margin-top: 1.4rem; }
.texto li { margin: .3rem 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: #fff; }
th, td { padding: .6rem .7rem; border-bottom: 1px solid var(--borda); text-align: left; }
th { background: var(--azul-claro); }

.cookies { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px; margin: 0 auto; background: var(--txt); color: #fff; padding: 1rem 1.2rem; border-radius: 12px; z-index: 50; display: flex; gap: 1rem; align-items: center; font-size: .9rem; }
.cookies a { color: #fff; }

.rodape { background: var(--azul); color: #cfd8e8; padding: 2.5rem 0 2rem; margin-top: 3rem; font-size: .92rem; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape .cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rodape ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.rodape li { margin: .3rem 0; }
.rodape .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; padding-top: 1rem; font-size: .82rem; }

/* hero com porta-retrato */
.hero-grade { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.porta-retrato { margin: 0; background: #fff; padding: 14px 14px 10px; border-radius: 6px; transform: rotate(2.5deg);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 0 0 6px #f1e7d3; border: 10px solid #8a5a2b; position: relative; z-index: 1; }
.porta-retrato img { display: block; width: 100%; height: auto; border-radius: 2px; }
.porta-retrato figcaption { text-align: center; color: var(--azul); font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 1.15rem; padding-top: .45rem; }
@media (max-width: 820px) { .hero-grade { grid-template-columns: 1fr; } .porta-retrato { max-width: 340px; margin: 1rem auto 0; } }
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #eee; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.slides img.ativa { opacity: 1; }
.rodape .logo { color: #fff; }
/* cabeçalho com foto de fundo e véu azul */
.cabeca.foto { background: linear-gradient(90deg, rgba(0,53,176,.9) 0%, rgba(0,70,224,.6) 50%, rgba(0,70,224,.12) 100%), var(--img) center / cover; padding: 4.5rem 0 4.8rem; }
.cabeca.foto h1 { text-shadow: 0 2px 12px rgba(0,0,0,.25); }
