:root {
  --navy: #0B5A28;
  --navy-2: #147A38;
  --navy-3: #1B8F44;
  --gold: #F0C53A;
  --gold-2: #F7D56A;
  --gold-soft: #F8F3D6;
  --ink: #14331F;
  --muted: #4A6B57;
  --line: #DCE8DF;
  --bg: #F4F7F4;
  --paper: #ffffff;
  --primary: #0B5A28;
  --primary-2: #147A38;
  --accent: #F0C53A;
  --accent-soft: #F8F3D6;
  --danger: #b42318;
  --ok: #147A38;
  --radius: 2px;
  --shadow: 0 10px 30px rgba(11,69,32,.08);
  --shadow-lg: 0 18px 40px rgba(11,69,32,.14);
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { margin: 0; min-height: 100%; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }
canvas, iframe { max-width: 100%; }
table { max-width: 100%; }
input, select, textarea { max-width: 100%; }
body.app-body, body.guest-body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: clip;
}
body.guest-body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.brand-serif { font-family: "Cormorant Garamond", Georgia, serif; }

.app-shell { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; max-width: 100%; overflow-x: clip; }

.official-bar {
  background: #08351C;
  color: #d5e8da;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px max(40px, env(safe-area-inset-right)) 8px max(40px, env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.official-bar .live-clock {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}

.masthead {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px max(40px, env(safe-area-inset-right)) 10px max(40px, env(safe-area-inset-left));
  position: relative;
  z-index: 100;
}
.masthead-id { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1; }
.masthead-text { min-width: 0; }
.masthead-text h1, .masthead-text .meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logo-inst {
  width: 64px; height: 64px; flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  transition: transform .4s var(--ease);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.masthead-id:hover .logo-inst { transform: scale(1.04); }
.logo-inst-login {
  width: 88px; height: 88px;
  padding: 3px;
}
.masthead h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.15;
  letter-spacing: .02em;
}
.masthead .meta { color: var(--gold); font-size: 12px; margin-top: 4px; letter-spacing: .06em; text-transform: uppercase; }
.user-chip { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.user-chip .who { line-height: 1.2; text-align: right; color: #fff; }
.user-chip .who strong { display: block; font-size: 14px; }
.user-chip .who span { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  border: 2px solid #fff;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.avatar:hover { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(240,197,58,.35); color: var(--navy); }
.btn-sair {
  color: var(--gold); text-decoration: none; font-size: 13px; font-weight: 600;
  border: 1px solid var(--gold); padding: 6px 16px;
  transition: background .2s, color .2s, transform .2s;
}
.btn-sair:hover { background: var(--gold); color: var(--navy); }
.btn, .btn-sair, .menu-toggle, .hero-arrows button, .hero-dot {
  touch-action: manipulation;
}

.topnav-menu {
  background: var(--navy-2);
  display: flex; align-items: stretch; flex-wrap: wrap;
  padding: 0 max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left));
  position: sticky; top: 0; z-index: 50;
  border-top: 1px solid rgba(240,197,58,.25);
  transition: box-shadow .3s;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 69, 32, .48);
  z-index: 90;
}
.nav-compact-only { display: none !important; }
.topnav-menu.is-stuck { box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.topnav-menu .nav-link,
.topnav-menu .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; padding: 14px 16px;
  color: #e8eef5 !important;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: transparent; border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0; white-space: nowrap;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.topnav-menu .nav-link:hover,
.topnav-menu .nav-drop-btn:hover {
  color: var(--gold) !important;
  background: transparent;
}
.topnav-menu .nav-link.active,
.topnav-menu .nav-drop-btn.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold);
}

.nav-drop { position: relative; }
.nav-drop-menu {
  display: none;
  position: absolute; left: 0; top: 100%;
  min-width: 240px;
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 70;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: block; animation: dropIn .22s var(--ease); }
.nav-drop-menu .dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; color: var(--navy); font-size: 14px;
  transition: background .15s, padding-left .15s;
}
.nav-drop-menu .dropdown-item:hover,
.nav-drop-menu .dropdown-item.active {
  background: #eef6ef; color: var(--navy); font-weight: 600;
  padding-left: 22px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--gold);
  background: transparent; color: var(--gold);
  width: 44px; height: 44px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.menu-toggle:hover { background: var(--gold); color: var(--navy); }
