/* Tipografia e reset básico */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1d2330;
  background: #ffffff;
}

.container {
  width: 100%;
  max-width: 1120px; /* mais estreito como no print */
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px; /* altura menor como no print */
}
.main-nav { flex: 1; min-width: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; }
.brand img { display: block; height: 28px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; }
.main-nav a { color: #2c3443; text-decoration: none; font-weight: 500; font-size: 12px; white-space: nowrap; line-height: 1; }
.menu-toggle { display: none; background: none; border: 0; font-size: 18px; line-height: 1; padding: 8px 10px; cursor: pointer; font-weight: 700; color: #2c3443; }
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav ul {
    position: fixed; top: 56px; left: 0; right: 0; background: #fff; padding: 14px 18px;
    display: none; flex-direction: column; gap: 14px; box-shadow: 0 12px 24px rgba(0,0,0,.12);
    border-top: 1px solid #e7ecf3; z-index: 90;
  }
  body.nav-open .main-nav ul { display: flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
}
.main-nav .has-caret a::after {
  content: "\25BE"; /* triângulo para baixo */
  margin-left: 6px;
  font-size: 10px;
}

.header-cta { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 12px; white-space: nowrap; line-height: 1; }
.btn-green { background: #12c488; color: #fff; box-shadow: 0 2px 8px rgba(18,196,136,0.22); }
.btn-blue { background:#0ea5e9; color:#fff; }
.btn-secondary { background:#e5e7eb; color:#111827; }
.btn-green:hover { filter: brightness(0.95); }

/* Hero / Conteúdo principal */
.hero { padding: 40px 0 20px; }
.hero-logos { display: flex; justify-content: center; margin-bottom: 6px; }
.hero-logos img { height: 16px; width: auto; display: block; }
.home .hero-logos img { height: 28px; }
.home .brand img { height: 50px; }
.hero h1 {
  text-align: center;
  font-size: 26px;
  line-height: 1.25;
  color: #233b6e; /* azul mais próximo do print */
  margin: 8px 0 10px;
  font-weight: 700;
  letter-spacing: .3px;
}
.subtitle { text-align: center; color: #5b6575; max-width: 980px; margin: 0 auto 34px; font-size: 14px; }

.columns { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 960px) {
  .columns { grid-template-columns: 1fr 1fr; align-items: start; }
}

.section-title { font-size: 16px; letter-spacing: 1px; color: #2b3e52; text-align: center; margin: 0 0 16px; font-weight: 700; }

.card-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.card {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 10px;
  background: #f1f4f8; /* cinza claro do print */
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(18, 29, 52, 0.03);
}
.card a { color: #2b3e52; text-decoration: none; font-weight: 600; }
.card a:hover { text-decoration: underline; }

.icon { width: 22px; height: 22px; border-radius: 50%; background: transparent; display: inline-block; position: relative; border: 2px solid #7d8796; }
.icon::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; background: #7d8796; border-radius: 50%; }
.icon.search::after { content: ""; position: absolute; width: 8px; height: 2px; background: #7d8796; right: -6px; bottom: -2px; transform: rotate(45deg); border-radius: 2px; }
.icon.file::before, .icon.doc::before { width: 10px; height: 10px; border-radius: 2px; background: transparent; border: 2px solid #7d8796; }

/* Flutuantes */
.floating { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; z-index: 80; }
.fab {
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: #14b37d; color: #fff; font-size: 22px; box-shadow: 0 6px 16px rgba(20,179,125,0.35);
}
.chat { display: inline-flex; align-items: center; gap: 10px; background: #21c58b; color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 28px; box-shadow: 0 6px 16px rgba(33,197,139,0.35); }
.chat-icon { font-size: 18px; }
.chat-text { font-weight: 600; }

/* Footer */
.site-footer { background: #f6f8fb; border-top: 1px solid #e7ebf0; margin-top: 40px; }
.site-footer .container { padding-top: 28px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .3px; color: #2b3e52; }
.footer-col p { margin: 0; color: #485363; }
.policy-links { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.policy-links a { color: #2b62bd; text-decoration: none; }
.policy-links a:hover { text-decoration: underline; }

.did-you-know { margin-top: 28px; padding-top: 18px; border-top: 1px solid #e0e6ee; color: #4b5666; }
.did-you-know strong { display: block; margin-bottom: 8px; color: #2b3e52; }

.social { margin-top: 14px; display: flex; gap: 12px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: #e3eaf5; color: #27405a; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }

/* Utilidades */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* FAQ */
.faq-hero { padding: 28px 0 24px; }
.faq-title { text-align: center; color: #233b6e; font-size: 22px; margin: 8px 0 6px; }
.faq-meta { text-align: center; color: #5b6575; margin: 0; font-size: 13px; }
.faq-list { max-width: 1120px; margin: 14px auto 0; display: grid; gap: 10px; }
.faq-item { background: #1a8d6f; border-radius: 10px; }
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  color: #fff;
  font-weight: 600;
  position: relative;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item[open] > summary { border-bottom: 1px solid rgba(255,255,255,0.18); }
.faq-item > summary::after {
  content: "\25BC";
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(0deg);
  font-size: 10px; opacity: .9;
}
.faq-item[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 14px 18px 16px; color: #eafbf6; background: #166f59; border-radius: 0 0 10px 10px; }

/* Contato */
.contact-section { padding: 28px 0 24px; }
.contact-title { text-align: center; color: #233b6e; font-size: 22px; margin: 6px 0 2px; }
.form-card { background: #fff; border: 1px solid #e7ecf3; border-radius: 12px; padding: 18px; max-width: 780px; margin: 0 auto; box-shadow: 0 2px 6px rgba(18,29,52,.04); }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; color: #2b3e52; font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 12px; border: 1px solid #dfe3ea; border-radius: 6px; font-family: inherit; font-size: 14px; background: #fff; color: #1d2330; box-shadow: inset 0 1px 2px rgba(16,24,40,.02); }
.field textarea { resize: vertical; }
.actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.alert-success { background: #10b981; color: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-weight: 600; text-align: center; }

/* Quem Somos */
.page-section { padding: 28px 0 8px; }
.page-title {
  text-align: center; color: #233b6e; font-size: 22px; margin: 10px 0 14px; font-weight: 700; letter-spacing: .5px;
}
.sub-title { color: #233b6e; font-size: 16px; margin: 18px 0 8px; }
.lead { color: #2b3e52; }
.dot-list { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 16px; color: #2b3e52; }
.dot-list li::before { content: "•"; position: absolute; left: 0; top: 0; color: #2b3e52; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #213a6d; text-decoration: none; font-weight: 600; }
.back-link::before { content: "\2190"; width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; background: #e7ecf3; color: #213a6d; font-size: 12px; }

/* Wizard (inscrição) */
.wizard-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: center; }
.wizard-steps { --step-size: 22px; }
.wizard-steps li { text-align: center; font-size: 12px; color: #8a96a8; position: relative; padding-top: calc(var(--step-size) + 8px); }
.wizard-steps li::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translate(-50%, 0); width: var(--step-size); height: var(--step-size);
  border-radius: 50%; border: 2px solid #cfd8e3; background: #fff; box-sizing: border-box;
}
.wizard-steps li.active { color: #2b3e52; font-weight: 700; }
.wizard-steps li.active::before { border-color: #1aa06f; background: #1aa06f; }
@media (max-width: 720px) {
  .wizard-steps { grid-template-columns: repeat(6, 1fr); --step-size: 18px; }
  .wizard-steps li { padding-top: calc(var(--step-size) + 8px); font-size: 11px; }
}

.form-card { background: #fff; border: 1px solid #e7ecf3; border-radius: 12px; padding: 18px; box-shadow: 0 2px 6px rgba(18,29,52,.04); }
.grid-3 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }

/* Footer melhorias mobile */
@media (max-width: 640px) {
  .site-footer .container { padding-top: 14px; padding-bottom: 14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; align-items: start; }
  .footer-col h3 { font-size: 11px; margin-bottom: 4px; }
  .footer-col p { font-size: 11px; line-height: 1.3; margin: 0; }
  .footer-col br { display: none; }
  .policy-links a { font-size: 11px; }
}

/* Cabeçalho do formulário AOCP */
.aocp-ribbon { background:#f5f7fb; border:1px solid #e6ecf2; border-radius:10px; padding:16px 18px; }
.aocp-title { margin:0 0 8px; font-size:18px; color:#2b3e52; }
.aocp-sub { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.aocp-logos { height:22px; width:auto; display:block; }
.aocp-edital { font-weight:700; color:#2b3e52; margin-right:8px; }
.aocp-desc { color:#647084; font-size:13px; flex:1 1 100%; }

.error-text { color: #dc2626; font-size: 12px; margin: 4px 0; display: block; }

/* Confirmação */
.confirm-section { margin: 14px 0; border: 1px solid #e6ecf2; border-radius: 6px; }
.confirm-title { margin: 0; padding: 8px 10px; background: #f5f7fb; border-bottom: 1px solid #e6ecf2; font-size: 13px; color: #2b3e52; }
.confirm-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 10px; }
.confirm-grid > div { font-size: 14px; color: #1d2330; }
.confirm-grid strong { display: block; color: #475569; font-size: 12px; margin-bottom: 2px; }
.confirm-consent { margin-top: 12px; display: grid; gap: 10px; }
.consent-item { display: flex; gap: 8px; align-items: flex-start; color: #1d2330; }

/* Modal Sucesso */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: grid; place-items: center; z-index: 999; }
.modal-card { background: #fff; padding: 22px 24px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.2); text-align: center; width: min(92vw, 520px); max-height: calc(100vh - 100px); overflow: auto; -webkit-overflow-scrolling: touch; }
.modal-card h3 { margin: 0 0 8px; font-size: 18px; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #e5e7eb; border-top-color: #0ea5e9; margin: 8px auto 0; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Accordion (comprovante) */
.accordion { border: 1px solid #e6ecf2; border-radius: 6px; }
.accordion-item + .accordion-item { border-top: 1px solid #e6ecf2; }
.accordion-header { background: #f5f7fb; padding: 12px 14px; display: flex; justify-content: space-between; cursor: pointer; user-select: none; }
.accordion-body { display: none; padding: 12px 14px; }
.accordion-item.open .accordion-body { display: block; }
.accordion-item.open .accordion-header { background: #e9f1ff; }

/* PIX modal */
.pix-code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background: #f3f4f6; border: 1px dashed #9ca3af; padding: 10px; border-radius: 6px; word-break: break-all; }
.btn-small { padding: 6px 10px; border-radius: 8px; background: #0ea5e9; color: #fff; border: none; cursor: pointer; }
.btn-small:hover { filter: brightness(0.95); }

/* Pagamento - bloco destacado */
.payment-box {
  border: 2px solid #22c55e;
  border-radius: 14px;
  background: linear-gradient(0deg, #f6fffa, #f6fffa);
  box-shadow: 0 8px 24px rgba(34, 197, 94, .12);
  padding: 14px;
}
.payment-header {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 12px; border-bottom: 1px dashed #b6e7c9;
}
.badge-pix {
  display: inline-flex; align-items: center; justify-content: center;
  background: #16a34a; color: #fff; border-radius: 999px;
  padding: 6px 12px; font-weight: 700; letter-spacing: .4px; font-size: 12px;
}
.payment-header .title { font-weight: 800; color: #166534; font-size: 16px; line-height: 1.1; }
.payment-header .subtitle { color: #166534; opacity: .8; font-size: 12px; }
.amount-due {
  margin: 12px 0; display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: #065f46; font-size: 18px;
}
.amount-due .chip {
  background: #dcfce7; color: #065f46; border: 1px solid #86efac;
  border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 12px;
}
.payment-benefits { display: grid; gap: 6px; margin: 6px 0 10px; color: #14532d; font-size: 13px; }
.payment-benefits .row { display: flex; align-items: center; gap: 8px; }
.payment-benefits .icon { width: 18px; height: 18px; border-radius: 50%; background: #22c55e; color: #fff; display: inline-grid; place-items: center; font-size: 12px; }
.payment-actions { display: flex; justify-content: flex-end; }
.btn-large { padding: 12px 18px; font-weight: 800; border-radius: 12px; border: 0; cursor: pointer; }
.btn-large.btn-green { background: #16a34a; color: #fff; box-shadow: 0 6px 16px rgba(34,197,94,.35); }
.btn-large.btn-green:hover { filter: brightness(.98); }
.help-text { color: #065f46; font-size: 12px; opacity: .9; }
@media (max-width: 640px) {
  .payment-header .title { font-size: 15px; }
  .payment-header .subtitle { font-size: 11px; }
  .amount-due { font-size: 16px; }
}


