:root {
  --bg: #04121a;
  --bg-2: #071c27;
  --surface: #0a2533;
  --petroleo: #03263a;
  --text: #eef4f6;
  --muted: rgba(238, 244, 246, 0.66);
  --faint: rgba(238, 244, 246, 0.42);
  --line: rgba(238, 244, 246, 0.12);
  --accent: #1da1f2;
  --accent-hi: #5cc0ff;
  --on-accent: #03141d;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(780px + 2 * var(--gutter)); }

.display { font-family: var(--display); font-stretch: 62%; font-variation-settings: 'wdth' 62; font-weight: 800; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.012em; text-wrap: balance; }
.eyebrow { font-family: var(--display); font-stretch: 88%; font-variation-settings: 'wdth' 88; font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.hl { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 28px; border-radius: 3px; font-family: var(--display); font-stretch: 82%; font-variation-settings: 'wdth' 82; font-weight: 700; font-size: 16px; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; transition: background-color 0.4s var(--ease), transform 0.4s var(--ease); }
.btn svg { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(6px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--text); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(4, 18, 26, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 46px; height: auto; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: 0.2em; }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-family: var(--display); font-stretch: 88%; font-variation-settings: 'wdth' 88; font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 8px 0; transition: color 0.4s var(--ease); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }

/* Capa do blog */
.blog-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); background: radial-gradient(50% 90% at 88% 0%, rgba(29, 161, 242, 0.16), transparent 70%); }
.blog-title { font-size: clamp(3rem, 8.6vw, 9rem); margin-top: 18px; max-width: 9.5em; }
.blog-lead { margin-top: 26px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--display); font-stretch: 88%; font-variation-settings: 'wdth' 88; font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Cards */
.blog-list { padding: clamp(32px, 4vw, 56px) 0 clamp(84px, 10vw, 150px); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wrap.post-grid { padding: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.6vw, 40px); background: var(--bg); transition: background-color 0.6s var(--ease); }
.post-card:hover { background: var(--surface); }
.post-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.post-num { font-family: var(--display); font-stretch: 62%; font-variation-settings: 'wdth' 62; font-weight: 800; font-size: 44px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.2px rgba(29, 161, 242, 0.7); }
.post-card-title { font-family: var(--display); font-stretch: 78%; font-variation-settings: 'wdth' 78; font-weight: 700; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.12; transition: color 0.4s var(--ease); }
.post-card:hover .post-card-title { color: var(--accent); }
.post-card-desc { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.post-card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--faint); }
.post-card-go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.post-card-go svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card-go svg { transform: translateX(5px); }
.blog-list .post-card:first-child { grid-column: span 2; }
.blog-list .post-card:first-child .post-card-title { font-size: clamp(28px, 3.2vw, 46px); font-stretch: 68%; font-variation-settings: 'wdth' 68; font-weight: 800; text-transform: uppercase; line-height: 1; max-width: 16em; }

