/* ==========================================================================
   FERNANDO ALENCAR ADVOCACIA — Design System
   Boutique jurídica · Empresarial · Patrimonial · Sucessória
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Grafite */
  --graphite-900: #0E1215;
  --graphite-800: #151A1F;
  --graphite-700: #1E252B;
  --graphite-600: #2C353D;
  --graphite-500: #3D4851;

  /* Cinzas */
  --gray-500: #5E6A75;
  --gray-400: #838E99;
  --gray-300: #B4BCC3;
  --gray-200: #D9DDE1;
  --gray-150: #E6E9EC;
  --gray-100: #EFF1F3;
  --offwhite: #F7F8F9;
  --white: #FFFFFF;

  /* Azul petróleo */
  --petrol-900: #06202A;
  --petrol-800: #0A2C38;
  --petrol-700: #0E3B4A;
  --petrol-600: #12505F;
  --petrol-500: #186878;
  --petrol-400: #2A8699;
  --petrol-300: #63AEBF;
  --petrol-100: #DCE9EC;

  /* Dourado — usado só em marcas decorativas (filetes, sinais, numerais),
     nunca em texto pequeno, para não cair no clichê do jurídico dourado. */
  --gold: #B08A34;
  --gold-soft: #D8B25C;

  /* Semântica — superfície clara (padrão) */
  --bg: var(--white);
  --bg-alt: var(--offwhite);
  --fg: var(--graphite-900);
  --fg-muted: var(--gray-500);
  --fg-subtle: var(--gray-400);
  --line: var(--gray-200);
  --line-soft: var(--gray-150);
  --accent: var(--petrol-600);
  --accent-fg: var(--white);

  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  --fs-display: clamp(2.9rem, 7.4vw, 6.75rem);
  --fs-h1:      clamp(2.35rem, 5.2vw, 4.4rem);
  --fs-h2:      clamp(1.95rem, 3.9vw, 3.15rem);
  --fs-h3:      clamp(1.3rem, 1.9vw, 1.65rem);
  --fs-h4:      clamp(1.08rem, 1.3vw, 1.22rem);
  --fs-lead:    clamp(1.06rem, 1.45vw, 1.32rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-label:   0.75rem;

  /* Layout */
  --gutter: 1.5rem;
  --shell: 1280px;
  --shell-narrow: 900px;
  --radius: 3px;
  --radius-lg: 5px;

  /* Ritmo vertical */
  --section-y: clamp(5.5rem, 11vw, 11rem);
  --section-y-sm: clamp(4rem, 7vw, 7rem);

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.22s;
  --t-med: 0.42s;
  --t-slow: 0.9s;
}

@media (min-width: 768px)  { :root { --gutter: 2.5rem; } }
@media (min-width: 1200px) { :root { --gutter: 3.5rem; } }

/* Inversão de superfície */
.surface-dark {
  --gold: var(--gold-soft);
  --bg: var(--graphite-900);
  --bg-alt: var(--graphite-800);
  --fg: var(--white);
  --fg-muted: var(--gray-300);
  --fg-subtle: var(--gray-400);
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.07);
  --accent: var(--petrol-300);
  --accent-fg: var(--graphite-900);
  background: var(--bg);
  color: var(--fg);
}

.surface-petrol {
  --gold: var(--gold-soft);
  --bg: var(--petrol-900);
  --bg-alt: var(--petrol-800);
  --fg: var(--white);
  --fg-muted: #A9C4CB;
  --fg-subtle: #7C9BA4;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: var(--petrol-300);
  --accent-fg: var(--petrol-900);
  background: var(--bg);
  color: var(--fg);
}

.surface-alt {
  --bg: var(--offwhite);
  background: var(--bg);
}

/* O ritmo do site alterna claro e escuro a cada seção. Onde duas faixas
   escuras precisam se encontrar, um fio marca a divisão para que a troca de
   seção continue perceptível. */
