/* ==========================================================================
   INSTITUTO REALIZE — estilos
   ========================================================================== */
:root {
  --navy-950: #041119;
  --navy-900: #061a26;
  --navy-850: #082231;
  --navy-800: #0a2a3b;
  --navy-700: #133a4c;   /* azul da logo */
  --navy-600: #1c4d63;
  --navy-500: #226a8a;
  --sky: #b3cdd9;
  --blue-500: #2b6580;  /* destaque em fundo claro */
  --blue-200: #b3cdd9;  /* destaque em fundo escuro */
  --blue-100: #dde9ef;
  --ink: #0b2230;
  --muted: #557080;
  --line: #e1e9ee;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(6, 26, 38, .06), 0 2px 8px rgba(6, 26, 38, .05);
  --shadow: 0 10px 30px -12px rgba(6, 26, 38, .25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 26, 38, .35);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) - 8px); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--navy-700); color: #fff; }
:focus-visible { outline: 3px solid var(--navy-500); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--navy-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 9px; height: 9px; background: currentColor;
  transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 0 4px rgba(43, 101, 128, .15);
}
.on-dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.on-dark .eyebrow { color: var(--sky); }
.section-title { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; color: var(--navy-800); }
.on-dark .section-title { color: #fff; }
.section-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 640px; margin-top: 18px; }
.on-dark .section-lead { color: rgba(255, 255, 255, .72); }
.text-accent { color: var(--blue-500); }
.grad {
  background: linear-gradient(100deg, var(--blue-200) 10%, #fff 50%, var(--blue-200) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }

.section { padding-block: clamp(80px, 10vw, 136px); position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy-700); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; letter-spacing: .01em; background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-white { --bg: #fff; --fg: var(--navy-800); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.btn-white:hover { box-shadow: 0 16px 40px -12px rgba(255, 255, 255, .35); }
.btn-white::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(19, 58, 76, .12) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-white:hover::after { transform: translateX(120%); }
.btn-ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .12); }
.btn-navy { --bg: var(--navy-700); --fg: #fff; box-shadow: 0 10px 24px -12px rgba(15, 58, 79, .8); }
.btn-navy:hover { --bg: var(--navy-600); }
.btn-outline { --bg: transparent; --fg: var(--navy-700); border: 1.5px solid currentColor; }
.btn-outline:hover { --bg: var(--navy-700); --fg: #fff; border-color: var(--navy-700); }
.btn-lg { padding: 20px 34px; font-size: 1.05rem; }
.btn-xl { padding: 24px 44px; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--navy-600); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(6, 26, 38, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -10px rgba(0, 0, 0, .4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; transition: height .35s; }
.is-scrolled .brand img { height: 36px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 14px; color: rgba(255, 255, 255, .82);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; border-radius: 999px;
  transition: color .2s, background .2s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: #fff; border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-cta { padding: 12px 22px; font-size: .88rem; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  align-items: center; justify-content: center;
}
.menu-toggle .ico { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-900);
  padding: calc(var(--header-h) + 24px) 24px 32px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.mobile-menu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 10%, rgba(34, 106, 138, .45), transparent 50%), radial-gradient(circle at 10% 90%, rgba(179, 205, 217, .10), transparent 40%);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { position: relative; display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.3rem); color: #fff;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
}
.mobile-menu nav a .ico { color: var(--blue-200); width: 22px; height: 22px; }
.mobile-menu nav a:hover { color: var(--blue-200); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu .btn { position: relative; margin-top: 28px; }
.mobile-menu .mm-contacts { position: relative; margin-top: auto; padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.mm-contacts a { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 55% at 72% 42%, rgba(34, 106, 138, .55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 8% 100%, rgba(23, 80, 105, .6), transparent 70%),
    radial-gradient(ellipse 30% 30% at 90% 0%, rgba(179, 205, 217, .10), transparent 70%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-850) 55%, #0c3346 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px);
  font-size: .85rem; color: rgba(255, 255, 255, .88); margin-bottom: 28px;
}
.hero-badge b {
  background: #fff; color: var(--navy-800); font-family: var(--font-display); font-weight: 800;
  font-size: .72rem; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.9rem); font-weight: 900; line-height: 1.06; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero h1 .w { display: inline-block; }
.hero-lead { margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .76); max-width: 560px; font-weight: 300; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 54px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.stat strong .suf { color: var(--blue-200); }
.stat > span { display: block; margin-top: 8px; font-size: .86rem; color: rgba(255, 255, 255, .62); }

/* visual do hero */
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.orbit { position: absolute; inset: 0; border-radius: 50%; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.ring-1 { inset: 0; animation: spin 60s linear infinite; }
.ring-2 { inset: 11%; border-style: dashed; border-color: rgba(179, 205, 217, .18); animation: spin 45s linear infinite reverse; }
.ring-3 { inset: 22%; border-color: rgba(255, 255, 255, .07); background: radial-gradient(circle, rgba(34, 106, 138, .35), transparent 70%); }
.ring .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 4px rgba(255, 255, 255, .55); top: -5px; left: calc(50% - 5px); }
.ring-2 .dot { background: var(--sky); box-shadow: 0 0 16px 3px rgba(179, 205, 217, .6); top: auto; bottom: -5px; width: 8px; height: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-symbol {
  position: absolute; left: 50%; top: 50%; width: 72%; transform: translate(-50%, -52%);
  filter: drop-shadow(0 0 40px rgba(179, 205, 217, .35)); animation: floaty 7s ease-in-out infinite;
}
.hero-symbol img { width: 100%; height: auto; }
.hero-star {
  position: absolute; left: 50.3%; top: 4.6%; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(179, 205, 217, .7) 30%, transparent 70%);
  mix-blend-mode: screen; animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(.85); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.35); } }
@keyframes floaty { 0%, 100% { transform: translate(-50%, -52%); } 50% { transform: translate(-50%, -55%); } }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px;
  border-radius: 999px; font-size: .8rem; font-weight: 500; white-space: nowrap; color: #fff;
  background: rgba(10, 42, 59, .55); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  animation: bob 6s ease-in-out infinite; animation-delay: var(--dl, 0s);
}
.chip .ci { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy-700); }
.chip .ci .ico { width: 14px; height: 14px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.chip-1 { top: 14%; left: -4%; }
.chip-2 { top: 30%; right: -6%; --dl: -1.5s; }
.chip-3 { bottom: 26%; left: -8%; --dl: -3s; }
.chip-4 { bottom: 9%; right: 2%; --dl: -4.5s; }
.chip-5 { top: 62%; right: -10%; --dl: -2.2s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.scroll-hint .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* Hero das páginas internas */
.hero-page { min-height: auto; padding: calc(var(--header-h) + 72px) 0 96px; }
.hero-page .hero-inner { grid-template-columns: 1fr; }
.hero-page .hero-inner > div { max-width: 860px; }
.hero-page h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.hero-page .hero-symbol-bg {
  position: absolute; right: -6%; top: 50%; width: min(46vw, 560px); transform: translateY(-46%);
  opacity: .08; z-index: -1; pointer-events: none;
}
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.law-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.law-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.law-tags .ico { color: var(--blue-200); width: 16px; height: 16px; }

/* ---------- Sobre ---------- */
.about { background: var(--surface); overflow: hidden; }
.about-arc {
  position: absolute; width: 900px; aspect-ratio: 1; border-radius: 50%; right: -420px; top: -260px;
  border: 2px solid var(--line); pointer-events: none;
}
.about-arc::after { content: ''; position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed var(--line); }
.about-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; }
.about-text p { color: var(--muted); font-size: 1.05rem; margin-top: 18px; text-align: left; }
.about-text p strong { color: var(--navy-800); font-weight: 600; }
.about-text .btn { margin-top: 34px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar:nth-child(2n) { transform: translateY(40px); }
.pillar:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-6px); }
.pillar:nth-child(2n):hover { transform: translateY(34px); }
.pillar .pi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-700); color: #fff; margin-bottom: 18px; }
.pillar .pi .ico { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-800); }
.pillar p { font-size: .92rem; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.pillar.feature { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); border: 0; color: #fff; }
.pillar.feature h3 { color: #fff; }
.pillar.feature p { color: rgba(255, 255, 255, .72); }
.pillar.feature .pi { background: #fff; color: var(--navy-700); }

/* ---------- Missão, Visão, Valores ---------- */
.mvv {
  background:
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(34, 106, 138, .45), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(179, 205, 217, .08), transparent 70%),
    var(--navy-900);
  color: #fff; overflow: hidden;
}
.mvv-symbol { position: absolute; left: -120px; bottom: -60px; width: 520px; opacity: .04; pointer-events: none; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.glass {
  position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1); overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease);
}
.glass::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 45%);
}
.glass:hover { border-color: rgba(255, 255, 255, .3); }
.glass:hover::before { opacity: 1; }
.mv-card .mv-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--navy-700); margin-bottom: 26px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.mv-card .mv-icon .ico { width: 30px; height: 30px; }
.mv-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; margin-bottom: 14px; }
.mv-card p { color: rgba(255, 255, 255, .78); font-size: 1.04rem; }
.mv-card .mv-num { position: absolute; right: 28px; top: 18px; font-family: var(--font-display); font-weight: 900; font-size: 5.5rem; line-height: 1; color: rgba(255, 255, 255, .04); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.values-head { background: #fff; color: var(--navy-800); border: 0; display: flex; flex-direction: column; justify-content: space-between; }
.values-head h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; }
.values-head p { margin-top: 14px; color: rgba(6, 26, 38, .78); font-size: .98rem; }
.values-head .mv-icon { background: var(--navy-700); color: #fff; box-shadow: none; }
.value-card .vn { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--sky); display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.value-card .vn .vi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(179, 205, 217, .12); color: var(--sky); }
.value-card .vn .vi .ico { width: 22px; height: 22px; }
.value-card h4 { font-size: 1.12rem; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.value-card p { color: rgba(255, 255, 255, .7); font-size: .94rem; line-height: 1.6; }

/* ---------- Cursos ---------- */
.courses { background: var(--bg); }
.courses .section-title mark { background: none; color: inherit; position: relative; white-space: nowrap; }
.courses .section-title mark::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--blue-200); border-radius: 4px; transform: skew(-8deg);
}
.courses .section-title { position: relative; z-index: 0; }
.toolbar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.search {
  position: relative; max-width: 560px; width: 100%; margin-inline: auto;
}
.search input {
  width: 100%; height: 60px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  padding: 0 130px 0 56px; font-size: 1rem; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 5px rgba(34, 106, 138, .12); }