.nav-toggle-cb {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.main { flex: 1; min-width: 0; }
.content { padding: 0 0 48px; width: 100%; animation: fadeUp .5s var(--ease); }
.content-inner { padding: 32px max(40px, env(safe-area-inset-right)) 32px max(40px, env(safe-area-inset-left)); max-width: 1280px; margin: 0 auto; width: 100%; }
.home-section { scroll-margin-top: 72px; padding-bottom: 8px; }
.content-inner .d-flex {
  flex-wrap: wrap;
}
.content-inner .d-flex.justify-content-between {
  gap: 10px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.card-soft { max-width: 100%; }
.card-soft:has(table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
@media (max-width: 767px) {
  .table-responsive > table,
  .card-soft:has(table) > table {
    min-width: 640px;
  }
}
.table { --bs-table-bg: transparent; }
.chart-box {
  position: relative;
  width: 100%;
  height: 220px;
  max-width: 100%;
}
.chart-box canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
}

.app-footer {
  background: var(--navy);
  color: #b8d4c0;
  font-size: 13px;
  padding: 40px max(40px, env(safe-area-inset-right)) 20px max(40px, env(safe-area-inset-left));
  border-top: 3px solid var(--gold);
}
.app-footer strong { color: var(--gold); display: block; margin-bottom: 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-links a {
  display: block; color: #d5ead9; text-decoration: none; padding: 4px 0;
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-copy {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid rgba(240,197,58,.2);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
}
.footer-copy .footer-dev {
  text-transform: none;
  letter-spacing: .02em;
  color: var(--gold);
}
.guest-copy {
  position: static;
  z-index: 5;
  margin: 0;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12px;
  color: #d5ead9;
  background: #08351C;
}

.page-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600; margin: 0; color: var(--navy); font-size: 32px;
  overflow-wrap: break-word;
}
.page-sub { color: var(--muted); font-size: 14px; }
.page-head { margin-bottom: 28px; }
.login-kicker, .section-kicker {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 6px;
}
.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px; color: var(--navy); margin: 0 0 8px;
}
.gold-line { width: 56px; height: 3px; background: var(--gold); margin: 10px 0 22px; transform-origin: left; animation: lineIn .6s var(--ease); }

.hero-slider {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 56px 40px 72px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease), visibility .8s;
}
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,69,32,.94) 0%, rgba(11,69,32,.72) 48%, rgba(11,69,32,.45) 100%),
    radial-gradient(900px 340px at 82% 18%, rgba(240,197,58,.28), transparent 60%);
  animation: ken 18s ease-in-out infinite alternate;
}
.hero-slide:nth-child(2)::before {
  background:
    linear-gradient(115deg, rgba(11,69,32,.94) 0%, rgba(16,90,42,.7) 50%, rgba(11,69,32,.4) 100%),
    radial-gradient(700px 280px at 18% 80%, rgba(240,197,58,.22), transparent 55%);
}
.hero-slide:nth-child(3)::before {
  background:
    linear-gradient(90deg, rgba(11,69,32,.95) 0%, rgba(20,122,56,.75) 55%, rgba(11,69,32,.5) 100%),
    radial-gradient(600px 260px at 70% 70%, rgba(240,197,58,.2), transparent 50%);
}
.hero-slide:nth-child(4)::before {
  background:
    linear-gradient(105deg, rgba(11,69,32,.94) 0%, rgba(16,90,42,.72) 50%, rgba(11,69,32,.42) 100%),
    radial-gradient(720px 300px at 88% 60%, rgba(240,197,58,.24), transparent 55%);
}
.hero-slide.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center 28%;
  z-index: 0;
  animation: ken 18s ease-in-out infinite alternate;
}
.hero-slide.has-photo::before {
  z-index: 1;
  animation: none;
  background: linear-gradient(100deg, rgba(11,69,32,.86) 0%, rgba(11,69,32,.55) 46%, rgba(11,69,32,.32) 100%);
}
.hero-slide.has-photo:nth-child(2)::before {
  background: linear-gradient(115deg, rgba(11,69,32,.84) 0%, rgba(11,69,32,.5) 50%, rgba(11,69,32,.3) 100%);
}
.hero-slide.has-photo:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(11,69,32,.86) 0%, rgba(11,69,32,.52) 55%, rgba(11,69,32,.32) 100%);
}
.hero-slide.has-photo:nth-child(4)::before {
  background: linear-gradient(105deg, rgba(11,69,32,.85) 0%, rgba(11,69,32,.5) 50%, rgba(11,69,32,.3) 100%);
}
.hero-slider--home {
  min-height: 520px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  border-radius: 0;
  padding: .55rem 1.3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-inner h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px; font-weight: 600; margin: 0 0 12px; line-height: 1.15;
  overflow-wrap: break-word;
}
.hero-inner p { max-width: 640px; color: #d5ead9; margin: 0 0 24px; font-size: 17px; }
.hero-dots {
  position: absolute; left: 40px; bottom: 22px; z-index: 3;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 28px; height: 3px; border: 0; padding: 0;
  background: rgba(255,255,255,.28); cursor: pointer;
  transition: width .3s, background .3s;
}
.hero-dot.active { width: 46px; background: var(--gold); }
.hero-arrows {
  position: absolute; right: 28px; bottom: 16px; z-index: 3;
  display: flex; gap: 8px;
}
.hero-arrows button {
  width: 38px; height: 38px;
  border: 1px solid rgba(240,197,58,.6);
  background: transparent; color: var(--gold);
  transition: background .2s, color .2s;
}
.hero-arrows button:hover { background: var(--gold); color: var(--navy); }

.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--gold);
  margin: 0;
}
.stat-uan {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 28px 12px;
  text-decoration: none;
  transition: background .25s, transform .25s;
  position: relative;
}
.stat-uan::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px; background: var(--gold);
  transform: translateX(-50%);
  transition: width .3s;
}
.stat-uan:hover { background: var(--navy-3); color: #fff; }
.stats-row .stat-uan:not(a) { cursor: default; }
.stats-row .stat-uan:not(a):hover { background: var(--navy); }
.stat-uan:hover::after { width: 48px; }
.stat-uan .n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px; color: var(--gold); line-height: 1; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat-uan .l {
  display: block; margin-top: 8px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: #d5ead9;
}

.shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 40px;
}
.shortcut {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: #fff; padding: 18px 16px;
  text-decoration: none; color: var(--navy);
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.shortcut:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-bottom-color: var(--gold); color: var(--navy); }
.shortcut i { font-size: 20px; color: var(--gold); }
.shortcut span { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.card-soft {
  background: var(--paper);
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.card-soft:hover { box-shadow: var(--shadow-lg); }
.card-soft .h6, .card-title {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); font-weight: 700; margin-bottom: 14px;
}

.stat {
  padding: 20px;
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 3px solid var(--gold);
}
.stat:hover { transform: none; box-shadow: var(--shadow); }
.stat .n {
  font-size: 30px; font-weight: 600; line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
}
.stat .l { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .1em; text-transform: uppercase; }
.stat-icon {
  width: 42px; height: 42px; border-radius: 0;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--navy); font-size: 18px;
}