.surface-dark + .surface-petrol,
.surface-petrol + .surface-dark,
.surface-dark + .surface-dark,
.surface-petrol + .surface-petrol {
  border-top: 1px solid color-mix(in srgb, var(--gold-soft) 45%, transparent);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite-900);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--petrol-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--petrol-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--graphite-900);
  color: #fff;
  font-size: var(--fs-small);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.shell--narrow { --shell: var(--shell-narrow); }

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  color: var(--fg);
  /* 'clip' contém elementos decorativos que extrapolam (ex.: .watermark) sem
     criar um contêiner de rolagem, ao contrário de overflow:hidden. */
  overflow: clip;
}
.section--sm { padding-block: var(--section-y-sm); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. TIPOGRAFIA
   -------------------------------------------------------------------------- */
/* Sem numeração de seção: o rótulo ganha um pouco mais de presença — corpo
   maior e cor menos apagada — sem abrir mão da discrição. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow::before {
  content: '';
  width: 38px;
  height: 1.5px;
  background: var(--gold);
  flex: none;
}
.eyebrow--plain::before { display: none; }
/* Mantido para os rótulos de categoria do blog, que continuam destacados. */
.eyebrow__num { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.032em;
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.h4 {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.serif {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--fg-muted);
  letter-spacing: -0.012em;
}

.body { color: var(--fg-muted); line-height: 1.72; }
.body + .body { margin-top: 1.1em; }

.small { font-size: var(--fs-small); color: var(--fg-muted); }
.xs { font-size: var(--fs-xs); color: var(--fg-subtle); }

.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.measure-xs { max-width: 38ch; }

.accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   5. BOTÕES E LINKS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--graphite-900);
  --btn-bd: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
              transform var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--graphite-900);
  transform: translateY(101%);
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover { color: #fff; border-color: var(--graphite-900); transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn__arrow {
  flex: none;
  width: 14px; height: 14px;
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-bd: var(--line);
}
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }

/* Mantida como variante para fundo escuro; hoje usa o mesmo dourado do
   botão principal, para que a ação primária tenha uma cor só no site. */
.btn--light {
  --btn-bg: var(--gold);
  --btn-fg: var(--graphite-900);
  --btn-bd: var(--gold);
}
.btn--light::after { background: #fff; }
.btn--light:hover { color: var(--graphite-900); border-color: #fff; }

.btn--wide { width: 100%; }
@media (min-width: 560px) { .btn--wide { width: auto; } }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Link com underline animado */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg);
  padding-bottom: 3px;
}
.link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.link:hover::after { transform: scaleX(0); }
.link .btn__arrow { transition: transform var(--t-med) var(--ease-out); }
.link:hover .btn__arrow { transform: translateX(4px); }

.link--accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.15rem;
  color: #fff;
  transition: transform var(--t-med) var(--ease), padding var(--t-med) var(--ease),
              background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              color var(--t-med) var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 18, 21, 0.55), rgba(14, 18, 21, 0));
  opacity: 1;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}

.header.is-stuck {
  padding-block: 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(14, 18, 21, 0.09);
  color: var(--graphite-900);
}
.header.is-stuck::before { opacity: 0; }

