/* ==========================================================================
   Filipe Vilela Advocacia — folha de estilos
   Paleta: tinta (ink), marfim (paper) e latão (brass)
   Tipografia: Instrument Serif (títulos) + Inter (texto)
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0c0f0e;
  --ink-2: #121614;
  --ink-3: #1a1f1d;
  --paper: #f3efe7;
  --paper-2: #ebe5d9;
  --paper-3: #e2dacb;
  --white: #fbf9f5;
  --brass: #c9ad7c;
  --brass-2: #e3cfa6;
  --brass-ink: #7a5c30;
  --wa: #25d366;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4.2vw, 56px);
  --maxw: 1360px;
  --header-h: 84px;
  --radius-xl: clamp(24px, 3vw, 44px);
  --radius-l: 24px;
  --radius-m: 16px;

  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* contexto (sobrescrito por [data-theme]) */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: rgba(12, 15, 14, 0.66);
  --line: rgba(12, 15, 14, 0.13);
  --accent: var(--brass-ink);
  --surface: var(--white);
}

[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: rgba(243, 239, 231, 0.66);
  --line: rgba(243, 239, 231, 0.14);
  --accent: var(--brass);
  --surface: rgba(255, 255, 255, 0.035);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: rgba(12, 15, 14, 0.66);
  --line: rgba(12, 15, 14, 0.13);
  --accent: var(--brass-ink);
  --surface: var(--white);
  color-scheme: light;
}
[data-theme="sand"] {
  --bg: var(--paper-2);
  --fg: var(--ink);
  --muted: rgba(12, 15, 14, 0.68);
  --line: rgba(12, 15, 14, 0.14);
  --accent: var(--brass-ink);
  --surface: var(--white);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Utilitários ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - (var(--gutter) * 2), 980px); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--sm { width: 1em; height: 1em; }
.ico--lg { width: 28px; height: 28px; }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 2000;
  padding: 12px 18px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: var(--fs-small); font-weight: 500; transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Tipografia ---------- */
.title-xl, .title-l, .title-m, .title-s, .serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-kerning: normal;
}
.title-xl { font-size: clamp(3.1rem, 8.6vw, 9.75rem); line-height: 0.92; letter-spacing: -0.025em; }
.title-l { font-size: clamp(2.6rem, 5.8vw, 6rem); line-height: 0.98; letter-spacing: -0.02em; }
.title-m { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.02; }
.title-s { font-size: clamp(1.5rem, 2.2vw, 2.125rem); line-height: 1.1; }
.title-xl em, .title-l em, .title-m em, .title-s em, .serif em {
  font-style: italic;
  color: var(--accent);
}
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
p + p { margin-top: 1.1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__idx {
  font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0;
  text-transform: none; color: var(--accent);
}
.eyebrow::after {
  content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.5;
}
.eyebrow--plain::after { display: none; }

/* split-text helpers */
.line-mask { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word { display: inline-block; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);
  --btn-hover-bg: var(--accent);
  --btn-hover-fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: var(--btn-hover-bg);
  transform: translate(-50%, 0) scale(0.2);
  transition: transform 0.7s var(--ease), top 0.7s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { top: 50%; transform: translate(-50%, -50%) scale(1.1); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); }
.btn__label { position: relative; display: inline-block; overflow: hidden; }
.btn__label > span { display: inline-block; transition: transform 0.6s var(--ease); }
.btn__label[data-text]::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-110%); }
.btn:hover .btn__label[data-text]::after, .btn:focus-visible .btn__label[data-text]::after { transform: translateY(-100%); }
.btn .ico { width: 18px; height: 18px; transition: transform 0.6s var(--ease); }
.btn:hover .ico--move { transform: translateX(4px) rotate(-45deg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-hover-bg: var(--fg);
  --btn-hover-fg: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn--wa .btn__icon {
  display: grid; place-items: center; width: 30px; height: 30px; margin-left: -12px;
  border-radius: 50%; background: var(--wa); color: #fff; flex: none;
  transition: transform 0.6s var(--ease);
}
.btn--wa .btn__icon .ico { width: 17px; height: 17px; }
.btn--wa:hover .btn__icon { transform: rotate(-12deg) scale(1.06); }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 0.8125rem; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.75rem; gap: 10px; }
.btn--sm.btn--wa .btn__icon { width: 26px; height: 26px; margin-left: -10px; }
.btn--sm.btn--wa .btn__icon .ico { width: 15px; height: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.4s;
}
.link-arrow:hover { background-size: 0% 1px; background-position: 100% 100%; color: var(--accent); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform 0.6s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

.u-link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 0.6s var(--ease);
  padding-bottom: 2px;
}
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; }

