/* ---------- Tokens ---------- */
:root {
  --navy: #071B33;
  --navy-2: #0D2B4B;
  --gold: #C9A24A;
  --ivory: #F8FAFC;
  --ink: #102033;
  --shadow-premium: 0 24px 70px rgba(7, 27, 51, 0.16);
  color-scheme: light;
}

/* ---------- Reset ---------- */
/* Garante que o atributo [hidden] sempre esconda o elemento, mesmo quando uma
   regra posterior define display (flex/grid/etc). Essencial para o wizard,
   a tela de sucesso, mensagens de erro e loaders controlados via hidden. */
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f8fafc;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #071b33; }

.container-page { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.icon { width: 1rem; height: 1rem; }
.icon-sm { width: 2rem; height: 2rem; }
.icon-md { width: 2.25rem; height: 2.25rem; }
.icon-lg { width: 3rem; height: 3rem; }
.icon-xs { width: 1rem; height: 1rem; }
.text-gold { color: var(--gold); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px #fff;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { filter: brightness(1.15); }
.btn-outline { background: transparent; border-color: #cbd5e1; color: var(--navy); }
.btn-outline:hover { background: rgba(15, 23, 42, 0.04); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(7, 27, 51, 0.92);
  backdrop-filter: blur(8px);
}
.site-header__inner { display: flex; height: 4rem; align-items: center; justify-content: space-between; }
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: 38px; width: auto; display: block; }
.site-header__nav { display: none; align-items: center; gap: 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.site-header__nav a:hover { color: #fff; }

@media (min-width: 768px) {
  .site-header__nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding-top: 8rem;
  color: #fff;
}
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(201,162,74,0.18), transparent 35%);
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  min-height: 500px;
  align-items: center;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; min-height: 680px; }
}
.eyebrow-badge {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(201,162,74,0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--gold);
}
.hero__title { max-width: 40rem; font-size: 2.25rem; font-weight: 800; line-height: 1.15; }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
.hero__subtitle { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.8; color: rgba(255,255,255,0.78); }
.hero__ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }
.hero__art { position: relative; }
.hero__card { border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.08); padding: 1.25rem; box-shadow: var(--shadow-premium); backdrop-filter: blur(6px); }
.hero__card-inner { aspect-ratio: 4 / 3; border-radius: 6px; padding: 1.5rem; color: var(--navy); background: linear-gradient(135deg, #ffffff 0%, #d9e5ef 42%, #9db6c8 100%); }
.hero__card-panel { display: flex; height: 100%; flex-direction: column; justify-content: space-between; border-radius: 6px; border: 1px solid rgba(7,27,51,0.1); background: rgba(255,255,255,0.72); padding: 1.5rem; box-shadow: var(--shadow-premium); }
.hero__card-eyebrow { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(7,27,51,0.6); }
.hero__card-title { margin-top: 0.75rem; font-size: 1.5rem; font-weight: 800; }
.hero__card-tags { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; font-size: 0.85rem; font-weight: 600; }
.hero__card-tags span { border-radius: 6px; background: var(--navy); padding: 0.5rem 0.75rem; color: #fff; text-align: center; }

/* ---------- Sections ---------- */
.section { padding-block: 5rem; }
.section-white { background: #fff; }
.section-heading { margin-bottom: 2.5rem; max-width: 44rem; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-size: 0.85rem; }
.section-heading h2, .h2-lg { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 800; color: var(--navy); }
@media (min-width: 768px) { .section-heading h2, .h2-lg { font-size: 2.25rem; } }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2.5rem; }

.card { border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.card p { margin-top: 0.75rem; line-height: 1.7; color: #475569; }
.card-navy { background: var(--navy); color: #fff; border: none; }
.card-navy h3 { margin-top: 1.25rem; font-size: 1.1rem; font-weight: 700; color: #fff; }

.benefit-item { display: flex; align-items: center; gap: 0.75rem; border-radius: 6px; border: 1px solid #e2e8f0; padding: 1rem; }
.benefit-item span { font-weight: 600; color: var(--navy); }

.faq-item { border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; padding: 1.25rem; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq-item p { margin-top: 0.75rem; line-height: 1.7; color: #475569; }

.cta-final { background: var(--navy); padding-block: 5rem; color: #fff; }
.cta-final__inner { text-align: center; }
.cta-final__inner h2 { font-size: 1.875rem; font-weight: 800; }
@media (min-width: 768px) { .cta-final__inner h2 { font-size: 3rem; } }
.cta-final__inner p { margin: 1rem auto 0; max-width: 36rem; color: rgba(255,255,255,0.75); }
.cta-final__inner .btn { margin-top: 2rem; }

.site-footer { background: #fff; padding-block: 2.5rem; padding-bottom: 5rem; }
.site-footer__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: #475569; }
.site-footer__inner strong { color: var(--navy); }
.site-footer__logo { height: 30px; width: auto; display: block; }
@media (min-width: 768px) { .site-footer__inner { flex-direction: row; } }

/* ---------- Privacy page ---------- */
.privacy-page { background: var(--ivory); padding-block: 3rem; }
.privacy-article { max-width: 48rem; border-radius: 8px; background: #fff; padding: 1.5rem; line-height: 1.8; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
@media (min-width: 768px) { .privacy-article { padding: 2.5rem; } }
.privacy-article h1 { margin-top: 1.5rem; font-size: 1.875rem; font-weight: 800; color: var(--navy); }
.privacy-article h2 { margin-top: 2rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.privacy-article p { margin-top: 0.5rem; color: #334155; }
.link-back { font-weight: 600; color: var(--navy); }
.link-back:hover { color: var(--gold); }

/* ---------- Forms (shared) ---------- */
.field { display: block; }
.field--wide { grid-column: 1 / -1; }
.field__label { margin-bottom: 0.5rem; display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.field__error { margin-top: 0.5rem; display: block; font-size: 0.85rem; color: #dc2626; min-height: 1.1em; }
.field__input-wrap { position: relative; display: block; }
.field__suffix { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: #64748b; font-size: 0.8rem; }

.input {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  font-family: inherit;
}
.input--sm { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
textarea.input { resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Wizard ---------- */
.wizard-page { min-height: 100vh; background: var(--ivory); padding-block: 2rem; padding-bottom: 6.5rem; }
@media (min-width: 768px) { .wizard-page { padding-block: 3.5rem; padding-bottom: 5rem; } }
.wizard-page .link-back { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.wizard-page .link-back:hover { color: var(--gold); }

.wizard-grid { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .wizard-grid { grid-template-columns: 0.75fr 1.25fr; } }

.wizard-aside { border-radius: 8px; background: var(--navy); padding: 1.5rem; color: #fff; }
@media (min-width: 1024px) { .wizard-aside { position: sticky; top: 1.5rem; height: fit-content; } }
.wizard-aside h1 { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; }
.wizard-aside__text { margin-top: 1rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.wizard-progress { margin-top: 2rem; }
.wizard-progress__labels { display: flex; justify-content: space-between; font-size: 0.875rem; }
.wizard-progress__track { margin-top: 0.75rem; height: 0.5rem; border-radius: 999px; background: rgba(255,255,255,0.15); }
.wizard-progress__bar { height: 0.5rem; border-radius: 999px; background: var(--gold); transition: width 0.3s ease; }

.wizard-panel { position: relative; border-radius: 8px; background: #fff; padding: 1.25rem; box-shadow: var(--shadow-premium); }
@media (min-width: 768px) { .wizard-panel { padding: 2rem; } }
.wizard-step h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.wizard-step > .grid { margin-top: 1.5rem; }
.wizard-step__hint { margin-top: 0.5rem; font-size: 0.9rem; color: #64748b; }

.choice-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-grid--inline { margin-top: 0.75rem; grid-template-columns: repeat(3, auto); justify-content: start; }
.choice-btn {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.choice-btn:hover { border-color: var(--gold); }
.choice-btn.is-active { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.choice-btn--sm { padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.9rem; }

.technical-item { border-radius: 8px; border: 1px solid #e2e8f0; padding: 1rem; }
.technical-item__label { font-weight: 700; color: var(--navy); }

.upload-box {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.15s ease;
}
.upload-box:hover { border-color: var(--gold); }
.upload-box__label { font-size: 0.875rem; font-weight: 700; color: var(--navy); }

.privacy-check { margin-top: 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: #334155; }
.privacy-check a { font-weight: 700; color: var(--navy); text-decoration: underline; }
.privacy-check input { margin-top: 0.2rem; accent-color: var(--gold); width: 1rem; height: 1rem; }

.review-box { border-radius: 8px; background: var(--ivory); padding: 1.25rem; font-size: 0.9rem; line-height: 1.8; color: #334155; }
.server-error { margin-top: 1rem; border-radius: 6px; background: #fef2f2; padding: 0.75rem; font-size: 0.9rem; color: #b91c1c; }

.wizard-nav { margin-top: 2rem; display: flex; justify-content: space-between; gap: 0.75rem; }

.wizard-success { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding-block: 6rem; }
.wizard-success__card { max-width: 34rem; border-radius: 8px; background: #fff; padding: 2rem; text-align: center; box-shadow: var(--shadow-premium); }
.wizard-success__icon { margin-inline: auto; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--gold); color: var(--navy); }
.wizard-success__card h1 { margin-top: 1.5rem; font-size: 1.875rem; font-weight: 800; color: var(--navy); }
.wizard-success__card p { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.7; color: #475569; }

/* ---------- Admin ---------- */
.admin-login { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--navy); padding: 1rem; }
.admin-login__card { width: 100%; max-width: 28rem; border-radius: 8px; background: #fff; padding: 2rem; box-shadow: var(--shadow-premium); }
.admin-login__icon { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--gold); color: var(--navy); }
.admin-login__icon img { height: 1.9rem; width: auto; display: block; }
.admin-login__card h1 { margin-top: 1.5rem; font-size: 1.875rem; font-weight: 800; color: var(--navy); }
.admin-login__subtitle { margin-top: 0.5rem; color: #475569; }
.admin-login__card .field { margin-top: 1rem; }
.admin-login__card button { margin-top: 1.5rem; }

.admin-dashboard { min-height: 100vh; background: var(--ivory); }
.admin-dashboard__header { border-bottom: 1px solid #e2e8f0; background: #fff; }
.admin-dashboard__header-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
@media (min-width: 768px) { .admin-dashboard__header-inner { flex-direction: row; align-items: center; } }
.admin-dashboard__header-inner h1 { font-size: 1.875rem; font-weight: 800; color: var(--navy); }
.admin-dashboard__body { padding-block: 2rem; }

.metrics-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric-card { border-radius: 8px; background: #fff; padding: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.metric-card__label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #64748b; }
.metric-card__value { margin-top: 0.5rem; font-size: 1.875rem; font-weight: 800; color: var(--navy); }

.admin-toolbar { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; border-radius: 8px; background: #fff; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
@media (min-width: 768px) { .admin-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.admin-search { position: relative; flex: 1; display: flex; align-items: center; }
.admin-search .icon { position: absolute; left: 0.75rem; color: #94a3b8; }
.admin-search input { width: 100%; border-radius: 6px; border: 1px solid #cbd5e1; padding: 0.75rem 1rem 0.75rem 2.5rem; font-family: inherit; font-size: 0.95rem; }
.admin-toolbar__actions { display: flex; gap: 0.5rem; }

.admin-table-wrap { margin-top: 1.5rem; overflow-x: auto; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.admin-loading { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 2.5rem; color: #475569; }
.admin-empty { padding: 2.5rem; text-align: center; color: #64748b; }
.admin-table { width: 100%; min-width: 960px; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
.admin-table thead { background: var(--navy); color: #fff; }
.admin-table th, .admin-table td { padding: 0.75rem 1rem; vertical-align: top; }
.admin-table tbody tr { border-top: 1px solid #e2e8f0; }
.admin-table__name { display: block; color: var(--navy); }
.admin-table__muted { color: #64748b; }
.admin-table__chance { font-weight: 700; color: var(--navy); }

/* ---------- Pré-análise (drawer interno do admin) ---------- */
.btn--xs { padding: 0.35rem 0.7rem; font-size: 0.78rem; }

.pa-drawer { position: fixed; inset: 0; z-index: 50; }
.pa-drawer__overlay { position: absolute; inset: 0; background: rgba(7, 27, 51, 0.5); }
.pa-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 100%; max-width: 640px;
  display: flex; flex-direction: column; background: var(--ivory, #f8fafc);
  box-shadow: -8px 0 30px rgba(0,0,0,0.25); animation: pa-slide 0.2s ease-out;
}
@keyframes pa-slide { from { transform: translateX(24px); opacity: 0.6; } to { transform: translateX(0); opacity: 1; } }
.pa-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid #e2e8f0; }
.pa-drawer__header h2 { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.pa-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem 2.5rem; }

.pa-tabs { display: flex; gap: 0.25rem; padding: 0 1.5rem; background: #fff; border-bottom: 1px solid #e2e8f0; }
.pa-tab { border: none; background: transparent; padding: 0.75rem 1rem; font-family: inherit; font-size: 0.9rem; font-weight: 700; color: #64748b; cursor: pointer; border-bottom: 3px solid transparent; }
.pa-tab.is-active { color: var(--navy); border-bottom-color: var(--gold); }

.pa-loading, .pa-empty, .pa-muted { color: #64748b; padding: 0.5rem 0; }
.pa-meta { font-size: 0.8rem; color: #64748b; margin-bottom: 1rem; }
.pa-h3 { margin: 1.25rem 0 0.5rem; font-size: 0.95rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.pa-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.pa-field { display: flex; flex-direction: column; gap: 0.35rem; }
.pa-label { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.pa-band { font-size: 0.8rem; color: #475569; }
.pa-solutions, .pa-history { margin: 0.25rem 0 0.5rem; padding-left: 1.2rem; }
.pa-solutions li, .pa-history li { margin-bottom: 0.35rem; font-size: 0.9rem; }
.pa-solutions em { color: #475569; font-style: italic; }
.pa-textarea { width: 100%; font-size: 0.88rem; }
.pa-details { margin: 0.5rem 0; border: 1px dashed #cbd5e1; border-radius: 6px; padding: 0.5rem 0.75rem; }
.pa-details summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 0.85rem; }
.pa-hint { font-size: 0.78rem; color: #64748b; margin: 0.5rem 0; }
.pa-disclaimer { margin-top: 1rem; padding: 0.75rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; font-size: 0.78rem; color: #92400e; }
.pa-actions { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.pa-msg { margin-top: 0.75rem; font-size: 0.85rem; font-weight: 600; }
.pa-msg--ok { color: #15803d; }
.pa-msg--error { color: #b91c1c; }
.pa-attach { margin: 0.5rem 0; }
.pa-attach img { max-width: 100%; border-radius: 6px; border: 1px solid #e2e8f0; }
.pa-attach figcaption { font-size: 0.78rem; color: #64748b; margin-top: 0.25rem; }
@media (max-width: 560px) { .pa-grid { grid-template-columns: 1fr; } }

/* ---------- Modal de criação de lead avulso (uso interno do admin) ---------- */
.admin-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.admin-modal__overlay { position: absolute; inset: 0; background: rgba(7, 27, 51, 0.55); }
.admin-modal__panel { position: relative; background: #fff; border-radius: 10px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 1.75rem; box-shadow: var(--shadow-premium); }
.admin-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.admin-modal__header h2 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
#create-form .field { margin-bottom: 0.85rem; }

.admin-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(201,162,74,0.18); color: #92720f; margin-left: 0.4rem; vertical-align: middle; }

/* ---------- Aba Financeiro (drawer interno do admin) ---------- */
.fin-money { display: flex; align-items: center; gap: 0.4rem; }
.fin-money__prefix { font-size: 0.8rem; font-weight: 700; color: #64748b; }
.fin-money-input { text-align: right; }

.fin-other-costs { margin-top: 0.75rem; }
.fin-other-costs__header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.fin-other-costs__row { display: grid; grid-template-columns: 1fr 140px auto; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }

.fin-summary { margin-top: 0.5rem; border-radius: 10px; padding: 1rem 1.15rem; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.fin-summary__row { display: flex; align-items: center; justify-content: space-between; padding: 0.35rem 0; font-size: 0.9rem; }
.fin-summary__row + .fin-summary__row { border-top: 1px solid rgba(255,255,255,0.15); }
.fin-summary__row strong { font-weight: 800; }
.fin-summary__row--final { font-size: 1.05rem; }
.fin-summary__row--final strong { color: var(--gold); }

@media (max-width: 560px) { .fin-other-costs__row { grid-template-columns: 1fr; } }

/* ---------- Região de atuação ---------- */
.section-heading__lead { margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; color: #475569; }

.regiao-stack { display: flex; flex-direction: column; gap: 1.5rem; }

.regiao-map-panel {
  display: flex; flex-direction: column; gap: 1rem;
  border-radius: 12px; padding: 1.5rem 1.5rem 1.15rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: var(--shadow-premium);
}
.regiao-map-figure { display: grid; gap: 1.25rem 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .regiao-map-figure { grid-template-columns: 0.82fr 1.18fr; align-items: center; } }
.regiao-map-state, .regiao-map-detail { margin: 0; min-width: 0; }
.regiao-map__svg { width: 100%; height: auto; display: block; }
.regiao-map__cap { margin-top: 0.55rem; text-align: center; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
/* No mobile o detalhe rola horizontalmente (largura mínima) para manter os
   nomes legíveis, sem gerar rolagem horizontal na página. */
@media (max-width: 859px) {
  .regiao-map-detail { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .regiao-map-detail .regiao-map__svg { min-width: 520px; }
}
.regiao-map__legend { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); }
.regiao-map__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.25); flex: none; }

.regiao-card { display: flex; flex-direction: column; }
.regiao-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.regiao-chips { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.45rem 1rem; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.regiao-chip { position: relative; padding-left: 0.9rem; font-size: 0.85rem; line-height: 1.4; color: #475569; }
.regiao-chip::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 999px; background: #cbd5e1; }
.regiao-chip--main { font-weight: 700; color: var(--navy); }
.regiao-chip--main::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.18); }
.regiao-note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; font-size: 0.85rem; line-height: 1.6; color: #475569; }

/* Aviso amigável de área de atuação no formulário (não bloqueia o envio). */
.wizard-notice {
  margin-top: 1.25rem; display: flex; align-items: flex-start; gap: 0.6rem;
  border-radius: 8px; background: var(--ivory); border: 1px solid #e2e8f0;
  border-left: 3px solid var(--gold); padding: 0.85rem 1rem;
  font-size: 0.88rem; line-height: 1.55; color: #334155;
}
.wizard-notice .icon { color: var(--gold); flex: none; margin-top: 0.1rem; }

/* Área de atuação no rodapé. */
.site-footer__area {
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #e2e8f0;
  display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: #475569;
}
.site-footer__area strong { color: var(--navy); }

.site-footer__contact { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer__ig { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--navy); font-weight: 600; }
.site-footer__ig:hover { color: var(--gold); }
.site-footer__ig svg { width: 22px; height: 22px; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EBE5D; color: #fff; }

/* Botão flutuante do WhatsApp (páginas públicas) */
.wa-fab { position: fixed; bottom: 20px; right: 20px; z-index: 50; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,0.45); transition: transform .15s ease, box-shadow .15s ease; }
.wa-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 28px rgba(37,211,102,0.55); color: #fff; }
.wa-fab svg { width: 32px; height: 32px; }
@media (max-width: 600px) { .wa-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; } .wa-fab svg { width: 28px; height: 28px; } }

/* ---------- Orçamento em PDF (admin/budget.php) ---------- */
.budget-page { min-height: 100vh; padding: 2rem 1rem 3rem; background: #eef2f6; }
.budget-toolbar { max-width: 820px; margin: 0 auto 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.budget-toolbar__right { display: flex; align-items: center; gap: 0.75rem; }
.budget-toolbar__hint { font-size: 0.78rem; color: #64748b; max-width: 240px; }

.budget-sheet { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: var(--shadow-premium); padding: 2.5rem; color: var(--ink); }
.budget-sheet__header { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; padding-bottom: 1.25rem; border-bottom: 3px solid var(--gold); }
.budget-logo-img { height: 52px; width: auto; display: block; }
.budget-tagline { margin-top: 0.2rem; font-size: 0.85rem; color: #64748b; }
.budget-meta { text-align: right; font-size: 0.85rem; color: #475569; }
.budget-meta strong { display: block; font-size: 1rem; color: var(--navy); }

.budget-section { margin-top: 1.75rem; }
.budget-section h3 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 0.6rem; }
.budget-client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; font-size: 0.92rem; }
.budget-client-grid span { color: #64748b; }

.budget-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.budget-table th, .budget-table td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid #e2e8f0; }
.budget-table th:last-child, .budget-table td:last-child { text-align: right; }
.budget-table tfoot td { font-weight: 800; border-top: 2px solid var(--navy); border-bottom: none; }

.budget-final { margin-top: 1.5rem; border-radius: 10px; padding: 1.1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.budget-final strong { font-size: 1.4rem; color: var(--gold); }

.budget-payment p { margin: 0.3rem 0; font-size: 0.92rem; }

.budget-cta { margin-top: 2rem; padding: 1.25rem 1.5rem; border-radius: 10px; background: var(--ivory); border: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.budget-cta p { font-weight: 700; color: var(--navy); }
.budget-cta .btn { display: inline-flex; align-items: center; gap: 0.5rem; }

.budget-disclaimer { margin-top: 1.5rem; font-size: 0.78rem; color: #94a3b8; }

@media (max-width: 600px) { .budget-client-grid { grid-template-columns: 1fr; } .budget-sheet { padding: 1.5rem; } }

/* ============================================================================
   Homepage premium (v11) — novas seções, microinterações e refinos de UX.
   Só adiciona classes novas; não altera os tokens nem os componentes da marca.
   ========================================================================== */

/* ---------- Reveal on scroll (ativado só com JS; sem JS o conteúdo já aparece) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Ícones (sprite) ---------- */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico--xs { width: 1rem; height: 1rem; }
.ico--sm { width: 1.15rem; height: 1.15rem; }
.ico--md { width: 1.9rem; height: 1.9rem; }

/* ---------- Utilitários de seção ---------- */
@media (min-width: 768px) { .section { padding-block: 6.5rem; } }
.section--tint { background: linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%); }
.container-page--narrow { width: min(760px, calc(100% - 32px)); }
.section-heading--center { margin-inline: auto; text-align: center; }
.eyebrow--light { color: var(--gold); }
.section-cta { margin-top: 2.75rem; display: flex; flex-wrap: wrap; justify-content: center; }
.section-cta .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- Hero: fundo pontilhado + estatísticas + painel ---------- */
.hero__grid-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%); mask-image: linear-gradient(180deg, #000, transparent 88%); pointer-events: none; }
.hero__cta-note { margin-top: .85rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.hero__stats { margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: 1.75rem; justify-content: start; }
.hero__stat-num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero__stat-suffix { color: var(--gold); }
.hero__stat dd { margin: .4rem 0 0; font-size: .78rem; line-height: 1.35; color: rgba(255,255,255,.62); max-width: 8.5rem; }
@media (max-width: 480px) { .hero__stats { gap: 1rem; } .hero__stat-num { font-size: 1.55rem; } }

.hero-panel { border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); padding: .9rem; box-shadow: var(--shadow-premium); backdrop-filter: blur(6px); transition: transform .3s ease; }
.hero-panel__bar { display: flex; align-items: center; gap: .5rem; padding: .1rem .25rem .7rem; }
.hero-panel__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.25); }
.hero-panel__dot:first-child { background: var(--gold); }
.hero-panel__label { margin-left: .3rem; font-size: .72rem; letter-spacing: .03em; color: rgba(255,255,255,.6); }
.hero-panel__map { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.hero-panel__svg { display: block; width: 100%; height: auto; }
.hero-panel__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(201,162,74,.22), transparent); animation: heroScan 3.6s ease-in-out infinite; }
@keyframes heroScan { 0% { transform: translateX(-60%); } 50% { transform: translateX(230%); } 100% { transform: translateX(-60%); } }
.hero-panel__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.hero-panel__chips span { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(201,162,74,.16); border: 1px solid rgba(201,162,74,.3); padding: .28rem .6rem; border-radius: 999px; }
.hero-panel__status { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; padding: .55rem .7rem; border-radius: 8px; background: rgba(255,255,255,.05); }
.hero-panel__status-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: rgba(255,255,255,.82); }
.hero-panel__status-label .ico { color: var(--gold); }
.hero-panel__badge { font-size: .7rem; font-weight: 700; color: var(--navy); background: var(--gold); padding: .2rem .55rem; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .hero-panel__scan { animation: none; display: none; } }

/* ---------- Soluções completas (4 áreas) ---------- */
.sol-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sol-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sol-grid { grid-template-columns: repeat(4, 1fr); } }
.sol-card { border-radius: 14px; border: 1px solid #e6ebf1; background: #fff; padding: 1.5rem; box-shadow: 0 1px 2px rgba(7,27,51,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-premium); border-color: rgba(201,162,74,.5); }
.sol-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(201,162,74,.18), rgba(201,162,74,.06)); border: 1px solid rgba(201,162,74,.3); }
.sol-card__icon .ico { color: var(--gold); }
.sol-card__title { margin-top: 1rem; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.sol-card__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.sol-card__list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: #475569; line-height: 1.4; }
.sol-card__check { color: var(--gold); margin-top: .1rem; }

/* ---------- Tecnologia (seção premium navy) ---------- */
.tech { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: 5rem; }
@media (min-width: 768px) { .tech { padding-block: 6.5rem; } }
.tech__grid-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 72% 32%, #000, transparent 78%); mask-image: radial-gradient(circle at 72% 32%, #000, transparent 78%); pointer-events: none; }
.tech__inner { position: relative; display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 940px) { .tech__inner { grid-template-columns: 1.05fr .95fr; } }
.tech__title { margin-top: .75rem; font-size: 1.875rem; font-weight: 800; color: #fff; }
@media (min-width: 768px) { .tech__title { font-size: 2.4rem; } }
.tech__lead { margin-top: 1rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.tech__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .tech__list { grid-template-columns: 1fr 1fr; } }
.tech__item { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.9); }
.tech__item-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; color: var(--gold); background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.28); flex: none; }
.tech__art { position: relative; }
.tech__svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.tech-layer--1 { animation: techFloat 6s ease-in-out infinite; }
.tech-layer--2 { animation: techFloat 6s ease-in-out .4s infinite; }
.tech-radar { transform-box: fill-box; transform-origin: center; animation: techPulse 3s ease-out infinite; }
.tech-drone { animation: droneHover 4.5s ease-in-out infinite; }
@keyframes techFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes techPulse { 0% { transform: scale(.7); opacity: .8; } 70% { opacity: .15; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes droneHover { 0%,100% { transform: translate(316px,58px); } 50% { transform: translate(322px,50px); } }
@media (prefers-reduced-motion: reduce) { .tech-layer--1, .tech-layer--2, .tech-radar, .tech-drone { animation: none; } }

/* ---------- Timeline "Como funciona" ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
  .timeline::before { content: ""; position: absolute; top: 23px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(201,162,74,.25), var(--gold), rgba(201,162,74,.25)); }
}
.timeline__step { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
@media (min-width: 900px) { .timeline__step { flex-direction: column; align-items: center; text-align: center; padding: 0 .75rem; } }
.timeline__node { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px; background: #fff; border: 2px solid var(--gold); color: var(--navy); font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(201,162,74,.25); position: relative; z-index: 1; }
.timeline__title { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
@media (min-width: 900px) { .timeline__title { margin-top: 1rem; } }
.timeline__desc { margin-top: .4rem; font-size: .9rem; line-height: 1.55; color: #475569; }
@media (max-width: 899px) {
  .timeline__step:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 52px; bottom: -1.75rem; width: 2px; background: rgba(201,162,74,.3); }
}

/* ---------- Ecossistema (8 tiles navy) ---------- */
.eco-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .eco-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .eco-grid { grid-template-columns: repeat(4, 1fr); } }
.eco-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .9rem; border-radius: 14px; padding: 1.4rem; background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.06); box-shadow: var(--shadow-premium); transition: transform .25s ease, box-shadow .25s ease; }
.eco-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(201,162,74,.18), transparent 60%); opacity: 0; transition: opacity .25s ease; }
.eco-tile:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(7,27,51,.28); }
.eco-tile:hover::after { opacity: 1; }
.eco-tile__icon { position: relative; z-index: 1; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; color: var(--gold); background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.28); }
.eco-tile__title { position: relative; z-index: 1; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.35; }

/* ---------- Diferenciais ---------- */
.diff-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }
.diff-item { display: flex; gap: .9rem; align-items: flex-start; border-radius: 14px; background: #fff; border: 1px solid #e6ebf1; padding: 1.3rem; box-shadow: 0 1px 2px rgba(7,27,51,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.diff-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-premium); border-color: rgba(201,162,74,.45); }
.diff-item__icon { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 11px; color: var(--gold); background: rgba(201,162,74,.1); border: 1px solid rgba(201,162,74,.28); }
.diff-item__title { font-size: 1rem; font-weight: 800; color: var(--navy); }
.diff-item__desc { margin-top: .3rem; font-size: .86rem; line-height: 1.5; color: #64748b; }

/* ---------- Públicos ---------- */
.aud-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .aud-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .aud-grid { grid-template-columns: repeat(3, 1fr); } }
.aud-card { border-radius: 14px; background: #fff; border: 1px solid #e6ebf1; padding: 1.5rem; box-shadow: 0 1px 2px rgba(7,27,51,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-premium); border-color: rgba(201,162,74,.45); }
.aud-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 13px; background: linear-gradient(135deg, rgba(201,162,74,.2), rgba(201,162,74,.06)); border: 1px solid rgba(201,162,74,.3); }
.aud-card__icon .ico { color: var(--gold); }
.aud-card__title { margin-top: 1rem; font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.aud-card__desc { margin-top: .45rem; font-size: .9rem; line-height: 1.55; color: #475569; }

/* ---------- Roadmap / Plataforma ---------- */
.roadmap { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding-block: 5rem; }
@media (min-width: 768px) { .roadmap { padding-block: 6.5rem; } }
.roadmap__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%); mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%); }
.roadmap .container-page { position: relative; }
.roadmap__title { margin-top: .75rem; font-size: 1.6rem; font-weight: 800; color: #fff; max-width: 22ch; margin-inline: auto; line-height: 1.22; }
@media (min-width: 768px) { .roadmap__title { font-size: 2.3rem; } }
.roadmap__lead { margin: 1rem auto 0; max-width: 40rem; color: rgba(255,255,255,.72); line-height: 1.7; }
.roadmap__badge { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; color: var(--gold); background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.35); padding: .4rem .8rem; border-radius: 999px; }
.roadmap-grid { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .roadmap-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .roadmap-grid { grid-template-columns: repeat(4, 1fr); } }
.roadmap-card { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: 1.3rem; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.roadmap-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(201,162,74,.4); }
.roadmap-card__icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; color: var(--gold); background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.28); }
.roadmap-card__label { font-size: .98rem; font-weight: 700; color: #fff; line-height: 1.3; }
.roadmap-card__tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.6); }
.roadmap-card__tag .ico { color: var(--gold); }

/* ---------- Mapa como plataforma GIS ---------- */
.gis-bar { display: flex; align-items: center; gap: .6rem; padding: .2rem .25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 1rem; }
.gis-bar__dots { display: inline-flex; gap: .35rem; }
.gis-bar__dots span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.2); }
.gis-bar__dots span:first-child { background: var(--gold); }
.gis-bar__title { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: rgba(255,255,255,.72); }
.gis-bar__title .ico { color: var(--gold); }
.gis-bar__zoom { margin-left: auto; display: inline-flex; gap: .3rem; }
.gis-bar__zoom span { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1; }
.regiao-map-state .regiao-map__svg circle { transform-box: fill-box; transform-origin: center; animation: gisPulse 2.6s ease-in-out infinite; }
@keyframes gisPulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.35); opacity: 1; } }
.regiao-map-figure { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal]:not(.is-visible) .regiao-map-figure { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .regiao-map-state .regiao-map__svg circle { animation: none; } .regiao-map-figure { transition: none; } }

/* ---------- Benefícios ---------- */
.beneficios__cta { margin-top: 1.75rem; }

/* ---------- FAQ refinada ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: rgba(201,162,74,.5); box-shadow: var(--shadow-premium); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chev { flex: none; width: 20px; height: 20px; position: relative; }
.faq-item__chev::before, .faq-item__chev::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; background: var(--gold); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s ease, opacity .2s ease; }
.faq-item__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__chev::after { opacity: 0; }

@media print {
  .no-print { display: none !important; }
  .budget-page { background: #fff; padding: 0; }
  .budget-sheet { box-shadow: none; padding: 0; max-width: none; }
  @page { margin: 14mm; }
}

/* ============================================================================
   Shell do painel administrativo (menu lateral + roteamento) — v13.
   Usado por admin/index.php, admin/titula-ai.php e admin/em-breve.php.
   Mobile-first: abaixo de 900px a sidebar é uma barra horizontal rolável no
   topo; a partir de 900px vira uma coluna fixa à esquerda.
   ========================================================================== */

.admin-shell { display: flex; flex-direction: column; min-height: 100vh; background: var(--ivory); }
@media (min-width: 900px) { .admin-shell { flex-direction: row; } }

.admin-sidebar {
  flex: none; display: flex; flex-direction: row; align-items: center; gap: 0.75rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff;
  padding: 0.6rem 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
@media (min-width: 900px) {
  .admin-sidebar {
    flex-direction: column; align-items: stretch; gap: 0; width: 240px; height: 100vh;
    position: sticky; top: 0; padding: 1.25rem 1rem; overflow-x: visible; overflow-y: auto;
  }
}

.admin-sidebar__brand { display: flex; align-items: center; gap: 0.6rem; flex: none; padding-right: 0.75rem; }
.admin-sidebar__brand img { height: 26px; width: auto; display: block; }
.admin-sidebar__brand-text { display: none; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; color: #fff; }
@media (min-width: 900px) {
  .admin-sidebar__brand { padding: 0 0.35rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 0.75rem; }
  .admin-sidebar__brand-text { display: inline; }
}

.admin-nav { display: flex; flex-direction: row; gap: 0.3rem; flex: 1; min-width: 0; }
@media (min-width: 900px) { .admin-nav { flex-direction: column; gap: 0.2rem; overflow-y: auto; } }

.admin-nav__link {
  position: relative; display: flex; align-items: center; gap: 0.55rem; white-space: nowrap;
  padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.72); transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav__link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav__link.is-active { background: var(--gold); color: var(--navy); }
.admin-nav__link.is-soon { color: rgba(255,255,255,0.5); }
.admin-nav__icon { flex: none; width: 1.1rem; height: 1.1rem; }
.admin-nav__label { flex: 1; min-width: 0; }
@media (max-width: 899px) { .admin-nav__label { flex: none; } }

.admin-soon-badge {
  flex: none; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.12rem 0.45rem; border-radius: 999px; background: rgba(201,162,74,0.18); color: var(--gold);
}
.admin-nav__link.is-active .admin-soon-badge { background: rgba(7,27,51,0.15); color: var(--navy); }

.admin-sidebar__footer { display: flex; align-items: center; gap: 0.6rem; flex: none; margin-left: auto; padding-left: 0.75rem; }
@media (min-width: 900px) {
  .admin-sidebar__footer {
    flex-direction: column; align-items: stretch; margin-left: 0; margin-top: auto;
    padding: 1rem 0.35rem 0; border-top: 1px solid rgba(255,255,255,0.12);
  }
}
.admin-sidebar__email {
  display: none; font-size: 0.78rem; color: rgba(255,255,255,0.6);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (min-width: 900px) { .admin-sidebar__email { display: block; margin-bottom: 0.6rem; } }
.admin-sidebar__logout { border-color: rgba(255,255,255,0.25); color: #fff; white-space: nowrap; }
.admin-sidebar__logout:hover { background: rgba(255,255,255,0.1); }

.admin-content { flex: 1; min-width: 0; }

/* ---------- Titula AI: aviso interno + grade de cartões de navegação ---------- */
.tai-notice {
  margin-top: 1.5rem; display: flex; align-items: flex-start; gap: 0.6rem;
  border-radius: 8px; background: var(--ivory); border: 1px solid #e2e8f0;
  border-left: 3px solid var(--gold); padding: 0.85rem 1rem;
  font-size: 0.88rem; line-height: 1.55; color: #334155;
}
.tai-notice .icon { color: var(--gold); flex: none; margin-top: 0.1rem; }

.tai-grid { margin-top: 1.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tai-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tai-grid { grid-template-columns: repeat(3, 1fr); } }

.tai-card {
  position: relative; display: flex; flex-direction: column; gap: 0.5rem;
  border-radius: 14px; border: 1px solid #e6ebf1; background: #fff; padding: 1.4rem;
  box-shadow: 0 1px 2px rgba(7,27,51,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tai-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-premium); border-color: rgba(201,162,74,0.45); }
/* Módulo já implementado: borda dourada à esquerda o distingue dos "em breve",
   para o cartão clicável não se perder no meio dos que ainda não abrem nada. */
.tai-card.is-ready { border-left: 3px solid var(--gold); }
.tai-card .admin-soon-badge { position: absolute; top: 1.1rem; right: 1.1rem; background: rgba(201,162,74,0.16); color: #92720f; }
.tai-card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 11px; color: var(--gold);
  background: linear-gradient(135deg, rgba(201,162,74,0.18), rgba(201,162,74,0.06));
  border: 1px solid rgba(201,162,74,0.3);
}
.tai-card__title { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.tai-card__desc { font-size: 0.85rem; line-height: 1.5; color: #64748b; }

/* ---------- Página genérica "em breve" (admin/em-breve.php) ---------- */
.tai-soon-panel {
  margin-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  max-width: 34rem; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0;
  padding: 2rem; box-shadow: 0 1px 2px rgba(7,27,51,0.04);
}
.tai-soon-panel .icon-lg { color: var(--gold); }
.tai-soon-panel h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.tai-soon-panel p { font-size: 0.95rem; line-height: 1.6; color: #475569; }
