/* Instituto Alutha · estilos compartilhados das páginas de formulário (voluntariado e PES) */
:root {
  --bg: #FFFDF8; --surface: #FFFFFF; --sunwash: #FFF4D6; --ink: #1F2A27; --muted: #56645F; --line: #E9E2D3;
  --gold: #E9A92B; --sun: #F6BE3E; --leaf: #1E7A5A; --leaf-ink: #FFFFFF; --coral: #EE5F3F; --sky: #3F97D9;
  --logo-grey: #555B5A; --on-sun: #1F2A27; --field: #FFFBF1;
  --shadow: 0 14px 34px -16px rgba(40, 60, 50, .4);
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --radius: 22px;
  color-scheme: light; /* identidade 2026: tema claro único, o logo oficial tem letras escuras */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: max(16px, 4vw); }
.hide { display: none !important; }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.hand { font-family: var(--hand); font-weight: 700; color: var(--coral); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 1rem/1 var(--body); padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-sun { background: var(--sun); color: var(--on-sun); box-shadow: 0 6px 0 -1px #C98A12; }
.btn-leaf { background: var(--leaf); color: var(--leaf-ink); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }

/* campos */
label.f { font-size: .9rem; font-weight: 700; display: block; }
label.f small { font-weight: 600; color: var(--muted); }
label.f input, label.f select, label.f textarea { display: block; margin-top: 6px; }
.req { color: var(--coral); }
input[type=text], input[type=tel], input[type=email], input[type=password], select, textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--field); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; background: var(--surface); }
textarea { min-height: 110px; resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--field); font-size: .95rem; font-weight: 600; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--leaf); background: color-mix(in srgb, var(--leaf) 12%, var(--surface)); }
.opt input { accent-color: var(--leaf); }
.erro { color: var(--coral); font-size: .9rem; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Moldura do site: barra cinza, cabeçalho com menu de celular e rodapé (iguais em todas as páginas) ============ */
/* azul-escuro = tons mais escuros do Azul céu oficial (#3F97D9, mesmo matiz 206°): o branco sobre o azul céu puro não tem contraste para leitura */
:root { --navy: #103551; --navy-2: #174B73; --navy-3: #1E6599; --on-navy: #F4F8FC; }

/* barra cinza (PES 2025, voluntariado, área do(a) educador(a)) */
.barra { background: #ECE8E0; color: #3D4A46; font-size: .82rem; font-weight: 700; border-bottom: 1px solid #DED8CC; }
.barra .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 18px; padding-block: 7px; }
.barra .b-l, .barra .b-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.barra a { color: inherit; text-decoration: none; }
.barra a:hover, .barra a[aria-current] { color: #1E7A5A; text-decoration: underline; text-underline-offset: 3px; }
.barra .b-pes b { display: inline-block; padding: 2px 8px; margin-right: 6px; border-radius: 6px; background: var(--navy); color: #fff; font-size: .74rem; letter-spacing: .04em; }
.barra .b-pes span { color: #6B7570; font-weight: 600; }
.barra .b-lock { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #1F2A27; color: #FFFDF8; }
.barra .b-lock:hover, .barra .b-lock[aria-current] { color: #F6BE3E; text-decoration: none; }
@media (max-width: 760px) { .barra { display: none; } } /* no celular esses links vão para o menu */

/* cabeçalho */
.brand img { height: 58px; width: auto; }
header.cab { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cab > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.cab-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .96rem; }
.cab-nav a { text-decoration: none; color: var(--muted); }
.cab-nav a:hover, .cab-nav a[aria-current] { color: var(--ink); }
.cab-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cab-nav .so-cel, .cab-nav .cel-extra, .cab-nav .cel-doe { display: none; }
.cab-acoes { display: flex; align-items: center; gap: 10px; }
.cab-acoes .btn { padding: 11px 20px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6.5px; } .menu-btn span::after { top: 6.5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .cab-acoes .cab-doe { display: none; }
  .cab-nav { display: none; position: fixed; inset: var(--cab-h, 74px) 0 auto 0; max-height: calc(100dvh - var(--cab-h, 74px)); overflow-y: auto;
             flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, 4vw) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
             box-shadow: 0 24px 40px -20px rgba(14, 53, 87, .35); font-size: 1.08rem; }
  .cab.aberto .cab-nav { display: flex; }
  .cab-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .cab-nav a[aria-current] { text-decoration: none; color: var(--leaf); }
  .cab-nav .so-cel { display: block; }
  .cab-nav .cel-extra { display: grid; margin-top: 10px; }
  .cab-nav .cel-extra a { font-size: .96rem; color: var(--muted); padding: 11px 4px; }
  .cab-nav .cel-extra small { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 4px 2px; }
  .cab-nav .cel-doe { display: flex; margin-top: 18px; border-bottom: 0; color: var(--on-sun); justify-content: center; padding: 16px; }
  body.menu-aberto { overflow: hidden; }
}
@media (max-width: 420px) { .brand img { height: 48px; } }

/* rodapé */
footer.rodape { background: var(--bg); color: var(--ink); padding: 0 0 28px; border-top: 1px solid var(--line); }
.rodape a { color: inherit; }
.rodape .parceiros { padding-block: 34px; background: var(--sky); color: #fff; } /* Azul céu da paleta oficial */
.rodape .parceiros .wrap { display: grid; gap: 18px; }
.rodape .parceiros .eyebrow { color: #fff; text-align: center; }
.rodape .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px clamp(22px, 3vw, 40px); }
.rodape .logos img { height: 44px; width: auto; max-width: 150px; object-fit: contain; opacity: .82; transition: opacity .2s ease; }
.rodape .logos img.alto { height: 52px; }
.rodape .logos img:hover { opacity: 1; }
.rodape .logos .txt { font: 800 .95rem/1.1 var(--display); letter-spacing: .02em; opacity: .82; text-align: center; }
.rodape .logos .txt small { display: block; font: 600 .7rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.rodape .corpo { padding-top: clamp(44px, 6vw, 64px); }
.rodape .lw { height: 70px; width: auto; margin-bottom: 18px; }
.rodape .grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr 1fr; gap: 36px; }
.rodape .grid > * { min-width: 0; }
.rodape h2 { font-size: 1.6rem; margin-bottom: 12px; color: var(--ink); }
.rodape h3 { font: 800 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; color: var(--leaf); }
.rodape p, .rodape li { color: var(--muted); }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape .nav-rod a, .rodape .contact a { color: var(--ink); } .rodape .nav-rod a { text-decoration: none; font-weight: 700; }
.rodape .nav-rod a:hover { text-decoration: underline; }
.rodape .contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.rodape .contact a:hover span { text-decoration: underline; }
.rodape .contact svg { width: 22px; height: 22px; flex: none; }
.rodape .social { display: flex; flex-wrap: wrap; gap: 12px; }
.rodape .social a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; text-decoration: none; background: var(--sunwash); color: var(--ink); border: 1.5px solid var(--line); transition: transform .15s ease; }
.rodape .social a:hover { transform: translateY(-2px); background: var(--sun); color: var(--ink); }
.rodape .social svg { width: 24px; height: 24px; }
.rodape .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; font-size: .88rem; color: var(--muted); }
@media (max-width: 960px) { .rodape .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rodape .grid { grid-template-columns: 1fr; } .rodape .logos { gap: 20px 28px; } .rodape .logos img { height: 36px; } .rodape .logos img.alto { height: 44px; } }

@media print { .barra, header.cab, footer.rodape { display: none !important; } }
.rodape .logos img.gsp { height: 86px; max-width: 110px; margin-block: -10px; }
@media (max-width: 600px) { .rodape .logos img.gsp { height: 70px; } }

/* botão de WhatsApp ("clique aqui"), no lugar do número */
.wa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #1E7A5A; color: #fff !important; font-weight: 800; font-size: .95rem; text-decoration: none; line-height: 1.1; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.wa-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.wa-btn svg { width: 20px; height: 20px; flex: none; }
.rodape .logos img.itx { height: 58px; max-width: 190px; }
@media (max-width: 600px) { .rodape .logos img.itx { height: 48px; } }