.header.is-hidden { transform: translateY(-105%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   MARCA — lockup horizontal montado a partir do logotipo oficial.
   O PNG original é branco sobre transparente e traz o monograma (x 348–944,
   y 238–836) acima do logotipo. Aqui recortamos só o monograma e o apoiamos
   sobre uma placa em azul petróleo, que é o fundo exigido pela marca.
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand__mark {
  --s: 38px;
  position: relative;
  width: var(--s);
  height: var(--s);
  flex: none;
  overflow: hidden;
  border-radius: 5px;
  background: var(--petrol-700);
  transition: background-color var(--t-med) var(--ease);
}
.brand__mark img {
  position: absolute;
  width: calc(var(--s) * 1353 / 598);
  max-width: none;
  left: calc(var(--s) * -348 / 598);
  top: calc(var(--s) * -238 / 598);
}
.brand:hover .brand__mark { background: var(--petrol-600); }

.brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand__name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.54rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 500;
}
@media (min-width: 420px) { .brand__mark { --s: 42px; } .brand__name { font-size: 0.98rem; } }

/* Logotipo completo (empilhado) sobre placa petróleo — rodapé e menu */
.logo-full {
  --lw: 240px;
  position: relative;
  width: var(--lw);
  aspect-ratio: 1242 / 834;
  overflow: hidden;
  flex: none;
}
.logo-full img {
  position: absolute;
  width: calc(var(--lw) * 1353 / 1242);
  max-width: none;
  left: calc(var(--lw) * -58 / 1242);
  top: calc(var(--lw) * -238 / 1242);
}
.logo-plate {
  display: inline-flex;
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.6rem, 2.8vw, 2.4rem);
  background: var(--petrol-800);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.logo-plate--horizontal { padding: clamp(1.1rem, 1.8vw, 1.5rem) clamp(1.3rem, 2.2vw, 1.8rem); }

/* Versão horizontal da marca. O arquivo é 2000x668 com margens transparentes;
   o conteúdo ocupa 1842x466 a partir de (86, 110) — daí o recorte abaixo. */
.logo-horizontal {
  --lw: 250px;
  position: relative;
  width: var(--lw);
  aspect-ratio: 1842 / 466;
  overflow: hidden;
  flex: none;
}
.logo-horizontal img {
  position: absolute;
  width: calc(var(--lw) * 2000 / 1842);
  max-width: none;
  left: calc(var(--lw) * -86 / 1842);
  top: calc(var(--lw) * -110 / 1842);
}

/* Navegação desktop */
.nav { display: none; }
/* Com 5 itens o menu tem folga de sobra; o espaçamento volta a respirar,
   ainda acompanhando a largura da tela. */
@media (min-width: 1060px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.6rem, 2vw, 2.4rem);
  }
}
.nav__link {
  position: relative;
  font-size: var(--fs-small);
  font-weight: 450;
  letter-spacing: -0.005em;
  padding-block: 4px;
  white-space: nowrap;
  opacity: 0.86;
  transition: opacity var(--t-fast) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { opacity: 1; }
.nav__link[aria-current='page']::after { transform: scaleX(1); opacity: 0.4; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.header__cta {
  display: none;
  padding: 0.72rem 1.3rem;
  font-size: var(--fs-xs);
}
@media (min-width: 1060px) { .header__cta { display: inline-flex; } }

/* Botão hambúrguer */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 11px;
  background: none;
  border: 0;
  cursor: pointer;
}
@media (min-width: 1060px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) var(--ease);
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. MENU MOBILE
   -------------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  background: var(--graphite-900);
  color: #fff;
  padding: 6.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.66s var(--ease-out), visibility 0s linear 0.66s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.66s var(--ease-out), visibility 0s;
}
@media (min-width: 1060px) { .menu { display: none; } }

.menu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 450;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease) calc(var(--d, 0) * 55ms + 120ms),
              transform 0.6s var(--ease-out) calc(var(--d, 0) * 55ms + 120ms),
              color var(--t-fast) var(--ease);
}
.menu.is-open .menu__link { opacity: 1; transform: translateY(0); }
.menu__link:hover { color: var(--petrol-300); }
.menu__link span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--petrol-300);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.menu__foot {
  margin-top: auto;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease) 0.5s, transform 0.6s var(--ease-out) 0.5s;
}
.menu.is-open .menu__foot { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  --gold: var(--gold-soft);
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 7rem;
  padding-bottom: clamp(2.25rem, 4vw, 3.75rem);
  background: var(--graphite-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 1060px) { .hero { min-height: 94svh; } }

/* Campo de profundidade atrás de tudo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(70% 60% at 6% 26%, rgba(18, 80, 95, 0.4) 0%, rgba(14, 18, 21, 0) 64%),
    radial-gradient(60% 50% at 96% 88%, rgba(24, 104, 120, 0.26) 0%, rgba(14, 18, 21, 0) 60%);
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: -3;
  will-change: transform;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(1) contrast(1.12);
}

/* Duotone petróleo: a camada 'color' repinta o cinza com o matiz da marca */
.hero__tone {
  position: absolute;
  inset: 0;
  background: var(--petrol-600);
  mix-blend-mode: color;
  opacity: 0.92;
  pointer-events: none;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 18, 24, 0.93) 8%, rgba(6, 18, 24, 0.6) 52%, rgba(6, 18, 24, 0.34) 100%);
  pointer-events: none;
}
@media (min-width: 1060px) {
  .hero__scrim {
    background:
      linear-gradient(to right, rgba(6, 18, 24, 0.95) 0%, rgba(6, 18, 24, 0.9) 30%, rgba(6, 18, 24, 0.6) 52%, rgba(6, 18, 24, 0.14) 78%, rgba(6, 18, 24, 0.06) 100%),
      linear-gradient(to top, rgba(6, 18, 24, 0.55) 0%, rgba(6, 18, 24, 0) 44%);
  }
}