.search > .ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--navy-500); width: 20px; height: 20px; pointer-events: none; }
.search .count { position: absolute; right: 8px; top: 8px; bottom: 8px; display: grid; place-items: center; padding: 0 16px; border-radius: 999px; background: var(--navy-700); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 700;
  font-size: .86rem; color: var(--navy-800); transition: all .25s var(--ease);
}
.tab .ico { width: 18px; height: 18px; color: var(--c, var(--navy-500)); transition: color .25s; }
.tab .n { font-family: var(--font-body); font-weight: 600; font-size: .72rem; min-width: 24px; height: 22px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: var(--bg); color: var(--muted); }
.tab:hover { border-color: var(--c, var(--navy-500)); transform: translateY(-1px); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 42, 59, .9); }
.tab.is-active .ico { color: #fff; }
.tab.is-active .n { background: rgba(255, 255, 255, .14); color: #fff; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 16px; }
.course {
  --c: var(--navy-500);
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  min-height: 176px; padding: 22px 22px 20px; border-radius: var(--radius); background: var(--surface);
  border: 1.5px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.course::before {
  content: ''; position: absolute; inset: auto -40% -60% auto; width: 180px; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: var(--c); opacity: 0; filter: blur(30px); transition: opacity .35s;
}
.course:hover { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.course:hover::before { opacity: .14; }
.course .ctag { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: var(--c); letter-spacing: .02em; }
.course .ctag i, .course .ctag .ci { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, transparent); }
.course .ctag .ico { width: 18px; height: 18px; }
.course h3 { font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; line-height: 1.32; color: var(--navy-900); letter-spacing: -.01em; flex: 1; }
.course .cgo { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: .82rem; font-weight: 600; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--line); }
.course .cgo span.free { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-500); }
.course .cgo span.free .ico { width: 15px; height: 15px; }
.course .cgo .arr { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--navy-700); transition: all .3s var(--ease); }
.course:hover .cgo .arr { background: var(--c); color: #fff; transform: rotate(-45deg); }
.course .cgo .arr .ico { width: 16px; height: 16px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { width: 42px; height: 42px; margin: 0 auto 14px; color: var(--navy-500); }
.empty strong { display: block; color: var(--navy-800); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.more-wrap[hidden] { display: none; }
.more-wrap .btn { background: var(--surface); }
.more-wrap .btn:hover { background: var(--navy-700); }
.more-wrap .btn:hover .ico { transform: translateY(3px); }
.courses-foot { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 40px; color: var(--muted); }

/* ---------- Como participar ---------- */
.steps { background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; counter-reset: step; }
.steps-grid::before {
  content: ''; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%); background-size: 14px 2px;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step .sn {
  position: relative; z-index: 1; width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 28px;
  display: grid; place-items: center; background: var(--navy-800); color: #fff;
  box-shadow: 0 0 0 10px var(--surface), var(--shadow); transition: transform .4s var(--ease);
}
.step:hover .sn { transform: translateY(-6px) rotate(-4deg); }
.step .sn .ico { width: 36px; height: 36px; }
.step .sn b { position: absolute; top: -10px; right: -10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-500); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: .86rem; border: 3px solid var(--surface); }
.step h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 320px; margin-inline: auto; }

/* ---------- CTA ---------- */
.cta-wrap { padding-block: 0 clamp(80px, 10vw, 136px); background: var(--surface); }
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px); text-align: center; color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(179, 205, 217, .22), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(34, 106, 138, .6), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.cta-arc { position: absolute; left: 50%; top: 58%; width: min(980px, 140%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); z-index: -1; }
.cta-arc.a2 { width: min(760px, 110%); border-style: dashed; border-color: rgba(255, 255, 255, .06); top: 66%; }
.cta-star { width: 18px; height: 18px; margin: 0 auto 28px; background: #fff; transform: rotate(45deg); border-radius: 3px; box-shadow: 0 0 30px 10px rgba(255, 255, 255, .3); animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 50px 18px rgba(255, 255, 255, .45); } }
.cta h2 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900; max-width: 800px; margin-inline: auto; text-wrap: balance; }
.cta p { margin: 20px auto 40px; max-width: 560px; color: rgba(255, 255, 255, .75); font-size: 1.1rem; }