/* ---------- Loader / cortina / cursor / grão ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1200;
  display: none; place-items: center;
  background: var(--ink); color: var(--paper);
}
.js.show-loader .loader { display: grid; }
.app-failsafe .loader { display: none !important; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__mark {
  font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; letter-spacing: -0.04em;
  display: flex; overflow: clip; padding: 0 0.12em 0.04em;
}
.loader__mark span { display: inline-block; }
.loader__mark span:last-child { font-style: italic; color: var(--brass); margin-left: -0.04em; }
.loader__word { font-size: 0.6875rem; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(243,239,231,.6); overflow: clip; }
.loader__word span { display: inline-block; }
.loader__bar { width: 180px; height: 1px; background: rgba(243,239,231,.14); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.loader__count {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); line-height: 1; color: rgba(243,239,231,.12);
}

.curtain {
  position: fixed; inset: 0; z-index: 1100; pointer-events: none;
  background: var(--ink);
  transform: translateY(100%);
  display: grid; place-items: center;
}
.curtain__mark { font-family: var(--serif); font-size: 2.5rem; color: var(--paper); opacity: 0; }
.curtain__mark em { color: var(--brass); }
.js.is-transitioning .curtain { transform: translateY(0); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 1300; pointer-events: none;
  width: 0; height: 0; display: none;
}
.has-cursor .cursor { display: block; }
.cursor__ring {
  position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201, 173, 124, 0.7);
  display: grid; place-items: center;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), left 0.5s var(--ease), top 0.5s var(--ease),
              background-color 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.3s;
}
.cursor__label {
  font-style: normal;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transform: scale(0.6);
  transition: opacity 0.3s, transform 0.5s var(--ease);
}
.cursor.is-hover .cursor__ring { left: -28px; top: -28px; width: 56px; height: 56px; background: rgba(201,173,124,.12); }
.cursor.is-label .cursor__ring { left: -46px; top: -46px; width: 92px; height: 92px; background: var(--brass); border-color: var(--brass); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hidden .cursor__ring { opacity: 0; }

.grain {
  position: fixed; inset: -50%; z-index: 1000; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* barra de progresso de leitura */
.progress {
  position: fixed; left: 0; top: 0; z-index: 120; height: 2px; width: 100%;
  background: var(--brass); transform-origin: left; transform: scaleX(0);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--fg);
  transition: transform 0.7s var(--ease), color 0.5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.5s var(--ease), background-color 0.5s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; }
.site-header__inner {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding-right: 2px;
  border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--serif); font-size: 1.25rem; line-height: 1; letter-spacing: -0.04em;
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.brand__mark i { font-style: italic; color: var(--accent); margin-left: -0.05em; }
.brand:hover .brand__mark { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.375rem; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.625rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 0.8125rem; font-weight: 450; letter-spacing: 0.02em;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.site-header .btn--wa { --btn-bg: var(--fg); --btn-fg: var(--bg); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.menu-toggle__lines { position: relative; width: 18px; height: 10px; }
.menu-toggle__lines::before, .menu-toggle__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: 8px; }
.menu-open .menu-toggle__lines::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines::after { top: 4px; transform: rotate(-45deg); }

/* menu móvel */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.9s var(--ease-in-out), visibility 0s linear 0.9s;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.9s var(--ease-in-out), visibility 0s; }
.menu__list { display: grid; gap: 4px; margin-top: 4vh; }
.menu__link {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 4rem); line-height: 1.08;
  overflow: clip;
}
.menu__link > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); }
.menu__idx { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--brass); }
.menu-open .menu__link > span { transform: none; }
.menu-open .menu__list li:nth-child(1) .menu__link > span { transition-delay: 0.25s; }
.menu-open .menu__list li:nth-child(2) .menu__link > span { transition-delay: 0.3s; }
.menu-open .menu__list li:nth-child(3) .menu__link > span { transition-delay: 0.35s; }
.menu-open .menu__list li:nth-child(4) .menu__link > span { transition-delay: 0.4s; }
.menu-open .menu__list li:nth-child(5) .menu__link > span { transition-delay: 0.45s; }
.menu-open .menu__list li:nth-child(6) .menu__link > span { transition-delay: 0.5s; }
.menu-open .menu__list li:nth-child(7) .menu__link > span { transition-delay: 0.55s; }
.menu__link:hover { color: var(--brass); font-style: italic; }
.menu__foot {
  margin-top: auto; padding-top: 32px; display: grid; gap: 18px;
  border-top: 1px solid rgba(243,239,231,.14);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease) 0s, transform 0.6s var(--ease) 0s;
}
.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: 0.55s; }
.menu__foot p { color: rgba(243,239,231,.6); font-size: var(--fs-small); }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-fab {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 95;
  display: inline-flex; align-items: center; gap: 0;
  height: 60px; padding: 0 0 0 0; border-radius: 999px;
  background: rgba(12, 15, 14, 0.82); color: var(--paper);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.5), inset 0 0 0 1px rgba(243,239,231,.12);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.6s var(--ease), gap 0.6s var(--ease), padding 0.6s var(--ease);
}
.wa-fab.is-visible { transform: none; opacity: 1; }
.wa-fab__icon {
  position: relative; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; color: var(--wa); flex: none;
}
.wa-fab__icon .ico { width: 26px; height: 26px; }
.wa-fab__icon::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
.wa-fab__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: max-width 0.7s var(--ease), padding 0.7s var(--ease);
}
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { max-width: 240px; padding-right: 24px; }