/* --------------------------------------------------------------------------
   TRATAMENTO DUOTONE — aplicado a toda fotografia do site para que imagens
   de origens diferentes leiam como um único conjunto de direção de arte.
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--graphite-800);
  isolation: isolate;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform 1.3s var(--ease-out), filter var(--t-med) var(--ease);
}
.js-anim .media img { transform: scale(1.04); }
.js-anim .media.is-in img { transform: scale(1); }
.media__grade {
  position: absolute;
  inset: 0;
  background: var(--petrol-600);
  mix-blend-mode: color;
  opacity: 0.9;
  pointer-events: none;
}
.media__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 18, 24, 0.7) 0%, rgba(6, 18, 24, 0.05) 58%);
  pointer-events: none;
}
.media--soft .media__shade { background: linear-gradient(to top, rgba(6, 18, 24, 0.45) 0%, rgba(6, 18, 24, 0) 62%); }

/* Compensação para fontes fotográficas fora da faixa tonal do conjunto.
   Medida: luminância média do original ~209/255, contra ~110 das demais. */
.media--bright img { filter: grayscale(1) contrast(1.02) brightness(0.62); }

/* O caminho inverso: original escuro demais (~57/255) sendo trazido para
   perto da faixa do conjunto. */
.media--lift img { filter: grayscale(1) contrast(1.04) brightness(1.3); }

/* Retrato: a pessoa permanece natural enquanto a arquitetura recebe o duotone.
   O original é escuro (luminância média ~32/255), por isso é clareado. */
.media--portrait img { filter: contrast(1.02) brightness(1.12) saturate(0.82); }
.media--portrait .media__grade { opacity: 0.22; }
.media--portrait .media__shade { background: linear-gradient(to top, rgba(6, 18, 24, 0.6) 0%, rgba(6, 18, 24, 0) 52%); }

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.4vw, 3rem);
}
.hero__content { max-width: 41rem; }

.hero__title {
  max-width: 17ch;
  margin-top: 1.6rem;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero__sub {
  margin-top: 1.75rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.012em;
}

.hero__note {
  margin-top: 1.1rem;
  max-width: 50ch;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.hero__actions { margin-top: 2.4rem; }

/* Quatro informações. Duas colunas já no celular: empilhadas em coluna única
   elas esticavam o hero em cerca de 100px, empurrando conteúdo para fora da
   primeira tela. */
.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
@media (min-width: 1060px) {
  .hero__meta { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.hero__meta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.hero__meta-label {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.hero__meta-value {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

/* Selo de plantão — canto superior direito, abaixo do cabeçalho.
   Fica sobre a fotografia, longe do bloco de texto e do indicador de rolagem,
   que ocupa o canto inferior direito. O brilho radial atrás separa o selo da
   arquitetura sem precisar de caixa ou borda. */
.hero__selo {
  position: absolute;
  z-index: 3;
  top: clamp(5.25rem, 9vw, 7.5rem);
  right: var(--gutter);
  width: clamp(84px, 9vw, 116px);
  pointer-events: none;
}
.hero__selo::before {
  content: '';
  position: absolute;
  inset: -34%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 18, 24, 0.62) 0%, rgba(6, 18, 24, 0) 68%);
}
.hero__selo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5));
}

/* No mobile o selo desce até a altura da primeira linha de texto, então o
   eyebrow cede a largura correspondente em vez de passar por baixo dele. */
@media (max-width: 1059px) {
  .hero .eyebrow { max-width: calc(100% - 6.5rem); }
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.5rem, 5vw, 4rem);
  display: none;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 1320px) { .hero__scroll { display: flex; } }
.hero__scroll i {
  display: block;
  width: 1px; height: 46px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  animation: scrollCue 2.4s var(--ease) infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Hero das páginas internas */
.phero {
  --gold: var(--gold-soft);
  position: relative;
  padding-top: clamp(8.5rem, 16vw, 12rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: var(--graphite-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(24, 104, 120, 0.42) 0%, rgba(6, 32, 42, 0) 62%),
    radial-gradient(90% 70% at 4% 96%, rgba(18, 80, 95, 0.3) 0%, rgba(14, 18, 21, 0) 60%);
}
.phero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 980px) {
  .phero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; }
}
.phero__title {
  margin-top: 1.5rem;
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.034em;
}
.phero__title em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.phero__sub {
  margin-top: 1.4rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.74);
}
.phero__actions { margin-top: 2.2rem; }

