/* ============================================================
   BF&CO. — Design System v6
   Brandkit: navy #0A1D4D · blue #0A43D6 · #8C8CBC · #E5E5E5 · #F7F7F7
   Type: Tinos (display) · IBM Plex Sans (UI/body)
   Regra de marca: nenhum canto arredondado.
   ============================================================ */

:root {
  --navy: #0A1D4D;
  --blue: #0A43D6;
  --gray: #8C8CBC;
  --gray-2: #E5E5E5;
  --paper: #F7F7F7;
  --cream: #F2EFE9;
  --ink: #0A1D4D;
  --ink-70: rgba(10, 29, 77, .70);
  --ink-50: rgba(10, 29, 77, .50);
  --line: rgba(10, 29, 77, .14);
  --line-soft: rgba(10, 29, 77, .08);
  --white: #ffffff;
  --cream-70: rgba(242, 239, 233, .72);
  --cream-line: rgba(242, 239, 233, .18);
  --max: 1240px;
  --serif: "Tinos", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -52px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.06;
}

h1.display { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0 0 28px; }
h2.display { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 20px; }
h3.display { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 12px; }

/* ponto quadrado azul — assinatura da marca */
.dot { display: inline-block; width: .16em; height: .16em; background: var(--blue); margin-left: .08em; transform: translateY(-.04em); }
.on-dark .dot, .dot.lt { background: var(--blue); }

.lead {
  font-size: 1.15rem;
  color: var(--ink-70);
  max-width: 62ch;
  margin: 0 0 8px;
}

.label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 22px;
}

.num-label {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--ink-50);
  display: block;
  margin-bottom: 16px;
}

/* ---------- botões (cantos retos) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; line-height: 1.2;
  padding: 16px 28px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn .sq { width: 8px; height: 8px; background: currentColor; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(10, 29, 77, .35); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-lt { background: transparent; color: var(--cream); border-color: rgba(242, 239, 233, .4); }
.btn-outline-lt:hover { border-color: var(--cream); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.text-link::after { content: "→"; color: var(--blue); }
.text-link:hover { border-bottom-color: var(--ink); }
.on-dark .text-link { color: var(--cream); border-bottom-color: var(--cream-line); }

/* ============================================================
   NAVBAR — estilo mega-dropdown (referência IBM)
   ============================================================ */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
  height: var(--nav-h);
}

.logo {
  display: inline-flex; align-items: baseline;
  text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em;
  flex: none;
}
.logo .dot { width: 7px; height: 7px; }

nav.nav-main { display: flex; align-items: stretch; gap: 4px; height: 100%; }

.nav-item { display: flex; align-items: stretch; }

.nav-link {
  appearance: none; background: none; border: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--ink);
  padding: 0 16px; text-decoration: none; cursor: pointer;
  border-bottom: 2px solid transparent; border-top: 2px solid transparent;
  height: 100%;
}
.nav-link:hover { border-bottom-color: var(--gray); }
.nav-item.open > .nav-link, .nav-link[aria-expanded="true"] { border-bottom-color: var(--blue); }

.nav-link .chev { transition: transform .18s; flex: none; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* painel full-width */
.dd-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(10, 29, 77, .10);
  display: none;
}
.nav-item.open .dd-panel { display: block; }

.dd-inner {
  max-width: var(--max); margin: 0 auto; padding: 40px 32px 48px;
  display: grid; grid-template-columns: repeat(3, 1fr) 1.05fr; gap: 40px;
}
.dd-inner.cols-3 { grid-template-columns: repeat(3, 1fr) 1.05fr; }

.dd-col .dd-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); text-decoration: none;
  margin: 0 0 6px;
}
.dd-col .dd-title .sq { width: 8px; height: 8px; background: var(--blue); flex: none; }
.dd-col .dd-title:hover { color: var(--blue); }

.dd-col p.dd-desc { font-size: .85rem; color: var(--ink-50); margin: 0 0 16px; line-height: 1.5; }

