:root {
  color-scheme: dark;
  --navy: #081a33;
  --blue: #0d2748;
  --blue-2: #16365e;
  --red: #e0444a;
  --cyan: #21d4fd;
  --white: #f3f5f7;
  --steel: #9dabc0;
  --ink: #07111f;
  --rule: rgba(243,245,247,.14);
  --display: "Avenir Next Condensed", "DIN Condensed", sans-serif;
  --body: "Avenir Next", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--body); }
button, input, select { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; transform: translateY(-160%); background: var(--white); color: var(--navy); padding: 10px 14px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.demo-notice { min-height: 30px; padding: 6px 5vw; display: flex; justify-content: center; gap: 12px; align-items: center; background: var(--red); color: var(--white); font-size: 11px; letter-spacing: .08em; }
.demo-notice span { font-weight: 900; }
.demo-notice p { margin: 0; }
.score-ribbon { background: #061427; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: thin; }
.score-ribbon__track { min-width: 980px; max-width: 1440px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.score { min-height: 62px; padding: 10px 22px; display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 10px; align-items: center; border-right: 1px solid var(--rule); font-size: 12px; text-decoration: none; }
.score b { grid-column: 1 / -1; color: var(--steel); font-size: 9px; letter-spacing: .13em; }
.score strong { color: var(--red); font-family: var(--display); font-size: 11px; }
.score small { color: var(--steel); font-size: 9px; }
.score:hover { background: var(--blue); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(224,68,74,.15); }

.site-header { position: sticky; top: 0; z-index: 20; height: 84px; padding: 0 5vw; display: grid; grid-template-columns: minmax(164px, 230px) minmax(0, 1fr) 44px; align-items: center; background: rgba(8,26,51,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--rule); }
.brand img { display: block; width: 218px; height: 78px; object-fit: contain; }
nav ul { display: flex; justify-content: center; gap: clamp(14px, 2.1vw, 34px); margin: 0; padding: 0; list-style: none; }
nav a { position: relative; padding: 32px 0 28px; text-decoration: none; text-transform: uppercase; font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--steel); }
nav a:hover, nav a.active { color: var(--white); }
nav a.active::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--red); }
.nav-iq span { margin-left: 3px; padding: 2px 4px; background: var(--cyan); color: var(--navy); font-size: 8px; }
.search-button, .menu-toggle { border: 0; background: transparent; color: var(--white); cursor: pointer; }
.search-button { font-size: 28px; }
.menu-toggle { display: none; text-transform: uppercase; font-weight: 800; }
.site-search { position: sticky; top: 84px; z-index: 19; padding: 20px 5vw; background: #061427; border-bottom: 1px solid var(--rule); }
.site-search label { display: block; margin-bottom: 8px; color: var(--cyan); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.site-search div { max-width: 760px; display: grid; grid-template-columns: 1fr auto; }
.site-search input { min-width: 0; padding: 12px 14px; border: 1px solid var(--rule); background: var(--navy); color: var(--white); }
.site-search button { padding: 0 22px; border: 0; background: var(--red); color: var(--white); font-weight: 900; text-transform: uppercase; }
.site-search p { margin: 8px 0 0; color: var(--steel); font-size: 11px; }

.hero { position: relative; min-height: 650px; padding: 90px 5vw 76px; display: grid; grid-template-columns: minmax(0, .93fr) minmax(460px, .75fr); gap: 7vw; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 740px; height: 740px; left: -330px; bottom: -430px; border: 1px solid rgba(243,245,247,.09); border-radius: 50%; box-shadow: 0 0 0 80px rgba(243,245,247,.018), 0 0 0 160px rgba(243,245,247,.012); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 52%, rgba(33,212,253,.035)); }
.hero > * { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-family: var(--display); font-weight: 900; letter-spacing: .16em; font-size: 12px; }
.eyebrow span { display: inline-block; width: 26px; height: 2px; margin: 0 9px 3px 0; background: var(--red); }
.eyebrow--cyan { color: var(--cyan); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(64px, 7vw, 112px); line-height: .79; letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero__lead { max-width: 620px; margin: 34px 0; color: #c7d1df; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-transform: uppercase; font-family: var(--display); font-size: 13px; font-weight: 900; letter-spacing: .09em; border: 1px solid transparent; }
.button--red { background: var(--red); color: white; }
.button--red:hover { background: #f05258; }
.button--ghost { border-color: rgba(243,245,247,.28); color: var(--white); }
.button--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.trust-line { display: flex; gap: 32px; margin: 42px 0 0; }
.trust-line div { padding-left: 12px; border-left: 2px solid var(--red); }
.trust-line dt { font-family: var(--display); font-size: 24px; font-weight: 900; }
.trust-line dd { margin: 1px 0 0; color: var(--steel); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.iq-card { padding: 28px; background: rgba(13,39,72,.86); border: 1px solid rgba(33,212,253,.28); box-shadow: 18px 18px 0 rgba(224,68,74,.08); }
.iq-card__header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.iq-card h2 { margin: 0; font: 900 34px/1 var(--display); text-transform: uppercase; }
.ai-state { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
.ai-state i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
#iq-form label { display: block; margin-bottom: 8px; color: var(--steel); font-size: 12px; }
.ask-row { display: grid; grid-template-columns: 1fr 48px; border: 1px solid rgba(243,245,247,.26); background: #07182e; }
.ask-row:focus-within { border-color: var(--cyan); }
.ask-row input { min-width: 0; padding: 0 15px; border: 0; outline: 0; background: transparent; color: var(--white); }
.ask-row input::placeholder { color: #71829a; }
.ask-row button { height: 48px; border: 0; background: var(--cyan); color: var(--navy); font-size: 24px; cursor: pointer; }
.mode-row { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--steel); font-size: 11px; }
.segmented { display: flex; padding: 3px; background: #07182e; }
.segmented button { padding: 6px 9px; border: 0; background: transparent; color: var(--steel); font-size: 10px; cursor: pointer; }
.segmented button.selected { background: var(--white); color: var(--navy); font-weight: 900; }
.suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.suggestions button { padding: 6px 10px; border: 1px solid var(--rule); background: transparent; color: var(--white); font-size: 10px; cursor: pointer; }
.suggestions button:hover { border-color: var(--cyan); color: var(--cyan); }
.iq-answer { margin-top: 22px; padding: 18px; border-left: 3px solid var(--cyan); background: rgba(7,17,31,.55); }
.answer-kicker { display: flex; justify-content: space-between; color: var(--cyan); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.answer-kicker time { color: var(--steel); }
.iq-answer p { margin: 13px 0 16px; color: #cbd5e2; font-size: 14px; line-height: 1.55; }
.iq-answer strong { color: var(--white); }
.evidence { display: flex; flex-wrap: wrap; gap: 6px; }
.evidence span { padding: 4px 7px; background: rgba(157,171,192,.1); color: var(--steel); font-size: 8px; text-transform: uppercase; }

.section { padding: 82px 5vw; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; color: var(--navy); font: 900 clamp(36px, 4.5vw, 64px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.025em; }
.section-heading > a { color: var(--navy); font-weight: 800; text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.section-heading > a span { color: var(--red); }
.section-status { color: #6e7d90; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.news-section { background: var(--white); color: var(--navy); }
.news-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.lead-story { display: grid; grid-template-columns: .86fr 1fr; min-height: 390px; background: #fff; border: 1px solid #dfe4eb; }
.story-art { position: relative; min-height: 260px; overflow: hidden; background: var(--blue); }
.story-art::before, .story-art::after { content: ""; position: absolute; border: 2px solid rgba(243,245,247,.19); border-radius: 50%; }
.story-art::before { width: 330px; height: 330px; left: -170px; top: 25px; }
.story-art::after { width: 190px; height: 190px; right: -85px; bottom: -55px; }
.story-art b { position: absolute; left: 28px; bottom: 18px; color: rgba(243,245,247,.13); font: 900 120px/1 var(--display); }
.story-art i { position: absolute; width: 56px; height: 56px; top: 36px; right: 36px; border: 8px solid var(--red); border-radius: 50%; }
.field-line { position: absolute; inset: 0 50% 0 auto; width: 2px; background: rgba(243,245,247,.18); }
.story-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.tag { color: var(--blue-2); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.tag--red { color: var(--red); }
.story-body h3, .story-stack h3 { margin: 13px 0; font-family: var(--display); text-transform: uppercase; line-height: 1.05; }
.story-body h3 { font-size: clamp(28px, 2.8vw, 42px); }
.story-body p { color: #53647a; line-height: 1.55; }
.story-body small, .story-stack small { color: #7d8a9a; }
.story-stack { display: grid; }
.story-stack article { padding: 24px 0; border-bottom: 1px solid #d8dee6; }
.story-stack article:first-child { padding-top: 0; }
.story-stack h3 { font-size: 24px; }

.teams-section { background: #061427; }
.section-note { max-width: 270px; margin: 0; color: var(--steel); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }
.division-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.division-grid article { padding: 22px; background: var(--navy); }
.division-grid b { color: var(--red); font: 900 12px var(--display); letter-spacing: .12em; }
.division-grid p { margin: 17px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.division-grid span { min-width: 43px; padding: 8px 7px; text-align: center; background: var(--blue); color: var(--white); font: 900 12px var(--display); border-bottom: 2px solid transparent; }
.division-grid span:hover { color: var(--cyan); border-color: var(--cyan); }

.stats-section { background: var(--blue); }
.section-heading--light h2 { color: var(--white); }
.filters { display: flex; gap: 12px; }
.filters label { color: var(--steel); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.filters select { display: block; min-width: 150px; margin-top: 6px; padding: 9px; border: 1px solid var(--rule); background: var(--navy); color: var(--white); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.metric-grid article { padding: 30px; background: var(--navy); }
.metric-grid span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.metric-grid b { display: block; margin: 10px 0 3px; font: 900 clamp(44px, 5vw, 72px)/1 var(--display); }
.metric-grid strong { display: block; font-size: 10px; letter-spacing: .11em; }
.metric-grid small { display: block; margin-top: 12px; color: var(--steel); }
.leaderboard { margin-top: 24px; background: var(--navy); border: 1px solid var(--rule); }
.leaderboard__title { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); }
.leaderboard__title h3 { margin: 0; font: 900 25px var(--display); text-transform: uppercase; }
.leaderboard__title span { color: var(--cyan); font-size: 8px; letter-spacing: .13em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: 15px 24px; text-align: left; border-bottom: 1px solid var(--rule); }
th { color: var(--steel); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
td { font-size: 13px; }
td:nth-child(1) { color: var(--red); font-weight: 900; }
td:nth-child(n+3) { font-family: ui-monospace, monospace; }
.trend { color: var(--cyan); }

.playbook-section { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 5vw; align-items: center; background: #061427; }
.playbook-section h2 { max-width: 700px; margin: 0; font: 900 clamp(38px, 4.8vw, 70px)/.93 var(--display); text-transform: uppercase; }
.playbook-section > p { color: var(--steel); line-height: 1.7; }
footer { padding: 40px 5vw; display: grid; grid-template-columns: 210px 1fr auto; gap: 30px; align-items: center; border-top: 1px solid var(--rule); color: var(--steel); font-size: 11px; }
footer img { width: 200px; }

/* Contrato global contra colisões: conteúdo dinâmico pode encolher e quebrar sem invadir a coluna vizinha. */
.site-header > *, .hero > *, .section-heading > *, .news-grid > *, .lead-story > *, .metric-grid > *, .division-grid > *, .playbook-section > *, footer > * { min-width: 0; }
.story-body, .story-stack article, .metric-grid article, .division-grid article { min-width: 0; overflow-wrap: anywhere; }

/* Leitura assistida: siglas clicáveis e glossário global, usáveis por mouse, teclado ou toque. */
.nfla-explain-trigger { margin: 0; padding: 0 1px; display: inline; border: 0; border-bottom: 1px dotted currentColor; background: transparent; color: inherit; font: inherit; font-weight: inherit; line-height: inherit; cursor: help; }
.nfla-explain-trigger:hover, .nfla-explain-trigger:focus-visible { color: var(--cyan); border-bottom-style: solid; }
.nfla-glossary-button { position: fixed; right: 18px; bottom: 18px; z-index: 18; min-width: 104px; min-height: 46px; padding: 0 14px; border: 1px solid rgba(33,212,253,.65); background: #061427; color: var(--white); box-shadow: 7px 7px 0 rgba(224,68,74,.28); font: 900 11px var(--body); letter-spacing: .08em; cursor: pointer; }
.nfla-glossary-button span { color: var(--cyan); margin-right: 6px; }
.nfla-glossary-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(820px, calc(100vh - 32px)); padding: 0; border: 1px solid rgba(33,212,253,.55); background: #071a32; color: var(--white); box-shadow: 20px 20px 0 rgba(224,68,74,.2); }
.nfla-glossary-dialog::backdrop { background: rgba(1,7,16,.78); backdrop-filter: blur(5px); }
.nfla-glossary-shell { padding: clamp(20px, 4vw, 38px); }
.nfla-glossary-shell > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.nfla-glossary-shell > header p { margin: 0 0 7px; color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.nfla-glossary-shell h2 { margin: 0 0 24px; font: 900 clamp(34px, 6vw, 58px)/.88 var(--display); text-transform: uppercase; }
.nfla-glossary-shell [data-glossary-close] { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--rule); background: transparent; color: var(--white); font-size: 28px; cursor: pointer; }
.nfla-glossary-shell > label { display: block; margin-bottom: 8px; color: var(--steel); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.nfla-glossary-shell > input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule); background: #030b16; color: var(--white); }
.nfla-glossary-status { margin: 12px 0; color: var(--steel); font-size: 10px; }
.nfla-glossary-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nfla-glossary-entry { min-width: 0; padding: 16px; border: 1px solid var(--rule); background: #0b203c; overflow-wrap: anywhere; }
.nfla-glossary-entry h3 { margin: 0 0 8px; color: var(--cyan); font: 900 16px/1.1 var(--display); }
.nfla-glossary-entry p { margin: 0; color: #d0d9e5; font-size: 12px; line-height: 1.5; }
.nfla-glossary-entry small { display: block; margin-top: 8px; color: var(--steel); font-size: 10px; line-height: 1.4; }
.nfla-glossary-entry a { min-height: 38px; margin-top: 12px; display: inline-flex; align-items: center; color: var(--white); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1240px) {
  .site-header { grid-template-columns: minmax(164px, 200px) minmax(0, 1fr) 42px; }
  .menu-toggle { display: block; margin-left: auto; }
  nav { position: relative; }
  nav ul { display: none; position: absolute; top: 35px; right: 0; width: 220px; padding: 15px; flex-direction: column; gap: 0; background: var(--blue); border: 1px solid var(--rule); }
  nav ul.open { display: flex; }
  nav a { display: block; padding: 12px; }
  nav a.active::after { inset: 7px auto 7px 0; width: 3px; height: auto; }
  .hero { grid-template-columns: 1fr; }
  .iq-card { max-width: 700px; }
  .news-grid { grid-template-columns: 1fr; }
  .division-grid { grid-template-columns: repeat(2, 1fr); }
  .playbook-section { grid-template-columns: 1fr; }
  .playbook-section .button { justify-self: start; }
  footer { grid-template-columns: 180px 1fr; }
  footer small { grid-column: 2; }
}

@media (max-width: 640px) {
  .demo-notice p { display: none; }
  .site-header { height: 70px; padding-inline: 18px; grid-template-columns: 170px 1fr; }
  .site-header > .header-back { display: none; }
  .brand img { width: 164px; height: 62px; }
  .search-button { display: none; }
  .hero { min-height: 0; padding: 60px 18px; gap: 50px; }
  .hero h1 { font-size: 62px; }
  .trust-line { gap: 15px; }
  .iq-card { padding: 20px; box-shadow: 8px 8px 0 rgba(224,68,74,.08); }
  .iq-card__header { display: block; }
  .ai-state { display: block; margin-top: 12px; }
  .mode-row { align-items: flex-start; flex-direction: column; }
  .section { padding: 62px 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .lead-story { grid-template-columns: 1fr; }
  .filters { width: 100%; flex-direction: column; }
  .filters label, .filters select { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
  .division-grid { grid-template-columns: 1fr; }
  footer { padding-inline: 18px; grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
  .nfla-glossary-button { right: 12px; bottom: 12px; min-width: 96px; }
  .nfla-glossary-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .nfla-glossary-results { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