.phero__side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.phero__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.phero__item::before {
  content: '';
  flex: none;
  width: 5px; height: 5px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--gold);
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: 0.45; }
.crumbs [aria-current] { color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   9. SEÇÃO DE DECLARAÇÃO (frase de impacto)
   -------------------------------------------------------------------------- */
.statement {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 980px) {
  .statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

.statement__lead {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.022em;
  max-width: 15ch;
}

.enum {
  display: flex;
  flex-direction: column;
}
.enum__item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 450;
  letter-spacing: -0.022em;
  color: var(--fg);
}
.enum__item:first-child { border-top: 1px solid var(--line-soft); }
.enum__item i {
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   10. CARDS DE SERVIÇO
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
@media (min-width: 680px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: clamp(230px, 26vw, 300px);
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  background: var(--bg);
  isolation: isolate;
  overflow: hidden;
  transition: color var(--t-med) var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--petrol-900);
  transform: translateY(100%);
  transition: transform 0.55s var(--ease-out);
}
.card:hover { color: #fff; }
.card:hover::before { transform: translateY(0); }

.card__num {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  color: var(--fg-subtle);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-med) var(--ease);
}
.card:hover .card__num { color: var(--petrol-300); }

.card__title {
  font-size: clamp(1.22rem, 1.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.2;
}
.card__desc {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--fg-muted);
  transition: color var(--t-med) var(--ease);
}
.card:hover .card__desc { color: rgba(255, 255, 255, 0.75); }

.card__go {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent);
  transition: color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out);
}
.card:hover .card__go { color: var(--petrol-300); transform: translateX(3px); }
.card__go svg { width: 13px; height: 13px; }

.card__link { position: absolute; inset: 0; z-index: 2; }

/* --------------------------------------------------------------------------
   10b. CARDS DE ÁREA COM FOTOGRAFIA
   -------------------------------------------------------------------------- */
.acards {
  display: grid;
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
}
@media (min-width: 680px)  { .acards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .acards { grid-template-columns: repeat(3, 1fr); } }

.acard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out);
}
.acard:hover { border-color: var(--accent); transform: translateY(-4px); }
.acard:hover .media img { transform: scale(1.06); }
.acard:hover .media__grade { opacity: 0.72; }

.acard .media { aspect-ratio: 16 / 10; }
.acard__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  padding: clamp(1.3rem, 2vw, 1.7rem);
}
.acard__title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.22;
}
.acard__desc { font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.6; }
.acard__go {
  margin-top: auto;
  padding-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--gold);
  transition: transform var(--t-med) var(--ease-out);
}
.acard:hover .acard__go { color: var(--gold); transform: translateX(3px); }
.acard__go svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   10c. BARRA DE VALORES
   -------------------------------------------------------------------------- */
.values {
  display: grid;
  gap: 1px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 620px)  { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  transition: background-color var(--t-med) var(--ease);
}
.value:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.value__icon {
  width: 26px; height: 26px;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.value__title { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -0.02em; }
.value__desc { font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   11. SEÇÕES DE CONTEÚDO (split)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2.25rem, 4.5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .split--top { align-items: start; }
  .split--reverse > *:first-child { order: 2; }
}

.split__body > * + * { margin-top: 1.35rem; }
.split__body .btn-row { margin-top: 2.2rem; }

/* Cadeia de etapas (Contratos → Sócios → ...) */
.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chain__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 450;
  letter-spacing: -0.008em;
  color: var(--fg);
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out);
}
.chain__item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.chain__item i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* Fórmula de integração (RH + JURÍDICO + GESTÃO + SEGURANÇA DO TRABALHO) */
.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
}
.formula__item {
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out);
}
.formula__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.formula__mais {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

/* Lista de pilares numerados */
.pillars { border-top: 1px solid var(--line); }
.pillar {
  display: grid;
  gap: 0.4rem 1.75rem;
  grid-template-columns: auto 1fr;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.pillar__num {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  padding-top: 0.42rem;
}
.pillar__title {
  font-size: var(--fs-h4);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.pillar__desc {
  grid-column: 2;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  line-height: 1.6;
}

/* As grades abaixo desenham as divisorias com box-shadow em cada celula, e nao
   pintando o fundo do container atraves do gap. A diferenca aparece quando o
   numero de itens nao fecha a ultima linha: com o fundo pintado, a celula que
   sobra vira um bloco solido na cor da linha; com box-shadow, ela simplesmente
   nao existe visualmente. */
.tiles {
  display: grid;
  gap: 1px;
  background: transparent;
}
@media (min-width: 560px)  { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  font-size: var(--fs-small);
  font-weight: 450;
  letter-spacing: -0.008em;
  transition: background-color var(--t-med) var(--ease);
}
.tile:hover { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.tile svg { width: 15px; height: 15px; flex: none; color: var(--gold); }

/* Figura editorial */
.figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--graphite-800);
}
.figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out);
}
.figure--wide img { aspect-ratio: 3 / 2; }
.figure.is-in img { transform: scale(1); }
.figure__tone {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 32, 42, 0.3) 0%, rgba(14, 18, 21, 0.08) 45%, rgba(6, 32, 42, 0.5) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}
.figure__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: linear-gradient(to top, rgba(6, 18, 24, 0.85), rgba(6, 18, 24, 0));
  color: #fff;
}
.figure__caption strong { font-weight: 500; font-size: 1.02rem; letter-spacing: -0.015em; }
.figure__caption span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.66); letter-spacing: 0.02em; }