/* ---------- Seções ---------- */
.section {
  position: relative;
  background: var(--bg); color: var(--fg);
  padding-block: clamp(96px, 13vw, 200px);
}
.section--tight { padding-block: clamp(72px, 9vw, 140px); }
.section--rounded {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: calc(var(--radius-xl) * -1);
  z-index: 2;
}
.section-head { display: grid; gap: 28px; max-width: 980px; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end; gap: 40px 64px;
}
.section-head--split .lead { max-width: 460px; justify-self: end; }
.section-head + * { margin-top: clamp(56px, 7vw, 104px); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(680px, 100svh);
  display: flex; align-items: flex-end;
  background: var(--ink); color: var(--paper);
  overflow: clip;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: calc(var(--radius-xl) + clamp(28px, 4vw, 56px));
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  position: absolute; inset: -6% 0 -6% 0; width: 100%; height: 112%;
  object-fit: cover; object-position: 62% 40%;
  filter: grayscale(0.25) brightness(0.7) contrast(1.05);
  transform-origin: 60% 50%;
}
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 15% 100%, rgba(12,15,14,.92) 0%, rgba(12,15,14,.55) 45%, rgba(12,15,14,0) 75%),
    linear-gradient(180deg, rgba(12,15,14,.65) 0%, rgba(12,15,14,.1) 28%, rgba(12,15,14,.25) 55%, rgba(12,15,14,.9) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(243,239,231,.78);
}
.hero__kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37,211,102,.18);
}
.hero__headline { display: block; max-width: 15ch; font-size: clamp(3rem, 7.4vw, 8.75rem); }
.hero__headline em { color: var(--brass-2); }
.hero__bottom {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px;
}
.hero__desc { max-width: 540px; color: rgba(243,239,231,.78); font-size: clamp(1rem, .96rem + .3vw, 1.1875rem); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.hero__actions .btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); --btn-hover-bg: var(--paper); --btn-hover-fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(243,239,231,.3); }
.hero__meta {
  margin-top: clamp(40px, 5vw, 72px); padding-top: 22px;
  border-top: 1px solid rgba(243,239,231,.16);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243,239,231,.62);
}
.hero__modes { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero__modes li { display: inline-flex; align-items: center; gap: 10px; }
.hero__modes li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll-line { position: relative; width: 1px; height: 36px; background: rgba(243,239,231,.2); overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass);
  animation: scrollcue 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollcue { 0% { top: -40%; } 100% { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: clip;
  padding-block: clamp(28px, 3.4vw, 48px);
  border-block: 1px solid var(--line);
  color: var(--fg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px);
  padding-right: clamp(24px, 3vw, 48px);
  font-family: var(--serif); font-size: clamp(2.25rem, 5.4vw, 5.5rem); line-height: 1; white-space: nowrap;
}
.marquee__item:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.marquee__star { width: clamp(18px, 2vw, 28px); height: auto; color: var(--accent); flex: none; }

/* ---------- Sobre ---------- */
.about__statement {
  font-family: var(--serif); font-size: clamp(2.1rem, 4.6vw, 4.75rem); line-height: 1.06; letter-spacing: -0.02em;
  max-width: 22ch;
  margin-top: 32px;
}
.about__statement em { font-style: italic; color: var(--accent); }
.about__grid {
  margin-top: clamp(72px, 10vw, 160px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about__media { position: sticky; top: calc(var(--header-h) + 32px); }
.frame {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: var(--paper-3);
  isolation: isolate;
}
.frame--portrait { aspect-ratio: 4 / 5; }
.frame img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.frame--portrait img { object-position: 50% 30%; filter: saturate(0.72) contrast(1.04); transition: filter 1.2s var(--ease); }
.frame--portrait:hover img { filter: saturate(1) contrast(1.02); }
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,15,14,0) 55%, rgba(12,15,14,.55) 100%);
}
.frame__caption {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  color: var(--paper);
}
.frame__caption strong { display: block; font-family: var(--serif); font-size: 1.625rem; font-weight: 400; line-height: 1.1; }
.frame__caption small { display: block; margin-top: 6px; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243,239,231,.78); }
.frame__badge {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 108px; height: 108px; color: var(--paper);
}
.frame__badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.frame__badge text { font-family: var(--sans); font-size: 9.6px; letter-spacing: 3.1px; text-transform: uppercase; fill: currentColor; }
.frame__badge-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.04em; }
.frame__badge-mark i { color: var(--brass-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.about__content .title-m { max-width: 16ch; }
.about__text { margin-top: 36px; color: var(--muted); max-width: 60ch; }
.about__text strong { color: var(--fg); font-weight: 500; }

.stats {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 28px; }
.stat__num { display: flex; align-items: baseline; gap: 4px; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; }
.stat__num small { font-size: 0.42em; font-style: italic; color: var(--accent); letter-spacing: 0; }
.stat__label { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }

.facts { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 0; }
.fact {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.fact:first-child { border-top: 1px solid var(--line); }
.fact__idx { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.125rem; }
.fact__title { font-weight: 500; font-size: 1rem; }
.fact__text { margin-top: 4px; color: var(--muted); font-size: var(--fs-small); }

/* ---------- Áreas ---------- */
.feature {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px);
  isolation: isolate;
}
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(201,173,124,.14), transparent 60%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.spotlight:hover::before { opacity: 1; }
.feature__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.feature__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.feature__title { margin-top: 22px; }
.feature__text { margin-top: 24px; color: var(--muted); max-width: 52ch; }
.feature__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.feature .btn--wa { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.feature__list { align-self: center; border-top: 1px solid var(--line); }
.feature__item a, .feature__item > span {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  transition: padding 0.6s var(--ease), color 0.4s;
}
.feature__item a .ico { width: 18px; height: 18px; color: var(--accent); transition: transform 0.6s var(--ease); }
.feature__item a:hover { padding-left: 16px; color: var(--accent); }
.feature__item a:hover .ico { transform: rotate(45deg); }
.feature__num { font-family: var(--serif); font-style: italic; color: var(--muted); margin-right: 14px; font-size: 0.95em; }
.feature__item-label { flex: 1; display: flex; align-items: baseline; }

.subhead {
  margin-top: clamp(72px, 9vw, 128px); margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { position: relative; border-bottom: 1px solid var(--line); }
.acc__btn {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 56px; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0;
  isolation: isolate;
}
.acc__btn::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1;
  background: var(--surface); border-radius: 18px;
  transform: scaleY(0.4); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.acc__btn:hover::before { transform: none; opacity: 1; }
.acc__idx { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--accent); }
.acc__title {
  font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.04; letter-spacing: -0.015em;
  transition: transform 0.7s var(--ease);
}
.acc__btn:hover .acc__title { transform: translateX(10px); }
.acc__tag { font-size: var(--fs-small); color: var(--muted); max-width: 320px; text-align: right; }
.acc__icon {
  justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.7s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s;
}
.acc__icon .ico { width: 20px; height: 20px; }
.acc__btn:hover .acc__icon { box-shadow: inset 0 0 0 1px var(--fg); }
.acc__item.is-open .acc__icon { transform: rotate(135deg); background: var(--fg); color: var(--bg); box-shadow: none; }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.8s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.8s; }
.acc__item.is-open .acc__inner { visibility: visible; transition: visibility 0s; }
.acc__body {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 24px;
  padding: 0 0 clamp(32px, 4vw, 52px);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.acc__item.is-open .acc__body { opacity: 1; transform: none; transition-delay: 0.12s; }
.acc__body > :first-child { grid-column: 2; }
.acc__desc { color: var(--muted); max-width: 52ch; }
.acc__desc .btn { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-small); line-height: 1.3;
}

/* FAQ (variação do accordion) */
.faq .acc__btn { grid-template-columns: minmax(0, 1fr) 52px; }
.faq .acc__title { font-size: clamp(1.375rem, 2.2vw, 2rem); }
.faq .acc__body { grid-template-columns: minmax(0, 1fr) 52px; }
.faq .acc__body > :first-child { grid-column: 1; }
.faq .acc__desc { max-width: 70ch; }

/* ---------- Atendimento (cartões empilhados) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.process__aside { position: sticky; top: calc(var(--header-h) + 48px); display: grid; gap: 28px; }
.process__aside .btn { justify-self: start; }
.process__cards { display: grid; gap: 28px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 48px + var(--i, 0) * 22px);
  min-height: clamp(300px, 32vw, 400px);
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-l);
  background: var(--card-bg, var(--white));
  color: var(--card-fg, var(--ink));
  box-shadow: 0 30px 60px -40px rgba(12,15,14,.35), inset 0 0 0 1px rgba(12,15,14,.08);
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  transform-origin: 50% 0;
  will-change: transform;
}
.stack-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--ink); opacity: var(--dim, 0);
}
.stack-card:nth-child(2) { --card-bg: var(--paper-2); }
.stack-card:nth-child(3) { --card-bg: var(--paper-3); }
.stack-card:nth-child(4) { --card-bg: var(--ink); --card-fg: var(--paper); box-shadow: 0 30px 60px -30px rgba(12,15,14,.5); }
.stack-card__top { display: flex; align-items: center; justify-content: space-between; }
.stack-card__num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; opacity: .7; }
.stack-card__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor; opacity: .85;
}
.stack-card__icon .ico { width: 26px; height: 26px; }
.stack-card__title { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1; align-self: end; }
.stack-card__text { max-width: 46ch; opacity: .74; }

/* ---------- Tecnologia ---------- */
.tech { overflow: clip; }
.tech__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.tech::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(95% 75% at 60% 45%, transparent 0%, rgba(12,15,14,.4) 60%, var(--ink) 95%);
}
.tech .container { position: relative; z-index: 2; }
.tech__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.tech__copy .lead + .lead { margin-top: 20px; }
.tech__note { margin-top: 28px; padding-left: 18px; border-left: 1px solid var(--accent); font-size: var(--fs-small); color: var(--muted); max-width: 52ch; }
.tech__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.glass-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px; border-radius: var(--radius-m);
  background: rgba(243, 239, 231, 0.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(243,239,231,.1);
  display: grid; gap: 14px; align-content: start;
  min-height: 220px;
  transition: transform 0.7s var(--ease), box-shadow 0.5s;
}
.glass-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(201,173,124,.35); }
.glass-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(201,173,124,.12); color: var(--brass); }
.glass-card__icon .ico { width: 22px; height: 22px; }
.glass-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.1; margin-top: auto; }
.glass-card p { font-size: var(--fs-small); color: var(--muted); }
.glass-card__idx { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-style: italic; color: rgba(243,239,231,.3); }

