/* Gutmann & Silva — site institucional
   Layout: faixas alternadas escuro (tinta) / claro (papel), conteúdo em coluna de 1280px,
   títulos em Inria Serif, texto em Poppins, azul #2f8fd8 (derivado do azul-marinho da logo) como único acento. */
:root {
  --ink: #0d1824;
  --ink-2: #0a121b;
  --line: #1f3042;
  --line-soft: rgba(31, 48, 66, .6);
  --muted: #a1a1aa;
  --blue: #2f8fd8;
  --blue-soft: rgba(47, 143, 216, .06);
  --blue-glow: rgba(47, 143, 216, .66);
  --paper: #f8f8fa;
  --paper-line: #e4e4e7;
  --paper-muted: #52525b;
  --white: #ffffff;
  --field: rgba(255, 255, 255, .04);
  --chip: rgba(255, 255, 255, .05);
  --chip-light: rgba(0, 0, 0, .05);
  --slot-dark: #13222f;
  --slot-light: #ededf1;

  --serif: "Inria Serif", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 5.6vw, 80px);
  --maxw: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 24px; height: 24px; }

/* ---------- Estrutura ---------- */
.section { position: relative; padding-block: 64px; padding-inline: var(--gutter); }
.wrap { max-width: var(--maxw); margin-inline: auto; width: 100%; }
.dark { background: var(--ink); color: var(--white); }
.light { background: var(--paper); color: var(--ink); }
.light + .light { border-top: 1px solid var(--paper-line); }
.bordered { border-block: 1px solid var(--line); }

.eyebrow { font: 700 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.h-display { font: italic 700 clamp(52px, 7.6vw, 110px)/.9 var(--serif); text-shadow: 0 0 76.6px var(--blue-glow); }
.h-page { font: italic 700 clamp(44px, 6vw, 88px)/.95 var(--serif); text-shadow: 0 0 76.6px var(--blue-glow); }
.h-section { font: 400 clamp(40px, 4.6vw, 64px)/1.05 var(--serif); }
.h-lead { font: 700 clamp(34px, 3.4vw, 48px)/1.05 var(--serif); }
.h-card { font: 400 clamp(26px, 2.3vw, 32px)/1.1 var(--serif); }
.text-lg { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.text-muted { color: var(--muted); }
.light .text-muted { color: var(--paper-muted); }
.measure { max-width: 640px; }

/* ---------- Placeholders de imagem ---------- */
.img-slot {
  position: relative;
  background: var(--slot-dark);
  border: 1px dashed var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  max-width: 100%;
  min-height: 160px;
}
.img-slot::after {
  content: attr(data-label);
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .7;
  text-align: center;
  padding: 12px;
}
.light .img-slot, .img-slot.on-light { background: var(--slot-light); border-color: var(--paper-line); }
.light .img-slot::after, .img-slot.on-light::after { color: var(--paper-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 100px;
  font: 600 15px/1.2 var(--sans);
  border: 1px solid var(--blue);
  background: var(--blue); color: var(--white);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(47, 143, 216, .35); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.light .btn-ghost { color: var(--ink); border-color: var(--paper-line); }
.link-underline { font: 500 15px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--sans); color: var(--blue); }
.link-arrow .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 24, 36, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  padding-inline: var(--gutter);
}
.header-inner { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.logo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-name { font: 400 28px/1 var(--serif); color: var(--white); }
.logo-tag { font: 700 12px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--blue); }

.main-nav > ul { display: flex; align-items: center; gap: 24px; }
.main-nav a, .main-nav .nav-trigger {
  font: 400 15px/1.5 var(--sans); text-transform: uppercase; color: var(--white);
  background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.main-nav a:hover, .main-nav .nav-trigger:hover { color: var(--blue); }
.main-nav [aria-current="page"], .main-nav .is-current > .nav-trigger { font-weight: 700; text-shadow: 0 0 17.4px var(--blue-glow); }
.nav-trigger .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  min-width: 260px; padding: 10px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
  display: none;
}
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { display: block; }
.has-dropdown:hover .nav-trigger .icon, .has-dropdown.open .nav-trigger .icon { transform: rotate(180deg); }
.dropdown a { display: flex; width: 100%; padding: 10px 14px; border-radius: 10px; text-transform: none; font-size: 14px; color: var(--muted); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--chip); color: var(--white); text-shadow: none; }
.dropdown .dropdown-all { color: var(--blue); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; padding-top: 14px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 76px; }
  .logo-name { font-size: 24px; }
  .main-nav {
    /* absolute (e não fixed): o backdrop-filter do header cria um bloco de contenção para filhos fixed */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 77px - env(safe-area-inset-top, 0px)); height: calc(100dvh - 77px - env(safe-area-inset-top, 0px));
    background: var(--ink); padding: 24px var(--gutter) 48px; overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav .nav-trigger { font-size: 18px; padding-block: 16px; width: 100%; justify-content: space-between; }
  .dropdown { position: static; translate: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px; min-width: 0; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { font-size: 16px; padding: 10px 12px; }
}

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); background: rgba(47, 143, 216, .22); }
.glow-a { width: 400px; height: 400px; top: 100px; left: min(1000px, 70%); }
.glow-b { width: 500px; height: 500px; top: 400px; left: -100px; background: rgba(47, 143, 216, .14); }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: 36px; }
.hero-type { display: flex; flex-direction: column; gap: 30px; }
.hero-sub { font: italic 200 clamp(22px, 2vw, 29px)/1.1 var(--sans); color: var(--blue); }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font: 400 12px/1 var(--sans); text-transform: uppercase; color: var(--muted); }
.scroll-cue span.circle { width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--white); }