/* Marca d'água tipográfica de fundo */
.watermark {
  position: absolute;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--fg);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. SEÇÃO SOBRE
   -------------------------------------------------------------------------- */
.about__id {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.about__name {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.15;
}
.about__role { font-size: var(--fs-small); color: var(--fg-muted); }
.about__oab {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.creds { display: grid; gap: 1px; background: transparent; margin-top: 2rem; }
@media (min-width: 620px) { .creds { grid-template-columns: repeat(2, 1fr); } }
.cred { padding: 1.2rem 1.35rem; background: var(--bg); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 0.3rem; }
.cred__label {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.cred__value { font-size: var(--fs-small); font-weight: 450; line-height: 1.45; }

/* --------------------------------------------------------------------------
   13. SEÇÃO HUMANA / EDITORIAL
   -------------------------------------------------------------------------- */
.human__lines {
  display: flex;
  flex-direction: column;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.human__line {
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 1.3;
  color: var(--fg);
  transition: padding-left var(--t-med) var(--ease);
}
.human__line:hover { padding-left: 0.6rem; }
.human__line em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}
.human__close {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

/* --------------------------------------------------------------------------
   13b. DEPOIMENTOS E AVALIAÇÃO
   -------------------------------------------------------------------------- */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--line));
  border-radius: var(--radius-lg);
  width: fit-content;
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
}
.rating__nota {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.rating__col { display: flex; flex-direction: column; gap: 0.35rem; }
.rating__texto { font-size: var(--fs-xs); color: var(--fg-muted); letter-spacing: 0.01em; }
.rating__texto a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; color: #E8A317; flex: none; }

/* Capturas de conversa. As imagens têm cerca de 290px de largura nativa e
   proporções diferentes entre si, por isso nunca são ampliadas — passar disso
   borraria o texto — e os cartões ficam alinhados pelo topo. */
.prints {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: start;
}
@media (min-width: 760px)  { .prints { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prints { grid-template-columns: repeat(3, 1fr); } }

.print {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease);
}
.print:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(6, 18, 24, 0.09);
}
.print img {
  display: block;
  width: 100%;
  max-width: 291px;
  height: auto;
  border-radius: 6px;
}
.print__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  padding-top: 0.2rem;
  border-top: 1px solid var(--line-soft);
  width: 100%;
  padding-top: 1rem;
}
.print__autor { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.01em; }
.print__area {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

/* --------------------------------------------------------------------------
   13c. BLOG — cartões de artigo e leitura
   Os cartões são tipográficos, sem fotografia: imagem de banco mal casada com
   o tema enfraquece mais do que ajuda, e o título é o que vende a leitura.
   -------------------------------------------------------------------------- */
.posts {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
}
@media (min-width: 720px)  { .posts { grid-template-columns: repeat(2, 1fr); } }

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease);
}
.post .media { aspect-ratio: 16 / 9; }
.post:hover .media img { transform: scale(1.05); }
.post:hover .media__grade { opacity: 0.74; }
.post__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}
.post::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.post:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(6, 18, 24, 0.09);
}
.post:hover::before { transform: scaleY(1); }

.post__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.post__title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.026em;
}
.post__resumo {
  font-size: var(--fs-small);
  line-height: 1.66;
  color: var(--fg-muted);
}
.post__meta {
  margin-top: auto;
  padding-top: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-xs);
  color: var(--fg-subtle);
}
.post__ler {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--accent);
  transition: transform var(--t-med) var(--ease-out);
}
.post:hover .post__ler { transform: translateX(3px); }
.post__ler svg { width: 13px; height: 13px; }