.dd-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dd-col ul a {
  display: block; padding: 7px 0;
  font-size: .92rem; color: var(--ink-70); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.dd-col ul a:hover { color: var(--blue); }

.dd-col .dd-all {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: .88rem; font-weight: 600;
  color: var(--blue); text-decoration: none;
}
.dd-col .dd-all::after { content: "→"; }
.dd-col .dd-all:hover { text-decoration: underline; }

/* coluna destaque do painel */
.dd-feature {
  background: var(--navy); color: var(--cream);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  align-self: start;
}
.dd-feature .label { color: var(--gray); margin-bottom: 4px; }
.dd-feature p.t { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: 0; }
.dd-feature p.d { font-size: .88rem; color: var(--cream-70); margin: 0; }
.dd-feature a {
  color: var(--cream); font-size: .9rem; font-weight: 600; text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center;
}
.dd-feature a::after { content: "→"; color: var(--blue); filter: brightness(1.8); }
.dd-feature a:hover { text-decoration: underline; }

/* idioma */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; }

.lang-btn {
  appearance: none; background: none; border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px; cursor: pointer;
  font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--ink);
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn .flag, .lang-menu .flag { width: 20px; height: 14px; flex: none; display: block; border: 1px solid var(--line-soft); }

.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  list-style: none; margin: 0; padding: 6px 0;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10, 29, 77, .12);
  min-width: 190px; display: none;
}
.lang-wrap.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: .9rem; color: var(--ink); text-decoration: none;
}
.lang-menu a:hover { background: var(--gray-2); }
.lang-menu a.active { font-weight: 600; }
.lang-menu a.active::after { content: ""; width: 6px; height: 6px; background: var(--blue); margin-left: auto; }

/* hambúrguer */
.nav-burger {
  display: none; appearance: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; padding: 0;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SEÇÕES / COMPONENTES
   ============================================================ */
main { padding-top: var(--nav-h); }

section.block { padding: 104px 0; }
section.block + section.block { border-top: 1px solid var(--line-soft); }

.on-dark { background: var(--navy); color: var(--cream); }
.on-dark .label { color: var(--gray); }
.on-dark .lead { color: var(--cream-70); }
.on-dark section.block + section.block, .on-dark.block + .on-dark.block { border-top-color: var(--cream-line); }

.on-blue { background: var(--blue); color: #fff; }

.section-head { max-width: 780px; margin-bottom: 56px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* cartão base */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; margin: 0; line-height: 1.2; }
.card p { font-size: .96rem; color: var(--ink-70); margin: 0; }
.card .sq-top { width: 10px; height: 10px; background: var(--blue); margin-bottom: 10px; }

.card-link { text-decoration: none; color: inherit; transition: border-color .18s, transform .18s; }
.card-link:hover { border-color: var(--navy); }
.card-link .text-link { margin-top: auto; align-self: flex-start; }

/* lista com quadrado */
ul.sq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
ul.sq-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; color: var(--ink-70); }
ul.sq-list li::before { content: ""; width: 8px; height: 8px; background: var(--blue); flex: none; margin-top: 9px; }
.on-dark ul.sq-list li { color: var(--cream-70); }

/* mídia / placeholders */
.media {
  position: relative; overflow: hidden; background: var(--gray-2);
  display: block;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.r-16x9 { aspect-ratio: 16 / 9; }
.media.r-4x3 { aspect-ratio: 4 / 3; }
.media.r-3x4 { aspect-ratio: 3 / 4; }
.media.r-1x1 { aspect-ratio: 1 / 1; }

.media .media-tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--navy); color: var(--cream);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px;
}

.video-ph {
  position: relative; aspect-ratio: 16 / 9; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.video-ph .play {
  width: 72px; height: 72px; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.video-ph .play::before {
  content: ""; width: 0; height: 0;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  border-left: 18px solid #fff; margin-left: 4px;
}
.video-ph .ph-label {
  position: absolute; left: 20px; bottom: 16px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-70);
}

/* stats */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); }
.stats-band .stat { padding: 32px 36px; border-left: 1px solid var(--line); }
.stats-band .stat:first-child { border-left: 0; }
.stats-band strong { font-family: var(--serif); font-size: 2.4rem; display: block; line-height: 1.1; color: var(--ink); }
.stats-band span { font-size: .9rem; color: var(--ink-70); }
.on-dark .stats-band { background: transparent; border-color: var(--cream-line); }
.on-dark .stats-band .stat { border-color: var(--cream-line); }
.on-dark .stats-band strong { color: var(--cream); }
.on-dark .stats-band span { color: var(--cream-70); }