/* Hero interno */
.page-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; }
.page-hero.no-media .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.page-hero .img-slot { aspect-ratio: 4 / 3.4; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1.4 var(--sans); color: var(--muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { opacity: .5; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Intro + bento ---------- */
.intro { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.intro-copy { display: flex; flex-direction: column; gap: 40px; max-width: 640px; min-width: 0; }
.intro .img-slot { width: 484px; height: 346px; flex: none; }
.bento { display: flex; flex-direction: column; gap: 32px; margin-top: 64px; }
.bento-row { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento-row.wide { grid-template-columns: 440px minmax(0, 1fr); }
.card-dark {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; gap: 40px; min-width: 0;
}
.card-dark:hover, .card-dark:focus-within {
  border-color: var(--blue);
  box-shadow: 0 8px 8.5px rgba(47, 143, 216, .08), 0 30px 15px rgba(47, 143, 216, .07), 0 69px 20.5px rgba(47, 143, 216, .04);
}
.card-dark .card-copy { display: flex; flex-direction: column; gap: 16px; }
.card-dark p { color: var(--muted); font-size: 15px; }
.icon-box { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--chip); border: 1px solid var(--line); color: var(--white); flex: none; }
.icon-box { transition: background .3s ease, border-color .3s ease, color .3s ease; }
.card-dark:hover .icon-box, .card-dark:focus-within .icon-box { background: var(--blue); border-color: var(--blue); color: var(--white); }
.card-tall { min-height: 360px; justify-content: space-between; }
.card-split { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
.card-split .card-split-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 280px; max-width: 448px; min-width: 0; }
.card-split .img-slot { width: 280px; height: 200px; flex: none; }
@media (max-width: 1080px) {
  .intro { flex-direction: column; align-items: stretch; }
  .intro .img-slot { width: 100%; height: auto; aspect-ratio: 484 / 346; }
  .bento-row.wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bento-row { grid-template-columns: minmax(0, 1fr); }
  .card-dark { padding: 28px; gap: 28px; }
  .card-split { flex-direction: column; align-items: stretch; }
  .card-split .card-split-copy { min-height: 0; }
  .card-split .img-slot { width: 100%; height: auto; aspect-ratio: 7 / 5; }
}

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: 291fr 480fr 413fr; gap: 48px; }
.stat { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.stat-num { font: 400 clamp(48px, 4.6vw, 64px)/1.2 var(--serif); }
.stat-label { font: 700 12px/1.5 var(--sans); color: var(--blue); margin-top: 8px; text-transform: uppercase; letter-spacing: .04em; }
.stat p.text-muted { font-size: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- Reconhecimentos ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head > p { max-width: 400px; }
.awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-light {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: 20px; padding: 24px;
  box-shadow: 0 12px 16px rgba(47, 143, 216, .1);
  display: flex; flex-direction: column; gap: 24px; min-width: 0;
}
.card-light .img-slot { height: 260px; border-radius: 12px; }
.card-light h3 { font: 400 28px/1.2 var(--serif); color: var(--ink); }
.card-light p { font-size: 14px; color: var(--paper-muted); }
.card-light .card-copy { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 960px) { .awards { grid-template-columns: minmax(0, 1fr); } .card-light .img-slot { height: auto; aspect-ratio: 352 / 260; } }

/* ---------- Áreas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.area-card {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 234px; text-align: center; color: var(--ink);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.area-card h3 { font: 400 32px/1.15 var(--serif); }
.area-card p { font-size: 14px; color: var(--paper-muted); }
.area-card:hover, .area-card:focus-visible { background: var(--blue-soft); border-color: var(--blue); box-shadow: 0 12px 32px rgba(47, 143, 216, .1); }
.area-card:hover h3, .area-card:focus-visible h3 { font-weight: 700; }
.areas-more { margin-top: 48px; display: flex; justify-content: center; }
@media (max-width: 1080px) { .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 640px) { .areas-grid { grid-template-columns: minmax(0, 1fr); } .area-card h3 { font-size: 28px; } }

/* ---------- Acordeão ---------- */
.faq-title { text-align: center; max-width: 754px; margin: 0 auto 64px; }
.accordion { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.acc-item { background: var(--white); border: 1px solid var(--paper-line); border-radius: 16px; transition: border-color .2s ease; }
.acc-item[open] { border-color: var(--blue); }
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px; font: 600 18px/1.4 var(--sans); color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-toggle { width: 32px; height: 32px; border-radius: 16px; background: var(--chip-light); color: var(--ink); display: grid; place-items: center; flex: none; }
.acc-toggle .icon { width: 14px; height: 14px; }
.acc-item .i-minus { display: none; }
.acc-item[open] .acc-toggle { background: var(--blue); color: var(--white); }
.acc-item[open] .i-minus { display: block; }
.acc-item[open] .i-plus { display: none; }
.acc-item .acc-body { padding: 0 24px 24px; font-size: 15px; color: var(--paper-muted); }

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta .glow { width: 600px; height: 600px; left: 200px; top: -200px; background: rgba(47, 143, 216, .16); }
.cta-box {
  position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: 32px; padding: clamp(32px, 5vw, 64px);
  display: flex; align-items: center; gap: 48px; overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.cta-box:hover, .cta-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 8px 8.5px rgba(47, 143, 216, .08), 0 30px 15px rgba(47, 143, 216, .07), 0 69px 20.5px rgba(47, 143, 216, .04);
}
.cta-copy { display: flex; flex-direction: column; gap: 24px; flex: 1; min-width: 0; }
.cta-copy h2 { font: 400 clamp(36px, 4vw, 56px)/1.1 var(--serif); }
.cta-copy p { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); }
@media (max-width: 860px) { .cta-box { flex-direction: column; align-items: flex-start; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); padding: 120px var(--gutter) 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 32px; max-width: 400px; }
.footer-brand p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; gap: 80px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 24px; }
.footer-col h4 { font: 700 12px/1.5 var(--sans); color: var(--blue); }
.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col a, .footer-col li, .footer-col address { color: var(--muted); font: normal 400 14px/1.5 var(--sans); }
.footer-col a:hover { color: var(--white); }
.footer-col address { max-width: 255px; }
.footer-bottom { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 640px) { .site-footer { padding-top: 72px; } .footer-cols { gap: 40px; } }

/* ---------- Páginas internas ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .img-slot { aspect-ratio: 5 / 4; }
.prose { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.prose p { font-size: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tl-item { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.tl-item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue-glow); }
.tl-year { font: 400 clamp(28px, 2.6vw, 36px)/1.1 var(--serif); }
.tl-item p { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .timeline { grid-template-columns: minmax(0, 1fr); } }

.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mvv .card-light { box-shadow: none; padding: 32px; }
.mvv .card-light h3 { font-size: 32px; }
.mvv .card-light p { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 8px 14px; border-radius: 100px; font: 500 13px/1.2 var(--sans); border: 1px solid var(--paper-line); color: var(--ink); background: var(--paper); }
.dark .chip { border-color: var(--line); color: var(--white); background: var(--chip); }
@media (max-width: 960px) { .mvv { grid-template-columns: minmax(0, 1fr); } }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service { background: var(--white); border: 1px solid var(--paper-line); border-radius: 16px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; font: 500 16px/1.45 var(--sans); color: var(--ink); min-width: 0; }
.service .tick { width: 28px; height: 28px; border-radius: 14px; background: var(--blue-soft); border: 1px solid rgba(47, 143, 216, .25); color: var(--blue); display: grid; place-items: center; flex: none; }
.service .tick .icon { width: 14px; height: 14px; stroke-width: 2.25; }
@media (max-width: 760px) { .services { grid-template-columns: minmax(0, 1fr); } }

.two-col-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; align-items: end; margin-bottom: 48px; }
@media (max-width: 860px) { .two-col-head { grid-template-columns: minmax(0, 1fr); } }

.highlight { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.highlight .card-copy h3 { font: 400 clamp(28px, 2.8vw, 40px)/1.1 var(--serif); color: var(--white); }
@media (max-width: 860px) { .highlight { grid-template-columns: minmax(0, 1fr); } }

.other-areas { display: flex; flex-wrap: wrap; gap: 12px; }
.other-areas a { padding: 12px 20px; border-radius: 100px; border: 1px solid var(--paper-line); background: var(--white); font: 500 14px/1.2 var(--sans); color: var(--ink); transition: border-color .2s ease, color .2s ease; }
.other-areas a:hover { border-color: var(--blue); color: var(--blue); }

/* Equipe */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.partner { background: var(--white); border: 1px solid var(--paper-line); border-radius: 24px; padding: 24px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; color: var(--ink); }
.partner .img-slot { aspect-ratio: 4 / 5; border-radius: 16px; min-height: 0; }
.partner-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-block: 8px; }
.partner-info h3 { font: 400 32px/1.1 var(--serif); }
.partner-info p { font-size: 14px; color: var(--paper-muted); }
@media (max-width: 1080px) { .partners { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .partner { grid-template-columns: minmax(0, 1fr); } .partner .img-slot { max-width: 240px; } }

/* Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font: 500 13px/1.2 var(--sans); color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 400 15px/1.5 var(--sans); color: var(--white);
  background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--blue); background: var(--blue-soft); color: var(--white); }
.channels { display: flex; flex-direction: column; }
.channel { display: flex; gap: 16px; align-items: flex-start; padding-block: 20px; border-bottom: 1px solid var(--line); min-width: 0; }
.channel:first-child { padding-top: 0; }
.channel:last-child { border-bottom: 0; padding-bottom: 0; }
.channel .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.channel .icon-box .icon { width: 18px; height: 18px; }
.channel-label { font: 700 12px/1.5 var(--sans); color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.channel-value { font-size: 16px; color: var(--white); overflow-wrap: anywhere; }
.channel-value a:hover { color: var(--blue); }

.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: center; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { flex: 1; min-width: 0; font: 400 15px/1.5 var(--sans); padding: 15px 22px; border-radius: 100px; border: 1px solid var(--paper-line); background: var(--white); color: var(--ink); }
.newsletter-form input:focus { outline: none; border-color: var(--blue); }
@media (max-width: 860px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { justify-content: center; } }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--paper-line); background: var(--white); color: var(--ink); font: 500 14px/1.2 var(--sans); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post-card .img-slot { height: auto; aspect-ratio: 16 / 10; }
.empty { border: 1px dashed var(--paper-line); border-radius: 24px; padding: clamp(32px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--white); }
.empty h3 { font: 400 32px/1.15 var(--serif); color: var(--ink); }
.empty p { color: var(--paper-muted); max-width: 520px; }

/* Artigo */
.article { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; color: var(--ink); }
.article h2 { font: 400 36px/1.15 var(--serif); margin-top: 16px; }
.article p { font-size: 17px; line-height: 1.75; color: #33333b; }
.article-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.article-cta { margin-top: 24px; padding: 32px; border-radius: 20px; border: 1px solid var(--blue); background: var(--blue-soft); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.article-cta p { font: 400 22px/1.3 var(--serif); color: var(--ink); }
.note-box { font-size: 14px; color: var(--paper-muted); border-left: 2px solid var(--paper-line); padding-left: 16px; }

.stack-lg { display: flex; flex-direction: column; gap: 32px; }

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

/* Ajustes de especificidade */
.card-dark p.eyebrow, .card-light p.eyebrow, .partner-info p.eyebrow, .card-dark p.channel-label { color: var(--blue); }
.card-dark p.channel-value { color: var(--white); font-size: 16px; }
@media (min-width: 861px) { .stat-num { white-space: nowrap; font-size: clamp(40px, 4.2vw, 64px); } }
.tl-item p.tl-year { font-size: clamp(28px, 2.6vw, 36px); color: var(--white); }

/* ---------- Animações ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -30px) scale(1.1); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Entrada do hero ao carregar */
.hero .wrap > *, .page-hero-copy > * { animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .wrap > :nth-child(2), .page-hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero .wrap > :nth-child(3), .page-hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero .wrap > :nth-child(4), .page-hero-copy > :nth-child(4) { animation-delay: .36s; }
.hero .wrap > :nth-child(5), .page-hero-copy > :nth-child(5) { animation-delay: .48s; }

/* Brilhos de fundo flutuando */
.glow-a { animation: float-a 14s ease-in-out infinite; }
.glow-b { animation: float-b 18s ease-in-out infinite; }

/* Revelar ao rolar (só ativo com JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Cabeçalho ganha sombra ao rolar */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); background: rgba(13, 24, 36, .97); }

/* Hover/foco */
.card-dark, .card-light, .service { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card-dark:hover, .card-light:hover { transform: translateY(-6px); }
.card-light:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .1); }
.service:hover { transform: translateX(4px); border-color: var(--blue); }
.area-card { transition: transform .3s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.area-card:hover { transform: translateY(-6px); }
.area-card:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(5px); }
.btn .icon { transition: transform .25s ease; }
.btn:hover .icon { transform: translate(3px, -3px); }
.other-areas a { transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.other-areas a:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.scroll-cue .circle { animation: nudge 2s ease-in-out infinite; }

/* Acordeão */
.acc-item[open] .acc-body { animation: fade-up .35s ease both; }
.acc-toggle { transition: background .2s ease, transform .3s ease; }
.acc-item[open] .acc-toggle { transform: rotate(180deg); }

/* Logo */
.logo-img { display: block; height: 72px; width: auto; }
.site-footer .logo-img { height: 96px; }
@media (max-width: 760px) { .logo-img { height: 60px; } .site-footer .logo-img { height: 80px; } }

/* ---------- Celular: tipografia menor ---------- */
@media (max-width: 640px) {
  .section { padding-block: 48px; }
  .h-display { font-size: clamp(34px, 10.5vw, 42px); }
  .h-page { font-size: clamp(32px, 9.5vw, 40px); }
  .h-section { font-size: clamp(28px, 8vw, 34px); }
  .h-lead { font-size: clamp(24px, 7vw, 30px); }
  .h-card { font-size: 22px; }
  .text-lg { font-size: 16px; }
  .hero-sub { font-size: 18px; }
  .hero-type { gap: 20px; }
  .section-head { margin-bottom: 32px; }
  .stat-num { font-size: 34px; }
  .card-light h3, .mvv .card-light h3, .partner-info h3, .empty h3 { font-size: 22px; }
  .area-card h3 { font-size: 24px; }
  .highlight .card-copy h3 { font-size: 24px; }
  .cta-copy h2 { font-size: 28px; }
  .cta-copy p { font-size: 15px; }
  .tl-year, .tl-item p.tl-year { font-size: 26px; }
  .acc-item summary { font-size: 16px; padding: 20px; }
  .acc-item .acc-body { font-size: 14px; padding: 0 20px 20px; }
  .article h2 { font-size: 26px; }
  .article p { font-size: 16px; line-height: 1.7; }
  .article-cta p { font-size: 19px; }
  .main-nav a, .main-nav .nav-trigger { font-size: 16px; }
  .dropdown a { font-size: 15px; }
  .btn { font-size: 14px; padding: 14px 24px; }
  .service { font-size: 15px; padding: 18px 20px; }
  .card-dark p, .card-light p, .mvv .card-light p { font-size: 14px; }
  .channel-value, .card-dark p.channel-value { font-size: 15px; }
}

/* Textos resumidos no celular: versão completa no desktop, curta até 640px */
.d-short { display: none; }
@media (max-width: 640px) {
  .d-full, .m-hide { display: none; }
  .d-short { display: inline; }
}

/* Fotos reais nos espaços de imagem (mantém o tamanho/proporção de cada .img-slot) */
.img-slot.has-img { border: 0; overflow: hidden; display: block; background: var(--slot-dark); }
.img-slot.has-img::after { display: none; }
.img-slot.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.partner .img-slot.has-img img { object-position: center top; }

/* ---------- Páginas legais (Privacidade e Termos de Uso) ---------- */
.legal-date { font: 400 14px/1.4 var(--sans); color: var(--muted); }
.legal { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 112px; }
.legal-toc-title { font: 600 14px/1.3 var(--sans); margin-bottom: 12px; }
.legal-toc ol { display: flex; flex-direction: column; border-top: 1px solid var(--paper-line); }
.legal-toc li { border-bottom: 1px solid var(--paper-line); }
.legal-toc a { display: block; padding: 10px 0; font-size: 14px; color: var(--paper-muted); }
.legal-toc a:hover { color: var(--ink); }
.legal-body { max-width: 68ch; }
.legal-block { padding-block: 28px; border-bottom: 1px solid var(--paper-line); scroll-margin-top: 110px; }
.legal-block:first-child { padding-top: 0; }
.legal-block h2 { margin-bottom: 14px; }
.legal-block p, .legal-block li { color: var(--paper-muted); }
.legal-block p + p, .legal-block p + ul, .legal-block ul + p { margin-top: 14px; }
.legal-block ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.legal-block a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); gap: 32px; } .legal-toc { position: static; } }

/* =====================================================================
   Movimento — só animação; layout, cores e textos não mudam.
   Tudo aqui depende de html.anim (desligado com "reduzir movimento").
   ===================================================================== */
:root { --ease-x: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.76, 0, .24, 1); }

/* Entradas (o JS adiciona as classes; sem JS tudo aparece normalmente) */
html.anim .rv { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--ease-x), transform 1.3s var(--ease-x); transition-delay: var(--d, 0ms); }
html.anim .rv.in { opacity: 1; transform: none; }
html.anim .hero .wrap > *, html.anim .page-hero-copy > * { animation: none; }