/* Imagem de abertura do artigo. Fica mais larga que a coluna de texto:
   ancora o assunto visualmente antes da leitura começar. */
.artigo__capa {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Corpo do artigo */
.artigo { max-width: 68ch; }
.artigo > p:first-of-type {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--fg);
  letter-spacing: -0.012em;
}
.artigo blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 2px solid var(--gold);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  border-radius: 0 var(--radius) var(--radius) 0;
}
.artigo blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  color: var(--fg);
}
.artigo blockquote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.artigo ol { margin: 0.9rem 0 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.artigo ol li::marker { color: var(--gold); font-weight: 600; }

/* Bloco de conversão ao fim do artigo */
.fecho {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}
.fecho__titulo {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.25;
  max-width: 34ch;
  text-wrap: balance;
}
.fecho__texto { font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.65; max-width: 56ch; }

.relacionado {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  font-size: var(--fs-small);
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   14. FAQ / ACCORDION
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.45;
  color: var(--fg);
  transition: color var(--t-fast) var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: none;
  position: relative;
  width: 16px; height: 16px;
  margin-top: 0.3rem;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) var(--ease);
}
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 14px; }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__q[aria-expanded='true'] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  max-width: 68ch;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--fg-muted);
}
.faq__a p:last-child { padding-bottom: 1.5rem; }
.faq__a p + p { margin-top: 0.9rem; }

/* --------------------------------------------------------------------------
   15. PROCESSO (etapas numeradas)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 1px;
  background: transparent;
}
@media (min-width: 720px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 180px;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.step__title { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -0.018em; }
.step__desc { font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   16. CTA FINAL
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(24, 104, 120, 0.5) 0%, rgba(6, 32, 42, 0) 60%),
    radial-gradient(80% 100% at 92% 100%, rgba(18, 80, 95, 0.4) 0%, rgba(6, 32, 42, 0) 62%);
}
.cta__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 980px) {
  .cta__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
}
.cta__title {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.032em;
  max-width: 16ch;
}
.cta__title em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* Formulário */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field__label {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: var(--fs-small);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-subtle); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23A9C4CB' stroke-width='1.4'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  background-size: 12px;
  padding-right: 2.6rem;
}
.field select option { background: var(--petrol-900); color: #fff; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--fg-muted);
}
.consent input {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 0.18rem;
  accent-color: var(--petrol-400);
}
.consent a { text-decoration: underline; text-underline-offset: 2px; }

.form__note { font-size: var(--fs-xs); color: var(--fg-subtle); line-height: 1.55; }
.form__status {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--accent);
}

/* Canais diretos */
.channels { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 2.25rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t-med) var(--ease);
}
.channel:hover { padding-left: 0.5rem; }
.channel svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.channel__label { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-subtle); }
.channel__value { font-size: var(--fs-small); font-weight: 450; }
.channel__col { display: flex; flex-direction: column; gap: 0.15rem; }

/* --------------------------------------------------------------------------
   17. FAIXA DE CONVERSÃO (strip)
   -------------------------------------------------------------------------- */
.strip {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  border-block: 1px solid var(--line);
}
@media (min-width: 880px) {
  .strip { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}
.strip__text {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 450;
  letter-spacing: -0.026em;
  line-height: 1.25;
  max-width: 30ch;
}
.strip__text em { font-family: var(--font-display); font-style: italic; }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  --gold: var(--gold-soft);
  background: var(--graphite-900);
  color: #fff;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: 2rem;
}
.footer__top {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
@media (min-width: 880px) {
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
}
.footer__brand { display: flex; flex-direction: column; gap: 1.2rem; }
.footer__blurb {
  max-width: 34ch;
  font-size: var(--fs-small);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.6);
}
.footer__oab {
  font-size: var(--fs-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.footer__col { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__head {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.2rem;
}
.footer__link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.76);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  width: fit-content;
}
.footer__link:hover { color: #fff; transform: translateX(3px); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
}
@media (min-width: 880px) {
  .footer__bottom { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2.5rem; }
}
.footer__legal {
  max-width: 76ch;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
}
.footer__meta a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   19. BOTÃO FLUTUANTE WHATSAPP (mobile)
   -------------------------------------------------------------------------- */
.fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.3rem;
  background: var(--petrol-600);
  color: #fff;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: -0.008em;
  box-shadow: 0 10px 30px rgba(6, 32, 42, 0.32);
  opacity: 0;
  transform: translateY(120%);
  transition: opacity var(--t-med) var(--ease), transform 0.5s var(--ease-out), background-color var(--t-fast) var(--ease);
}
.fab.is-visible { opacity: 1; transform: translateY(0); }
.fab:hover { background: var(--petrol-500); }
.fab svg { width: 19px; height: 19px; flex: none; }
@media (min-width: 1060px) { .fab { display: none; } }