.table { --bs-table-bg: transparent; }
.table thead th {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); font-weight: 700; background: #eef6ef;
  border-bottom: 2px solid var(--gold); padding: 12px;
}
.table td { padding: 12px; vertical-align: middle; border-color: var(--line); overflow-wrap: break-word; }
.table tbody tr { transition: background .18s; }
.table tbody tr:hover { background: #f3f8f4; }
.table a { color: var(--navy); font-weight: 600; text-decoration: none; }
.table a:hover { color: var(--gold); }

.form-control, .form-select {
  border-color: #c5ced6; border-radius: 0; padding: .6rem .8rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(240,197,58,.2);
}
.form-label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }

.badge-gold { background: var(--gold-soft); color: #6b5a10; font-weight: 600; }
.btn-gold, .btn-forest {
  position: relative; overflow: hidden;
  transition: filter .2s, background .2s, color .2s, transform .2s;
}
.btn-gold {
  background: var(--gold); border: 0; color: var(--navy); font-weight: 700;
  border-radius: 0; padding: .55rem 1.3rem; letter-spacing: .06em; text-transform: uppercase; font-size: 12px;
}
.btn-gold:hover { color: var(--navy); filter: brightness(1.08); transform: translateY(-1px); }
.btn-forest {
  background: transparent; border: 1px solid var(--gold); color: var(--gold); font-weight: 700;
  border-radius: 0; padding: .55rem 1.3rem; letter-spacing: .08em; text-transform: uppercase; font-size: 12px;
}
.btn-forest:hover { background: var(--gold); color: var(--navy); }
.login-card .btn-forest, .content-inner .btn-forest.solid,
form .btn-forest {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
form .btn-forest:hover { filter: brightness(1.05); color: var(--navy); }

.progress { background: #e4eee6; border-radius: 0; overflow: hidden; }
.progress-bar { background: var(--gold); transition: width 1.1s var(--ease); }
.alert { border: 0; border-radius: 0; }

.login-wrap {
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  position: relative;
  overflow-x: hidden;
  width: 100%;
  background:
    linear-gradient(160deg, rgba(11,69,32,.94), rgba(16,90,42,.88)),
    radial-gradient(600px 400px at 80% 10%, rgba(240,197,58,.2), transparent);
}
.login-wrap::before,
.login-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.login-wrap::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(240,197,58,.16), transparent 70%);
  top: -120px; right: -80px;
}
.login-wrap::after {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(240,197,58,.12), transparent 70%);
  bottom: -80px; left: -40px;
  animation-delay: -4s;
}
.login-stage {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  width: 100%; max-width: 1080px;
  min-width: 0;
  min-height: 560px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.login-stage .hero-slider,
.hero-slider--guest {
  min-height: 560px;
  height: 100%;
}
.login-stage .hero-slide {
  padding: 48px 36px 72px;
}
.login-stage .hero-inner h2 { font-size: 32px; }
.login-stage .hero-inner p { font-size: 15px; margin-bottom: 0; }
.login-card .aside-meta {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: capitalize;
  color: var(--muted);
}
.login-aside {
  background:
    linear-gradient(180deg, rgba(11,69,32,.4), rgba(11,69,32,.75)),
    radial-gradient(500px 280px at 30% 20%, rgba(240,197,58,.25), transparent);
  background-color: var(--navy);
  color: #fff;
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.login-aside h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px; font-weight: 600; line-height: 1.15; margin: 12px 0;
}
.login-aside p { color: #d5ead9; margin: 0; }
.login-aside .aside-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.login-brand { text-align: center; margin-bottom: 18px; }
.login-brand h1 { font-size: 28px; line-height: 1.2; margin: 10px 0 6px; color: var(--navy); font-family: "Cormorant Garamond", Georgia, serif; }
.login-place { color: var(--muted); font-size: 13px; margin: 0; }
.login-title { font-size: 18px; margin-bottom: 4px; text-align: center; color: var(--navy); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login-card {
  width: 100%; max-width: 440px; padding: 40px 36px !important;
  text-align: center; border-top: 4px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  animation: fadeUp .55s var(--ease);
}
.login-stage .login-card {
  max-width: none;
  box-shadow: none;
  border-top: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.login-kicker { color: var(--gold); }

.photo-sm { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.photo-lg { width: 120px; height: 120px; object-fit: cover; border-radius: 0; border: 3px solid var(--gold); max-width: 100%; }

.doc-sheet {
  max-width: 800px; margin: 0 auto; background: #fff;
  padding: 18px 48px 24px; min-height: 277mm;
  border: 1px solid #ddd;
  display: flex; flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}
.doc-oficial-head {
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.2;
}
.doc-brasao {
  display: block;
  width: 88px;
  height: auto;
  margin: 0 auto 4px;
}
.doc-oficial-linha {
  font-size: 12pt;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.doc-oficial-escola {
  font-weight: 700;
  text-decoration: underline;
  margin-top: 0;
}
.doc-titulo {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14pt;
  margin: 8px 0 22px;
}
.doc-body { flex: 1 1 auto; font-size: 12pt; }
.doc-assinatura-oficial {
  text-align: center;
  margin: 36px auto 8px;
  font-size: 12pt;
  font-weight: 700;
  line-height: 1.15;
}
.doc-assinatura-cargo { text-transform: uppercase; margin: 0; }
.doc-assinatura-linha { margin: 2px 0 0; letter-spacing: 0; line-height: 1; }
.doc-assinatura-nome { font-weight: 700; margin: 0; }
.doc-oficial-rodape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 4px 0 0 10px;
  border: 0;
  border-left: 1px solid #111;
  font-family: "Century Gothic", "Gill Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 8pt;
  line-height: 1.35;
  color: #222;
}
.doc-oficial-rodape-info { flex: 0 1 auto; min-width: 0; }
.doc-oficial-rodape-info a {
  color: #0563c1;
  text-decoration: underline;
}
.doc-oficial-rodape-marcas {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}
.doc-logo-gov-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}
.doc-logo-gov { height: 36px; width: auto; display: block; }
.doc-logo-gov-txt {
  font-size: 7pt;
  line-height: 1.05;
  color: #5a5a5a;
  letter-spacing: .08em;
  white-space: nowrap;
}
.doc-logo-gov-txt span { display: block; }
.doc-logo-gov-txt strong {
  display: block;
  font-size: 11pt;
  letter-spacing: .14em;
  color: #4a4a4a;
  font-weight: 700;
}
.doc-logo-med { height: 30px; width: auto; display: block; }
.doc-logo-prov {
  border-left: 1px solid #111;
  padding: 2px 0 2px 10px;
  font-size: 7pt;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
  color: #222;
  white-space: nowrap;
}
.doc-logo-prov span { display: block; }
.doc-head { text-align: center; border-bottom: 3px double #111; padding-bottom: 14px; margin-bottom: 28px; }
.doc-head .kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.pagination .page-link { color: var(--navy); border-radius: 0; transition: background .2s, color .2s; }
.pagination .page-link:hover { background: var(--gold-soft); color: var(--navy); }
.pagination .active .page-link { background: var(--navy); border-color: var(--navy); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  background: #fff; padding: 28px 22px 22px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: var(--gold); }
.why-card .why-ico {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--navy); font-size: 18px; margin-bottom: 14px;
}
.why-card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; color: var(--navy); margin: 0 0 8px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.why-card a { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.why-card a:hover { color: var(--navy); }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.home-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 28px;
}
.masthead-id > a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.masthead-id > a h1 { color: #fff; }

.news-item {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: padding-left .2s;
}
article.news-item:hover { padding-left: 0; }
.news-item .when { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.news-item strong { display: block; color: var(--navy); margin-top: 4px; }

.curso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.curso-card {
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.curso-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.curso-card-media {
  position: relative;
  display: block;
  height: 160px;
  overflow: hidden;
  background: var(--navy);
}
.curso-card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s var(--ease);
}
.curso-card:hover .curso-card-media img { transform: scale(1.05); }
.curso-card-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 42px;
}
.curso-card-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.curso-card-body {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.curso-card-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
}
.curso-card-body h3 a { color: var(--navy); text-decoration: none; }
.curso-card-body h3 a:hover { color: var(--navy-2); }
.curso-card-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.curso-card-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.curso-card-meta strong {
  color: var(--navy);
  font-size: 18px;
}
.curso-card-meta span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.curso-hero {
  position: relative;
  min-height: 280px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.curso-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  opacity: .35;
}
.curso-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,69,32,.35), rgba(11,69,32,.92));
}
.curso-hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px max(40px, env(safe-area-inset-right)) 36px max(40px, env(safe-area-inset-left));
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.curso-hero-inner h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 10px;
}
.curso-hero-inner p { max-width: 640px; color: #d5ead9; margin: 0 0 18px; }
.curso-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.curso-propina {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.curso-propina small {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d5ead9;
  font-weight: 600;
}
.curso-block {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px 22px;
  height: 100%;
}
.curso-block h2 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
}
.curso-block ul { margin: 0; padding-left: 18px; color: var(--muted); }
.curso-block li { margin: 0 0 8px; }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, 16vw);
  gap: 12px;
}
.campus-item {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: pointer;
  text-align: left;
}
.campus-item.wide { grid-column: span 2; grid-row: span 2; }
.campus-item.tall { grid-row: span 2; }
.campus-item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform .7s var(--ease);
}
.campus-item:hover img { transform: scale(1.06); }
.campus-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(transparent, rgba(11,69,32,.88));
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.campus-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, calc(100vw - 24px));
  width: min(960px, calc(100vw - 24px));
  position: relative;
}
.campus-lightbox::backdrop { background: rgba(8, 35, 18, .82); }
.campus-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 82dvh;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.campus-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  background: rgba(11,69,32,.7);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }
.reveal.d4 { animation-delay: .32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes lineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 18px); }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .nav-hide { display: none !important; }
  .nav-compact-only { display: flex !important; }
  .topnav-menu .nav-link,
  .topnav-menu .nav-drop-btn { padding: 12px 12px; font-size: 12.5px; }
}
@media (max-width: 1200px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .curso-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .campus-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 1100px) {
  .login-stage { grid-template-columns: 1fr; min-height: 0; }
  .login-aside { min-height: 200px; padding: 32px 24px; }
  .login-aside h2 { font-size: 28px; }
  .login-stage .hero-slider,
  .hero-slider--guest { min-height: 240px; }
  .login-stage .hero-inner h2 { font-size: 26px; }
}
@media (max-width: 1199px) {
  body.nav-open,
  body:has(#navToggle:checked) { overflow: hidden; }
  .official-bar .live-clock { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-backdrop { display: none; }
  body.nav-open .nav-backdrop,
  body:has(#navToggle:checked) .nav-backdrop,
  #navToggle:checked ~ .nav-backdrop { display: block; }
  .topnav-menu {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 8px 0 max(16px, env(safe-area-inset-bottom));
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 90vw);
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 95;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(110%);
    transition: transform .28s var(--ease), visibility .28s;
    box-shadow: -12px 0 40px rgba(0,0,0,.28);
  }
  .topnav-menu.open,
  #navToggle:checked ~ .topnav-menu {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  .topnav-menu .nav-link,
  .topnav-menu .nav-drop-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 18px;
    min-height: 44px;
    white-space: normal;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-hide { display: inline-flex !important; }
  .nav-compact-only { display: none !important; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; background: var(--navy-3); animation: none; min-width: 0; }
  .nav-drop-menu .dropdown-item { color: #e8eef5; min-height: 44px; }
  .nav-drop-menu .dropdown-item:hover,
  .nav-drop-menu .dropdown-item.active { background: rgba(240,197,58,.15); color: var(--gold); }
  .content-inner, .hero-slide, .curso-hero-inner {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .hero-inner h2 { font-size: clamp(22px, 6vw, 28px); }
  .hero-inner p { font-size: 15px; }
  .hero-slider { min-height: min(300px, 70dvh); }
  .hero-slider--home { min-height: min(380px, 78dvh); }
  .hero-dots { left: 16px; }
  .hero-arrows { right: 12px; }
  .masthead { padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left)); }
  .masthead-text h1, .masthead-text .meta {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .masthead h1 { font-size: 16px; }
  .official-bar {
    padding: 6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));
    font-size: 10px;
    justify-content: center;
    text-align: center;
  }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row .stat-uan:last-child { grid-column: 1 / -1; }
  .stat-uan { padding: 20px 8px; }
  .stat-uan .n { font-size: 32px; }
  .why-grid, .shortcuts { grid-template-columns: 1fr 1fr; }
  .campus-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .campus-item.wide, .campus-item.tall { grid-column: span 1; grid-row: span 1; }
  .curso-grid { grid-template-columns: 1fr 1fr; }
  .curso-hero { min-height: 220px; }
  .curso-hero-inner { padding-top: 28px; padding-bottom: 24px; }
  .curso-hero-inner h1 { font-size: clamp(22px, 7vw, 28px); }
  .app-footer { padding: 24px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left)); }
  .footer-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 26px; }
  .section-title { font-size: 22px; }
  .doc-sheet { padding: 16px 16px 20px; min-height: 0; }
  .login-card { padding: 28px 20px !important; }
  .btn, .btn-sair { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .content-inner .form-control,
  .content-inner .form-select,
  .content-inner textarea.form-control,
  .login-card .form-control,
  .login-wrap .form-control,
  .login-wrap .form-select {
    font-size: 16px;
    min-height: 44px;
  }
  .chart-box { height: 200px; }
}
@media (max-width: 768px) {
  .masthead .meta { display: none; }
  .logo-inst { width: 48px; height: 48px; }
  .btn-sair { padding: 8px 12px; font-size: 12px; }
  .hero-slider { min-height: min(280px, 68dvh); }
  .hero-slide { padding-top: 36px; padding-bottom: 72px; }
  .hero-inner h2 { font-size: clamp(20px, 7vw, 24px); }
  .why-grid, .shortcuts { grid-template-columns: 1fr; }
  .curso-grid { grid-template-columns: 1fr; }
  .login-aside { min-height: 0; }
  .login-stage .hero-slider,
  .hero-slider--guest { min-height: 200px; }
  .doc-oficial-rodape { flex-direction: column; align-items: flex-start; }
  .doc-oficial-rodape-marcas { justify-content: flex-start; }
  .ob-inst { flex: 1 1 100%; }
  .user-chip .who { display: none !important; }
  .pagination { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .stat-uan:last-child { grid-column: auto; }
  .login-wrap { padding: 12px; align-items: stretch; }
  .login-stage { box-shadow: none; }
  .login-aside h2 { font-size: 24px; }
  .login-stage .hero-inner h2 { font-size: 22px; }
  .page-title { font-size: 22px; }
  .content-inner { padding-top: 20px; padding-bottom: 28px; }
  .photo-lg { width: 96px; height: 96px; }
  .campus-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .curso-card-media { height: 180px; }
  .footer-copy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .masthead h1 { font-size: 14px; }
  .logo-inst { width: 40px; height: 40px; }
  .btn-sair { padding: 8px 8px; }
  .stat-uan .n { font-size: 28px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero-slider,
  .hero-slider--home,
  .login-stage .hero-slider,
  .hero-slider--guest { min-height: 180px; }
  .hero-inner h2 { font-size: 22px; }
  .hero-slide { padding-top: 24px; padding-bottom: 48px; }
  .login-wrap { align-items: stretch; }
}
.ia-agente { position: relative; z-index: 120; }
.ia-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 22px;
  box-shadow: 0 10px 28px rgba(11, 69, 32, .35);
  cursor: pointer;
  z-index: 121;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}
.ia-agente:has(#iaPanel:not([hidden])) .ia-fab-pulse { display: none; }
.ia-fab:hover { filter: brightness(1.06); }
.ia-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: iaPulse 2.2s ease-out infinite;
  pointer-events: none;
}
.guest-body .ia-fab { bottom: max(48px, env(safe-area-inset-bottom)); }
.ia-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(80px, calc(16px + env(safe-area-inset-bottom) + 64px));
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100dvh - 110px));
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  z-index: 122;
  overflow: hidden;
}
.ia-panel[hidden] { display: none !important; }
.ia-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  background: var(--navy);
  color: #fff;
}
.ia-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.ia-head-txt { min-width: 0; flex: 1; }
.ia-head-txt strong { display: block; font-size: 14px; line-height: 1.2; }
.ia-head-txt span { display: block; font-size: 11px; color: #d5ead9; letter-spacing: .04em; }
.ia-close {
  width: 36px; height: 36px; border: 0; background: transparent;
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.ia-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  background: #f4f7f4;
  -webkit-overflow-scrolling: touch;
}
.ia-bubble {
  max-width: 88%;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.ia-bot { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.ia-user {
  background: var(--navy); color: #fff;
  margin-left: auto;
}
.ia-bot-wrap { margin-bottom: 4px; }
.ia-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.ia-link {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy); background: var(--gold-soft);
  padding: 6px 10px; text-decoration: none;
}
.ia-link:hover { background: var(--gold); color: var(--navy); }
.ia-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px 12px 0;
  background: #fff;
}
.ia-chip {
  border: 1px solid var(--line);
  background: #fff; color: var(--navy);
  font-size: 12px; font-weight: 600;
  padding: 6px 10px; cursor: pointer;
  min-height: 36px;
}
.ia-chip:hover { border-color: var(--gold); background: var(--gold-soft); }
.ia-form {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}
.ia-input {
  flex: 1; min-width: 0;
  border: 1px solid #c5ced6;
  padding: .55rem .7rem;
  font-size: 16px;
  min-height: 44px;
}
.ia-input:focus { outline: 0; border-color: var(--gold); }
.ia-send {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 0; background: var(--gold); color: var(--navy);
  cursor: pointer;
}
.ia-typing { display: flex; gap: 5px; align-items: center; width: 54px; }
.ia-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--navy-2);
  animation: iaDot .9s ease-in-out infinite;
}
.ia-typing span:nth-child(2) { animation-delay: .15s; }
.ia-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes iaPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes iaDot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@media (max-width: 767px) {
  body.ia-open { overflow: hidden; }
  .ia-panel {
    inset: 0;
    width: 100%;
    height: 100dvh;
    right: 0;
    bottom: 0;
    max-height: none;
  }
  .ia-fab { width: 52px; height: 52px; }
}
@media print {
  .ia-agente { display: none !important; }
  .no-print { display: none !important; }
  .card-soft { box-shadow: none; border: 0; background: transparent; }
  .alert { display: none !important; }
  .doc-sheet { border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-slide { transform: none; }
  .content, .login-card, .reveal { opacity: 1; transform: none; }
}