/* ---------- Governança (teaser + página) ---------- */
.gov-teaser { background: var(--bg); }
.gov-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.gov-inner .btn { margin-top: 32px; }
.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-row {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface);
  border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--navy-800);
  line-height: 1.3; transition: all .25s var(--ease);
}
.doc-row .di { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(15, 58, 79, .07); color: var(--navy-600); transition: all .25s; }
.doc-row .di .ico { width: 20px; height: 20px; }
.doc-row .go { margin-left: auto; color: var(--muted); width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.doc-row:hover { border-color: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.doc-row:hover .di { background: var(--navy-700); color: #fff; }
.doc-row:hover .go { transform: translate(3px, -3px); color: var(--navy-700); }

.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.doc-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.doc-card::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 200px; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--line); z-index: -1; transition: transform .6s var(--ease), border-color .35s;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.doc-card:hover::after { transform: scale(1.4); border-color: rgba(43, 101, 128, .35); }
.doc-card:target { border-color: var(--blue-500); box-shadow: 0 0 0 6px rgba(43, 101, 128, .15); }
.doc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.doc-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-700); color: #fff; }
.doc-icon .ico { width: 28px; height: 28px; }
.doc-kind { font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--bg); color: var(--navy-600); }
.doc-card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; color: var(--navy-800); margin-bottom: 14px; }
.doc-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.doc-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.doc-actions .btn { padding: 13px 22px; font-size: .88rem; }
.doc-actions small { color: var(--muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 6px; }
.doc-actions small .ico { width: 15px; height: 15px; }

.band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 56px;
  padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(179, 205, 217, .16), transparent 60%), linear-gradient(140deg, var(--navy-700), var(--navy-900));
}
.band .bi { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--navy-700); }
.band .bi .ico { width: 34px; height: 34px; }
.band h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; }
.band p { color: rgba(255, 255, 255, .72); margin-top: 6px; }

