:root {
  /* ALTERE AS CORES PRINCIPAIS AQUI */
  --blue: #1559d6;
  --blue-dark: #0d3b91;
  --sky: #26a8ef;
  --yellow: #f8b900;
  --red: #ee3d3a;
  --green: #149d53;
  --ink: #102033;
  --muted: #627084;
  --line: #dfe6ef;
  --soft: #f4f7fb;
  --white: #fff;
  --shadow: 0 22px 60px rgba(16, 32, 51, .11);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7f9fc; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 420px; z-index: -1; background: radial-gradient(circle at 8% 0, rgba(248,185,0,.17), transparent 28%), radial-gradient(circle at 90% 0, rgba(38,168,239,.2), transparent 30%), linear-gradient(180deg,#fff,#f7f9fc); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,32,51,.08); position: sticky; top: 0; z-index: 20; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 104px; height: 55px; object-fit: contain; }
.brand strong, .brand span { display: block; }
.brand strong { color: var(--blue); }
.brand span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { max-width: 850px; margin: 18px auto 16px; font-size: clamp(2.25rem, 6vw, 4.8rem); letter-spacing: -.055em; line-height: .98; }
.hero p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: rgba(21,89,214,.1); color: var(--blue); font-weight: 900; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.warm-note { width: min(820px, calc(100% - 32px)); margin: 26px auto 0; padding: 18px 22px; border: 1px solid rgba(248,185,0,.35); border-radius: 18px; background: #fffaf0; color: #67500a; }
.form-switch { width:min(820px,calc(100% - 32px)); margin:16px auto 0; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:18px; text-align:left; border-radius:18px; color:#593d05; background:linear-gradient(120deg,#fff4cf,#fffaf0); border:1px solid #f0cf67; }
.form-switch strong,.form-switch span { display:block; }
.form-switch span { color:#7a6530; font-size:.9rem; }
.button.volunteer { color:#3d2a00; background:var(--yellow); box-shadow:0 10px 24px rgba(248,185,0,.22); white-space:nowrap; }
.volunteer-hero .eyebrow { color:#745400; background:rgba(248,185,0,.2); }
.progress-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 28px auto 0; max-width: 760px; }
.progress-strip span { height: 7px; border-radius: 99px; }
.progress-strip span:nth-child(1){background:var(--blue)} .progress-strip span:nth-child(2){background:var(--sky)} .progress-strip span:nth-child(3){background:var(--yellow)} .progress-strip span:nth-child(4){background:var(--red)} .progress-strip span:nth-child(5){background:var(--green)}
.application { padding: 10px 0 80px; }
.form-card { background: var(--white); border: 1px solid rgba(16,32,51,.08); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.form-section { padding: 38px 42px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.section-head { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; margin-bottom: 26px; }
.section-number { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 17px; font-size: 1.15rem; font-weight: 950; box-shadow: 0 10px 25px rgba(21,89,214,.25); }
.form-section:nth-of-type(2) .section-number{background:var(--sky)} .form-section:nth-of-type(3) .section-number{background:var(--green)} .form-section:nth-of-type(4) .section-number{background:var(--red)} .form-section:nth-of-type(5) .section-number{background:#7952b3}
.section-head h2 { margin: 0 0 4px; font-size: 1.35rem; }
.section-head p { margin: 0; color: var(--muted); }
.form-grid { display: grid; gap: 20px; }
.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
label { display: block; font-weight: 800; color: #26354a; }
label > span { display: block; margin-bottom: 7px; }
label small { display: block; margin: -4px 0 8px; color: var(--muted); font-weight: 500; }
input, textarea, select { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #ccd6e3; border-radius: 13px; outline: 0; transition: .2s; }
textarea { min-height: 136px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,89,214,.11); }
input[type=file] { padding: 11px; background: var(--soft); }
.required::after { content: " *"; color: var(--red); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--blue); }
.choice span { margin: 0; }
.conditional { display: none; margin-top: 15px; }
.conditional.visible { display: block; }
.photo-upload { display: grid; grid-template-columns: 145px 1fr; gap: 22px; align-items: center; margin-bottom: 22px; padding: 18px; background: var(--soft); border-radius: 20px; }
.photo-preview { width: 130px; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(16,32,51,.14); background: #e5eaf1; }
.photo-help p { color: var(--muted); font-weight: 500; }
.contact-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fbfcfe; }
.contact-card h3 { margin: 0 0 16px; font-size: 1rem; color: var(--blue); }
.contact-list { display: grid; gap: 14px; }
.form-actions { padding: 30px 42px 38px; background: linear-gradient(120deg,#f4f8ff,#fff9eb); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 20px; font-weight: 600; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 11px 18px; border: 0; border-radius: 13px; cursor: pointer; font-weight: 900; transition: .2s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color:#fff; background:var(--blue); box-shadow:0 10px 24px rgba(21,89,214,.22); }
.button.secondary { color:var(--blue); background:#eaf1ff; }
.button.danger { color:#a11515; background:#ffeded; }
.button.full { width: 100%; }
.button.large { min-height: 54px; padding: 15px 24px; }
.alert { padding: 14px 16px; margin: 0 0 20px; border-radius: 14px; border: 1px solid; }
.alert.danger { color:#8d1818; background:#fff0f0; border-color:#f3baba; }
.alert.success { color:#12643a; background:#edfff5; border-color:#aee2c7; }
.alert.warning { color:#765507; background:#fff9e8; border-color:#ead391; }
.footer { padding: 30px 0; color: var(--muted); text-align: center; }
.install-body, .login-body { min-height: 100vh; display:grid; place-items:center; padding:30px 16px; }
.install-shell { width:min(760px,100%); }
.install-card, .login-card { padding: 38px; background:#fff; border-radius:28px; box-shadow:var(--shadow); border:1px solid var(--line); }
.install-logo, .login-logo { width:150px; height:75px; object-fit:contain; margin:0 auto 18px; }
.install-card h1, .login-card h1 { margin:15px 0 8px; font-size:clamp(1.9rem,5vw,2.8rem); line-height:1; letter-spacing:-.04em; }
.lead { color:var(--muted); }
.stack-form { display:grid; gap:18px; margin-top:24px; }
hr { border:0; border-top:1px solid var(--line); width:100%; }
.security-note { padding:18px; margin-bottom:18px; border-radius:16px; background:var(--soft); }
.security-note h2 { margin:0 0 5px; font-size:1.05rem; }
code { padding:2px 6px; border-radius:6px; background:#e9edf3; }
.admin-shell { min-height:100vh; }
.admin-bar { background:#0e1f36; color:#fff; }
.admin-bar .container { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.admin-brand { display:flex; align-items:center; gap:12px; font-weight:900; }
.admin-brand img { width:82px; height:48px; object-fit:contain; background:#fff; border-radius:9px; padding:3px; }
.admin-main { padding:36px 0 70px; }
.page-title { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.page-title h1 { margin:0; font-size:clamp(1.8rem,4vw,2.7rem); letter-spacing:-.04em; }
.page-title p { margin:5px 0 0; color:var(--muted); }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-bottom:22px; }
.admin-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.admin-tabs a { display:inline-flex; align-items:center; gap:9px; padding:12px 16px; color:var(--muted); background:#fff; border:1px solid var(--line); border-radius:13px; font-weight:900; }
.admin-tabs a.active { color:#fff; background:var(--blue); border-color:var(--blue); }
.admin-tabs span { min-width:26px; padding:2px 7px; text-align:center; color:inherit; background:rgba(127,127,127,.16); border-radius:99px; }
.stat { padding:20px; border-radius:18px; background:#fff; border:1px solid var(--line); }
.stat strong { display:block; font-size:2rem; color:var(--blue); }
.search-bar { display:flex; gap:10px; padding:14px; margin-bottom:18px; background:#fff; border:1px solid var(--line); border-radius:16px; }
.table-card { overflow:auto; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 12px 34px rgba(16,32,51,.07); }
table { width:100%; border-collapse:collapse; }
th, td { padding:15px 17px; text-align:left; border-bottom:1px solid var(--line); vertical-align:middle; }
th { color:var(--muted); background:#f8fafc; font-size:.8rem; text-transform:uppercase; letter-spacing:.07em; }
tr:last-child td { border-bottom:0; }
.badge { display:inline-flex; padding:5px 9px; border-radius:99px; color:#12643a; background:#e9fff3; font-size:.78rem; font-weight:900; }
.pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:22px; }
.pagination a, .pagination span { min-width:40px; padding:9px; text-align:center; border-radius:10px; background:#fff; border:1px solid var(--line); font-weight:800; }
.pagination .active { color:#fff; background:var(--blue); border-color:var(--blue); }
.profile-head { display:grid; grid-template-columns:150px 1fr auto; gap:24px; align-items:center; padding:26px; margin-bottom:20px; background:#fff; border:1px solid var(--line); border-radius:24px; }
.profile-photo { width:145px; aspect-ratio:3/4; object-fit:cover; border-radius:18px; border:5px solid #fff; box-shadow:0 10px 28px rgba(16,32,51,.16); }
.profile-head h1 { margin:0 0 5px; line-height:1.05; }
.profile-head p { margin:3px 0; color:var(--muted); }
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.detail-card { padding:24px; background:#fff; border:1px solid var(--line); border-radius:20px; overflow-wrap:anywhere; }
.detail-card.wide { grid-column:1/-1; }
.detail-card h2 { margin:0 0 16px; color:var(--blue); font-size:1.08rem; }
.detail-card dl { display:grid; gap:12px; margin:0; }
.detail-card dt { color:var(--muted); font-size:.78rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.detail-card dd { margin:2px 0 0; white-space:pre-wrap; }
.answer { margin-bottom:20px; }
.answer:last-child { margin-bottom:0; }
.answer h3 { margin:0 0 6px; font-size:.92rem; }
.answer p { margin:0; white-space:pre-wrap; }
.print-sheet { width:min(900px,calc(100% - 32px)); margin:25px auto; padding:38px; background:#fff; box-shadow:var(--shadow); }
.print-tools { width:min(900px,calc(100% - 32px)); display:flex; justify-content:space-between; gap:10px; margin:22px auto 0; }
.print-header { display:grid; grid-template-columns:150px 1fr; gap:24px; align-items:center; padding-bottom:20px; border-bottom:4px solid var(--blue); }
.print-header img { width:145px; height:80px; object-fit:contain; }
.print-header h1 { margin:0; font-size:1.8rem; }
.print-summary { display:grid; grid-template-columns:130px 1fr; gap:22px; margin:25px 0; }
.print-photo { width:125px; aspect-ratio:3/4; object-fit:cover; border:1px solid #aaa; }
.print-section { margin-top:20px; break-inside:avoid; }
.print-section h2 { margin:0 0 10px; padding:7px 10px; color:#fff; background:var(--blue); font-size:1rem; }
.print-pair { margin-bottom:8px; }
.print-pair strong { color:#25364d; }
.protocol { display:inline-block; padding:7px 11px; color:var(--blue-dark); background:#eaf1ff; border-radius:8px; font-weight:950; letter-spacing:.06em; }
.empty { padding:40px; text-align:center; color:var(--muted); }
.grid { display:grid; gap:18px; margin-bottom:18px; }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.section-heading { margin-bottom:22px; }
.section-heading > span { color:var(--blue); font-size:.78rem; font-weight:950; letter-spacing:.09em; text-transform:uppercase; }
.section-heading h2 { margin:4px 0; }
.section-heading p { margin:0; color:var(--muted); }
.admin-main .form-card { padding:28px; margin-bottom:22px; border-radius:22px; }
.actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.actions form { margin:0; }
.hp { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; opacity:0!important; }
@media (max-width: 760px) {
  .nav { min-height:68px; } .brand img{width:86px}.brand span{display:none}.hero{padding-top:48px}.hero h1{font-size:2.65rem}
  .form-section{padding:28px 20px}.form-actions{padding:25px 20px}.form-grid.two,.form-grid.three,.detail-grid,.stats,.grid.two{grid-template-columns:1fr}
  .photo-upload{grid-template-columns:1fr;text-align:center}.photo-preview{margin:auto}.section-head{grid-template-columns:44px 1fr}.section-number{width:44px;height:44px}
  .install-card,.login-card{padding:26px 20px}.admin-bar .container{min-height:64px}.admin-brand span{font-size:.85rem}.page-title{align-items:start;flex-direction:column}
  .profile-head{grid-template-columns:1fr;text-align:center}.profile-photo{margin:auto}.profile-head .button{width:100%}.detail-card.wide{grid-column:auto}
  .print-sheet{padding:22px}.print-header{grid-template-columns:1fr;text-align:center}.print-header img{margin:auto}.print-summary{grid-template-columns:1fr}.print-photo{margin:auto}
  .nav-actions .button.secondary{display:none}.search-bar{flex-direction:column}.form-switch{align-items:stretch;flex-direction:column;text-align:center}.form-switch .button{width:100%}
}
@media print {
  @page { size:A4; margin:12mm; }
  body { background:#fff; font-size:10.5pt; }
  body::before,.print-tools,.topbar,.footer,.no-print { display:none!important; }
  .print-sheet { width:100%; margin:0; padding:0; box-shadow:none; }
  .print-header h1{font-size:18pt}.print-section{break-inside:auto}.print-section h2{print-color-adjust:exact;-webkit-print-color-adjust:exact}.protocol{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