/* ---------- Compromisso ---------- */
.values { border-top: 1px solid var(--line); }
.value-row {
  position: relative;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.value-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--fg); transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.value-row:hover::after { transform: scaleX(1); }
.value-row__idx { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.125rem; }
.value-row__title {
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -0.02em;
  transition: transform 0.8s var(--ease), color 0.5s;
}
.value-row:hover .value-row__title { transform: translateX(14px); font-style: italic; color: var(--accent); }
.value-row__text { color: var(--muted); max-width: 42ch; }

/* ---------- Artigos ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 460px; padding: 32px;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform 0.8s var(--ease), box-shadow 0.6s var(--ease);
}
.post-card:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -50px rgba(12,15,14,.45), inset 0 0 0 1px var(--line); }
.post-card--dark { background: var(--ink); color: var(--paper); --muted: rgba(243,239,231,.66); --line: rgba(243,239,231,.14); --accent: var(--brass); }
.post-card__art {
  position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; z-index: -1; color: var(--accent); opacity: 0.35;
  transition: transform 1.4s var(--ease), opacity 0.6s;
}
.post-card:hover .post-card__art { transform: rotate(40deg) scale(1.08); opacity: 0.6; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.post-card__meta span:first-child { color: var(--accent); }
.post-card__title { margin-top: auto; padding-top: 80px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.4vw, 2.375rem); line-height: 1.06; letter-spacing: -0.01em; }
.post-card__excerpt { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.post-card__foot {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.post-card__go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.5s var(--ease), color 0.5s, transform 0.7s var(--ease);
}
.post-card__go .ico { width: 18px; height: 18px; }
.post-card:hover .post-card__go { background: var(--fg); color: var(--bg); transform: rotate(-45deg); }
.post-card a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Contato ---------- */
.contact__title { max-width: 12ch; }
.contact__grid {
  margin-top: clamp(56px, 7vw, 104px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start;
}
.contact__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact__actions .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.contact__actions .btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); --btn-hover-bg: var(--paper); --btn-hover-fg: var(--ink); }
.contact-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.contact-list__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); }
.contact-list__icon .ico { width: 18px; height: 18px; }
.contact-list__label { display: block; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-list__value { font-size: 1rem; }
.coords { margin-top: 28px; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.coords::before { content: ""; width: 24px; height: 1px; background: currentColor; }

.form-card {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.form-card__title { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.05; }
.form-card__sub { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }
.form-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { position: relative; }
.field__input {
  width: 100%; padding: 22px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--fg); font-size: 1.0625rem; line-height: 1.4;
  outline: none; resize: vertical;
  transition: border-color 0.4s;
}
textarea.field__input { min-height: 120px; }
.field__label {
  position: absolute; left: 0; top: 22px; pointer-events: none;
  color: var(--muted); font-size: 1rem;
  transform-origin: left top;
  transition: transform 0.5s var(--ease), color 0.4s;
}
.field__line {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
textarea.field__input ~ .field__line { bottom: 6px; }
.field__input:focus ~ .field__line { transform: scaleX(1); }
.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label { transform: translateY(-22px) scale(0.72); color: var(--accent); letter-spacing: 0.06em; }
.field__error { display: block; min-height: 0; margin-top: 8px; font-size: 0.8125rem; color: #e8a08a; }
.field.has-error .field__input { border-bottom-color: #e8a08a; }
[data-theme="light"] .field__error, [data-theme="sand"] .field__error { color: #a3402a; }

.chip-select legend { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.chip-select { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-select__options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option { position: relative; }
.chip-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip-option span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-small);
  transition: background-color 0.4s var(--ease), color 0.4s, box-shadow 0.4s;
}
.chip-option span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35;
  transition: opacity 0.3s, background-color 0.3s;
}
.chip-option:hover span { box-shadow: inset 0 0 0 1px var(--fg); }
.chip-option input:checked + span { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip-option input:checked + span::before { opacity: 1; background: var(--accent); }
.chip-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.form-actions { margin-top: 36px; display: grid; gap: 16px; }
.form-actions .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); justify-self: start; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.form-note strong { color: var(--fg); font-weight: 500; letter-spacing: 0.04em; }
.form-status {
  display: none; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border-radius: 14px; font-size: var(--fs-small);
  background: rgba(37, 211, 102, 0.1); box-shadow: inset 0 0 0 1px rgba(37,211,102,.35);
}
.form-status.is-visible { display: flex; }
.form-status .ico { color: var(--wa); width: 18px; height: 18px; margin-top: 2px; }

/* ---------- Rodapé ---------- */
.site-footer {
  position: relative; overflow: clip;
  background: var(--ink); color: var(--paper);
  padding-top: clamp(72px, 9vw, 128px);
  --muted: rgba(243,239,231,.6); --line: rgba(243,239,231,.12); --accent: var(--brass);
}
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px;
  padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line);
}
.footer__claim { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.1; max-width: 16ch; }
.footer__claim em { color: var(--brass); }
.footer__col h2 { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { font-size: 0.9375rem; }
.footer__word {
  display: block; margin: clamp(24px, 4vw, 56px) 0 0;
  font-family: var(--serif); font-size: clamp(4.5rem, 17.6vw, 21rem); line-height: 0.8; letter-spacing: -0.045em;
  white-space: nowrap; text-align: center;
  color: var(--paper);
  user-select: none;
}
.footer__word em { color: var(--brass); }
.footer__word-wrap { overflow: clip; padding-bottom: 0.04em; }
.footer__bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
  padding: 32px 0 40px; border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--muted);
}
.footer__legal { max-width: 860px; }
.footer__legal p + p { margin-top: 10px; }
.back-to-top {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper);
}
.back-to-top span:last-child {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.5s var(--ease), color 0.5s, transform 0.7s var(--ease);
}
.back-to-top:hover span:last-child { background: var(--paper); color: var(--ink); transform: translateY(-4px); }
.back-to-top .ico { width: 18px; height: 18px; }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero {
  position: relative; overflow: clip;
  background: var(--ink); color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px));
  padding-bottom: calc(var(--radius-xl) + clamp(56px, 7vw, 112px));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(201,173,124,.12), transparent 60%),
              radial-gradient(50% 60% at 0% 100%, rgba(37,211,102,.05), transparent 60%);
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.page-hero__grid--single { grid-template-columns: minmax(0, 1fr); }
.page-hero__title { margin-top: 28px; }
.page-hero__title.title-l { max-width: 16ch; }
.page-hero .lead { margin-top: 28px; max-width: 56ch; color: rgba(243,239,231,.74); }
.page-hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.page-hero__actions .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.page-hero__actions .btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); --btn-hover-bg: var(--paper); --btn-hover-fg: var(--ink); }
.page-hero__sig { margin-top: 32px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,239,231,.56); }
.page-hero__media .frame { aspect-ratio: 4 / 5; max-height: 72vh; margin-left: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,239,231,.6); }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb .sep { opacity: .4; }