/* ---------- Contato ---------- */
.contact { background: var(--surface); padding-top: 0; }
.contact-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px);
  padding: clamp(32px, 5vw, 72px); color: #fff;
  background: radial-gradient(ellipse 60% 70% at 0% 0%, rgba(34, 106, 138, .55), transparent 60%), var(--navy-850);
}
.contact-box .bubbles { position: absolute; left: 24px; top: 24px; z-index: -1; opacity: .5; }
.contact-list { display: grid; gap: 12px; margin-top: 34px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.contact-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .35); transform: translateX(4px); }
.contact-item .ci { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.contact-item .ci .ico { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.contact-item span { display: block; font-weight: 500; word-break: break-word; }
.contact-item .go { margin-left: auto; width: 18px; height: 18px; color: rgba(255, 255, 255, .4); }

.form-card { background: var(--surface); color: var(--ink); border-radius: 26px; padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.6rem; font-weight: 800; color: var(--navy-800); }
.form-card > p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--navy-800); }
.field label em { font-style: normal; color: var(--blue-500); }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
  padding: 14px 16px; font-size: .98rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 4px rgba(34, 106, 138, .12); }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; background: #fff5f5; }
.field .err { font-size: .78rem; color: #dc2626; display: none; }
.field.invalid .err { display: block; }
.form .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.form-note .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--navy-500); }
.check, .field label.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; font-weight: 400; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy-700); margin-top: 2px; flex: none; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ok { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--blue-100); color: var(--navy-700); }
.form-success .ok .ico { width: 36px; height: 36px; }
.form-success h4 { font-size: 1.4rem; font-weight: 800; color: var(--navy-800); }
.form-success p { color: var(--muted); margin-top: 8px; }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; animation: cardIn .5s var(--ease); }

