/* Trava de rolagem horizontal — mesma regra do painel, ver
   public/assets/layout-guard.css para o porquê de `clip` e não `hidden`. */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
img, video, iframe { max-width: 100%; }

:root {
  --navy: #07182d;
  --navy-2: #0b2544;
  --blue: #008fd3;
  --cyan: #20b8e8;
  --yellow: #ffc928;
  --ink: #102033;
  --muted: #657285;
  --line: #dfe5ec;
  --paper: #f4f7fa;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(7, 24, 45, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, "Segoe UI", sans-serif; font-weight: 540; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 900; }
h2 { margin-bottom: 24px; color: var(--navy); font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.052em; }

.scroll-progress { position: fixed; z-index: 100; inset: 0 auto auto 0; width: calc(var(--scroll-progress, 0) * 100%); height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow)); box-shadow: 0 0 18px rgba(32,184,232,.55); pointer-events: none; }
.scroll-reveal { opacity: 0; transform: translate3d(0, 42px, 0) scale(.985); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.scroll-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.calendar-row.scroll-reveal, .document-list a.scroll-reveal { transform: translate3d(-28px, 0, 0); }
.calendar-row.scroll-reveal.is-visible, .document-list a.scroll-reveal.is-visible { transform: translate3d(0, 0, 0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 86px; color: var(--navy); background: rgba(255,255,255,.96); border-top: 2px solid var(--navy); border-bottom: 6px solid var(--yellow); box-shadow: inset 0 -2px 0 var(--blue), 0 8px 24px rgba(7,24,45,.08); backdrop-filter: blur(16px); }
/* Marca do topo: selo + nome + linha de apoio, na mesma linha do menu.
   Antes o logotipo era um círculo de 126px posicionado por absolute, saindo
   para fora do cabeçalho e obrigando o menu a um padding-left fixo. */
.header-inner { width: min(1240px, calc(100% - 40px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { flex: none; width: 46px; height: 46px; object-fit: contain; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.05); }
.brand-copy { display: grid; gap: 1px; min-width: 0; }
.brand-copy b { font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.brand-copy small { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.25; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: rgba(7,24,45,.78); font-size: 13px; font-weight: 800; transition: color .2s, transform .2s; }
.desktop-nav a:hover { color: var(--blue); }
.header-social { display: flex; align-items: center; gap: 6px; }
.header-social a, .footer-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: color .2s, background .2s, transform .2s; }
.header-social a { color: var(--navy); background: var(--paper); border: 1px solid rgba(7,24,45,.08); }
.header-social a:hover { color: white; background: var(--blue); transform: translateY(-2px); }
.header-social svg, .footer-social svg { width: 17px; height: 17px; }
.header-cta { padding: 12px 19px; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.mobile-nav { display: none; position: static; margin-left: auto; }
.mobile-nav summary { position: relative; z-index: 62; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; list-style: none; color: var(--navy); background: var(--paper); border: 1px solid rgba(7,24,45,.13); border-radius: 14px; cursor: pointer; transition: color .25s, background .25s, transform .25s; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.mobile-nav[open] summary { color: white; background: var(--blue); transform: rotate(3deg); }
.mobile-nav[open] summary span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-nav[open] summary span:nth-child(2) { opacity: 0; }
.mobile-nav[open] summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-backdrop { position: fixed; z-index: 59; inset: 0; border: 0; background: rgba(2,12,25,.62); opacity: 0; visibility: hidden; cursor: pointer; backdrop-filter: blur(4px); transition: opacity .3s, visibility .3s; }
.mobile-nav-panel { position: fixed; z-index: 60; inset: 0 0 0 auto; width: min(88vw, 410px); min-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: max(22px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); color: white; background: radial-gradient(circle at 100% 0, color-mix(in srgb,var(--blue) 42%,transparent), transparent 35%), var(--navy); border-left: 1px solid rgba(255,255,255,.13); box-shadow: -30px 0 80px rgba(2,12,25,.3); transform: translateX(104%); visibility: hidden; transition: transform .36s cubic-bezier(.2,.8,.2,1), visibility .36s; }
.mobile-nav[open] .mobile-nav-backdrop { opacity: 1; visibility: visible; }
.mobile-nav[open] .mobile-nav-panel { transform: translateX(0); visibility: visible; }
.mobile-nav-panel>header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 58px 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.mobile-nav-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.mobile-nav-identity img { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; background: white; border-radius: 13px; }
.mobile-nav-identity small,.mobile-nav-identity strong { display: block; }
.mobile-nav-identity small { margin-bottom: 4px; color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.mobile-nav-identity strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-nav-links { display: grid; margin: 20px 0 24px; }
.mobile-nav-links a { min-height: 62px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.mobile-nav-links a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--yellow); border-right: 1.5px solid var(--yellow); transform: rotate(45deg); transition: transform .2s; }
.mobile-nav-links a:hover::after { transform: translateX(4px) rotate(45deg); }
.mobile-nav-links small { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.mobile-nav-actions { display: grid; gap: 10px; }
.mobile-nav-actions a { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 11px 17px; border-radius: 12px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.mobile-nav-primary { color: var(--navy); background: var(--yellow); }
.mobile-nav-primary span { font-size: 18px; line-height: 1; }
.mobile-nav-secondary { color: white; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.mobile-social { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.mobile-social a { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 11px 4px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.055); border-radius: 11px; font-size: 8px; text-align: center; }
.mobile-social a:hover { color: white; background: rgba(255,255,255,.11); }
.mobile-social svg { width: 19px; height: 19px; }
.mobile-nav-panel>footer { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding: 24px 0 0; color: rgba(255,255,255,.45); background: transparent; font-size: 9px; }
body.site-menu-open { overflow: hidden; }

.hero { position: relative; min-height: 790px; height: 100svh; overflow: hidden; color: var(--navy); background: linear-gradient(135deg, #fff 0%, #f7f8fa 100%); isolation: isolate; }
.hero::after { content: ""; position: absolute; z-index: 0; inset: 86px 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(7,24,45,.08), transparent); }
.hero-grid { position: relative; z-index: 2; min-height: 100%; display: flex; align-items: center; padding-top: 86px; }
.hero-content { position: relative; z-index: 3; width: min(42%, 500px); padding: 52px 0 54px; animation: hero-in 1s .12s cubic-bezier(.2,.75,.2,1) both; }
.hero h1 { max-width: 500px; margin-bottom: 25px; color: var(--navy); font-size: clamp(44px, 4.7vw, 68px); font-weight: 950; line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-copy { max-width: 450px; margin-bottom: 32px; color: rgba(7,24,45,.7); font-size: 18px; font-weight: 650; line-height: 1.58; }
.hero .eyebrow.light { color: var(--blue); font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { position: relative; min-height: 52px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; transition: transform .2s, background .2s; isolation: isolate; }
.hero-actions .button::after { content: ""; position: absolute; z-index: -1; top: -70%; left: -42%; width: 26%; height: 240%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent); transform: rotate(20deg); animation: button-shine 3.6s ease-in-out infinite; }
.hero-actions .button:nth-child(2)::after { animation-delay: 1.15s; background: linear-gradient(90deg, transparent, rgba(32,184,232,.38), transparent); }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--navy); box-shadow: 0 12px 28px rgba(7,24,45,.2); }
.button.primary span { color: var(--yellow); }
.button.ghost { color: var(--navy); border-color: rgba(7,24,45,.28); background: rgba(255,255,255,.58); backdrop-filter: blur(8px); }
.hero-quote { position: relative; width: min(100%, 430px); margin-top: 30px; padding: 18px 22px 18px 52px; background: rgba(7,24,45,.94); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: white; box-shadow: 0 18px 45px rgba(7,24,45,.16); animation: quote-in 1s .65s cubic-bezier(.2,.75,.2,1) both; }
.hero-quote > span { position: absolute; left: 22px; top: 16px; color: var(--blue); font: 700 50px/1 Georgia, serif; }
.hero-quote p { margin: 0; font: italic 14px/1.45 Georgia, serif; }
.hero-visual { position: absolute; z-index: 1; inset: 86px -7vw 0 42%; display: block; pointer-events: none; animation: visual-in 1.1s .16s cubic-bezier(.2,.75,.2,1) both; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; transform: translate3d(0, calc(var(--hero-shift, 0px) * .18), 0); transition: transform .08s linear; }
.hero-watermark { position: absolute; z-index: 0; left: max(22px, calc((100vw - 1180px) / 2)); bottom: 24px; color: transparent; font-size: clamp(70px, 10vw, 160px); font-weight: 950; letter-spacing: -.07em; line-height: .72; -webkit-text-stroke: 1.5px rgba(7,24,45,.07); text-stroke: 1.5px rgba(7,24,45,.07); user-select: none; }

@keyframes hero-in { from { opacity: 0; transform: translate3d(-42px, 20px, 0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes quote-in { from { opacity: 0; transform: translate3d(32px, 18px, 0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes visual-in { from { opacity: 0; transform: translate3d(40px, 0, 0) scale(.985); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes button-shine { 0%, 58% { left: -42%; opacity: 0; } 64% { opacity: 1; } 82%, 100% { left: 122%; opacity: 0; } }
@keyframes stat-pulse { 0% { opacity: .25; transform: translateY(12px) scale(.82); } 65% { transform: translateY(-2px) scale(1.07); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

.stats { position: relative; z-index: 3; margin-top: -1px; background: var(--yellow); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { min-height: 128px; display: flex; flex-direction: column; justify-content: center; padding: 25px 34px; border-right: 1px solid rgba(7,24,45,.18); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: inline-block; width: max-content; color: var(--navy); font-size: 31px; line-height: 1; letter-spacing: -.04em; animation: stat-pulse .9s .25s cubic-bezier(.2,.8,.2,1) both; }
.stats-grid div:nth-child(2) strong { animation-delay: .38s; }
.stats-grid div:nth-child(3) strong { animation-delay: .51s; }
.stats-grid div:nth-child(4) strong { animation-delay: .64s; }
.stats-grid span { margin-top: 9px; color: rgba(7,24,45,.68); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(55px, 8vw, 110px); }
.about-photo-wrap { position: relative; }
.about-photo { width: 100%; aspect-ratio: .86; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo-wrap::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; z-index: -1; background: var(--paper); border-radius: var(--radius); }
.about-badge { position: absolute; right: -28px; bottom: 34px; width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); background: var(--yellow); border: 9px solid white; border-radius: 50%; transform: rotate(-7deg); }
.about-badge strong { font: italic 30px/1 Georgia, serif; }
.about-badge span { margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.about-content .lead { color: var(--ink); font-size: 19px; font-weight: 650; line-height: 1.65; }
.about-content > p:not(.eyebrow):not(.lead) { color: var(--muted); line-height: 1.75; }
.recognition { display: flex; gap: 14px; margin-top: 30px; padding: 19px 20px; background: var(--paper); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; }
.recognition span { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 12px; }
.recognition p { margin: 0; color: var(--navy); font-size: 13px; font-weight: 650; line-height: 1.5; }

.calendar-section { background: var(--paper); }
.section-heading { margin-bottom: 48px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); line-height: 1.65; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.calendar-event-card { min-height: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 16px 42px rgba(7,24,45,.08); transition: transform .25s ease, box-shadow .25s ease; }
.calendar-event-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(7,24,45,.14); }
.calendar-event-cover { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.calendar-event-cover::after { content: ''; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent,rgba(3,14,28,.72)); }
.calendar-event-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.calendar-event-card:hover .calendar-event-cover img { transform: scale(1.035); }
.calendar-event-cover > span { position: absolute; z-index: 2; left: 18px; bottom: 17px; min-width: 58px; min-height: 65px; padding: 8px; display: grid; place-items: center; align-content: center; color: #667485; background: white; border-radius: 13px; box-shadow: 0 10px 28px rgba(0,0,0,.24); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.calendar-event-cover > span b { color: var(--navy); font-size: 24px; line-height: 1; }
.calendar-event-cover > span small { margin-top: 3px; color: #98a1ad; font-size: 8px; }
.calendar-event-body { padding: 21px; display: flex; flex: 1; flex-direction: column; }
.calendar-event-tags { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.calendar-event-tags span { padding: 6px 9px; border-radius: 999px; color: var(--blue); background: color-mix(in srgb,var(--blue) 11%,white); font-size: 10px; font-weight: 850; }
.calendar-event-tags small { color: #9b6f14; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.calendar-event-body h3 { margin: 15px 0 8px; color: var(--navy); font-size: 20px; line-height: 1.25; }
.calendar-event-body > p { min-height: 48px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.calendar-event-body ul { margin: 17px 0; padding: 15px 0; display: grid; gap: 9px; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-event-body li { display: flex; align-items: center; gap: 9px; color: #677484; font-size: 12px; }
.calendar-event-body li svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--blue); }
.calendar-event-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--blue); font-size: 12px; font-weight: 850; }
.calendar-event-action svg { width: 18px; height: 18px; }

.news-section { background: white; }
.text-link { align-self: center; display: inline-flex; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-image { position: relative; display: block; aspect-ratio: 1.2; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-image > span { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 50%; transform: translateY(-60px); transition: transform .3s; }
.news-card:hover .news-image img { transform: scale(1.035); }
.news-card:hover .news-image > span { transform: translateY(0); }
.news-card > p { margin: 21px 0 12px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.news-card h3 { margin-bottom: 17px; color: var(--navy); font-size: 20px; font-weight: 900; line-height: 1.35; letter-spacing: -.025em; }
.read-more { display: inline-flex; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.read-more span { color: var(--blue); }

.projects-section { position: relative; overflow: hidden; background: var(--navy); }
.projects-section::before { content: ""; position: absolute; width: 520px; height: 520px; top: -300px; right: -150px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.centered { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.centered h2 { color: inherit; }
.centered > p:last-child { max-width: 580px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.62); line-height: 1.6; }
.projects-section .section-heading { color: white; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; min-height: 430px; overflow: hidden; display: flex; flex-direction: column; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.project-number { position: absolute; z-index: 2; top: 18px; left: 18px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 50%; font-size: 11px; font-weight: 900; }
.project-image { height: 248px; display: grid; place-items: center; padding: 28px; background: white; }
.project-image img { width: 100%; height: 100%; object-fit: contain; }
.project-copy { padding: 27px; color: white; }
.project-copy h3 { margin-bottom: 10px; font-size: 24px; font-weight: 900; }
.project-copy p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.6; }

.documents-section { background: var(--navy-2); color: white; }
.documents-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.documents-intro { position: sticky; top: 120px; }
.documents-intro h2 { color: white; }
.documents-intro > p:not(.eyebrow) { color: rgba(255,255,255,.62); line-height: 1.7; }
.document-mark { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); }
.document-mark img { width: 52px; height: 52px; border-radius: 50%; }
.document-mark span { max-width: 210px; color: rgba(255,255,255,.63); font-size: 11px; font-weight: 700; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; }
.document-list { border-top: 1px solid rgba(255,255,255,.16); }
.document-list a { min-height: 88px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .2s, padding .2s; }
.document-list a:hover { padding: 0 16px; background: rgba(255,255,255,.06); }
.document-list span { color: var(--cyan); font-size: 11px; font-weight: 800; }
.document-list strong { font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.document-list a > span:last-child { color: var(--yellow); font-size: 18px; }

.affiliations { background: var(--paper); }
.affiliations .centered { color: var(--navy); }
.affiliation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.affiliation-grid > div, .affiliation-grid > a { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: transform .2s, box-shadow .2s; }
.affiliation-grid > a:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(7,24,45,.1); }
.affiliation-grid img { width: 98px; height: 98px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(7,24,45,.09)); }
.affiliation-grid span { max-width: 230px; color: var(--navy); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.4; }
.partner-link { margin-top: 28px; display: flex; justify-content: space-between; padding: 21px 24px; color: var(--navy); background: var(--yellow); border-radius: 13px; font-size: 14px; font-weight: 800; }
.partner-link span { color: rgba(7,24,45,.67); }

.contact-section { position: relative; overflow: hidden; padding: 115px 0; color: white; background: var(--navy); }
.contact-image, .contact-overlay { position: absolute; inset: 0; }
.contact-image { background: url('images/corredor-contato.jpg') center / cover no-repeat; }
.contact-overlay { background: linear-gradient(90deg, rgba(3,16,31,.97) 0%, rgba(3,16,31,.91) 50%, rgba(3,16,31,.7) 100%); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(55px, 8vw, 100px); }
.contact-copy h2 { color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.67); font-size: 17px; line-height: 1.7; }
.contact-links { margin-top: 36px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.contact-links a { min-height: 68px; display: flex; align-items: center; gap: 13px; padding: 12px 14px; color: white; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: 13px; transition: background .2s, border-color .2s, transform .2s; }
.contact-links a:hover { background: rgba(255,255,255,.13); border-color: rgba(255,201,40,.52); transform: translateY(-2px); }
.contact-links .social-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 50%; }
.contact-links .social-mark svg { width: 19px; height: 19px; }
.contact-links .social-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.contact-links small { color: var(--yellow); font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.contact-links strong { overflow: hidden; font-size: 12px; font-weight: 650; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.contact-form { padding: 38px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 25px; color: var(--navy); font-size: 28px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; color: var(--navy); font-size: 12px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px 16px; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 9px; outline: none; font-size: 16px; text-transform: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form button { width: 100%; min-height: 55px; display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--navy); background: var(--yellow); border: 0; border-radius: 999px; font-size: 14px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.contact-form button[aria-busy="true"] { cursor: wait; opacity: .72; }
.contact-form [aria-invalid="true"] { border-color: #c84f45; background: #fff6f5; box-shadow: 0 0 0 3px rgba(200,79,69,.12); }
.recaptcha-notice { display: block; margin: 13px 8px 0; color: #829088; font-size: 10px; font-weight: 500; line-height: 1.45; text-align: center; }
.recaptcha-notice a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.tracking-pixel { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.site-alert { margin: -5px 0 22px; padding: 13px 15px; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.45; }
.site-alert.success { color: #075b42; background: #e6f7ef; border: 1px solid #aee2cb; }
.site-alert.error { color: #8c2d25; background: #fff0ee; border: 1px solid #efc1bc; }
.contact-modal[hidden] { display: none; }
body.contact-modal-open { overflow: hidden; }
.contact-modal { position: fixed; z-index: 180; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(3,16,31,.7); backdrop-filter: blur(7px); opacity: 0; transition: opacity .18s ease; }
.contact-modal.show { opacity: 1; }
.contact-modal-card { position: relative; width: min(460px,100%); padding: 38px; color: var(--ink); background: white; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; box-shadow: 0 32px 100px rgba(3,16,31,.35); text-align: center; transform: translateY(18px) scale(.97); transition: transform .2s ease; }
.contact-modal.show .contact-modal-card { transform: translateY(0) scale(1); }
.contact-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; color: #728078; background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; }
.contact-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.contact-modal-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; }
.contact-modal-icon svg { grid-area: 1/1; width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-modal.success .contact-modal-icon { color: #087c58; background: #e3f7ef; }
.contact-modal.error .contact-modal-icon { color: #b64239; background: #fff0ee; }
.contact-modal.success .icon-error, .contact-modal.error .icon-success { display: none; }
.contact-modal-eyebrow { display: block; margin-bottom: 11px; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.contact-modal-card h2 { margin: 0 0 13px; font-size: 30px; letter-spacing: -.035em; }
.contact-modal-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.contact-modal-action { min-width: 150px; min-height: 46px; margin-top: 25px; padding: 0 24px; color: white; background: var(--navy); border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }
.public-empty { padding: 34px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }

.site-inner-hero, .article-hero { padding: 190px 0 90px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.site-inner-hero h1, .article-hero h1 { max-width: 920px; margin: 0 0 22px; font-size: clamp(45px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.site-inner-hero > .container > p:last-child { max-width: 650px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.65; }
.news-archive { background: var(--paper); }
.news-archive .news-grid { row-gap: 58px; }
/* Três linhas no card: notícias importadas trazem resumos de tamanhos muito
   diferentes e sem o corte a grade fica com cartões desalinhados. */
.news-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; margin: -4px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.article-back { display: inline-flex; margin-bottom: 42px; color: var(--yellow); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.article-hero time { color: rgba(255,255,255,.58); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.article-content { max-width: 940px; padding-top: 70px; padding-bottom: 110px; }
.article-cover { width: 100%; max-height: 620px; object-fit: cover; margin: 0 0 52px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-lead { color: var(--navy); font-size: clamp(22px, 3vw, 30px); font-weight: 750; line-height: 1.45; }
.article-body { color: #435166; font-size: 18px; line-height: 1.85; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 1.7em; margin-bottom: .65em; color: var(--navy); line-height: 1.18; letter-spacing: -.03em; }
.article-body h2 { font-size: clamp(30px,4vw,46px); }.article-body h3 { font-size: clamp(25px,3vw,34px); }.article-body h4 { font-size: 23px; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote { margin-bottom: 1.35em; }
.article-body blockquote { padding: 20px 24px; border-left: 5px solid var(--blue); background: var(--paper); color: var(--navy); font-size: 1.08em; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 34px auto; border-radius: var(--radius); }
.article-body a { color: var(--blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

/* Alinhamento de imagem definido no editor (Gestão do site > Notícias). As
   classes vêm fixas do servidor — ver app/SiteCms.php: site_image_align_classes(). */
.article-body figure { margin: 34px 0; }
.article-body figure img { margin: 0; }
.article-body figure figcaption { margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: center; }
.article-body figure.img-align-center { max-width: 560px; margin-left: auto; margin-right: auto; }
.article-body figure.img-align-left,
.article-body figure.img-align-right { max-width: min(400px, 46%); }
.article-body figure.img-align-left { float: left; margin: 8px 30px 22px 0; clear: left; }
.article-body figure.img-align-right { float: right; margin: 8px 0 22px 30px; clear: right; }
.article-body figure.img-align-left figcaption,
.article-body figure.img-align-right figcaption { text-align: left; }
.article-body::after { content: ''; display: table; clear: both; }
@media (max-width: 640px) {
  .article-body figure.img-align-left,
  .article-body figure.img-align-right { float: none; max-width: 100%; margin: 30px 0; }
}

.article-action { margin-top: 45px; }
.article-return-link { display: flex; align-items: center; gap: 9px; width: max-content; margin-top: 28px; color: var(--blue); font-size: 13px; font-weight: 800; }
.event-public-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 0 0 42px; }
.event-public-facts > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.event-public-facts small, .event-public-facts b { display: block; }.event-public-facts small { margin-bottom: 7px; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .1em; }.event-public-facts b { color: var(--navy); font-size: 14px; }
.site-error-page { min-height: 75vh; display: grid; align-items: center; padding: 170px 0 90px; background: var(--paper); }
.site-error-page h1 { max-width: 750px; color: var(--navy); font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; }
.site-error-page p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); font-size: 18px; }

/* Só o rodapé institucional da página (filho direto do <main>). Como regra de
   elemento solta, isto pintava de preto qualquer <footer> aninhado — era o que
   punha a barra escura no fim da notícia, já que .article-footer não declara
   fundo nem padding e portanto não tinha o que sobrescrever. */
main > footer { padding: 70px 0 25px; color: white; background: #040f1e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 60px; padding-bottom: 55px; }
/* Sem recorte circular nem cartão: a logomarca já traz o próprio fundo, e o
   círculo branco sobre o rodapé escuro pesava mais que a marca. */
.footer-brand img { width: 78px; height: 78px; object-fit: contain; background: none; border-radius: 0; }
/* Legenda sob a marca — texto de apoio, não parágrafo do mesmo peso dos links. */
.footer-brand p { max-width: 250px; margin-top: 14px; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.55; }
.footer-social { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.footer-social a { color: white !important; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.footer-social a:hover { color: var(--navy) !important; background: var(--yellow); transform: translateY(-2px); }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; }
.footer-grid span { margin-bottom: 8px; color: var(--yellow); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid a, .footer-grid > div:not(.footer-brand) p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.5; }
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 62px; display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 11px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-bottom .developer-credit { color: rgba(255,255,255,.62); white-space: nowrap; }
.footer-bottom .developer-credit strong { color: var(--yellow); font-weight: 800; }
.footer-bottom .developer-credit:hover { color: white; }

@media (max-width: 1180px) {
  .header-social { display: none; }
}

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-social { display: none; }
  .mobile-nav { display: block; }
  .header-cta { margin-left: auto; }
  .hero-quote { display: none; }
  .hero { height: auto; min-height: 0; overflow: hidden; }
  .hero-grid { min-height: 0; flex-direction: column; align-items: stretch; padding-top: 86px; }
  .hero-content { width: 100%; max-width: 720px; padding: 72px 0 18px; }
  .hero h1 { max-width: 620px; font-size: clamp(46px, 7vw, 64px); }
  .hero-copy { max-width: 600px; }
  .hero-visual { position: relative; inset: auto; width: min(100%, 760px); aspect-ratio: 1; margin: 0 auto; overflow: visible; }
  .hero-visual img { object-fit: contain; object-position: center bottom; transform: translate3d(0, calc(var(--hero-shift, 0px) * .08), 0); }
  .hero-watermark { left: 20px; bottom: 24px; font-size: 16vw; }
  .event-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 0; display: grid; grid-template-columns: 270px 1fr; }
  .project-image { height: 270px; }
  .project-copy { align-self: center; }
  .documents-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 78px 0; }
  .site-header { height: 76px; }
  .header-inner { width: calc(100% - 28px); gap: 14px; }
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-copy b { font-size: 16px; }
  .brand-copy small { font-size: 10.5px; }
  .header-cta { display: none; }
  .hero { height: auto; min-height: 0; padding-bottom: 0; color: var(--navy); background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%); }
  .hero-grid { padding-top: 76px; }
  .hero-content { width: 100%; padding: 54px 0 14px; }
  .hero h1 { color: var(--navy); font-size: clamp(36px, 10vw, 48px); line-height: 1; }
  .hero-copy { color: rgba(7,24,45,.72); font-size: 16px; }
  .hero .eyebrow.light { color: var(--blue); }
  .button.primary { color: white; background: var(--navy); }
  .button.primary span { color: var(--yellow); }
  .button.ghost { color: var(--navy); border-color: rgba(7,24,45,.25); background: rgba(255,255,255,.7); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { width: min(100%, 560px); aspect-ratio: 1; margin-top: 0; }
  .hero-visual img { object-fit: contain; object-position: center bottom; transform: none; }
  .hero-watermark { left: 12px; bottom: 18px; color: transparent; font-size: 22vw; -webkit-text-stroke-color: rgba(7,24,45,.08); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div { min-height: 106px; padding: 20px; border-bottom: 1px solid rgba(7,24,45,.18); }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .about-grid, .documents-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { margin-left: 12px; }
  .about-badge { width: 120px; height: 120px; right: -10px; bottom: 20px; }
  .about-content { margin-top: 10px; }
  .split-heading { display: block; }
  .split-heading > p, .split-heading > a { margin-top: 22px; }
  .event-grid, .news-grid, .affiliation-grid { grid-template-columns: 1fr; }
  .calendar-event-body > p { min-height: 0; }
  .project-card { display: block; }
  .project-image { height: 260px; }
  .documents-intro { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 27px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-inner-hero, .article-hero { padding: 145px 0 68px; }
  .article-content { padding-top: 38px; padding-bottom: 75px; }
  .article-cover { margin-bottom: 32px; }
  .article-body { font-size: 17px; }
  .event-public-facts { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .contact-links { grid-template-columns: 1fr; }
  .contact-modal { align-items: end; padding: 10px; }
  .contact-modal-card { padding: 34px 22px 24px; border-radius: 22px; }
  .contact-modal-action { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .scroll-reveal { opacity: 1 !important; transform: none !important; }
  .hero-visual, .hero-visual img { transform: none !important; }
}

/* ===========================================================================
   Página de notícia (single)
   ---------------------------------------------------------------------------
   Estrutura de portal de notícias: caminho de navegação, linha de crédito com
   data e tempo de leitura, trilho de compartilhamento fixo ao lado do texto e
   sugestões de leitura no fim.
   =========================================================================== */

.article-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; color: rgba(255,255,255,.62); font-size: 13px; font-weight: 700; }
.article-breadcrumb a { color: rgba(255,255,255,.82); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--yellow); }
.article-breadcrumb span[aria-hidden] { color: rgba(255,255,255,.32); }
.article-breadcrumb span[aria-current] { color: var(--yellow); }

/* O topo da matéria usa a MESMA medida do corpo (940px, ver .article-content).
   Antes o herói herdava o container de 1180px com um h1 de até 82px preso em
   920px: o título ficava gigante, encostado à esquerda e desalinhado da capa e
   do texto logo abaixo. Uma coluna só, do olho-mágico ao último parágrafo. */
.article-page .article-hero { padding: 168px 0 66px; }
.article-page .article-hero > .container { width: min(940px, calc(100% - 48px)); }
.article-page .article-hero h1 { max-width: 100%; margin: 0; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.article-page .article-hero .eyebrow { display: block; margin-bottom: 14px; color: var(--yellow); }

/* Duas linhas: é chamada de apoio, não resumo executivo. O -webkit-line-clamp
   protege o layout de textos antigos, importados antes desse limite existir. */
.article-standfirst { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.8); font-size: clamp(17px, 1.7vw, 20px); font-weight: 500; line-height: 1.5; }

.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.66); font-size: 13px; font-weight: 700; }
.article-byline { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.article-byline img { width: 34px; height: 34px; object-fit: contain; padding: 4px; border-radius: 9px; background: rgba(255,255,255,.1); }
.article-meta time { color: rgba(255,255,255,.66); font-size: 13px; letter-spacing: normal; }
.article-reading-time { display: inline-flex; align-items: center; gap: 7px; }
.article-reading-time::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }

/* Texto e trilho de compartilhamento lado a lado. O trilho acompanha a
   rolagem: em matéria longa, compartilhar não deve exigir voltar ao topo. */
.article-layout { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 34px; align-items: start; }
.article-share { position: sticky; top: 110px; display: grid; justify-items: center; gap: 14px; }
.article-share-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.article-share-actions { display: grid; gap: 9px; }
.article-share-link { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--navy); cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.article-share-link svg { width: 19px; height: 19px; }
.article-share-link:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.article-share-link.is-whatsapp:hover { background: #25d366; }
.article-share-link.is-facebook:hover { background: #1877f2; }
.article-share-link.is-linkedin:hover { background: #0a66c2; }
.article-share-link.is-copy:hover { background: var(--navy); }
.article-share-link.is-copied { border-color: transparent; background: var(--blue); color: #fff; }

.article-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-footer .article-return-link { margin-top: 0; }
.article-share-actions.is-inline { display: none; grid-auto-flow: column; }

.article-related { padding: 78px 0 96px; background: var(--paper); }
.article-related .section-heading { margin-bottom: 40px; }
.article-related h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.035em; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-share { display: none; }
  .article-share-actions.is-inline { display: grid; }
  .article-related { padding: 54px 0 66px; }
  .article-related .news-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 620px) {
  .article-breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .article-breadcrumb span[aria-current] { display: none; }
  .article-breadcrumb a:last-of-type ~ span[aria-hidden] { display: none; }
  .article-meta { gap: 10px 16px; margin-top: 26px; padding-top: 20px; }
  .article-footer { flex-direction: column; align-items: flex-start; }
}
/* Precisa repetir o seletor de duas classes: o bloco geral do herói (regra de
   uma classe) perde para .article-page .article-hero mesmo dentro do media. */
@media (max-width: 900px) {
  .article-page .article-hero { padding: 132px 0 52px; }
  .article-page .article-hero > .container { width: min(100% - 32px, 940px); }
  .article-standfirst { margin-top: 14px; }
}

/* ===========================================================================
   Carrossel
   ---------------------------------------------------------------------------
   Rolagem nativa com scroll-snap: funciona no toque, no trackpad e no teclado
   mesmo sem JavaScript. O script só acrescenta os botões, a barra de progresso
   e — importante — esconde tudo isso quando o conteúdo cabe na tela, para não
   exibir controles que não levam a lugar nenhum.
   =========================================================================== */

.carousel { --carousel-visible: 3; --carousel-gap: 28px; position: relative; }
.carousel-track {
  display: flex; gap: var(--carousel-gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 10px; margin: -4px -4px -10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 calc((100% - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible));
  scroll-snap-align: start;
}
.carousel-track:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: var(--radius); }

.carousel-nav { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.carousel-nav[hidden] { display: none; }
.carousel-button {
  width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, opacity .2s;
}
.carousel-button svg { width: 20px; height: 20px; }
.carousel-button:hover:not(:disabled) { background: var(--navy); border-color: transparent; color: #fff; transform: translateY(-2px); }
.carousel-button:disabled { opacity: .32; cursor: default; }
.carousel-progress { position: relative; flex: 1 1 auto; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.carousel-progress span { position: absolute; inset: 0 auto 0 0; width: var(--carousel-progress, 30%); border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: translateX(var(--carousel-offset, 0)); transition: transform .25s ease, width .25s ease; }
.carousel-count { flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Em telas escuras (seção de projetos) os controles precisam inverter. */
.projects-section .carousel-button { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.06); color: #fff; }
.projects-section .carousel-button:hover:not(:disabled) { background: var(--yellow); color: var(--navy); }
.projects-section .carousel-progress { background: rgba(255,255,255,.18); }
.projects-section .carousel-count { color: rgba(255,255,255,.62); }

@media (max-width: 1080px) { .carousel { --carousel-visible: 2; --carousel-gap: 22px; } }
@media (max-width: 720px) {
  .carousel { --carousel-visible: 1.12; --carousel-gap: 16px; }
  .carousel-nav { gap: 12px; margin-top: 24px; }
  .carousel-button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }

/* ===========================================================================
   Arquivo de notícias
   =========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.news-archive-hero { padding-bottom: 70px; }

.news-featured-section { padding: 0; margin-top: -46px; position: relative; z-index: 2; }
.news-featured { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.news-featured-image { display: block; overflow: hidden; }
.news-featured-image img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.news-featured-image:hover img { transform: scale(1.04); }
.news-featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 52px); }
.news-featured-tag { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.news-featured h2 { margin: 0; color: var(--navy); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.035em; }
.news-featured h2 a:hover { color: var(--blue); }
.news-featured-excerpt { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.news-featured-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px; font-weight: 800; }
.news-featured-meta span::before { content: '•'; margin-right: 8px; color: var(--yellow); }

.news-archive-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 44px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.news-archive-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.news-chip { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.news-chip:hover { border-color: var(--blue); color: var(--blue); }
.news-chip.is-active { background: var(--navy); border-color: transparent; color: #fff; }
.news-archive-tools { display: flex; align-items: center; gap: 16px; }
.news-search { display: flex; align-items: center; gap: 10px; min-width: min(300px, 68vw); padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); transition: border-color .2s, background-color .2s; }
.news-search:focus-within { border-color: var(--blue); background: var(--white); }
.news-search svg { width: 17px; height: 17px; flex: 0 0 auto; }
.news-search input { width: 100%; border: 0; background: none; color: var(--ink); outline: none; font-size: 14px; font-weight: 600; }
.news-archive-count { flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap; }

.news-archive-empty { padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.news-archive-empty[hidden] { display: none; }
.news-archive-empty b { color: var(--navy); font-size: 18px; }
.news-archive-empty p { margin: 0 0 6px; }

/* ===========================================================================
   Navegação entre notícias
   =========================================================================== */

.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(1180px, calc(100% - 48px)); margin: 0 auto 10px; padding-top: 8px; }
.article-pager-link { display: grid; gap: 10px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, transform .2s, box-shadow .2s; }
.article-pager-link:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow); }
.article-pager-link.is-next { grid-column: 2; text-align: right; }
.article-pager-link.is-previous:only-child { grid-column: 1; }
.article-pager-direction { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-pager-link strong { color: var(--navy); font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }

@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-image img { min-height: 240px; }
  .news-featured-section { margin-top: -32px; }
  .news-archive-toolbar { flex-direction: column; align-items: stretch; }
  .news-archive-tools { justify-content: space-between; }
  .article-pager { grid-template-columns: 1fr; }
  .article-pager-link.is-next { grid-column: 1; text-align: left; }
}