/* situações (trabalhista) */
.sit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sit-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 260px; padding: 28px;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.6s var(--ease), transform 0.8s var(--ease), box-shadow 0.6s;
}
.sit-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 100%));
  transition: clip-path 0.9s var(--ease);
}
.sit-card:hover, .sit-card:focus-visible { color: var(--paper); transform: translateY(-6px); box-shadow: none; }
.sit-card:hover::before, .sit-card:focus-visible::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 100%)); }
.sit-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); transition: transform 0.8s var(--ease), box-shadow 0.5s, color 0.5s; }
.sit-card:hover .sit-card__icon { transform: rotate(-12deg); box-shadow: inset 0 0 0 1px rgba(243,239,231,.25); color: var(--brass); }
.sit-card__icon .ico { width: 22px; height: 22px; }
.sit-card h3 { margin-top: auto; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.08; }
.sit-card p { font-size: var(--fs-small); opacity: .72; }
.sit-card__go { position: absolute; top: 28px; right: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transform: translateX(-8px); transition: opacity 0.5s, transform 0.7s var(--ease); }
.sit-card__go .ico { width: 16px; height: 16px; }
.sit-card:hover .sit-card__go, .sit-card:focus-visible .sit-card__go { opacity: 1; transform: none; }
.center-cta { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; }