/* ---------- Ouvidoria ---------- */
.ouv { background: var(--bg); }
.ouv-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ouv-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.info-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-800); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.info-card h3 .ico { color: var(--navy-500); }
.info-card p, .info-card li { color: var(--muted); font-size: .93rem; }
.info-card ol { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.info-card ol li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.info-card ol li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .8rem; }
.info-card.dark { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); border: 0; }
.info-card.dark h3 { color: #fff; }
.info-card.dark h3 .ico { color: var(--blue-200); }
.info-card.dark p { color: rgba(255, 255, 255, .75); }
.info-card.dark .info-links a, .info-card.dark .info-links .ico { color: #fff; }
.info-links { display: grid; gap: 8px; margin-top: 14px; }
.info-links a { display: flex; align-items: center; gap: 10px; color: var(--navy-700); font-weight: 600; font-size: .92rem; }
.info-links a:hover { color: var(--navy-500); }
.info-links .ico { width: 18px; height: 18px; color: var(--navy-500); }

.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.type { position: relative; --c: var(--navy-700); }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type label {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 8px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--bg); font-size: .8rem; font-weight: 600; color: var(--navy-800); cursor: pointer;
  transition: all .2s var(--ease); line-height: 1.2;
}
.type label .ico { width: 24px; height: 24px; color: var(--c); }
.type label:hover { border-color: var(--c); }
.type input:checked + label { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent); }
.type input:focus-visible + label { outline: 3px solid var(--navy-500); outline-offset: 2px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 1.5px solid var(--line); cursor: pointer; }
.switch strong { display: flex; align-items: center; gap: 10px; color: var(--navy-800); font-size: .95rem; }
.switch strong .ico { color: var(--navy-500); }
.switch small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; font-weight: 400; }
.switch input { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 999px; background: #c9d6de; position: relative; flex: none; cursor: pointer; transition: background .25s; }
.switch input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked { background: var(--navy-700); }
.switch input:checked::after { transform: translateX(22px); }
.ident { display: grid; gap: 16px; transition: opacity .3s; }
.ident[hidden] { display: none; }
.legend { font-size: .84rem; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding-top: clamp(64px, 8vw, 96px); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 20px; font-size: .92rem; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: all .25s var(--ease); }
.socials a:hover { background: #fff; color: var(--navy-800); transform: translateY(-3px); }
.socials .ico { width: 20px; height: 20px; }
.site-footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 800; }
.site-footer ul { list-style: none; display: grid; gap: 11px; font-size: .93rem; }
.site-footer ul a { transition: color .2s; display: inline-flex; align-items: center; gap: 10px; }
.site-footer ul a:hover { color: #fff; }
.site-footer ul .ico { width: 17px; height: 17px; color: var(--blue-200); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-word {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -.04em;
  text-align: center; color: transparent; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text; background-clip: text;
  margin-bottom: -.12em; white-space: nowrap;
}

/* ---------- Flutuantes ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-700); color: #fff; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 14px 30px -8px rgba(6, 26, 38, .55);
  transition: transform .25s var(--ease);
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--navy-500); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float .tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap;
  background: var(--navy-900); color: #fff; font-size: .82rem; font-weight: 500; padding: 8px 14px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: all .25s var(--ease);
}
.wa-float:hover .tip { opacity: 1; transform: translateY(-50%); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 30px); opacity: 0;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  background: var(--navy-900); color: #fff; padding: 14px 20px; border-radius: 16px; font-size: .92rem;
  box-shadow: var(--shadow-lg); transition: all .35s var(--ease); pointer-events: none;
}
.toast .ico { color: var(--blue-200); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Modal do curso ---------- */
dialog.modal {
  border: 0; padding: 0; margin: auto; width: min(520px, calc(100% - 32px)); border-radius: 28px; overflow: hidden;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgba(4, 17, 25, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-top {
  --c: var(--navy-500);
  position: relative; padding: 34px 32px 30px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 85%, #000), var(--navy-900));
}
.modal-top::after { content: ''; position: absolute; right: -50px; top: -70px; width: 220px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); z-index: -1; }
.modal-top .mi { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); margin-bottom: 18px; }
.modal-top .mi .ico { width: 28px; height: 28px; }
.modal-top small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.modal-top h3 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); font-weight: 800; margin-top: 6px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s; }
.modal-close:hover { background: rgba(255, 255, 255, .25); }
.modal-body { padding: 28px 32px 32px; }
.modal-body ul { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.modal-body li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .95rem; }
.modal-body li .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-100); color: var(--navy-700); }
.modal-actions { display: grid; gap: 10px; }
.modal-actions .btn { width: 100%; }
.modal-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.modal-note .ico { width: 14px; height: 14px; }