/* CTA final compartilhado */
.cta-final { padding: 120px 0; }
.cta-final .inner { max-width: 860px; }
.cta-final .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* pilares numerados (do brandkit) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.pillars .pillar { padding: 40px 32px 48px; border-left: 1px solid var(--line); background: var(--paper); }
.pillars .pillar:first-child { border-left: 0; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 0 0 14px; }
.pillar h3 .dot { width: 8px; height: 8px; }
.pillar p { font-size: .93rem; color: var(--ink-70); margin: 0; }

/* hero interno das páginas de serviço */
.page-hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
.page-hero .hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.page-hero .hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.page-hero .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--navy) 0%,
    rgba(10, 29, 77, .88) 20%,
    rgba(10, 29, 77, .45) 55%,
    rgba(10, 29, 77, .18) 100%);
}
.page-hero .hero-inner { position: relative; z-index: 2; padding: 130px 0 110px; }
.page-hero .label { color: var(--gray); }
.page-hero h1.display {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem); /* teto 56px */
  line-height: 1.12;
  max-width: 19ch;
  text-wrap: balance;
}
/* mantém "que crescem." inteiro na mesma linha: sem palavra órfã */
.page-hero h1.display .nb { white-space: nowrap; }
.page-hero .lead { color: var(--cream-70); max-width: 52ch; }
.page-hero .hero-triad {
  font-family: var(--serif); color: var(--cream);
  font-size: 1.2rem; max-width: 52ch; margin: 14px 0 0;
}
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* breadcrumb simples */
.crumb { font-size: .82rem; color: var(--cream-70); margin: 0 0 28px; display: flex; gap: 10px; align-items: center; }
.crumb a { color: var(--cream-70); text-decoration: none; }
.crumb a:hover { color: var(--cream); }
.crumb .sep { color: var(--gray); }

/* faixa editorial (frase grande) */
.editorial { padding: 110px 0; }
.editorial p.big {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.22; max-width: 26ch; margin: 0;
}
.editorial p.big em { font-style: normal; color: var(--blue); }
.on-dark .editorial p.big em { color: var(--gray); }

/* logos placeholder */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.logo-grid .logo-ph {
  aspect-ratio: 5 / 2; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray);
}
.logo-grid .logo-ph:nth-child(-n+4) { border-top: 0; }
.logo-grid .logo-ph:nth-child(4n+1) { border-left: 0; }
/* logos reais (SVG) — parede monocromática que ativa no hover */
.logo-grid .logo-ph { padding: 20px 26px; }
.logo-grid .logo-ph img {
  max-height: 38px; max-width: 82%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.logo-grid .logo-ph:hover img {
  opacity: 1;
  filter: grayscale(1) brightness(.62);
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .logo-grid .logo-ph:hover img { transform: none; }
}

/* tags / badges */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); color: var(--ink-70);
  padding: 8px 16px; background: var(--paper);
}
.on-dark .tag { border-color: var(--cream-line); color: var(--cream-70); background: transparent; }

/* accordion FAQ */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); background: var(--paper); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; width: 9px; height: 9px; background: var(--blue); flex: none; transition: transform .18s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px 51px; color: var(--ink-70); font-size: .98rem; }
.faq .answer p { margin: 0; }

/* formulário */
form.contact {
  background: var(--paper); border: 1px solid var(--line);
  padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-70);
}
.field label .opt {
  text-transform: none; letter-spacing: 0; font-weight: 400;
  color: var(--ink-50); font-size: .8rem;
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 10px 0; width: 100%;
  transition: border-color .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-50); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink-50); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 0 var(--blue);
}

/* select com caret próprio */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 24px; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink-70); border-bottom: 1.5px solid var(--ink-70);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select:invalid { color: var(--ink-50); }