/* quiz */
.quiz { max-width: 920px; margin-inline: auto; }
.quiz__panel {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4.4vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
}
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.quiz__bar { margin-top: 18px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transform-origin: left; transform: scaleX(0.1667); transition: transform 0.8s var(--ease); }
.quiz__dots { display: flex; gap: 6px; }
.quiz__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background-color 0.4s, transform 0.4s var(--ease); }
.quiz__dots i.is-done { background: var(--brass); }
.quiz__dots i.is-current { background: var(--paper); transform: scale(1.4); }
.quiz__stage { margin-top: clamp(32px, 4vw, 48px); min-height: 330px; }
@media (max-width: 720px) { .quiz__stage { min-height: 0; } }
.quiz__q { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -0.015em; outline: none; }
.quiz__hint { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); }
.quiz__options { margin-top: 32px; display: grid; gap: 12px; }
.quiz-option {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1rem; line-height: 1.45;
  overflow: hidden; isolation: isolate;
  transition: box-shadow 0.4s, color 0.4s, transform 0.6s var(--ease);
}
.quiz-option::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(243,239,231,.06);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.quiz-option:hover::before { transform: scaleX(1); }
.quiz-option:hover { box-shadow: inset 0 0 0 1px rgba(243,239,231,.35); }
.quiz-option__key { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 1.125rem; }
.quiz-option__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s; }
.quiz-option__box .ico { width: 14px; height: 14px; color: var(--ink); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.quiz-option__arrow { width: 18px; height: 18px; opacity: .4; transition: transform .6s var(--ease), opacity .3s; }
.quiz-option:hover .quiz-option__arrow { transform: translateX(4px); opacity: 1; }
.quiz-option[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--brass); background: rgba(201,173,124,.08); }
.quiz-option[aria-pressed="true"] .quiz-option__box { background: var(--brass); box-shadow: none; }
.quiz-option[aria-pressed="true"] .quiz-option__box .ico { opacity: 1; transform: none; }
.quiz__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.quiz__actions .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.quiz__back { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.quiz__back:hover { color: var(--paper); }
.quiz__back .ico { width: 16px; height: 16px; }
.quiz__result-list { margin-top: 28px; border-top: 1px solid var(--line); }
.quiz__result-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.quiz__result-list li .ico { width: 18px; height: 18px; color: var(--brass); flex: none; }
.quiz__disclaimer { margin-top: 24px; font-size: 0.8125rem; color: var(--muted); }
.quiz__alt { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }
.quiz__alt a { color: var(--paper); }
.quiz__restart { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.quiz__restart:hover { color: var(--paper); }

/* prazo */
.deadline__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.deadline__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.big-num {
  padding: 28px; border-radius: var(--radius-l);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 12px;
}
.big-num__value { font-family: var(--serif); font-size: clamp(5rem, 11vw, 10rem); line-height: 0.85; letter-spacing: -0.04em; }
.big-num__value small { font-size: 0.32em; font-style: italic; color: var(--accent); letter-spacing: 0; margin-left: 6px; }
.big-num__label { font-size: var(--fs-small); color: var(--muted); }

/* passos */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.step { position: relative; display: grid; gap: 16px; align-content: start; }
.step__dot {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--accent);
  transition: background-color .6s var(--ease), color .6s, box-shadow .6s;
}
.step.is-active .step__dot { background: var(--fg); color: var(--bg); box-shadow: none; }
.step h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; }
.step p { color: var(--muted); font-size: 0.9375rem; }