/* Títulos: palavra por palavra, subindo de trás de uma máscara */
html.anim .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .16em 0; margin: 0 -.08em -.16em 0; }
html.anim .sw.done { overflow: visible; }
html.anim .sw > span { display: inline-block; }
html.anim .tsplit .sw > span { transform: translate3d(0, 115%, 0); transition: transform 1.25s var(--ease-x); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 70ms); }
html.anim .tsplit.in .sw > span { transform: none; }

/* Imagens: a cortina abre e o zoom assenta */
html.anim .rvi { clip-path: inset(12% 12% 12% 12% round 16px); transition: clip-path 1.6s var(--ease-x); transition-delay: var(--d, 0ms); }
html.anim .rvi.in { clip-path: inset(0 round 16px); }
html.anim .rvi img { scale: 1.22; transition: scale 2.2s var(--ease-x); transition-delay: var(--d, 0ms); }
html.anim .rvi.in img { scale: 1; }
html.anim .rvi.in img.px-img { scale: 1.1; }
.px-img { scale: 1.1; will-change: translate; }

/* Brilhos e imagens se movem em ritmos diferentes ao rolar */
.glow { will-change: translate; }

/* Barra de leitura no cabeçalho */
.reading-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; pointer-events: none; }

/* Navegação: sublinhado que cresce, submenu que desce, menu mobile em cortina */
.main-nav > ul > li > a, .main-nav .nav-trigger { background: linear-gradient(currentColor, currentColor) 0 calc(100% + 5px) / 0 1px no-repeat; transition: background-size .45s var(--ease-x), color .2s ease; }
.main-nav > ul > li > a:hover, .main-nav .nav-trigger:hover, .main-nav [aria-current="page"] { background-size: 100% 1px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { animation: dd-in .4s var(--ease-x); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 1080px) {
  .main-nav > ul > li > a, .main-nav .nav-trigger { background-image: none; }
  html.anim .main-nav.open { animation: menu-in .6s var(--ease-io); }
  html.anim .main-nav.open > ul > li { animation: fade-up .7s var(--ease-x) both; }
  html.anim .main-nav.open > ul > li:nth-child(1) { animation-delay: .18s; }
  html.anim .main-nav.open > ul > li:nth-child(2) { animation-delay: .24s; }
  html.anim .main-nav.open > ul > li:nth-child(3) { animation-delay: .30s; }
  html.anim .main-nav.open > ul > li:nth-child(4) { animation-delay: .36s; }
  html.anim .main-nav.open > ul > li:nth-child(5) { animation-delay: .42s; }
  html.anim .main-nav.open > ul > li:nth-child(6) { animation-delay: .48s; }
}
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* Botões: brilho que atravessa no hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-130%); }
.btn:hover::after { transform: translateX(130%); transition: transform .9s var(--ease-x); }