/* Artigo */
.post-head { padding: clamp(44px, 6vw, 90px) 0 clamp(28px, 3.4vw, 48px); background: radial-gradient(60% 100% at 85% 0%, rgba(29, 161, 242, 0.14), transparent 70%); }
.crumbs { display: flex; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--faint); }
.post-title { margin-top: 20px; font-family: var(--display); font-stretch: 70%; font-variation-settings: 'wdth' 70; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.post-lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); }
.post-meta { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.post-cover { margin-bottom: clamp(28px, 4vw, 48px); aspect-ratio: 16 / 10; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { font-size: 18px; line-height: 1.75; color: rgba(238, 244, 246, 0.84); }
.post-body > * + * { margin-top: 1.25em; }
.post-body h2 { margin-top: 2.1em; font-family: var(--display); font-stretch: 78%; font-variation-settings: 'wdth' 78; font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; color: var(--text); }
.post-body h3 { margin-top: 1.7em; font-family: var(--display); font-stretch: 84%; font-variation-settings: 'wdth' 84; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--text); }
.post-body strong { font-weight: 700; color: var(--text); }
.post-body a { color: var(--accent-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--text); }
.post-body ul, .post-body ol { padding-left: 0; list-style: none; }
.post-body li { position: relative; padding-left: 34px; }
.post-body li + li { margin-top: 0.6em; }
.post-body ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 20px; height: 9px; background: var(--accent); clip-path: polygon(2% 7%, 80% 7%, 82% 18%, 98% 18%, 45% 55%, 6% 95%, 45% 41%); }
.post-body ol { counter-reset: n; }
.post-body ol li { counter-increment: n; }
.post-body ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0.25em; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; color: var(--accent); }
.post-body blockquote { padding: 22px 26px; border-left: 3px solid var(--accent); background: var(--bg-2); color: var(--text); }
.post-cta { margin: clamp(48px, 6vw, 84px) 0; padding: clamp(26px, 3.6vw, 48px); background: var(--petroleo); border-top: 3px solid var(--accent); }
.post-cta h2 { margin-top: 14px; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.post-cta p:not(.eyebrow) { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.post-cta .btn { margin-top: 26px; }
.related { padding: clamp(48px, 6vw, 84px) 0 clamp(84px, 10vw, 140px); border-top: 1px solid var(--line); background: var(--bg-2); }
.related .post-grid { margin-top: 24px; }
.related .post-card { background: var(--bg-2); }
.related .post-card:hover { background: var(--surface); }

/* Noticias: resumo, tabelas, fontes e quem escreve */
.key-points { margin-bottom: clamp(24px, 3.4vw, 36px); padding: 24px 26px; background: var(--petroleo); border-top: 3px solid var(--accent); }
.key-points ul { list-style: none; margin-top: 14px; display: grid; gap: 12px; }
.key-points li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.5; color: var(--text); }
.key-points li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 20px; height: 9px; background: var(--accent); clip-path: polygon(2% 7%, 80% 7%, 82% 18%, 98% 18%, 45% 55%, 6% 95%, 45% 41%); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.post-body th, .post-body td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.post-body th { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--bg-2); white-space: nowrap; }
.post-body tr:last-child td { border-bottom: 0; }
.post-body td:not(:first-child) { font-weight: 600; color: var(--text); white-space: nowrap; }
.sources { margin-top: clamp(36px, 5vw, 56px); padding-top: 26px; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--display); font-stretch: 78%; font-variation-settings: 'wdth' 78; font-weight: 700; font-size: 24px; }
.sources ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.sources a { color: var(--accent-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sources a:hover { color: var(--text); }
.sources p { margin-top: 16px; font-size: 14px; color: var(--faint); }
.about-even { margin-top: clamp(28px, 4vw, 44px); padding: 22px 26px; border: 1px solid var(--line); }
.about-even p:not(.eyebrow) { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.about-even strong { color: var(--text); }

/* Sumario e chamadas para o formulario */
.toc { margin-bottom: clamp(28px, 4vw, 44px); padding: 22px 26px; border: 1px solid var(--line); background: var(--bg-2); }
.toc ol { list-style: none; counter-reset: t; margin-top: 12px; display: grid; gap: 8px; }
.toc li { counter-increment: t; position: relative; padding-left: 34px; font-size: 16px; line-height: 1.4; }
.toc li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--accent); }
.toc a { color: var(--muted); transition: color 0.4s var(--ease); }
.toc a:hover { color: var(--text); }
.post-body .mid-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 2.2em 0; padding: 22px 26px; background: var(--petroleo); border-left: 3px solid var(--accent); }
.mid-cta div { flex: 1 1 260px; }
.mid-cta strong { display: block; font-family: var(--display); font-stretch: 80%; font-variation-settings: 'wdth' 80; font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--text); }
.mid-cta span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.post-body .mid-cta .btn { min-height: 50px; padding: 0 22px; font-size: 14px; color: var(--on-accent); text-decoration: none; }
.post-cta-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.post-cta-proof strong { font-family: var(--display); font-stretch: 70%; font-variation-settings: 'wdth' 70; font-weight: 800; font-size: 22px; color: var(--accent); margin-right: 6px; }
.blog-cta { margin: clamp(48px, 6vw, 84px) 0 0; }

/* Formulario de lead no fim da pagina */
html { scroll-behavior: smooth; }
.lead-form { margin-top: 26px; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-input, .form-select { width: 100%; min-height: 54px; padding: 0 16px; background: rgba(4, 18, 26, 0.55); border: 1px solid var(--line); border-radius: 3px; color: var(--text); font: 500 16px var(--body); transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); -webkit-appearance: none; appearance: none; }
.form-input::placeholder { color: var(--faint); }
.form-input:hover, .form-select:hover { border-color: rgba(238, 244, 246, 0.3); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--accent); background: rgba(29, 161, 242, 0.1); }
.form-select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231da1f2' stroke-width='2.4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.form-select option { background: var(--bg); color: var(--text); }
.post-cta .field-label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-radio-group label { position: relative; cursor: pointer; }
.form-radio-group input { position: absolute; opacity: 0; inset: 0; }
.form-radio-group span { display: grid; place-items: center; min-height: 50px; border: 1px solid var(--line); border-radius: 3px; font-weight: 600; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease); }
.form-radio-group input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.form-radio-group input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.post-cta .form-btn { width: 100%; margin-top: 20px; }
.form-btn[disabled] { opacity: 0.6; cursor: progress; }
.post-cta p.form-note { margin-top: 14px; max-width: none; font-size: 12.5px; color: var(--faint); text-align: center; }
.post-cta p.form-error { margin-top: 14px; max-width: none; padding: 12px 14px; border: 1px solid rgba(255, 122, 122, 0.5); border-radius: 3px; color: #ffb3b3; font-size: 14px; }
.form-success { margin-top: 26px; padding: 28px 0 6px; }
.form-success h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sticky-cta { display: none; }

/* Rodape */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: 13.5px; color: var(--faint); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 6px 0; transition: color 0.4s var(--ease); }
.footer-nav a:hover { color: var(--text); }

@media (max-width: 1000px) {
  .nav { display: none; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; }
  .brand svg { width: 38px; }
  .brand span { font-size: 18px; }
  .header .btn { padding: 0 14px; font-size: 13px; min-height: 42px; }
  .header .btn svg { display: none; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-list .post-card:first-child { grid-column: auto; }
  .post-body { font-size: 17px; }
  .post-cta .btn { width: 100%; white-space: normal; text-align: center; padding: 12px 18px; }
  .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .post-body .mid-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: 76px; }
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px;
    background: var(--accent); color: var(--on-accent); border-radius: 3px;
    font-family: var(--display); font-stretch: 82%; font-variation-settings: 'wdth' 82; font-weight: 700; font-size: 15px; letter-spacing: 0.07em; text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
  .sticky-cta svg { width: 20px; height: 20px; }
  .sticky-cta { transition: transform 0.6s var(--ease); }
  .sticky-cta.is-off { transform: translateY(160%); }
}
@media (max-width: 360px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