.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.lgpd { font-size: .84rem; color: var(--ink-50); margin: 0; }
.form-status { font-size: .98rem; font-weight: 500; margin: 0; }
.form-status.ok { color: var(--navy); }
.form-status.err { color: #a4262c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* notícias */
.news-featured {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  border: 1px solid var(--line); background: var(--paper);
  text-decoration: none; color: inherit;
}
.news-featured .nf-media { position: relative; min-height: 380px; background: var(--navy); }
.news-featured .nf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.news-featured .nf-body { padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.news-featured h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 0; }
.news-featured:hover h2 { color: var(--blue); }
.news-featured p { color: var(--ink-70); margin: 0; font-size: 1rem; }

.news-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.news-meta .cat { color: var(--blue); }
.news-meta .date { color: var(--ink-50); letter-spacing: .06em; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.news-card {
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  position: relative;
  transition: border-color .18s, transform .28s ease, box-shadow .28s ease;
}
.news-card:hover {
  border-color: var(--navy);
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 22px 48px rgba(10, 29, 77, .16);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .news-card { transition: border-color .18s; }
  .news-card:hover { transform: none; box-shadow: none; }
}
.news-card .nc-media { aspect-ratio: 16 / 10; background: var(--gray-2); position: relative; overflow: hidden; }
.news-card .nc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .nc-media .ph-block { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.news-card .nc-media .ph-block .sq { width: 22px; height: 22px; background: var(--gray); }
.news-card .nc-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.news-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; line-height: 1.22; margin: 0; }
.news-card:hover h3 { color: var(--blue); }
.news-card p.exc { font-size: .92rem; color: var(--ink-70); margin: 0; flex-grow: 1; }

.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 8px; }
.news-filter button {
  appearance: none; cursor: pointer;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  padding: 10px 18px; background: transparent;
  border: 1px solid var(--line); color: var(--ink-70);
}
.news-filter button:hover { border-color: var(--ink); color: var(--ink); }
.news-filter button.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

/* newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter form { display: flex; gap: 0; }
.newsletter input {
  flex: 1; font-family: var(--sans); font-size: 1rem; padding: 16px 18px;
  border: 1px solid var(--cream-line); background: rgba(242, 239, 233, .06); color: var(--cream);
}
.newsletter input::placeholder { color: var(--cream-70); }
.newsletter button { border: 0; }
.newsletter .nl-success { color: var(--cream); font-size: 1rem; margin: 0; max-width: 46ch; }
.newsletter .nl-success strong { font-weight: 600; }

/* footer */
footer.site {
  background: var(--navy); color: var(--cream-70);
  padding: 72px 0 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-logo { color: var(--cream); font-size: 1.6rem; }
.foot-tag { font-size: .95rem; margin: 16px 0 0; max-width: 34ch; }
.foot-motto { margin-top: 22px; font-family: var(--serif); font-size: 1.05rem; color: var(--cream); }
footer.site h4 {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray); margin: 0 0 18px;
}
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .93rem; }
footer.site ul a { color: var(--cream); text-decoration: none; }
footer.site ul a:hover { color: #fff; text-decoration: underline; }
.foot-legal {
  border-top: 1px solid var(--cream-line);
  margin-top: 56px; padding-top: 24px;
  font-size: .82rem; color: var(--cream-70);
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
}

/* ---------- placeholders de imagem com gradiente (hero e faixas) ---------- */
/* vídeo do hero (canto direito) com overlay em gradiente por cima */
.hero-video-wrap {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.hero-video-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--navy) 0%,
    rgba(10, 29, 77, .88) 20%,
    rgba(10, 29, 77, .45) 55%,
    rgba(10, 29, 77, .18) 100%);
}
.editorial { position: relative; overflow: hidden; }
.editorial .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero-video-wrap { display: none; }
  .page-hero .hero-media { display: none; }
}

/* mídia lateral em seção (mesma estética do hero: imagem à direita + overlay em gradiente) */
.has-side-media { position: relative; overflow: hidden; }
.has-side-media > .wrap { position: relative; z-index: 2; }
.side-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 58%;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.side-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.side-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--navy) 0%,
    rgba(10, 29, 77, .90) 24%,
    rgba(10, 29, 77, .48) 58%,
    rgba(10, 29, 77, .20) 100%);
}
@media (max-width: 900px) {
  .side-media { display: none; }
}

/* ---------- hover de elevação (mesmo efeito dos cards de notícias) ---------- */
.card-lift {
  transition: border-color .18s, transform .28s ease, box-shadow .28s ease;
  position: relative;
}
.card-lift:hover {
  border-color: var(--navy);
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 22px 48px rgba(10, 29, 77, .16);
  z-index: 2;
}

/* elevação simples (sem zoom) para os pilares de processo */
.pillars-lift .pillar {
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.pillars-lift .pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 29, 77, .14);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .card-lift, .pillars-lift .pillar { transition: border-color .18s; }
  .card-lift:hover, .pillars-lift .pillar:hover { transform: none; box-shadow: none; }
}

/* ---------- carrossel de marca (altura total da seção, lado direito) ---------- */
.carousel-block { position: relative; overflow: hidden; padding: 130px 0; }
.carousel-block > .wrap { position: relative; z-index: 2; }
.carousel-copy { max-width: 44%; }