/* ---------- Documentos complementares ---------- */
.docs-extra { margin-top: 64px; }
.docs-extra-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.docs-extra-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--navy-800); }
.docs-extra-head p { color: var(--muted); max-width: 560px; }
.doc-row small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 3px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .pillar[data-reveal]:nth-child(2n).is-in { transform: translateY(40px); }
.js .hero [data-anim] { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 10px; font-size: .86rem; }
  .main-nav a::after { left: 10px; right: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .hero-visual { max-width: 420px; order: -1; margin-top: 8px; }
  .hero-home .hero-visual { display: none; }
  .scroll-hint { display: none; }
  .about-inner, .gov-inner, .contact-box, .ouv-grid { grid-template-columns: 1fr; }
  .ouv-side { position: static; order: 2; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .values-head { grid-column: 1 / -1; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .docs-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.7rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badge { font-size: .76rem; gap: 8px; padding-right: 12px; }
  .hero-badge b { white-space: nowrap; font-size: .66rem; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 40px; }
  .stat strong { font-size: 1.9rem; }
  .stat > span { font-size: .76rem; line-height: 1.35; }
  .search .count { display: none; }
  .contact-item .go { display: none; }
  .contact-item span { font-size: .94rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(2n), .js .pillar[data-reveal]:nth-child(2n).is-in { transform: none; }
  .pillar:nth-child(2n):hover { transform: translateY(-6px); }
  .values-grid { grid-template-columns: 1fr; }
  .doc-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .search input { height: 54px; padding-right: 20px; }
  .course-grid { grid-template-columns: 1fr; gap: 12px; }
  .course { min-height: 0; }
  .types { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn-xl { padding: 20px 26px; white-space: normal; }
  .contact-box { border-radius: 24px; padding: 28px 18px; }
  .form-card { padding: 24px 18px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .modal-top, .modal-body { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-anim] { opacity: 1; transform: none; }
}
