/* QVA — prévia do novo site. Mobile first. */
:root {
  --petrol: #003049;          /* amostrado do monograma QV enviado */
  --petrol-900: #00243a;
  --petrol-800: #002a44;
  --petrol-600: #1d4a66;
  --petrol-tint: #eef2f5;
  --amp: #707272;             /* cinza do "&" do logo */
  --ink: #16232c;
  --text: #33414a;
  --muted: #687075;
  --line: #e1e5e8;
  --line-dark: rgba(255, 255, 255, .16);
  --soft: #f5f6f7;
  --white: #fff;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
  --gutter: 20px;
  --header-h: 104px;          /* logo + linha de links (até 1023 px) */
  --section: 72px;
  --fs-text: 19px;            /* texto corrido */
  --fs-note: 17px;            /* texto de apoio: listas, e-mails, rodapé */
  --fs-label: 13px;           /* rótulos em caixa-alta */
}
@media (min-width: 768px) { :root { --gutter: 36px; --section: 104px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; --section: 136px; --fs-text: 21px; --fs-note: 18.5px; --fs-label: 13.5px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: var(--fs-text); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amp); outline-offset: 3px; }
::selection { background: var(--petrol); color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--petrol); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.t-title {
  margin: 0; color: var(--petrol); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.3rem); line-height: 1.2; letter-spacing: .09em;
}
.t-lead { font-size: clamp(1.42rem, 1.2rem + .75vw, 1.9rem); line-height: 1.5; font-weight: 300; color: var(--ink); }
.muted { color: var(--muted); }
.tbd { color: var(--muted); border-bottom: 1px dashed currentColor; cursor: help; }
.on-dark .tbd { color: rgba(255, 255, 255, .6); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 26px;
  border: 1px solid currentColor; color: var(--petrol);
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.btn--light { color: var(--white); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--petrol); }
@media (max-width: 359px) { .btn, .link { letter-spacing: .08em; } }
.btn .arr, .link .arr { width: 18px; height: 10px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(4px); }
.link {
  display: inline-flex; align-items: center; gap: 12px; color: var(--petrol);
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.on-dark .link { color: var(--white); }
.link--ext .arr { width: 10px; height: 10px; }
.link--ext:hover .arr { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  background: var(--white);
  transition: background-color .5s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.header__in { height: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
/* links sempre à vista: linha própria no celular e no tablet, ao lado do logo no desktop */
.topnav { order: 3; flex: 0 0 100%; display: flex; justify-content: space-between; height: 44px; color: var(--petrol); border-top: 1px solid var(--line); transition: color .5s var(--ease), border-color .5s var(--ease), opacity .35s var(--ease), visibility .35s; }
.topnav a { display: flex; align-items: center; font-size: clamp(.82rem, 3.9vw, 1.08rem); white-space: nowrap; }
.topnav a { background: linear-gradient(currentColor, currentColor) 0 calc(50% + .78em) / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.topnav a:hover, .topnav a[aria-current="page"] { background-size: 100% 1px; }
.header.is-over .topnav { color: var(--white); border-color: rgba(255, 255, 255, .2); }
.menu-open .topnav { opacity: 0; visibility: hidden; }
@media (min-width: 640px) and (max-width: 1023px) { .topnav { justify-content: flex-start; gap: 36px; } }
@media (min-width: 1024px) {
  .header__in { flex-wrap: nowrap; }
  .topnav { order: 0; flex: 1; justify-content: flex-end; gap: clamp(22px, 2.6vw, 42px); height: 100%; margin-right: clamp(14px, 2vw, 34px); border: 0; }
}
.brand { position: relative; display: block; width: clamp(136px, 43vw, 168px); aspect-ratio: 1400 / 257; flex: none; }
@media (min-width: 1100px) { .brand { width: 214px; } }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s var(--ease); }
.brand .logo-white { opacity: 0; }
.header.is-solid { box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__tools { display: flex; align-items: center; gap: 18px; color: var(--petrol); transition: color .5s var(--ease); }
/* sobre a capa azul: transparente, logo branco */
.header.is-over { background: transparent; box-shadow: none; }
.header.is-over .logo-white { opacity: 1; }
.header.is-over .logo-navy { opacity: 0; }
.header.is-over .header__tools { color: var(--white); }
.lang { display: flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; }
.lang button { padding: 6px 2px; opacity: .55; transition: opacity .3s; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang button:hover { opacity: 1; }
.lang span { opacity: .4; }
.burger { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 2px; }
.burger__label { display: none; font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
@media (min-width: 768px) and (max-width: 1023px) { .burger__label { display: inline; } }
.burger__icon { position: relative; width: 26px; height: 12px; }
.burger__icon i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger__icon i:nth-child(1) { top: 0; }
.burger__icon i:nth-child(2) { top: 10.5px; }
.menu-open .burger__icon i:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-open .burger__icon i:nth-child(2) { top: 5.25px; transform: rotate(-45deg); }
.menu-open .header { box-shadow: 0 1px 0 var(--line); transform: none; }

/* ---------- Menu (overlay) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--white); color: var(--petrol);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__in { flex: 1; display: grid; gap: 48px; align-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
.menu__nav ol { list-style: none; margin: 0; padding: 0; }
.menu__nav li { border-bottom: 1px solid var(--line); }
.menu__nav a {
  display: block; padding: 15px 0;
  font-size: clamp(1.2rem, .9rem + 1.6vw, 2.1rem); font-weight: 300; letter-spacing: .1em; text-transform: uppercase;
  transition: padding-left .45s var(--ease), color .3s;
}
.menu__nav a:hover, .menu__nav a[aria-current="page"] { padding-left: 10px; }
.menu .reveal-m { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .menu .reveal-m { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 120ms); }

/* ---------- Intro (somente desktop) ---------- */
[hidden] { display: none !important; }
.intro { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: var(--white); transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.intro-on .intro { display: grid; }
.intro.is-out { opacity: 0; visibility: hidden; }
.intro__logo { position: relative; width: min(600px, 44vw); aspect-ratio: 1400 / 257; transition: transform 1.6s var(--ease); }
.intro.is-out .intro__logo { transform: scale(.985); }
.intro__part { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.intro__amp { clip-path: inset(0 38.1% 30% 52.8%); transform: scale(.94); transform-origin: 57.7% 31%; }
.intro__q { clip-path: inset(0 47.2% 30% 0); transform: translateX(-12px); }
.intro__v { clip-path: inset(0 0 30% 61.9%); transform: translateX(12px); }
.intro__adv { clip-path: inset(70% 0 0 0); transform: translateY(6px); }
.intro.s1 .intro__amp { opacity: 1; transform: none; }
.intro.s2 .intro__q, .intro.s2 .intro__v { opacity: 1; transform: none; }
.intro.s3 .intro__adv { opacity: 1; transform: none; }
.intro__line { position: absolute; left: 50%; bottom: -36px; width: 0; height: 1px; background: rgba(0, 48, 73, .3); transform: translateX(-50%); transition: width 1.2s var(--ease); }
.intro.s3 .intro__line { width: 56px; }
/* quem desativou animações no sistema vê o logo inteiro, com fade simples */
.intro-calm .intro__part { transform: none !important; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hold [data-reveal] { opacity: 0 !important; transform: translateY(16px) !important; }
main { transition: opacity .35s var(--ease); }
main.is-leaving { opacity: 0; }

/* ---------- Capa: azul da identidade visual, sem foto ---------- */
.hero { position: relative; display: flex; min-height: 100svh; color: var(--white); background: var(--petrol); overflow: hidden; }
@media (min-width: 1100px) { .hero { min-height: clamp(640px, 100vh, 1000px); } }
.hero__in { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; will-change: transform, opacity; }
@media (min-width: 900px) { .hero__in { padding-bottom: 120px; } }
.hero__text { max-width: 1080px; }
.hero h1 { margin: 0 0 24px; max-width: 8.6em; font-weight: 300; font-size: clamp(2.9rem, 1.4rem + 5.4vw, 6.4rem); line-height: 1.02; letter-spacing: -.02em; }
.hero__sub { max-width: 42ch; margin: 0 0 36px; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.8rem); line-height: 1.45; font-weight: 300; color: rgba(255, 255, 255, .82); }
/* palavras do título sobem por trás de uma máscara */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
.hero h1.is-in .w > span { transform: none; }
.js .hold .hero h1 .w > span { transform: translateY(105%) !important; }
.qa .hero h1 .w > span { transform: none !important; }
/* sedes no rodapé da capa */
.hero__place { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; margin: 0; padding-top: 14px; max-width: 640px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: clamp(11px, 3.1vw, var(--fs-label)); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
@media (min-width: 640px) { .hero__place { letter-spacing: .22em; } }
@media (min-width: 900px) { .hero__place { bottom: 44px; } }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; }
.section--soft { background: var(--soft); }
.section--flush { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 44px; }
@media (min-width: 1100px) { .section__head { margin-bottom: 64px; } }

/* Pilares */
.pillars { display: grid; gap: 40px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.pillar { padding-top: 26px; border-top: 1px solid var(--petrol); }
.pillar__n { display: block; margin-bottom: 18px; font-size: var(--fs-label); letter-spacing: .2em; color: var(--amp); }
.pillar h3 { margin: 0 0 10px; color: var(--ink); font-size: clamp(1.25rem, 1.12rem + .45vw, 1.5rem); font-weight: 500; line-height: 1.35; }
.pillar p { color: var(--muted); }

/* Faixa dos sócios */
.partners { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .partners { grid-template-columns: 5fr 7fr; gap: 80px; } }
.partners__text > div { margin-top: 28px; }
.partners__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 640px) { .partners__grid { gap: 28px; } }

/* Pessoa (grade) */
.person, .person__link { display: block; }
.person__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9ecee; margin-bottom: 16px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1.2s var(--ease); }
.person__link:hover .person__img img { transform: scale(1.03); }
.person__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--petrol); background: linear-gradient(160deg, #eef1f3, #e2e6e9); }
.person__ph b { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 300; letter-spacing: .12em; }
.person__ph small { padding: 0 10px; text-align: center; line-height: 1.4; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.person h3 { margin: 0; color: var(--ink); font-size: 1.25rem; font-weight: 500; line-height: 1.35; transition: color .3s; }
.person__link:hover h3 { color: var(--petrol); }
.person span { display: block; margin-top: 2px; font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.person__mail { display: block; width: fit-content; max-width: 100%; margin-top: 8px; font-size: var(--fs-note); color: var(--text); overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.person__mail:hover { color: var(--petrol); background-size: 100% 1px; }
/* perfis que o escritório ainda vai enviar */
.tag-pending { display: inline-block; margin-top: 10px; padding: 4px 9px; border: 1px dashed #b9c2c8; font-style: normal; font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.profile .tag-pending { margin: 0 0 22px; }

/* Imprensa */
.press-list { display: grid; }
@media (min-width: 900px) { .press-list--3 { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.press-item { display: grid; align-content: start; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .press-list--3 .press-item { padding-top: 28px; } }
.press-item__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.press-item__meta b { color: var(--petrol); font-weight: 500; }
.press-item h3 { margin: 0; color: var(--ink); font-size: 1.4rem; font-weight: 400; line-height: 1.45; }
.press-item a.press-item__title:hover h3 { color: var(--petrol); }
.press-item__author { font-size: var(--fs-note); color: var(--muted); }

/* Checkbox de consentimento */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: var(--fs-note); line-height: 1.5; cursor: pointer; }
.consent input { appearance: none; flex: none; width: 18px; height: 18px; margin: .28em 0 0; border: 1px solid currentColor; border-radius: 0; display: grid; place-items: center; cursor: pointer; }
.consent input::after { content: ""; width: 8px; height: 8px; background: currentColor; transform: scale(0); transition: transform .2s var(--ease); }
.consent input:checked::after { transform: scale(1); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-msg { margin-top: 14px; font-size: var(--fs-note); min-height: 1.4em; color: var(--petrol); }

/* ---------- Rodapé ---------- */
.footer { background: var(--petrol-900); color: rgba(255, 255, 255, .72); font-size: var(--fs-note); line-height: 1.65; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px 64px; padding: 72px 0 56px; }
@media (min-width: 900px) { .footer__top { padding: 96px 0 72px; } }
.footer__logo { width: 210px; align-self: flex-start; }
.footer h4 { margin: 0 0 10px; color: var(--white); font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.footer a:hover { color: var(--white); }
.footer__contact a { display: block; width: fit-content; }
.footer__contact a + a { margin-top: 2px; }
.footer__social { display: flex; gap: 10px; margin: 14px 0 12px; }
.footer__social a { display: inline-flex; color: rgba(255, 255, 255, .78); transition: color .3s, transform .35s var(--ease); }
.footer__social a + a { margin-top: 0; }
.footer__social a:hover { color: var(--white); transform: translateY(-2px); }
.footer__social svg { width: 32px; height: 32px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding: 26px 0 34px; border-top: 1px solid var(--line-dark); font-size: 1rem; color: rgba(255, 255, 255, .62); }
.footer__bottom nav { display: flex; gap: 22px; }

/* ---------- Páginas internas: título à esquerda, texto à direita, sem faixa ---------- */
.phead { padding: calc(var(--header-h) + 44px) 0 calc(var(--section) * .6); }
@media (min-width: 1100px) { .phead { padding-top: calc(var(--header-h) + 88px); } }
.phead--end { padding-bottom: var(--section); }
.phead__in { display: grid; gap: 20px; }
@media (min-width: 900px) { .phead__in { grid-template-columns: 5fr 7fr; gap: 64px; align-items: baseline; } }
@media (min-width: 1100px) { .phead__in { gap: 96px; } }
.phead .t-title { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); letter-spacing: .1em; line-height: 1.15; }
.phead__text { max-width: 760px; }
.phead__text .t-lead { margin-bottom: .9em; }
.phead__text .t-lead:last-child { margin-bottom: 0; }
.crumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumb:hover { color: var(--petrol); }
.crumb .arr { width: 16px; height: 10px; transform: rotate(180deg); }

.offices { display: grid; gap: 48px; }
@media (min-width: 900px) { .offices { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.office__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; background: var(--soft); }
.office__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1.2s var(--ease); }
.office:hover .office__img img { transform: scale(1.03); }
.office h3 { margin: 0 0 8px; color: var(--petrol); font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.office h3 span { color: var(--muted); font-weight: 400; }
.office address { font-style: normal; margin-bottom: 12px; }
.office .link { margin-top: 2px; }

/* Frentes de atuação: nome e apresentação à vista; os subitens abrem ao clicar no nome */
.fronts { border-bottom: 1px solid #d3d9dd; overflow-anchor: none; }
.front { border-top: 1px solid #d3d9dd; scroll-margin-top: var(--header-h); }
.front__head { display: grid; gap: 10px; padding: 26px 0 32px; }
.front__title { margin: 0; font: inherit; }
.front__btn { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 24px; text-align: left; color: var(--petrol); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.95rem); line-height: 1.25; }
.front__btn > span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.front__btn:hover > span { background-size: 100% 1px; }
/* "+" fechada, "−" aberta */
.front__sign { position: relative; flex: none; width: 20px; height: 20px; }
.front__sign::before, .front__sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease); }
.front__sign::after { transform: rotate(90deg); }
.front.is-open .front__sign::after { transform: none; }
.front__intro { margin: 0; }
.front__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s; }
.front.is-open .front__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease), visibility 0s; }
.no-anim .front__panel { transition: none !important; }
.front__inner { min-height: 0; overflow: hidden; }
.front__areas { display: grid; gap: 44px 40px; padding: 4px 0 56px; }
.front__list { list-style: none; margin: 0; padding: 0 0 36px; }
.front__list li { border-top: 1px solid var(--line); }
.front__list a { display: flex; align-items: center; min-height: 52px; padding: 8px 0; color: var(--ink); line-height: 1.35; transition: color .3s, padding-left .45s var(--ease); }
.front__list a:hover { color: var(--petrol); padding-left: 8px; }
.front__note { margin-top: 56px; scroll-margin-top: calc(var(--header-h) + 24px); }
.front__note h2 { margin: 0 0 8px; color: var(--petrol); font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.front__note p { margin: 0; }
@media (min-width: 700px) { .front__areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .front__head { grid-template-columns: 5fr 7fr; gap: 64px; align-items: baseline; padding: 38px 0 42px; }
  .front__btn { min-height: 0; }
  .front__list { margin-left: calc((100% - 64px) * 5 / 12 + 64px); padding-bottom: 44px; }
  .front__note { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: baseline; }
}
@media (min-width: 1000px) { .front__areas { grid-template-columns: repeat(3, 1fr); gap: 56px 48px; padding-bottom: 72px; } }
@media (min-width: 1100px) {
  .front__head, .front__note { gap: 96px; }
  .front__list { margin-left: calc((100% - 96px) * 5 / 12 + 96px); }
}

/* Subitem (área): título > texto de apresentação (escuro) > serviços (cinza) */
.area { scroll-margin-top: calc(var(--header-h) + 24px); }
.area h3 { margin: 0 0 4px; color: var(--ink); font-size: clamp(1.3rem, 1.18rem + .4vw, 1.5rem); font-weight: 500; line-height: 1.3; transition: color .8s var(--ease); }
.area__line { margin: 0 0 14px; color: var(--muted); font-size: var(--fs-note); line-height: 1.5; }
.area > p:not(.area__line) { color: var(--ink); line-height: 1.55; }
.area .svc { margin-top: 20px; }
.area .svc li { color: var(--muted); border-top-color: #eceff1; }
.area .svc li::before { background: #b3babe; }
.area.is-target h3 { color: var(--petrol); }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: var(--fs-note); line-height: 1.55; }
.svc li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 1px; background: var(--amp); }

/* Equipe */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 44px 28px; } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 56px 36px; } }
.team-grid--partners { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .team-grid--partners { grid-template-columns: repeat(2, minmax(0, 360px)); } }
.team-block + .team-block { margin-top: calc(var(--section) * .75); }
.team-block > h2 { margin-bottom: 32px; }

/* Perfil */
.profile { display: grid; gap: 36px; }
@media (min-width: 900px) { .profile { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; } }
@media (min-width: 1100px) { .profile { gap: 112px; } }
.profile__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9ecee; max-width: 420px; }
@media (min-width: 900px) { .profile__photo { position: sticky; top: calc(var(--header-h) + 32px); max-width: none; } }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.profile__role { display: block; margin-bottom: 10px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--amp); }
.profile h1 { margin: 0 0 22px; color: var(--petrol); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 300; line-height: 1.15; }
.profile__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.profile__contact > a:first-child { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.profile__contact > a:first-child:hover { color: var(--petrol); border-color: var(--petrol); }
.social { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); }
.social svg { width: 30px; height: 30px; transition: transform .35s var(--ease); }
.social:hover svg { transform: translateY(-2px); }
.profile__bio p { max-width: 64ch; }
.profile__block { margin-top: 44px; }
.profile__block h2 { margin: 0 0 16px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--petrol); }
.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li { padding: 16px 0; border-top: 1px solid var(--line); }
.pubs b { display: block; color: var(--ink); font-weight: 400; line-height: 1.5; }
.pubs--books b { font-size: 1.05em; font-style: italic; }
.pubs span { display: block; margin-top: 2px; font-size: var(--fs-note); color: var(--muted); }
.pubs a { display: inline-flex; margin-top: 6px; }
.profile__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Imprensa (página) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { min-height: 38px; padding: 0 18px; border: 1px solid var(--line); font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--petrol); color: var(--petrol); }
.chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.year { display: grid; gap: 4px; padding-top: 12px; }
@media (min-width: 900px) { .year { grid-template-columns: 180px 1fr; gap: 48px; } }
.year + .year { margin-top: 36px; }
.year__n { color: var(--petrol); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 300; letter-spacing: .04em; line-height: 1; padding-top: 22px; }
@media (min-width: 900px) { .year__n { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.press-list--page .press-item { grid-template-columns: 1fr; }
@media (min-width: 768px) { .press-list--page .press-item { grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; } .press-list--page .press-item > .link { grid-row: 1 / span 3; grid-column: 2; align-self: center; } }
.press-item[hidden] { display: none; }
.press-featured { margin-bottom: calc(var(--section) * .8); }
.press-featured > .t-title, .press-more { margin-bottom: 28px; }

/* Contato: título e dados à esquerda, formulário à direita (no celular: título, formulário, dados) */
.contact { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .contact { grid-template: auto 1fr / 5fr 7fr; gap: 48px 64px; align-items: start; }
  .contact__form { grid-area: 1 / 2 / 3 / 3; }
  .contact__info { grid-area: 2 / 1 / 3 / 2; }
}
@media (min-width: 1100px) { .contact { column-gap: 96px; } }
.contact__form { max-width: 760px; }
.contact__info { display: grid; gap: 30px; align-content: start; }
.contact__item h2 { margin: 0 0 6px; color: var(--petrol); font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.contact__item > a { color: var(--ink); border-bottom: 1px solid #c9cfd3; transition: border-color .3s, color .3s; }
.contact__item > a:hover { color: var(--petrol); border-color: var(--petrol); }
.field { position: relative; margin-bottom: 24px; }
.field label { display: block; margin-bottom: 6px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #c9cfd3; border-radius: 0; background: transparent; font: inherit; color: var(--ink); transition: border-color .3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petrol); }
.field-row { display: grid; gap: 0 28px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact__form .consent { margin: 4px 0 28px; color: var(--muted); }
.contact__form .form-msg { color: var(--petrol); }
.contact__form .form-msg a { text-decoration: underline; text-underline-offset: 3px; }
.contact__form .btn:disabled { opacity: .5; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Privacidade */
.prose h2 { margin: 40px 0 10px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--petrol); }
.prose h2:first-child { margin-top: 0; }

/* ---------- Avisos fixos ---------- */
.cookie {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 18px 20px; background: var(--white); color: var(--text); box-shadow: 0 10px 40px rgba(0, 36, 58, .14); font-size: 1.05rem; line-height: 1.5;
  transform: translateY(16px); opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie p { flex: 1 1 260px; margin: 0; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie .btn { min-height: 40px; padding: 0 20px; }
@media (min-width: 768px) { .cookie { left: auto; right: 24px; bottom: 24px; max-width: 440px; } }

.pv { position: fixed; z-index: 65; left: 12px; bottom: 12px; font-size: .72rem; }
@media (min-width: 768px) { .pv { left: 24px; bottom: 24px; } }
.pv__toggle { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: var(--ink); color: var(--white); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; opacity: .82; transition: opacity .3s; }
.pv__toggle:hover { opacity: 1; }
.pv__toggle i { width: 6px; height: 6px; border-radius: 50%; background: #9fc3d6; }
.pv__panel { position: absolute; left: 0; bottom: 42px; width: 270px; padding: 16px; background: var(--white); box-shadow: 0 10px 40px rgba(0, 36, 58, .16); color: var(--text); display: none; }
.pv.is-open .pv__panel { display: block; }
.pv__panel { width: auto; white-space: nowrap; }
.pv__panel .replay { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; font-size: .8rem; }
.has-cookie .pv { display: none; }

.notfound { min-height: 60vh; display: grid; align-content: center; gap: 24px; }

/* Modo de conferência (?qa): sem animações, sem avisos fixos */
.qa *, .qa *::before, .qa *::after { transition: none !important; animation: none !important; }
.qa [data-reveal] { opacity: 1 !important; transform: none !important; }
.qa .cookie, .qa .pv { display: none !important; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  /* a abertura continua aparecendo, só com fades */
  .intro, .intro__part { transition-duration: .9s !important; }
}