/* --------------------------------------------------------------------------
   20. PÁGINA LEGAL (texto corrido)
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.3;
}
.prose h3 {
  margin-top: 1.9rem;
  margin-bottom: 0.6rem;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.prose p, .prose li { font-size: var(--fs-small); line-height: 1.75; color: var(--fg-muted); }
.prose p + p { margin-top: 1rem; }
.prose ul { margin: 0.9rem 0 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose li::marker { color: var(--gold); }
/* Só os links de texto corrido recebem cor e sublinhado. Sem o :not(), esta
   regra vence a do .btn por especificidade e pinta o texto do botão com a cor
   de destaque — que é a mesma do fundo dele, deixando o rótulo invisível. */
.prose a:not(.btn):not(.link) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--fg); font-weight: 500; }

/* --------------------------------------------------------------------------
   21. ANIMAÇÕES DE SCROLL
   -------------------------------------------------------------------------- */
/* Todo estado inicial escondido depende da classe .js-anim, que o próprio
   JavaScript coloca no <html>. Sem JavaScript — ou se o script falhar — nada
   fica oculto: o conteúdo simplesmente aparece. Nenhuma animação pode ser
   capaz de esconder conteúdo de forma permanente. */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease) calc(var(--d, 0) * 85ms),
    transform 0.95s var(--ease-out) calc(var(--d, 0) * 85ms);
  will-change: opacity, transform;
}
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }

.js-anim [data-reveal='fade'] { transform: none; }

.js-anim [data-reveal='mask'] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease-out) calc(var(--d, 0) * 85ms);
}
.js-anim [data-reveal='mask'].is-in { clip-path: inset(0 0 0 0); }

.js-anim [data-reveal='line'] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) calc(var(--d, 0) * 85ms);
}
.js-anim [data-reveal='line'].is-in { transform: scaleX(1); }

/* Reveal palavra a palavra */
.words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.js-anim .words .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease-out) calc(var(--i, 0) * 52ms);
  will-change: transform;
}
.js-anim .words.is-in .word > span { transform: translateY(0); }

/* Parallax */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal='mask'], [data-reveal='line'] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .words .word > span { transform: none !important; }
  .media img { transform: none !important; }
  .hero__scroll i::after { animation: none; }
  .fab { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. UTILITÁRIOS
   -------------------------------------------------------------------------- */
.stack-sm > * + * { margin-top: 0.85rem; }
.stack > * + * { margin-top: 1.4rem; }
.stack-lg > * + * { margin-top: clamp(2rem, 3.5vw, 3rem); }
.mt-xl { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mt-lg { margin-top: clamp(2rem, 3.5vw, 3rem); }
.mt-md { margin-top: 1.6rem; }
.relative { position: relative; }
.z1 { position: relative; z-index: 1; }


/* --------------------------------------------------------------------------
   23. LISTA CORRIDA
   Alternativa à grade: os itens fluem em linha, separados por um losango
   dourado. Usada onde uma segunda grade na mesma página ficaria repetitiva.
   -------------------------------------------------------------------------- */
.corrida {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0;
  max-width: 64ch;
}
.corrida__item {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 450;
  letter-spacing: -0.014em;
  line-height: 1.45;
  color: var(--fg);
}
.corrida__sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0.95rem;
  transform: rotate(45deg);
  background: var(--gold);
  flex: none;
}


/* --------------------------------------------------------------------------
   24. PLACA E FAIXA DE IMAGEM
   -------------------------------------------------------------------------- */

/* Placa de porta em latão. Não recebe o duotone: o tom dourado dela já
   pertence à paleta de detalhes da marca. */
.placa {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  /* drop-shadow segue o recorte da peça; o arquivo tem margem transparente e
     cantos chanfrados, então box-shadow desenharia um retângulo solto. */
  filter: drop-shadow(0 12px 26px rgba(6, 18, 24, 0.28));
}

/* Faixa larga: a imagem atravessa as duas colunas, em vez de alongar uma só. */
.faixa-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .faixa-media { aspect-ratio: 21 / 9; } }