/* checklist (rescisão) */
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-item {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: 18px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.0625rem; line-height: 1.4;
  transition: box-shadow .4s, background-color .5s var(--ease), color .5s, transform .6s var(--ease);
}
.check-item:hover { box-shadow: inset 0 0 0 1px var(--fg); transform: translateY(-2px); }
.check-item__box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .4s, box-shadow .4s; }
.check-item__box .ico { width: 14px; height: 14px; color: var(--ink); opacity: 0; transform: scale(.3) rotate(-30deg); transition: opacity .3s, transform .5s var(--ease); }
.check-item[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.check-item[aria-pressed="true"] .check-item__box { background: var(--brass); box-shadow: none; }
.check-item[aria-pressed="true"] .check-item__box .ico { opacity: 1; transform: none; }
.check-cta {
  margin-top: 28px; padding: 22px 28px; border-radius: 999px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  background: var(--ink); color: var(--paper);
  --line: rgba(243,239,231,.14); --accent: var(--brass);
}
.check-cta__count { font-family: var(--serif); font-size: 1.625rem; line-height: 1.1; }
.check-cta__count em { color: var(--brass); }
.check-cta .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }

/* art. 483 */
.art483 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.art483__num {
  position: sticky; top: calc(var(--header-h) + 40px);
  font-family: var(--serif); font-size: clamp(8rem, 22vw, 20rem); line-height: 0.8; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px var(--accent);
}
.art483__num small { display: block; margin-top: 18px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); -webkit-text-stroke: 0; }
.prose-lg { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.7; }
.prose-lg p:first-child { color: var(--fg); font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }

/* verbas */
.verbas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.verba { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 18px; min-height: 200px; align-content: space-between; transition: background-color .6s var(--ease); }
.verba:hover { background: rgba(243,239,231,.04); }
.verba__idx { font-family: var(--serif); font-style: italic; color: var(--accent); }
.verba h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.note { margin-top: 32px; padding-left: 18px; border-left: 1px solid var(--accent); color: var(--muted); font-size: var(--fs-small); max-width: 72ch; }

/* sobre (interno) */
.about-mini { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }

/* CTA final */
.final-cta { text-align: center; display: grid; justify-items: center; gap: 28px; }
.final-cta .title-l { max-width: 16ch; }
.final-cta .lead { max-width: 52ch; }
.final-cta .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }

/* ---------- Artigo ---------- */
.article-hero .title-l { font-size: clamp(2.6rem, 5.6vw, 5.5rem); max-width: 18ch; }
.article-meta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 0.8125rem; color: rgba(243,239,231,.66); }
.article-meta__author { display: inline-flex; align-items: center; gap: 12px; }
.article-meta__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.article-meta__author strong { display: block; color: var(--paper); font-weight: 500; }
.article-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc__title { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.toc__list { border-left: 1px solid var(--line); }
.toc__link {
  position: relative; display: block; padding: 10px 0 10px 18px;
  font-size: 0.875rem; line-height: 1.4; color: var(--muted);
  transition: color .4s, padding .5s var(--ease);
}
.toc__link::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--fg); transform: scaleY(0); transition: transform .5s var(--ease); }
.toc__link:hover { color: var(--fg); }
.toc__link.is-active { color: var(--fg); padding-left: 24px; }
.toc__link.is-active::before { transform: scaleY(1); }
.toc__cta { margin-top: 32px; }
.prose { max-width: 720px; font-size: 1.125rem; line-height: 1.8; color: rgba(12,15,14,.8); }
.prose > section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose > section + section { margin-top: clamp(56px, 6vw, 88px); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.875rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 24px; }
.prose h2 .prose__n { display: block; margin-bottom: 14px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.prose p + p { margin-top: 1.2em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .dropcap::first-letter {
  float: left; font-family: var(--serif); font-size: 5.2em; line-height: 0.8; padding: 0.08em 0.12em 0 0; color: var(--accent);
}
.callout {
  margin-top: 28px; padding: 24px 28px; border-radius: 18px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1rem; line-height: 1.7;
}
.callout__label { display: block; margin-bottom: 8px; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.table-wrap { margin-top: 32px; overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.4; min-width: 620px; }
.compare caption { text-align: left; padding: 20px 24px 0; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.compare th, .compare td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr { transition: background-color .3s; }
.compare tbody tr:hover { background: rgba(12,15,14,.03); }
.yes, .no { display: inline-flex; align-items: center; gap: 8px; }
.yes::before, .no::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.yes::before { background: #3f8f5f; }
.no::before { background: rgba(12,15,14,.25); }
.aviso { margin-top: clamp(56px, 6vw, 88px); padding: 28px; border-radius: 18px; background: var(--paper-2); font-size: 0.9375rem; color: var(--muted); }
.aviso strong { display: block; color: var(--ink); margin-bottom: 8px; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; }
.author-card {
  margin-top: 32px; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 24px; border-radius: 22px; background: var(--ink); color: var(--paper);
}
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.author-card span { font-size: 0.8125rem; color: rgba(243,239,231,.62); }
.author-card .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }

/* 404 */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.not-found__num { font-family: var(--serif); font-size: clamp(8rem, 30vw, 22rem); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--brass); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .section-head--split .lead { justify-self: start; }
  .hero__bottom { grid-template-columns: minmax(0, 1fr); }
  .about__grid, .process, .tech__grid, .contact__grid, .feature, .deadline__grid, .art483, .about-mini, .article-layout, .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media, .process__aside, .art483__num, .toc { position: relative; top: auto; }
  .about__media { max-width: 520px; }
  .page-hero__media .frame { max-width: 460px; margin-left: 0; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post-card { min-height: 360px; }
  .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verbas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .steps__line { display: none; }
  .acc__btn { grid-template-columns: 48px minmax(0, 1fr) 52px; }
  .acc__tag { display: none; }
  .acc__body { grid-template-columns: 48px minmax(0, 1fr); }
  .acc__body > :nth-child(2) { grid-column: 2; }
  .value-row { grid-template-columns: 48px minmax(0, 1fr); }
  .value-row__text { grid-column: 2; }
  .toc__list { display: none; }
  .toc { display: none; }
  .art483__num { font-size: clamp(7rem, 34vw, 14rem); }
  .stack-card { position: relative; top: auto; }
}

@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; letter-spacing: 0.08em; line-height: 1.25; padding: 12px 22px; }
  .btn--lg { min-height: 58px; padding: 12px 24px; }
  .btn--sm { padding: 8px 18px; }
  .btn__label[data-text]::after { left: 0; right: 0; }
  .frame__caption > small { display: none; }
  .frame__caption small { letter-spacing: 0.14em; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding-right: 16px; }
  .stat:nth-child(even) { padding-left: 16px; }
  .tech__cards { grid-template-columns: minmax(0, 1fr); }
  .glass-card { min-height: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { justify-self: stretch; }
  .sit-grid, .check-grid, .verbas { grid-template-columns: minmax(0, 1fr); }
  .sit-card { min-height: 0; }
  .sit-card h3 { margin-top: 8px; }
  .sit-card__go { opacity: 1; transform: none; position: static; order: 9; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .deadline__nums { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__bottom { grid-template-columns: minmax(0, 1fr); }
  .check-cta { border-radius: 24px; }
  .check-cta .btn { width: 100%; }
  .author-card { grid-template-columns: 64px minmax(0, 1fr); }
  .author-card img { width: 64px; height: 64px; }
  .author-card .btn { grid-column: 1 / -1; }
  .quiz-option { grid-template-columns: 24px minmax(0, 1fr); padding: 18px; }
  .quiz-option__arrow { display: none; }
  .brand__text { display: none; }
  .header-actions .btn--wa .btn__label { display: none; }
  .header-actions .btn--wa { padding: 0 8px 0 18px; }
  .acc__btn { grid-template-columns: 36px minmax(0, 1fr) 44px; gap: 14px; }
  .acc__icon { width: 44px; height: 44px; }
  .acc__body { grid-template-columns: minmax(0, 1fr); }
  .acc__body > :first-child, .acc__body > :nth-child(2) { grid-column: 1; }
  .value-row { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .feature__actions .btn { width: 100%; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .marquee__track { animation: none !important; }
}

/* Estados iniciais antes do JS assumir (evita “piscar”) */
.js:not(.app-ready) [data-hero] { opacity: 0; }