.brand-carousel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  overflow: hidden; z-index: 1;
}
.brand-carousel::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(10, 29, 77, .38) 24%, rgba(10, 29, 77, 0) 48%);
}
.bc-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .7s ease;
}
.bc-slide.is-active { opacity: 1; }
.bc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* passador moderno: barras de progresso sincronizadas com o autoplay */
.bc-nav {
  position: absolute; left: 0; bottom: 0; z-index: 4;
  display: flex; gap: 10px; padding: 26px 28px;
}
.bc-bar {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  width: 42px; height: 3px; background: rgba(242, 239, 233, .28);
  position: relative; overflow: hidden;
  transition: background .2s, width .3s ease;
}
.bc-bar::after {
  content: ""; position: absolute; inset: 0; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: var(--cream);
}
.bc-bar:hover { background: rgba(242, 239, 233, .5); }
.bc-bar.is-active { width: 60px; background: rgba(242, 239, 233, .28); }
.bc-bar.is-active::after {
  background: var(--blue);
  animation: bc-fill var(--bc-dur, 3500ms) linear forwards;
}
.brand-carousel:hover .bc-bar.is-active::after { animation-play-state: paused; }
@keyframes bc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .bc-bar.is-active::after { animation: none; transform: scaleX(1); background: var(--blue); }
}

@media (max-width: 900px) {
  .carousel-block { padding: 72px 0; }
  .carousel-copy { max-width: 100%; }
  .brand-carousel {
    position: relative; width: auto; margin: 40px 32px 0;
    aspect-ratio: 16 / 10;
  }
  .brand-carousel::before { display: none; }
}
@media (max-width: 640px) {
  .brand-carousel { margin: 32px 22px 0; }
}

/* ---------- borda animada que corre em volta do card ---------- */
.card-anim { position: relative; }
.card-anim::before,
.card-anim::after {
  content: ""; position: absolute; width: 0; height: 0;
  pointer-events: none; z-index: 2;
  border: 0 solid transparent;
  transition: none; /* sem animação de saída: recolhe instantâneo ao tirar o mouse */
}
.card-anim::before {
  top: 0; left: 0;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}
.card-anim::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
}
.card-anim:hover::before {
  width: 100%; height: 100%;
  transition: width .18s ease, height .18s ease .18s;
}
.card-anim:hover::after {
  width: 100%; height: 100%;
  transition: width .18s ease .36s, height .18s ease .54s;
}
.card-anim.card-link:hover { border-color: var(--line); }
@media (prefers-reduced-motion: reduce) {
  .card-anim::before, .card-anim::after { display: none; }
  .card-anim.card-link:hover { border-color: var(--blue); }
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .dd-inner, .dd-inner.cols-3 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pillars .pillar:nth-child(3) { border-left: 0; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band .stat:nth-child(3) { border-left: 0; }
  .stats-band .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid .logo-ph:nth-child(-n+4) { border-top: 1px solid var(--line); }
  .logo-grid .logo-ph:nth-child(-n+2) { border-top: 0; }
  .logo-grid .logo-ph:nth-child(4n+1) { border-left: 1px solid var(--line); }
  .logo-grid .logo-ph:nth-child(2n+1) { border-left: 0; }
}

@media (max-width: 900px) {
  .nav-burger { display: flex; }

  nav.nav-main {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--cream); z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 0 40px; overflow-y: auto; height: auto;
  }
  body.nav-open nav.nav-main { display: flex; }

  .nav-item { flex-direction: column; }
  .nav-link {
    height: auto; padding: 18px 32px; font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft); border-top: 0;
    justify-content: space-between; width: 100%;
  }
  .dd-panel { position: static; box-shadow: none; border: 0; background: var(--paper); }
  .dd-inner, .dd-inner.cols-3 { grid-template-columns: 1fr; padding: 20px 32px 28px; gap: 28px; }
  .dd-feature { display: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .nf-media { min-height: 240px; }
  .newsletter { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .nav-bar { padding: 0 22px; }
  section.block { padding: 72px 0; }
  .page-hero .hero-inner { padding: 96px 0 80px; }
  .grid-4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillars .pillar:first-child { border-top: 0; }
  .stats-band { grid-template-columns: 1fr; }
  .stats-band .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stats-band .stat:first-child { border-top: 0; }
  form.contact { grid-template-columns: 1fr; padding: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; gap: 12px; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
}