/* Cartões e imagens respondem ao mouse com calma */
.card-light .img-slot, .card-dark .img-slot, .area-card { overflow: hidden; }
.img-slot img { transition: scale 1s var(--ease-x); }
.card-light:hover .img-slot img, .card-dark:hover .img-slot img { scale: 1.06; }
.area-card h3 { transition: transform .5s var(--ease-x); }
.area-card:hover h3 { transform: translateX(6px); }
.stat-num { font-variant-numeric: tabular-nums; }

/* Perguntas frequentes: abre e fecha com altura animada (navegadores com suporte) */
@supports (interpolate-size: allow-keywords) {
  .accordion { interpolate-size: allow-keywords; }
  .acc-item::details-content { height: 0; overflow: clip; transition: height .55s var(--ease-x), content-visibility .55s allow-discrete; }
  .acc-item[open]::details-content { height: auto; }
}

/* Ajustes da animação de títulos */
html.anim .tsplit { display: block; }
html.anim .h-display .sw, html.anim .h-page .sw { text-shadow: none; }
html.anim .h-display .sw.done, html.anim .h-page .sw.done { text-shadow: 0 0 76.6px var(--blue-glow); transition: text-shadow 1s ease; }

/* Print de avaliação: mostra a imagem inteira, sem cortar */
.img-slot.has-img.img-contain { background: #fff; }
.img-slot.has-img.img-contain img { object-fit: contain; padding: 14px; }
