

/* ==========================================================================
   SOURCE CONSOLIDADO: styles.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   STEPHANIE DE PAIVA — Premium Legal Experience
   Design system: forest / parchment / graphite / muted bronze
   ========================================================================== */

/* 01. TOKENS --------------------------------------------------------------- */
:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --forest-950: #07100e;
  --forest-900: #0b1714;
  --forest-850: #0e1d19;
  --forest-800: #11251f;
  --forest-700: #19352c;
  --forest-600: #264a3f;
  --forest-500: #3d6658;
  --forest-400: #628779;
  --forest-300: #8da99e;

  --graphite-950: #0b0d0c;
  --graphite-900: #111412;
  --graphite-850: #171a18;
  --graphite-800: #1e211f;
  --graphite-700: #2e322f;
  --graphite-600: #464b47;
  --graphite-500: #626963;
  --graphite-400: #858d87;
  --graphite-300: #abb0ac;

  --sand-050: #f7f3ea;
  --sand-100: #f1eadc;
  --sand-150: #eae2d2;
  --sand-200: #ded3bf;
  --sand-300: #cdbda1;
  --sand-400: #bca782;
  --sand-500: #a58d68;
  --sand-600: #8d7556;

  --white: #ffffff;
  --black: #000000;
  --danger: #bb5a4f;
  --success: #6a8a70;
  --warning: #ad8b53;
  --info: #668c8c;

  --bg: var(--forest-950);
  --bg-soft: var(--forest-900);
  --surface: var(--forest-850);
  --surface-raised: var(--forest-800);
  --surface-subtle: rgba(241, 234, 220, 0.055);
  --text: var(--sand-100);
  --text-strong: #fbf7ef;
  --text-muted: #bcb7ac;
  --text-subtle: #8e918d;
  --line: rgba(241, 234, 220, 0.14);
  --line-strong: rgba(241, 234, 220, 0.26);
  --accent: var(--sand-400);
  --accent-strong: #d4c3a2;
  --accent-contrast: var(--forest-950);
  --header-bg: rgba(7, 16, 14, 0.78);
  --overlay: rgba(4, 8, 7, 0.78);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 38px 120px rgba(0, 0, 0, 0.32);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-40: 10rem;

  --container: 1280px;
  --container-wide: 1500px;
  --gutter: clamp(1.25rem, 3vw, 3.75rem);
  --header-height: 92px;
  --header-height-scrolled: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-base: 360ms;
  --duration-slow: 720ms;
  --duration-cinematic: 1100ms;

  --z-base: 1;
  --z-sticky: 20;
  --z-header: 40;
  --z-overlay: 70;
  --z-modal: 90;
  --z-toast: 110;
  --z-loader: 130;
  --z-cursor: 150;
}

html[data-theme="light"] {
  --bg: #f4efe5;
  --bg-soft: #ece5d8;
  --surface: #f8f4ec;
  --surface-raised: #ffffff;
  --surface-subtle: rgba(17, 37, 31, 0.045);
  --text: #1c2824;
  --text-strong: #0f1916;
  --text-muted: #59645f;
  --text-subtle: #7b827e;
  --line: rgba(17, 37, 31, 0.13);
  --line-strong: rgba(17, 37, 31, 0.25);
  --accent: #705f48;
  --accent-strong: #4f4435;
  --accent-contrast: #faf6ee;
  --header-bg: rgba(244, 239, 229, 0.86);
  --overlay: rgba(13, 22, 18, 0.54);
  --shadow-xs: 0 1px 2px rgba(36, 31, 22, 0.07);
  --shadow-sm: 0 8px 24px rgba(36, 31, 22, 0.08);
  --shadow-md: 0 20px 60px rgba(36, 31, 22, 0.11);
  --shadow-lg: 0 38px 120px rgba(36, 31, 22, 0.14);
}

/* 02. RESET --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 68%, var(--bg));
  border: 3px solid var(--bg);
  border-radius: var(--radius-pill);
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

/* 03. BASE ---------------------------------------------------------------- */
.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container-wide));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(6rem, 11vw, 11rem);
}

.section--forest {
  background: var(--forest-800);
  color: var(--sand-100);
}

.section--charcoal {
  background: var(--graphite-900);
  color: var(--sand-100);
}

.section--sand {
  background: var(--sand-100);
  color: var(--forest-900);
}

html[data-theme="light"] .section--sand {
  background: #e8dfcf;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: calc(var(--z-loader) + 1);
  transform: translateY(-160%);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sand-100);
  color: var(--forest-950);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

/* 04. TYPOGRAPHY ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.6;
}

.eyebrow--light {
  color: var(--sand-300);
}

.display-title {
  max-width: 18ch;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 6.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.display-title--light {
  color: var(--sand-050);
}

.large-copy {
  max-width: 50ch;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.section-marker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.75rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-marker span:first-child {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.section-marker--light {
  color: rgba(241, 234, 220, 0.58);
}

.section-marker--light span:first-child {
  border-color: rgba(241, 234, 220, 0.26);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 650;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  transform: scaleX(0.22);
  transform-origin: left;
  background: currentColor;
  content: "";
  opacity: 0.5;
  transition: transform var(--duration-base) var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

/* 05. AMBIENT LAYERS ------------------------------------------------------ */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient-light {
  position: fixed;
  z-index: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.06;
}

.ambient-light--one {
  top: 10vh;
  right: -18rem;
  background: var(--sand-400);
}

.ambient-light--two {
  bottom: -20rem;
  left: -22rem;
  background: var(--forest-400);
}

/* 06. LOADER -------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--forest-950);
  color: var(--sand-100);
  transition: opacity 650ms var(--ease-out), visibility 650ms var(--ease-out);
}

.page-loader.is-complete {
  opacity: 0;
  visibility: hidden;
}

.page-loader__inner {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  width: min(320px, 74vw);
}

.page-loader__mark {
  width: 54px;
  fill: none;
  stroke: var(--sand-100);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: loaderDraw 1s var(--ease-out) forwards;
}

.page-loader__wordmark {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.page-loader__line {
  overflow: hidden;
  width: 100%;
  height: 1px;
  background: rgba(241, 234, 220, 0.15);
}

.page-loader__line span {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: var(--sand-300);
  animation: loaderLine 800ms 250ms var(--ease-out) forwards;
}

@keyframes loaderDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes loaderLine {
  to { transform: translateX(0); }
}

/* 07. PROGRESS / CURSOR --------------------------------------------------- */
.site-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: calc(var(--z-header) + 1);
  height: 2px;
  pointer-events: none;
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  will-change: transform;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  width: 54px;
  height: 54px;
  transform: translate3d(-100px, -100px, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor__dot {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--accent-strong);
  transition: inset var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out), opacity var(--duration-fast) ease;
}

.cursor::before {
  position: absolute;
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  border-radius: 50%;
  content: "";
  transform: scale(0.72);
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--forest-950);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.cursor.is-hovering::before {
  transform: scale(1);
  background: var(--sand-200);
  border-color: var(--sand-200);
}

.cursor.is-hovering .cursor__dot {
  opacity: 0;
}

.cursor.is-hovering .cursor__label {
  opacity: 1;
}

/* 08. BUTTONS ------------------------------------------------------------- */
.button {
  --button-bg: transparent;
  --button-color: var(--text-strong);
  --button-border: var(--line-strong);
  --button-hover-bg: var(--text-strong);
  --button-hover-color: var(--bg);
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-pill);
  background: var(--button-bg);
  color: var(--button-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  isolation: isolate;
  transition: color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), transform var(--duration-fast) ease;
}

.button::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  transform: translateY(105%);
  border-radius: inherit;
  background: var(--button-hover-bg);
  content: "";
  transition: transform var(--duration-base) var(--ease-out);
}

.button:hover,
.button:focus-visible {
  color: var(--button-hover-color);
  border-color: var(--button-hover-bg);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateY(0);
}

.button:active {
  transform: scale(0.975);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  --button-bg: var(--sand-100);
  --button-color: var(--forest-950);
  --button-border: var(--sand-100);
  --button-hover-bg: var(--sand-400);
  --button-hover-color: var(--forest-950);
}

html[data-theme="light"] .button--primary {
  --button-bg: var(--forest-800);
  --button-color: var(--sand-050);
  --button-border: var(--forest-800);
  --button-hover-bg: var(--sand-500);
  --button-hover-color: var(--white);
}

.section--forest .button--primary,
.section--charcoal .button--primary,
.contact .button--primary {
  --button-bg: var(--sand-100);
  --button-color: var(--forest-950);
  --button-border: var(--sand-100);
  --button-hover-bg: var(--sand-400);
  --button-hover-color: var(--forest-950);
}

.button--secondary {
  --button-bg: var(--forest-800);
  --button-color: var(--sand-100);
  --button-border: var(--forest-800);
  --button-hover-bg: var(--forest-600);
  --button-hover-color: var(--sand-050);
}

.button--ghost {
  --button-bg: transparent;
  --button-color: var(--text-strong);
  --button-border: var(--line-strong);
  --button-hover-bg: var(--surface-raised);
  --button-hover-color: var(--text-strong);
}

.button--small {
  min-height: 44px;
  padding-inline: 1rem;
  font-size: 0.74rem;
}

.button--header {
  min-height: 44px;
  padding-inline: 1.05rem;
}

.button[disabled],
.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button[disabled]::before,
.button:disabled::before {
  display: none;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--line);
  background: var(--surface-subtle);
}

.icon-button:active {
  transform: scale(0.94);
}

.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 09. HEADER -------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  color: var(--sand-100);
  transition: height var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  color: var(--text-strong);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

.site-header.is-hidden {
  transform: translateY(-105%);
}

.site-header__shell {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.96;
}

.brand__mark svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__text {
  display: grid;
  line-height: 1;
}

.brand__text strong {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.brand__text small {
  margin-top: 0.35rem;
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2vw, 2.35rem);
}

.desktop-nav > a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-block: 0.6rem;
  background: none;
  color: inherit;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.desktop-nav > a::after,
.nav-trigger::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  opacity: 0.65;
  transition: transform var(--duration-base) var(--ease-out);
}

.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after,
.desktop-nav > a.is-active::after,
.nav-trigger:hover::after,
.nav-trigger:focus-visible::after,
.nav-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-trigger svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.site-header:not(.is-scrolled) .button--header {
  --button-bg: rgba(241, 234, 220, 0.04);
  --button-color: var(--sand-100);
  --button-border: rgba(241, 234, 220, 0.32);
  --button-hover-bg: var(--sand-100);
  --button-hover-color: var(--forest-950);
}

.theme-icon {
  position: absolute;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-fast) ease;
}

.theme-icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-icon--moon {
  opacity: 0;
  transform: rotate(-30deg) scale(0.7);
}

html[data-theme="light"] .theme-icon--sun {
  opacity: 0;
  transform: rotate(30deg) scale(0.7);
}

html[data-theme="light"] .theme-icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.mobile-menu-trigger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.mobile-menu-trigger span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out);
}

.mobile-menu-trigger span + span {
  margin-top: 5px;
}

/* 10. MEGA MENU ----------------------------------------------------------- */
.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  overflow: hidden;
  max-height: 0;
  border-bottom: 1px solid transparent;
  background: var(--bg-soft);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: max-height 700ms var(--ease-out), opacity 300ms ease, visibility 300ms ease, border-color 300ms ease;
}

.mega-menu.is-open {
  max-height: 560px;
  border-color: var(--line);
  opacity: 1;
  visibility: visible;
  box-shadow: var(--shadow-lg);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(560px, 1.3fr);
  gap: clamp(3rem, 6vw, 7rem);
  padding-block: 3.75rem;
}

.mega-menu__intro h2 {
  max-width: 12ch;
  margin-top: 1rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mega-menu__intro p {
  max-width: 42ch;
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.mega-menu__intro .text-link {
  margin-top: 1.5rem;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--line);
}

.mega-practice-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, padding var(--duration-base) var(--ease-out);
}

.mega-practice-link:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.mega-practice-link:hover,
.mega-practice-link:focus-visible {
  padding-left: 1.1rem;
  background: var(--surface-subtle);
  color: var(--text-strong);
}

.mega-practice-link__number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.54;
}

.mega-practice-link strong {
  font-size: 0.82rem;
  font-weight: 620;
}

.mega-practice-link svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* 11. MOBILE MENU --------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--duration-base) ease, visibility var(--duration-base) ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 540px);
  height: 100%;
  flex-direction: column;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) 1.5rem;
  transform: translateX(100%);
  background: var(--forest-900);
  color: var(--sand-100);
  transition: transform 650ms var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.15);
}

.mobile-menu__nav {
  display: grid;
  margin-block: auto;
}

.mobile-menu__nav a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.75rem;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color var(--duration-fast) ease, transform var(--duration-base) var(--ease-out);
}

.mobile-menu__nav a span {
  color: var(--sand-400);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: var(--sand-400);
  transform: translateX(0.4rem);
}

.mobile-menu__foot {
  display: grid;
  gap: 0.3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(241, 234, 220, 0.15);
  color: rgba(241, 234, 220, 0.62);
  font-size: 0.72rem;
}

.mobile-menu__foot p {
  color: var(--sand-400);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu__foot a {
  width: fit-content;
  color: var(--sand-100);
}

/* 12. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--forest-950);
  color: var(--sand-100);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroImageIn 1.8s 0.1s var(--ease-out) both;
}

@keyframes heroImageIn {
  from { transform: scale(1.11); filter: blur(7px); opacity: 0.68; }
  to { transform: scale(1.04); filter: blur(0); opacity: 1; }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 10, 0.92) 0%, rgba(5, 12, 10, 0.58) 48%, rgba(5, 12, 10, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 12, 10, 0.75) 0%, transparent 55%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.045) 1px, transparent 1px);
  background-size: 10vw 10vw;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 75%, transparent);
  opacity: 0.35;
}

.hero__shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
  color: rgba(241, 234, 220, 0.72);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__kicker-line {
  width: 2.5rem;
  height: 1px;
  background: var(--sand-400);
}

.hero__headline-wrap {
  overflow: hidden;
}

.hero__title {
  max-width: 13ch;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 8.3vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.83;
}

.hero__title > span {
  display: block;
}

.hero__title > span:last-child {
  color: var(--sand-300);
  font-style: italic;
}

.hero__lower {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(500px, 1.18fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 9rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(241, 234, 220, 0.18);
}

.hero__copy p {
  max-width: 48ch;
  color: rgba(241, 234, 220, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero .button--ghost {
  --button-color: var(--sand-100);
  --button-border: rgba(241, 234, 220, 0.32);
  --button-hover-bg: rgba(241, 234, 220, 0.12);
  --button-hover-color: var(--sand-050);
}

.hero__credibility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(241, 234, 220, 0.16);
  border-bottom: 1px solid rgba(241, 234, 220, 0.16);
}

.credibility-card {
  display: grid;
  align-content: center;
  min-height: 120px;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid rgba(241, 234, 220, 0.16);
}

.credibility-card:last-child {
  border-right: 0;
}

.credibility-card__number {
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.credibility-card__label {
  max-width: 17ch;
  margin-top: 0.45rem;
  color: rgba(241, 234, 220, 0.55);
  font-size: 0.66rem;
  line-height: 1.35;
}

.credibility-card--status {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
  color: rgba(241, 234, 220, 0.64);
  font-size: 0.68rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9cb39a;
  box-shadow: 0 0 0 5px rgba(156, 179, 154, 0.1);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(156, 179, 154, 0.08); }
  50% { box-shadow: 0 0 0 8px rgba(156, 179, 154, 0.02); }
}

.hero__scroll-indicator {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(241, 234, 220, 0.48);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero__scroll-indicator i {
  display: block;
  overflow: hidden;
  width: 44px;
  height: 1px;
  background: rgba(241, 234, 220, 0.18);
}

.hero__scroll-indicator i::after {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--sand-300);
  content: "";
  animation: scrollIndicator 1.7s var(--ease-in-out) infinite;
}

@keyframes scrollIndicator {
  from { transform: translateX(-110%); }
  to { transform: translateX(220%); }
}

/* 13. INTRO STATEMENT ----------------------------------------------------- */
.intro-statement {
  background: var(--bg);
}

.intro-statement__grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.intro-statement__content .display-title {
  margin-top: 1.35rem;
}

.intro-statement__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.intro-statement__aside {
  align-self: end;
}

.intro-statement__aside p {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.intro-statement__aside .text-link {
  margin-top: 1.4rem;
}

/* 14. PRINCIPLES ---------------------------------------------------------- */
.principles {
  overflow: hidden;
}

.principles::before {
  position: absolute;
  top: -25rem;
  right: -20rem;
  width: 52rem;
  height: 52rem;
  border: 1px solid rgba(241, 234, 220, 0.06);
  border-radius: 50%;
  content: "";
}

.principles::after {
  position: absolute;
  top: -12rem;
  right: -7rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(241, 234, 220, 0.07);
  border-radius: 50%;
  content: "";
}

.principles__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.principles__head .display-title {
  margin-top: 1.2rem;
}

.principles__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid rgba(241, 234, 220, 0.16);
  border-bottom: 1px solid rgba(241, 234, 220, 0.16);
}

.principle-card {
  position: relative;
  min-height: 420px;
  padding: 1.8rem 1.6rem;
  border-right: 1px solid rgba(241, 234, 220, 0.16);
  transition: background var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.principle-card:last-child {
  border-right: 0;
}

.principle-card::after {
  position: absolute;
  inset: auto 1.6rem 1.6rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--sand-300);
  content: "";
  transition: transform var(--duration-slow) var(--ease-out);
}

.principle-card:hover {
  background: rgba(241, 234, 220, 0.045);
  transform: translateY(-0.4rem);
}

.principle-card:hover::after {
  transform: scaleX(1);
}

.principle-card__index {
  color: rgba(241, 234, 220, 0.4);
  font-family: var(--font-mono);
  font-size: 0.63rem;
}

.principle-card__icon {
  width: 54px;
  margin-top: 5.5rem;
  fill: none;
  stroke: var(--sand-300);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-card h3 {
  margin-top: 2rem;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.principle-card p {
  max-width: 28ch;
  margin-top: 1rem;
  color: rgba(241, 234, 220, 0.58);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* 15. PRACTICE EXPLORER --------------------------------------------------- */
.practice-explorer {
  background: var(--bg-soft);
}

.practice-explorer__head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(230px, 350px);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
}

.practice-explorer__title-wrap .display-title {
  margin-top: 1rem;
}

.practice-explorer__intro {
  padding-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.75;
}

.practice-explorer__stage {
  display: grid;
  grid-template-columns: minmax(350px, 0.8fr) minmax(500px, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(4rem, 7vw, 7rem);
}

.practice-list {
  border-top: 1px solid var(--line-strong);
}

.practice-tab {
  display: grid;
  width: 100%;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.4rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  text-align: left;
  transition: color var(--duration-base) ease, padding var(--duration-base) var(--ease-out), background var(--duration-base) ease;
}

.practice-tab:hover,
.practice-tab:focus-visible,
.practice-tab[aria-selected="true"] {
  padding-left: 0.8rem;
  background: var(--surface-subtle);
  color: var(--text-strong);
}

.practice-tab__number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.5;
}

.practice-tab__title {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.6vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.practice-tab svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.36;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) ease;
}

.practice-tab:hover svg,
.practice-tab[aria-selected="true"] svg {
  transform: translateX(0.3rem);
  opacity: 1;
}

.practice-panel {
  position: sticky;
  top: calc(var(--header-height-scrolled) + 2rem);
  display: grid;
  min-height: 690px;
  grid-template-rows: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

.practice-panel__visual {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--practice-color, var(--accent)) 20%, transparent), transparent 45%),
    linear-gradient(135deg, var(--surface), var(--surface-raised));
}

.practice-panel__visual::before {
  position: absolute;
  inset: 10%;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.practice-orbit {
  width: min(84%, 420px);
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  opacity: 0.66;
  animation: orbitRotate 44s linear infinite;
}

.practice-orbit__node {
  fill: var(--practice-color, var(--accent));
  stroke: none;
}

.practice-orbit__node--b,
.practice-orbit__node--d {
  animation: nodePulse 2.8s ease-in-out infinite alternate;
}

@keyframes orbitRotate {
  to { transform: rotate(360deg); }
}

@keyframes nodePulse {
  to { r: 13px; opacity: 0.55; }
}

.practice-panel__big-number {
  position: absolute;
  bottom: -0.11em;
  left: 0.05em;
  color: var(--practice-color, var(--accent));
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 15rem);
  line-height: 0.72;
  opacity: 0.12;
  pointer-events: none;
}

.practice-panel__content {
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.practice-panel__label {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-panel__content h3 {
  margin-top: 0.85rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.practice-panel__content > p {
  max-width: 56ch;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.practice-panel__content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.practice-panel__content li {
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.64rem;
}

.practice-panel__content .button {
  margin-top: 1.8rem;
}

/* 16. DECISION MAP / TRIAGE ---------------------------------------------- */
.decision-map {
  overflow: hidden;
}

.decision-map::after {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(17, 37, 31, 0.1);
  border-radius: 50%;
  content: "";
}

.decision-map__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.decision-map .section-marker {
  color: rgba(17, 37, 31, 0.52);
}

.decision-map .eyebrow {
  margin-top: 3rem;
  color: #725f45;
}

.decision-map .display-title {
  margin-top: 1rem;
  color: var(--forest-900);
}

.decision-map .large-copy {
  margin-top: 2rem;
  color: #4f5b56;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.decision-map__disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  max-width: 52ch;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 37, 31, 0.14);
  color: #66706b;
  font-size: 0.7rem;
  line-height: 1.55;
}

.decision-map__disclaimer svg {
  width: 18px;
  fill: none;
  stroke: #725f45;
  stroke-width: 1.5;
}

.triage-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 610px;
  border: 1px solid rgba(17, 37, 31, 0.15);
  border-radius: var(--radius-xl);
  background: #faf7f0;
  color: var(--forest-900);
  box-shadow: 0 34px 90px rgba(41, 34, 24, 0.12);
}

.triage-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid rgba(17, 37, 31, 0.1);
}

.triage-card__step {
  color: #6a716d;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.triage-card__progress {
  overflow: hidden;
  height: 2px;
  background: rgba(17, 37, 31, 0.1);
}

.triage-card__progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--forest-700);
  transition: width 500ms var(--ease-out);
}

.triage-card__body {
  min-height: 430px;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.triage-question__kicker {
  color: #7d684c;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.triage-question h3 {
  max-width: 16ch;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.triage-question > p {
  max-width: 52ch;
  margin-top: 1rem;
  color: #6a716d;
  font-size: 0.76rem;
}

.triage-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2rem;
}

.triage-option {
  position: relative;
  display: grid;
  min-height: 108px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(17, 37, 31, 0.13);
  border-radius: var(--radius-md);
  background: transparent;
  color: #38443f;
  text-align: left;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.triage-option:hover,
.triage-option:focus-visible {
  border-color: rgba(17, 37, 31, 0.3);
  background: rgba(17, 37, 31, 0.035);
  transform: translateY(-2px);
}

.triage-option.is-selected {
  border-color: var(--forest-600);
  background: rgba(17, 37, 31, 0.065);
}

.triage-option__radio {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(17, 37, 31, 0.24);
  border-radius: 50%;
}

.triage-option__radio::after {
  width: 10px;
  height: 10px;
  transform: scale(0);
  border-radius: 50%;
  background: var(--forest-700);
  content: "";
  transition: transform var(--duration-fast) var(--ease-spring);
}

.triage-option.is-selected .triage-option__radio::after {
  transform: scale(1);
}

.triage-option span:last-child {
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.4;
}

.triage-card__actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(17, 37, 31, 0.1);
}

.triage-card .button--ghost {
  --button-color: #44504a;
  --button-border: rgba(17, 37, 31, 0.2);
  --button-hover-bg: rgba(17, 37, 31, 0.06);
  --button-hover-color: var(--forest-900);
}

.triage-result {
  display: grid;
  min-height: 390px;
  align-content: center;
}

.triage-result__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(17, 37, 31, 0.18);
  border-radius: 50%;
}

.triage-result__icon svg {
  width: 26px;
  fill: none;
  stroke: var(--forest-700);
  stroke-width: 1.5;
}

.triage-result h3 {
  max-width: 15ch;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.triage-result p {
  max-width: 54ch;
  margin-top: 1.2rem;
  color: #646d68;
  font-size: 0.8rem;
}

.triage-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* 17. METHOD -------------------------------------------------------------- */
.method {
  background: var(--bg);
}

.method__head {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.method__head .display-title {
  margin-top: 1rem;
}

.method__story {
  position: relative;
  margin-top: clamp(4rem, 8vw, 8rem);
}

.method__rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4.3rem;
  width: 1px;
  background: var(--line);
}

.method__rail span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: var(--accent);
}

.method-step {
  display: grid;
  grid-template-columns: 8.7rem minmax(0, 1fr) minmax(180px, 300px);
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: 320px;
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

.method-step:last-child {
  border-bottom: 1px solid var(--line);
}

.method-step__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4.3rem;
  height: 4.3rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.method-step__content > span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-step__content h3 {
  max-width: 18ch;
  margin-top: 0.9rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.method-step__content p {
  max-width: 60ch;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.method-step__meta {
  display: flex;
  align-content: start;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 2rem;
}

.method-step__meta span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-subtle);
  font-size: 0.61rem;
}

/* 18. NUMBERS ------------------------------------------------------------- */
.numbers {
  overflow: hidden;
}

.numbers::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}

.numbers__head {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.numbers__head .display-title {
  margin-top: 1rem;
}

.numbers__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid rgba(241, 234, 220, 0.16);
  border-bottom: 1px solid rgba(241, 234, 220, 0.16);
}

.number-card {
  min-height: 240px;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(241, 234, 220, 0.16);
}

.number-card:last-child {
  border-right: 0;
}

.number-card__value {
  display: block;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.6rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.number-card p {
  max-width: 20ch;
  margin-top: 1.5rem;
  color: rgba(241, 234, 220, 0.55);
  font-size: 0.7rem;
  line-height: 1.5;
}

.numbers__note {
  position: relative;
  margin-top: 1rem;
  color: rgba(241, 234, 220, 0.38);
  font-size: 0.62rem;
}

/* 19. EXPERIENCE / CASES -------------------------------------------------- */
.experience {
  background: var(--bg-soft);
}

.experience__head {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.experience__head .display-title {
  max-width: 16ch;
  margin-top: 1rem;
}

.experience__stack {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(4rem, 7vw, 7rem);
}

.case-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  transition: transform var(--duration-slow) var(--ease-out), border-color var(--duration-base) ease, box-shadow var(--duration-slow) var(--ease-out);
}

.case-card:hover {
  transform: translateY(-0.35rem);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.case-card__visual {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  min-height: 320px;
}

.case-card__visual::before,
.case-card__visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.case-card__visual::before {
  width: 270px;
  height: 270px;
  border: 1px solid rgba(241, 234, 220, 0.13);
}

.case-card__visual::after {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(241, 234, 220, 0.07);
}

.case-card__visual--one {
  background: linear-gradient(145deg, #1d3a31, #0c1815);
}

.case-card__visual--two {
  background: linear-gradient(145deg, #282824, #121513);
}

.case-card__visual--three {
  background: linear-gradient(145deg, #18312e, #0c1514);
}

.case-card__visual > span {
  position: absolute;
  top: 1.25rem;
  left: 1.35rem;
  color: rgba(241, 234, 220, 0.5);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-card__visual svg {
  position: relative;
  z-index: 1;
  width: min(74%, 410px);
  fill: none;
  stroke: rgba(241, 234, 220, 0.45);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-cinematic) var(--ease-out);
}

.case-card:hover .case-card__visual svg {
  transform: scale(1.04) rotate(0.8deg);
}

.case-card__body {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.8rem, 4vw, 3.8rem);
}

.case-card__number {
  align-self: start;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.case-card__category {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.case-card__body h3 {
  max-width: 18ch;
  margin-top: 0.8rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.case-card__body p:not(.case-card__category) {
  max-width: 62ch;
  margin-top: 1.1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.case-card__expand {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-strong);
  transition: background var(--duration-base) ease, color var(--duration-base) ease, transform var(--duration-base) var(--ease-out);
}

.case-card__expand:hover,
.case-card__expand:focus-visible {
  transform: rotate(90deg);
  background: var(--text-strong);
  color: var(--bg);
}

.case-card__expand svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

/* 20. TEAM ---------------------------------------------------------------- */
.team {
  background: var(--bg);
}

.team__head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(220px, 320px);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
}

.team__head .display-title {
  margin-top: 1rem;
}

.team__intro {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(4rem, 7vw, 7rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  background: var(--bg);
}

.team-card__portrait {
  position: relative;
  height: 390px;
  overflow: hidden;
  background: var(--surface);
}

.team-card__portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 16, 14, 0.62), transparent 55%);
  content: "";
}

.portrait-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portrait-art::before {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 42%;
  aspect-ratio: 0.82;
  transform: translateX(-50%);
  border-radius: 48% 48% 44% 44% / 42% 42% 55% 55%;
  background: linear-gradient(150deg, #b8a68d, #685c4d);
  content: "";
  filter: saturate(0.45);
}

.portrait-art::after {
  position: absolute;
  right: 9%;
  bottom: -11%;
  left: 9%;
  height: 60%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(150deg, #33443d, #121817 78%);
  content: "";
}

.portrait-b::before {
  background: linear-gradient(150deg, #a99883, #5a4e43);
  border-radius: 48% 48% 42% 42% / 38% 38% 54% 54%;
}

.portrait-b::after {
  background: linear-gradient(150deg, #30312f, #101211 78%);
}

.portrait-c::before {
  width: 40%;
  background: linear-gradient(150deg, #c1ad95, #756357);
}

.portrait-c::after {
  background: linear-gradient(150deg, #384942, #141a18 78%);
}

.portrait-d::before {
  width: 44%;
  background: linear-gradient(150deg, #ac9a85, #5f5145);
}

.portrait-d::after {
  background: linear-gradient(150deg, #403c36, #171714 78%);
}

.portrait-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: overlay;
}

.team-card__initials {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  z-index: 2;
  color: rgba(241, 234, 220, 0.18);
  font-family: var(--font-display);
  font-size: 5rem;
  letter-spacing: -0.08em;
  line-height: 1;
}

.team-card__content {
  padding: 1.45rem;
}

.team-card__role {
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card h3 {
  margin-top: 0.55rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.team-card__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}

.team-card__expertise span {
  padding: 0.32rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-subtle);
  font-size: 0.56rem;
}

.team-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.team-card__actions button,
.team-card__actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.66rem;
  transition: color var(--duration-fast) ease;
}

.team-card__actions button:hover,
.team-card__actions a:hover,
.team-card__actions button:focus-visible,
.team-card__actions a:focus-visible {
  color: var(--text-strong);
}

.team-card__actions svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* 21. TESTIMONIAL --------------------------------------------------------- */
.testimonial {
  overflow: hidden;
}

.testimonial::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75vw;
  height: 75vw;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(241, 234, 220, 0.06);
  border-radius: 50%;
  content: "";
}

.testimonial__shell {
  position: relative;
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
}

.testimonial__quote {
  max-width: 20ch;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 1.02;
}

.testimonial__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(241, 234, 220, 0.16);
}

.testimonial__foot > div:first-child {
  display: grid;
  gap: 0.25rem;
}

.testimonial__foot strong {
  color: var(--sand-100);
  font-size: 0.72rem;
}

.testimonial__foot span {
  color: rgba(241, 234, 220, 0.52);
  font-size: 0.66rem;
}

.testimonial__controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(241, 234, 220, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--sand-100);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.testimonial__controls button:hover,
.testimonial__controls button:focus-visible {
  background: var(--sand-100);
  color: var(--forest-950);
}

.testimonial__controls svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.testimonial__controls > span {
  min-width: 52px;
  font-family: var(--font-mono);
  text-align: center;
}

/* 22. INSIGHTS ------------------------------------------------------------ */
.insights {
  background: var(--bg);
}

.insights__head {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.insights__head .display-title {
  margin-top: 1rem;
}

.insights__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  padding: 0.48rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.64rem;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.is-active {
  border-color: var(--text-strong);
  background: var(--text-strong);
  color: var(--bg);
}

.search-field--inline {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}

.search-field--inline svg {
  width: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--text-subtle);
  stroke-width: 1.5;
}

.search-field--inline input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 0.72rem;
}

.search-field--inline input::placeholder {
  color: var(--text-subtle);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.insight-card {
  grid-column: span 4;
  min-height: 390px;
  padding: 1.6rem;
  background: var(--bg);
  transition: background var(--duration-base) ease, transform var(--duration-base) var(--ease-out);
}

.insight-card.is-featured {
  grid-column: span 8;
  min-height: 460px;
}

.insight-card:hover {
  background: var(--surface-subtle);
}

.insight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.insight-card__category {
  color: var(--accent);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  max-width: 20ch;
  margin-top: clamp(2.5rem, 5vw, 5.5rem);
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.insight-card.is-featured h3 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 4vw, 4.9rem);
}

.insight-card__excerpt {
  max-width: 58ch;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-size: 0.62rem;
}

.insight-card__footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-strong);
  font-weight: 650;
}

.insight-card__footer svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform var(--duration-base) var(--ease-out);
}

.insight-card__footer a:hover svg {
  transform: translateX(0.25rem);
}

.empty-state {
  margin-top: 2rem;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state svg {
  width: 46px;
  margin-inline: auto;
  fill: none;
  stroke: var(--text-subtle);
  stroke-width: 1.4;
}

.empty-state h3 {
  margin-top: 1.2rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.empty-state p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.empty-state .button {
  margin-top: 1.2rem;
}

/* 23. FAQ ----------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.faq .section-marker {
  color: rgba(17, 37, 31, 0.52);
}

.faq__intro .eyebrow {
  margin-top: 3rem;
  color: #725f45;
}

.faq__intro .display-title {
  margin-top: 1rem;
  color: var(--forest-900);
}

.faq__intro > p:last-child {
  max-width: 42ch;
  margin-top: 1.5rem;
  color: #606a65;
  font-size: 0.77rem;
}

.accordion {
  border-top: 1px solid rgba(17, 37, 31, 0.16);
}

.accordion-item {
  border-bottom: 1px solid rgba(17, 37, 31, 0.16);
}

.accordion-button {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.5rem 0.25rem;
  background: transparent;
  color: var(--forest-900);
  text-align: left;
}

.accordion-button span:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.accordion-button__icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(17, 37, 31, 0.22);
  border-radius: 50%;
}

.accordion-button__icon::before,
.accordion-button__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--forest-900);
  content: "";
  transition: transform var(--duration-base) var(--ease-out);
}

.accordion-button__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-button[aria-expanded="true"] .accordion-button__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-slow) var(--ease-out);
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel p {
  max-width: 68ch;
  padding: 0 3.5rem 1.8rem 0.25rem;
  color: #5a6560;
  font-size: 0.77rem;
  line-height: 1.75;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

/* 24. CONTACT ------------------------------------------------------------- */
.contact {
  overflow: hidden;
  background: var(--forest-950);
  color: var(--sand-100);
}

.contact::before {
  position: absolute;
  top: -30rem;
  left: -22rem;
  width: 58rem;
  height: 58rem;
  border: 1px solid rgba(241, 234, 220, 0.06);
  border-radius: 50%;
  content: "";
}

.contact::after {
  position: absolute;
  right: -14rem;
  bottom: -24rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: rgba(164, 140, 97, 0.07);
  content: "";
  filter: blur(90px);
}

.contact__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(560px, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.contact__intro .eyebrow {
  margin-top: 3.2rem;
}

.contact__intro .display-title {
  max-width: 13ch;
  margin-top: 1rem;
}

.contact__copy {
  max-width: 48ch;
  margin-top: 1.6rem;
  color: rgba(241, 234, 220, 0.6);
  font-size: 0.82rem;
}

.contact__channels {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(241, 234, 220, 0.16);
}

.contact__channels a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.16);
  transition: padding var(--duration-base) var(--ease-out), background var(--duration-base) ease;
}

.contact__channels a:hover,
.contact__channels a:focus-visible {
  padding-inline: 0.75rem;
  background: rgba(241, 234, 220, 0.04);
}

.contact__channels a span {
  grid-column: 1;
  color: rgba(241, 234, 220, 0.45);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact__channels a strong {
  grid-column: 1;
  color: var(--sand-100);
  font-size: 0.77rem;
  font-weight: 600;
}

.contact__channels a svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 18px;
  fill: none;
  stroke: var(--sand-300);
  stroke-width: 1.4;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(241, 234, 220, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(241, 234, 220, 0.035);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.form-status {
  display: none;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: rgba(132, 170, 138, 0.45);
  background: rgba(132, 170, 138, 0.08);
  color: #c5dcc8;
}

.form-status.is-error {
  border-color: rgba(190, 95, 84, 0.45);
  background: rgba(190, 95, 84, 0.08);
  color: #e3bab5;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row + .form-row,
.form-row + .field,
.field + .field,
.field + .check-field {
  margin-top: 1rem;
}

.field {
  display: grid;
}

.field label {
  margin-bottom: 0.45rem;
  color: rgba(241, 234, 220, 0.68);
  font-size: 0.66rem;
  font-weight: 620;
}

.field label span {
  color: rgba(241, 234, 220, 0.35);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(241, 234, 220, 0.17);
  border-radius: var(--radius-sm);
  outline: none;
  background: rgba(241, 234, 220, 0.025);
  color: var(--sand-050);
  font-size: 0.76rem;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.field input,
.field select {
  min-height: 50px;
  padding-inline: 0.85rem;
}

.field textarea {
  min-height: 150px;
  padding: 0.8rem 0.85rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(241, 234, 220, 0.28);
}

.field select option {
  background: var(--forest-900);
  color: var(--sand-100);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(213, 196, 161, 0.55);
  background: rgba(241, 234, 220, 0.045);
  box-shadow: 0 0 0 3px rgba(213, 196, 161, 0.07);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(205, 100, 88, 0.65);
}

.field__error {
  min-height: 1rem;
  margin-top: 0.3rem;
  color: #daa39d;
  font-size: 0.58rem;
}

.field__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(241, 234, 220, 0.35);
  font-size: 0.56rem;
}

.check-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  position: relative;
  color: rgba(241, 234, 220, 0.52);
  font-size: 0.65rem;
  line-height: 1.5;
  cursor: pointer;
}

.check-field input {
  position: absolute;
  opacity: 0;
}

.check-field__box {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  margin-top: 1px;
  border: 1px solid rgba(241, 234, 220, 0.3);
  border-radius: 4px;
  background: transparent;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.check-field__box svg {
  width: 12px;
  fill: none;
  stroke: var(--forest-950);
  stroke-width: 2;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.check-field input:checked + .check-field__box {
  border-color: var(--sand-300);
  background: var(--sand-300);
}

.check-field input:checked + .check-field__box svg {
  opacity: 1;
}

.check-field input:focus-visible + .check-field__box {
  outline: 2px solid var(--sand-300);
  outline-offset: 3px;
}

.check-field a {
  color: var(--sand-200);
  text-decoration: underline;
  text-decoration-color: rgba(241, 234, 220, 0.35);
  text-underline-offset: 3px;
}

.button--contact {
  --button-bg: var(--sand-100);
  --button-color: var(--forest-950);
  --button-border: var(--sand-100);
  --button-hover-bg: var(--sand-400);
  --button-hover-color: var(--forest-950);
  width: 100%;
  margin-top: 1.4rem;
}

.button__loader {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.button.is-loading .button__loader {
  display: block;
}

.button.is-loading > svg {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-form__note {
  margin-top: 1rem;
  color: rgba(241, 234, 220, 0.32);
  font-size: 0.56rem;
  line-height: 1.55;
}

/* 25. FOOTER -------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(4rem, 8vw, 7rem) 2rem;
  background: var(--graphite-950);
  color: var(--sand-100);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: end;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.14);
}

.brand--footer .brand__mark {
  width: 48px;
  height: 48px;
}

.site-footer__top > p {
  color: rgba(241, 234, 220, 0.48);
  font-size: 0.75rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.14);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-column__title {
  margin-bottom: 0.55rem;
  color: rgba(241, 234, 220, 0.35);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button,
.footer-column address {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(241, 234, 220, 0.68);
  font-size: 0.69rem;
  text-align: left;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-column a:focus-visible,
.footer-column button:focus-visible {
  color: var(--sand-100);
  transform: translateX(0.2rem);
}

.footer-column--contact a:first-of-type {
  color: var(--sand-100);
}

.footer-column address {
  margin-top: 0.4rem;
  line-height: 1.6;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-top: 1.4rem;
  color: rgba(241, 234, 220, 0.34);
  font-size: 0.56rem;
}

.site-footer__bottom p:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(241, 234, 220, 0.14);
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(241, 234, 220, 0.62);
}

.back-to-top svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* 26. SEARCH DIALOG ------------------------------------------------------- */
.search-dialog,
.modal,
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--duration-base) ease, visibility var(--duration-base) ease;
}

.search-dialog.is-open,
.modal.is-open,
.cookie-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.search-dialog__backdrop,
.modal__backdrop,
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.search-dialog__panel {
  position: absolute;
  top: clamp(1rem, 8vh, 6rem);
  left: 50%;
  width: min(calc(100% - 2rem), 920px);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  transform: translate(-50%, -1rem) scale(0.985);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.search-dialog.is-open .search-dialog__panel {
  transform: translate(-50%, 0) scale(1);
}

.search-dialog__top,
.cookie-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.search-dialog__top h2,
.cookie-modal__top h2 {
  max-width: 18ch;
  margin-top: 0.65rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.search-dialog__field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.search-dialog__field svg {
  width: 21px;
  fill: none;
  stroke: var(--text-subtle);
  stroke-width: 1.5;
}

.search-dialog__field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 1rem;
}

.search-dialog__field input::placeholder {
  color: var(--text-subtle);
}

.search-dialog__field kbd {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-subtle);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.search-dialog__results {
  display: grid;
  gap: 0.4rem;
  min-height: 160px;
  margin-top: 1.25rem;
}

.search-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.search-result:hover,
.search-result:focus-visible,
.search-result.is-selected {
  border-color: var(--line);
  background: var(--surface-subtle);
  color: var(--text-strong);
}

.search-result__type {
  min-width: 54px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.search-result__text {
  display: grid;
  gap: 0.2rem;
}

.search-result__text strong {
  font-size: 0.78rem;
}

.search-result__text span {
  color: var(--text-subtle);
  font-size: 0.62rem;
}

.search-result svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.search-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  color: var(--text-subtle);
  font-size: 0.72rem;
  text-align: center;
}

.search-dialog__hint {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

/* 27. MODAL --------------------------------------------------------------- */
.modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 2rem), 940px);
  max-height: min(86svh, 900px);
  overflow: auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  transform: translate(-50%, -46%) scale(0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.modal.is-open .modal__panel {
  transform: translate(-50%, -50%) scale(1);
}

.modal__close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  margin: -0.4rem -0.4rem 0.2rem 1rem;
  background: var(--surface-raised);
}

.modal-article {
  clear: both;
}

.modal-article__kicker {
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-article h2 {
  max-width: 16ch;
  margin-top: 1rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.modal-article__lead {
  max-width: 62ch;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-article__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.modal-article__grid h3 {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
}

.modal-article__grid p,
.modal-article__grid li {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.modal-article__grid ul {
  display: grid;
  gap: 0.75rem;
}

.modal-article__grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
}

.modal-article__grid li::before {
  margin-top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.modal-article__note {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-subtle);
  font-size: 0.65rem;
}

.team-modal__header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
}

.team-modal__portrait {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.team-modal__portrait .portrait-art::before {
  top: 8%;
}

.team-modal__portrait .portrait-art::after {
  bottom: -8%;
}

.team-modal__header h2 {
  margin-top: 0.7rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.team-modal__header p {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.team-modal__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.team-modal__details h3 {
  color: var(--text-strong);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-modal__details p,
.team-modal__details blockquote {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.team-modal__details blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.35;
}

/* 28. COOKIE BANNER / MODAL ---------------------------------------------- */
.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: calc(var(--z-modal) - 5);
  max-width: 1180px;
  margin-inline: auto;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 650ms var(--ease-out), opacity 400ms ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.1rem 1rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.cookie-banner__content p {
  max-width: 70ch;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 2rem), 680px);
  max-height: 88svh;
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  transform: translate(-50%, -46%) scale(0.985);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-modal.is-open .cookie-modal__panel {
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal__panel > p {
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.cookie-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.cookie-option > div {
  display: grid;
  gap: 0.25rem;
}

.cookie-option strong {
  color: var(--text-strong);
  font-size: 0.75rem;
}

.cookie-option span {
  color: var(--text-subtle);
  font-size: 0.62rem;
}

.cookie-option__fixed {
  color: var(--accent) !important;
  font-weight: 650;
}

.switch-input {
  position: absolute;
  opacity: 0;
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-subtle);
  content: "";
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-fast) ease;
}

.switch-input:checked + .switch {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.switch-input:checked + .switch::after {
  transform: translateX(20px);
  background: var(--accent-strong);
}

.switch-input:focus-visible + .switch {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* 29. TOASTS -------------------------------------------------------------- */
.toast-region {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-toast);
  display: grid;
  gap: 0.55rem;
  width: min(calc(100% - 2rem), 360px);
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  transform: translateY(1rem) scale(0.98);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: auto;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) ease;
}

.toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.toast__icon svg {
  width: 13px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
}

.toast strong {
  display: block;
  color: var(--text-strong);
  font-size: 0.69rem;
}

.toast p {
  margin-top: 0.15rem;
  color: var(--text-subtle);
  font-size: 0.59rem;
}

.toast button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--text-subtle);
}

/* 30. REVEAL STATES ------------------------------------------------------- */
.js .reveal-item,
.js .reveal-title {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out), filter var(--duration-slow) var(--ease-out);
}

.js .reveal-item {
  transform: translateY(24px);
}

.js .reveal-title {
  transform: translateY(30px);
  filter: blur(7px);
}

.js .reveal-item.is-revealed,
.js .reveal-title.is-revealed {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}

/* 31. DETAIL PAGE SHARED -------------------------------------------------- */
.detail-page {
  background: var(--bg);
  color: var(--text);
}

.detail-hero {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 4rem;
  background: var(--forest-900);
  color: var(--sand-100);
}

.detail-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.045) 1px, transparent 1px);
  background-size: 110px 110px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.detail-hero__shell {
  position: relative;
  display: grid;
  min-height: calc(72svh - var(--header-height) - 10rem);
  align-content: end;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: rgba(241, 234, 220, 0.5);
  font-size: 0.62rem;
}

.detail-breadcrumb a:hover {
  color: var(--sand-100);
}

.detail-hero h1 {
  max-width: 12ch;
  margin-top: 2.2rem;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.detail-hero__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(241, 234, 220, 0.16);
}

.detail-hero__summary p {
  max-width: 62ch;
  color: rgba(241, 234, 220, 0.68);
  font-size: 0.9rem;
}

.detail-hero__meta {
  display: grid;
  gap: 0.4rem;
  color: rgba(241, 234, 220, 0.48);
  font-size: 0.65rem;
}

.detail-content {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.detail-content__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-height-scrolled) + 2rem);
  align-self: start;
}

.detail-sidebar__label {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-sidebar nav {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.detail-sidebar nav a {
  padding: 0.75rem 0.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.67rem;
  transition: color var(--duration-fast) ease, padding var(--duration-fast) ease;
}

.detail-sidebar nav a:hover,
.detail-sidebar nav a:focus-visible {
  padding-left: 0.35rem;
  color: var(--text-strong);
}

.prose {
  max-width: 820px;
}

.prose > * + * {
  margin-top: 1.5rem;
}

.prose h2 {
  margin-top: 4rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.prose h3 {
  margin-top: 2.5rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.82;
}

.prose p.lead {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.45;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose blockquote {
  margin-block: 3rem;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--accent);
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  line-height: 1.35;
}

.prose .info-box {
  margin-block: 2.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.prose .info-box strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-strong);
  font-size: 0.75rem;
}

/* 32. PRIVACY PAGE -------------------------------------------------------- */
.privacy-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.privacy-table th,
.privacy-table td {
  padding: 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  background: var(--surface-subtle);
  color: var(--text-strong);
  font-weight: 650;
}

.privacy-table td {
  color: var(--text-muted);
}

/* 33. 404 ----------------------------------------------------------------- */
.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  background: var(--forest-950);
  color: var(--sand-100);
  text-align: center;
}

.error-page__shell {
  position: relative;
  width: min(100%, 900px);
}

.error-page__number {
  color: rgba(241, 234, 220, 0.07);
  font-family: var(--font-display);
  font-size: clamp(10rem, 36vw, 31rem);
  letter-spacing: -0.09em;
  line-height: 0.66;
}

.error-page__content {
  position: relative;
  z-index: 1;
  margin-top: clamp(-7rem, -10vw, -3rem);
}

.error-page__content h1 {
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.error-page__content p {
  max-width: 54ch;
  margin: 1.2rem auto 0;
  color: rgba(241, 234, 220, 0.56);
  font-size: 0.78rem;
}

.error-page__content .button {
  margin-top: 1.8rem;
}

/* 34. STATES -------------------------------------------------------------- */
html[data-theme="light"] .site-header:not(.is-scrolled) {
  color: var(--sand-100);
}

html[data-theme="light"] .hero,
html[data-theme="light"] .contact,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .section--forest,
html[data-theme="light"] .section--charcoal,
html[data-theme="light"] .detail-hero,
html[data-theme="light"] .error-page {
  color-scheme: dark;
}

.no-js .page-loader,
.no-js .cursor,
.no-js .site-progress,
.no-js .mobile-menu-trigger,
.no-js #searchTrigger,
.no-js #themeToggle {
  display: none;
}

.no-js .desktop-nav {
  display: flex;
}

.no-js .reveal-item,
.no-js .reveal-title {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 35. RESPONSIVE — LARGE DESKTOP ----------------------------------------- */
@media (min-width: 1800px) {
  :root {
    --container: 1420px;
    --container-wide: 1680px;
    --gutter: 4.5rem;
  }

  .hero__title {
    font-size: clamp(7rem, 7.3vw, 10.5rem);
  }

  .practice-panel {
    min-height: 760px;
  }

  .principle-card {
    min-height: 460px;
  }
}

/* 36. RESPONSIVE — LAPTOP ------------------------------------------------- */
@media (max-width: 1240px) {
  :root {
    --gutter: clamp(1.25rem, 2.4vw, 2.25rem);
  }

  .desktop-nav {
    gap: 1rem;
  }

  .button--header {
    display: none;
  }

  .hero__lower {
    grid-template-columns: minmax(280px, 0.9fr) minmax(430px, 1.1fr);
    gap: 3rem;
  }

  .practice-explorer__head,
  .team__head {
    grid-template-columns: 130px minmax(0, 1fr) 280px;
  }

  .principles__head,
  .method__head,
  .numbers__head,
  .experience__head,
  .insights__head {
    grid-template-columns: 130px 1fr;
  }

  .intro-statement__grid {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .principles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-card:nth-child(2) {
    border-right: 0;
  }

  .principle-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(241, 234, 220, 0.16);
  }

  .practice-explorer__stage {
    grid-template-columns: minmax(300px, 0.75fr) minmax(430px, 1.25fr);
    gap: 2.5rem;
  }

  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card {
    min-height: 560px;
  }

  .insight-card,
  .insight-card.is-featured {
    grid-column: span 6;
  }
}

/* 37. RESPONSIVE — TABLET ------------------------------------------------- */
@media (max-width: 980px) {
  :root {
    --header-height: 78px;
    --header-height-scrolled: 66px;
  }

  .desktop-nav,
  .site-header__actions > .button--header {
    display: none;
  }

  .mobile-menu-trigger {
    display: grid;
  }

  .site-header__shell {
    grid-template-columns: auto 1fr;
  }

  .site-header__actions {
    grid-column: 2;
  }

  .mega-menu {
    display: none;
  }

  .hero__shell {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero__title {
    font-size: clamp(4.3rem, 10.7vw, 7.4rem);
  }

  .hero__lower {
    grid-template-columns: 1fr;
    gap: 2.3rem;
  }

  .hero__credibility {
    max-width: 720px;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .intro-statement__grid,
  .principles__head,
  .practice-explorer__head,
  .method__head,
  .numbers__head,
  .experience__head,
  .team__head,
  .insights__head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-statement__body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro-statement__aside {
    max-width: 420px;
  }

  .practice-explorer__head .practice-explorer__intro,
  .team__head .team__intro {
    max-width: 520px;
  }

  .practice-explorer__stage {
    grid-template-columns: 1fr;
  }

  .practice-panel {
    position: relative;
    top: auto;
    min-height: auto;
    grid-template-columns: 0.75fr 1.25fr;
    grid-template-rows: auto;
  }

  .practice-panel__visual {
    min-height: 420px;
  }

  .practice-panel__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .decision-map__grid,
  .faq__grid,
  .contact__shell {
    grid-template-columns: 1fr;
  }

  .decision-map__content,
  .faq__intro,
  .contact__intro {
    max-width: 680px;
  }

  .triage-card {
    min-height: 570px;
  }

  .method-step {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .method-step__meta {
    grid-column: 2;
    padding-top: 0;
  }

  .method__rail {
    left: 3rem;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .number-card:nth-child(2) {
    border-right: 0;
  }

  .number-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(241, 234, 220, 0.16);
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-card__visual {
    min-height: 380px;
  }

  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
  }

  .site-footer__bottom p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }

  .detail-content__grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-top: 0;
  }

  .detail-sidebar nav a {
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
  }
}

/* 38. RESPONSIVE — MOBILE ------------------------------------------------- */
@media (max-width: 700px) {
  :root {
    --gutter: 1.15rem;
  }

  .section {
    padding-block: clamp(4.5rem, 18vw, 7rem);
  }

  .brand__text small {
    display: none;
  }

  .site-header__actions > .icon-button:first-child {
    display: none;
  }

  .hero__shell {
    justify-content: flex-end;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 1.3rem;
  }

  .hero__kicker {
    margin-bottom: 1.4rem;
    font-size: 0.59rem;
  }

  .hero__title {
    max-width: 9.8ch;
    font-size: clamp(3.55rem, 17vw, 6.4rem);
    line-height: 0.86;
  }

  .hero__title > span:last-child {
    margin-top: 0.08em;
  }

  .hero__lower {
    gap: 1.6rem;
    margin-top: 2.4rem;
    padding-top: 1.2rem;
  }

  .hero__copy p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__credibility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credibility-card {
    min-height: 92px;
    padding: 0.85rem;
  }

  .credibility-card:nth-child(2) {
    border-right: 0;
  }

  .credibility-card--status {
    grid-column: 1 / -1;
    min-height: 54px;
    border-top: 1px solid rgba(241, 234, 220, 0.16);
  }

  .display-title {
    font-size: clamp(2.6rem, 12.5vw, 4.3rem);
  }

  .large-copy {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .section-marker {
    font-size: 0.6rem;
  }

  .section-marker span:first-child {
    width: 1.9rem;
    height: 1.9rem;
  }

  .principles__grid {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .principle-card:nth-child(2) {
    min-height: auto;
    padding: 1.5rem 1rem 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(241, 234, 220, 0.16);
  }

  .principle-card:last-child {
    border-bottom: 0;
  }

  .principle-card__icon {
    margin-top: 3rem;
  }

  .practice-explorer__stage {
    margin-top: 3rem;
  }

  .practice-tab {
    grid-template-columns: 2rem 1fr auto;
    padding-block: 1rem;
  }

  .practice-panel {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .practice-panel__visual {
    min-height: 330px;
  }

  .practice-panel__content {
    padding: 1.5rem;
  }

  .practice-panel__content h3 {
    font-size: 2.8rem;
  }

  .triage-card {
    min-height: 0;
    border-radius: var(--radius-lg);
  }

  .triage-card__top {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
  }

  .triage-card__body {
    min-height: 0;
    padding: 1.4rem 1.15rem;
  }

  .triage-question h3 {
    font-size: 2.35rem;
  }

  .triage-options {
    grid-template-columns: 1fr;
  }

  .triage-option {
    min-height: 82px;
  }

  .triage-card__actions {
    padding: 1rem 1.15rem;
  }

  .method__story {
    margin-top: 3rem;
  }

  .method-step {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    padding-block: 2rem;
  }

  .method-step__number {
    width: 3rem;
    height: 3rem;
  }

  .method__rail {
    left: 1.5rem;
  }

  .method-step__content h3 {
    font-size: 2.35rem;
  }

  .numbers__grid {
    grid-template-columns: 1fr;
  }

  .number-card,
  .number-card:nth-child(2) {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(241, 234, 220, 0.16);
  }

  .number-card:last-child {
    border-bottom: 0;
  }

  .number-card__value {
    font-size: 5rem;
  }

  .case-card__visual {
    min-height: 280px;
  }

  .case-card__body {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1.35rem;
  }

  .case-card__number {
    grid-column: 1 / -1;
  }

  .case-card__body > div {
    grid-column: 1;
  }

  .case-card__expand {
    grid-column: 2;
    align-self: end;
    width: 48px;
    height: 48px;
  }

  .case-card__body h3 {
    font-size: 2.25rem;
  }

  .team__grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 0;
  }

  .team-card__portrait {
    height: 420px;
  }

  .testimonial__quote {
    font-size: clamp(2.4rem, 11vw, 4.2rem);
  }

  .testimonial__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .insights__tools {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex: 0 0 auto;
  }

  .search-field--inline {
    width: 100%;
  }

  .insights__grid {
    grid-template-columns: 1fr;
  }

  .insight-card,
  .insight-card.is-featured {
    grid-column: 1;
    min-height: 340px;
  }

  .insight-card h3,
  .insight-card.is-featured h3 {
    margin-top: 3.2rem;
    font-size: 2.45rem;
  }

  .accordion-panel p {
    padding-right: 0.25rem;
  }

  .contact__intro .eyebrow,
  .faq__intro .eyebrow,
  .decision-map .eyebrow {
    margin-top: 2rem;
  }

  .contact-form {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .form-row--two {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }

  .footer-column--contact {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .cookie-banner {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
  }

  .cookie-banner__content {
    padding: 1rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__actions .button:first-child {
    grid-column: 1 / -1;
  }

  .search-dialog__panel,
  .modal__panel,
  .cookie-modal__panel {
    top: 0.5rem;
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
    transform: translate(-50%, 1rem) scale(0.99);
    border-radius: var(--radius-lg);
  }

  .search-dialog.is-open .search-dialog__panel {
    transform: translate(-50%, 0) scale(1);
  }

  .modal__panel,
  .cookie-modal__panel {
    top: 50%;
  }

  .search-dialog__top h2,
  .cookie-modal__top h2 {
    font-size: 2.4rem;
  }

  .search-dialog__field kbd,
  .search-dialog__hint {
    display: none;
  }

  .search-result {
    grid-template-columns: 1fr auto;
  }

  .search-result__type {
    grid-column: 1 / -1;
  }

  .modal-article__grid,
  .team-modal__header,
  .team-modal__details {
    grid-template-columns: 1fr;
  }

  .team-modal__portrait {
    min-height: 320px;
  }

  .detail-hero {
    min-height: 82svh;
    padding-top: calc(var(--header-height) + 4rem);
  }

  .detail-hero__shell {
    min-height: calc(82svh - var(--header-height) - 8rem);
  }

  .detail-hero h1 {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  .detail-hero__summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .privacy-table {
    display: block;
    overflow-x: auto;
  }
}

/* 39. VERY SMALL MOBILE --------------------------------------------------- */
@media (max-width: 390px) {
  :root {
    --gutter: 1rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__text strong {
    font-size: 0.69rem;
  }

  .site-header__actions {
    gap: 0;
  }

  .icon-button,
  .mobile-menu-trigger {
    width: 40px;
    height: 40px;
  }

  .hero__title {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .hero__credibility {
    grid-template-columns: 1fr 1fr;
  }

  .credibility-card__number {
    font-size: 1.8rem;
  }

  .display-title {
    font-size: 2.6rem;
  }

  .practice-tab__title {
    font-size: 1.2rem;
  }

  .practice-panel__visual {
    min-height: 290px;
  }

  .triage-question h3 {
    font-size: 2.05rem;
  }

  .triage-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .triage-card__actions .button {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-column--contact {
    grid-column: auto;
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .button:first-child {
    grid-column: auto;
  }
}

/* 40. POINTER / HOVER CAPABILITIES --------------------------------------- */
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }

  .magnetic {
    transform: none !important;
  }

  .principle-card:hover,
  .case-card:hover {
    transform: none;
  }
}

/* 41. REDUCED MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .page-loader {
    display: none;
  }

  .cursor {
    display: none;
  }

  .hero__media img {
    transform: none;
    animation: none;
  }

  .practice-orbit,
  .practice-orbit__node,
  .status-dot {
    animation: none;
  }

  .js .reveal-item,
  .js .reveal-title {
    transform: none;
    filter: none;
    opacity: 1;
  }
}

/* 42. HIGH CONTRAST / FORCED COLORS -------------------------------------- */
@media (forced-colors: active) {
  .button,
  .icon-button,
  .practice-panel,
  .triage-card,
  .case-card,
  .team-card,
  .contact-form,
  .cookie-banner__content,
  .search-dialog__panel,
  .modal__panel,
  .cookie-modal__panel {
    border: 1px solid CanvasText;
  }

  .status-dot,
  .triage-option__radio::after,
  .switch::after {
    background: CanvasText;
  }

  .noise-layer,
  .ambient-light,
  .hero__grid {
    display: none;
  }
}

/* 43. PRINT --------------------------------------------------------------- */
@media print {
  :root {
    --bg: #ffffff;
    --text: #111111;
    --text-strong: #000000;
    --text-muted: #333333;
  }

  .site-header,
  .page-loader,
  .site-progress,
  .cursor,
  .noise-layer,
  .ambient-light,
  .hero__media,
  .mobile-menu,
  .search-dialog,
  .modal,
  .cookie-banner,
  .cookie-modal,
  .toast-region,
  .back-to-top,
  .contact,
  .site-footer,
  .hero__actions,
  .button,
  .team-card__actions,
  .insights__tools {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #111111;
    font-size: 11pt;
  }

  .hero {
    min-height: auto;
    padding: 2cm 0 1cm;
    background: #ffffff;
    color: #111111;
  }

  .hero__shell {
    min-height: auto;
    padding: 0;
  }

  .hero__title,
  .hero__title > span:last-child {
    color: #111111;
  }

  .section,
  .section--forest,
  .section--charcoal,
  .section--sand {
    break-inside: avoid;
    padding-block: 1.2cm;
    background: #ffffff;
    color: #111111;
  }

  .display-title,
  .display-title--light,
  .principle-card h3,
  .number-card__value,
  .testimonial__quote {
    color: #111111;
  }
}

/* ========================================================================== 
   STEPHANIE DE PAIVA — PERSONALIZAÇÃO INSTITUCIONAL v2
   Direção visual: minimalismo claro + grafite + detalhes dourados discretos.
   ========================================================================== */

:root {
  --forest-950: #0d0d0d;
  --forest-900: #121212;
  --forest-850: #171717;
  --forest-800: #1d1d1d;
  --forest-700: #252525;
  --forest-600: #333333;
  --forest-500: #4b4b4b;
  --forest-400: #6d6d6d;
  --forest-300: #a0a0a0;

  --graphite-950: #090909;
  --graphite-900: #101010;
  --graphite-850: #161616;
  --graphite-800: #202020;
  --graphite-700: #303030;
  --graphite-600: #4a4a4a;
  --graphite-500: #666666;
  --graphite-400: #8c8c8c;
  --graphite-300: #b8b8b8;

  --sand-050: #fffdf8;
  --sand-100: #f8f5ee;
  --sand-150: #f0ece3;
  --sand-200: #e4ddd0;
  --sand-300: #d3c5aa;
  --sand-400: #c4a15e;
  --sand-500: #b58b3d;
  --sand-600: #8d6a2f;

  --bg: #111111;
  --bg-soft: #171717;
  --surface: #1b1b1b;
  --surface-raised: #222222;
  --surface-subtle: rgba(255, 255, 255, 0.045);
  --text: #f2efe9;
  --text-strong: #ffffff;
  --text-muted: #c0bbb2;
  --text-subtle: #8d8982;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #c4a15e;
  --accent-strong: #d6b56f;
  --accent-contrast: #111111;
  --header-bg: rgba(17, 17, 17, 0.86);
  --overlay: rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] {
  --bg: #fbfaf7;
  --bg-soft: #f4f1eb;
  --surface: #fffefa;
  --surface-raised: #ffffff;
  --surface-subtle: rgba(24, 23, 21, 0.035);
  --text: #2b2926;
  --text-strong: #151412;
  --text-muted: #625f59;
  --text-subtle: #88837b;
  --line: rgba(31, 29, 25, 0.12);
  --line-strong: rgba(31, 29, 25, 0.22);
  --accent: #a97b2c;
  --accent-strong: #875f20;
  --accent-contrast: #fffdf8;
  --header-bg: rgba(251, 250, 247, 0.9);
  --overlay: rgba(15, 14, 12, 0.54);
  --shadow-xs: 0 1px 2px rgba(20, 18, 14, 0.05);
  --shadow-sm: 0 12px 34px rgba(20, 18, 14, 0.07);
  --shadow-md: 0 24px 70px rgba(20, 18, 14, 0.09);
  --shadow-lg: 0 44px 120px rgba(20, 18, 14, 0.12);
}

html[data-theme="light"] .ambient-light--one {
  background: rgba(190, 145, 70, 0.11);
}

html[data-theme="light"] .ambient-light--two {
  background: rgba(174, 155, 122, 0.08);
}

.page-loader__submark {
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.brand-placeholder {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.08em;
}

.brand-placeholder--loader {
  margin-inline: auto;
  margin-bottom: 1.3rem;
}

.brand__mark--placeholder {
  display: grid;
  place-items: center;
  border-color: color-mix(in srgb, var(--accent) 72%, transparent);
  color: var(--accent);
}

.brand__mark--placeholder span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand__text strong {
  letter-spacing: 0.13em;
}

.brand__text small {
  color: var(--accent);
  letter-spacing: 0.22em;
}

.hero--stephanie {
  background: #f9f7f2;
  color: #1a1917;
}

html[data-theme="dark"] .hero--stephanie {
  background: #111111;
  color: #f8f5ee;
}

.hero--stephanie .hero__veil {
  background:
    linear-gradient(90deg, rgba(249, 247, 242, 0.98) 0%, rgba(249, 247, 242, 0.92) 48%, rgba(249, 247, 242, 0.38) 73%, rgba(249, 247, 242, 0.18) 100%),
    linear-gradient(0deg, rgba(249, 247, 242, 0.8) 0%, transparent 58%);
}

html[data-theme="dark"] .hero--stephanie .hero__veil {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.98) 0%, rgba(17, 17, 17, 0.88) 50%, rgba(17, 17, 17, 0.34) 78%, rgba(17, 17, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.82) 0%, transparent 58%);
}

.hero--stephanie .hero__grid {
  background-image:
    linear-gradient(rgba(30, 28, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 28, 24, 0.045) 1px, transparent 1px);
}

html[data-theme="dark"] .hero--stephanie .hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.hero--stephanie .hero__title {
  color: #171614;
}

.hero--stephanie .hero__title > span:last-child {
  color: #a97b2c;
  font-style: normal;
}

html[data-theme="dark"] .hero--stephanie .hero__title {
  color: #fffdf8;
}

html[data-theme="dark"] .hero--stephanie .hero__title > span:last-child {
  color: #d3b36f;
}

.hero--stephanie .hero__kicker,
.hero--stephanie .hero__copy p,
.hero--stephanie .hero__scroll-indicator {
  color: rgba(31, 29, 25, 0.66);
}

html[data-theme="dark"] .hero--stephanie .hero__kicker,
html[data-theme="dark"] .hero--stephanie .hero__copy p,
html[data-theme="dark"] .hero--stephanie .hero__scroll-indicator {
  color: rgba(248, 245, 238, 0.64);
}

.hero--stephanie .hero__lower,
.hero--stephanie .hero__credibility,
.hero--stephanie .credibility-card {
  border-color: rgba(32, 29, 25, 0.13);
}

html[data-theme="dark"] .hero--stephanie .hero__lower,
html[data-theme="dark"] .hero--stephanie .hero__credibility,
html[data-theme="dark"] .hero--stephanie .credibility-card {
  border-color: rgba(255, 255, 255, 0.13);
}

.hero--stephanie .credibility-card__number {
  color: var(--accent);
  font-size: 1.55rem;
}

.hero--stephanie .credibility-card__label {
  max-width: 26ch;
  color: rgba(31, 29, 25, 0.58);
}

html[data-theme="dark"] .hero--stephanie .credibility-card__label {
  color: rgba(248, 245, 238, 0.55);
}

.hero--stephanie .button--ghost {
  --button-color: #24211d;
  --button-border: rgba(36, 33, 29, 0.24);
  --button-hover-bg: rgba(36, 33, 29, 0.06);
  --button-hover-color: #151412;
}

html[data-theme="dark"] .hero--stephanie .button--ghost {
  --button-color: #f8f5ee;
  --button-border: rgba(248, 245, 238, 0.25);
  --button-hover-bg: rgba(248, 245, 238, 0.08);
  --button-hover-color: #fff;
}

.hero-media-placeholder {
  position: absolute;
  top: 12%;
  right: clamp(2rem, 6vw, 8rem);
  bottom: 8%;
  width: min(42vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(169, 123, 44, 0.28);
  background:
    radial-gradient(circle at 75% 25%, rgba(195, 160, 98, 0.24), transparent 27%),
    linear-gradient(145deg, #f1ece2 0%, #fffefa 42%, #e7dfd2 100%);
  box-shadow: 0 35px 100px rgba(74, 57, 31, 0.1);
}

html[data-theme="dark"] .hero-media-placeholder {
  border-color: rgba(212, 181, 111, 0.3);
  background:
    radial-gradient(circle at 74% 22%, rgba(196, 161, 94, 0.15), transparent 27%),
    linear-gradient(145deg, #1d1d1d 0%, #151515 42%, #24201a 100%);
}

.hero-media-placeholder::before,
.hero-media-placeholder::after {
  position: absolute;
  content: "";
}

.hero-media-placeholder::before {
  top: 7%;
  left: 10%;
  width: 68%;
  height: 72%;
  border: 1px solid rgba(169, 123, 44, 0.24);
  transform: skewY(-5deg);
}

.hero-media-placeholder::after {
  right: 8%;
  bottom: 12%;
  width: 46%;
  height: 38%;
  border-right: 1px solid rgba(169, 123, 44, 0.32);
  border-bottom: 1px solid rgba(169, 123, 44, 0.32);
}

.hero-media-placeholder__frame {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(25, 23, 20, 0.08);
}

.hero-media-placeholder > span,
.hero-media-placeholder > small {
  position: absolute;
  right: 1.4rem;
  z-index: 2;
  color: rgba(38, 34, 29, 0.52);
  text-transform: uppercase;
}

.hero-media-placeholder > span {
  bottom: 2.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-media-placeholder > small {
  bottom: 1.25rem;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

html[data-theme="dark"] .hero-media-placeholder > span,
html[data-theme="dark"] .hero-media-placeholder > small {
  color: rgba(248, 245, 238, 0.47);
}

.institutional-id {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.institutional-id strong {
  color: var(--accent);
  font-weight: 700;
}

.principles__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section--gold-minimal::before,
.section--gold-minimal::after {
  border-color: rgba(196, 161, 94, 0.08);
}

.service-mode-grid .number-card__value {
  color: var(--accent);
  font-size: clamp(3rem, 6vw, 6rem);
}

.service-mode-grid .number-card p {
  max-width: 25ch;
}

.service-mode-grid .number-card strong {
  color: var(--sand-050);
  font-weight: 600;
}

.case-minimal-symbol {
  position: absolute;
  right: 1.25rem;
  bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 10rem);
  letter-spacing: -0.08em;
  line-height: 1;
}

.team__grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  margin-inline: auto;
}

.team-card--single {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  min-height: 0;
}

.team-card--single .team-card__portrait {
  height: auto;
  min-height: 500px;
}

.team-card--single .team-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.team-card__bio {
  max-width: 56ch;
  margin-top: 1.1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.team-card__portrait--placeholder::after,
.team-modal__portrait--placeholder::after {
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.28), transparent 62%);
}

.portrait-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  background:
    linear-gradient(135deg, transparent 0 49.8%, rgba(169, 123, 44, 0.14) 50% 50.2%, transparent 50.3%),
    linear-gradient(45deg, transparent 0 49.8%, rgba(169, 123, 44, 0.08) 50% 50.2%, transparent 50.3%),
    linear-gradient(145deg, var(--surface), var(--bg-soft));
  color: var(--accent);
  text-align: center;
}

.portrait-photo-placeholder span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.portrait-photo-placeholder small {
  color: var(--text-subtle);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-pending p {
  color: var(--text-muted);
}

.testimonial--manifesto .testimonial__quote {
  max-width: 18ch;
}

.content-coming-soon {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  background: var(--surface);
}

.content-coming-soon__visual {
  display: grid;
  min-height: 320px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32%),
    linear-gradient(145deg, var(--bg-soft), var(--surface-raised));
}

.content-coming-soon__visual span {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.content-coming-soon h3 {
  max-width: 19ch;
  margin-top: 0.8rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.content-coming-soon p {
  max-width: 60ch;
  margin-top: 1.25rem;
  color: var(--text-muted);
}

.contact-channel-static {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.16);
}

.contact-channel-static span {
  color: rgba(241, 234, 220, 0.45);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-channel-static strong {
  color: var(--sand-100);
  font-size: 0.77rem;
  font-weight: 600;
}

.detail-hero--stephanie {
  background: linear-gradient(145deg, var(--bg-soft), var(--bg));
}

.detail-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.profile-page-placeholder {
  display: grid;
  min-height: 440px;
  place-content: center;
  gap: 0.5rem;
  margin-block: 2.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 0 49.9%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 50.1%),
    linear-gradient(45deg, transparent 0 49.9%, color-mix(in srgb, var(--accent) 8%, transparent) 50%, transparent 50.1%),
    var(--surface);
  color: var(--accent);
  text-align: center;
}

.profile-page-placeholder span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.profile-page-placeholder small {
  color: var(--text-subtle);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hero-media-placeholder {
    right: -4rem;
    width: 52vw;
    opacity: 0.7;
  }

  .team-card--single {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .hero-media-placeholder {
    top: 18%;
    right: -18%;
    bottom: 34%;
    width: 74vw;
    opacity: 0.24;
  }

  .principles__grid--three {
    grid-template-columns: 1fr;
  }

  .team-card--single,
  .content-coming-soon {
    grid-template-columns: 1fr;
  }

  .team-card--single .team-card__portrait {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .brand__text strong {
    letter-spacing: 0.08em;
  }

  .brand__text small {
    letter-spacing: 0.13em;
  }

  .hero-media-placeholder {
    right: -38%;
    width: 100vw;
  }

  .content-coming-soon__visual {
    min-height: 230px;
  }
}


.error-page--stephanie { background: linear-gradient(145deg, #111111, #1b1813); }
.error-page--stephanie .error-page__number { color: rgba(196,161,94,.12); }

/* 67. STEPHANIE — REAL BRAND ASSETS --------------------------------------- */
.page-loader__logo {
  display: block;
  width: min(330px, 70vw);
  height: auto;
  margin: 0 auto 1rem;
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .page-loader__logo {
  padding: 0.45rem 0.8rem;
  background: #f5f0e8;
  mix-blend-mode: normal;
}

.brand--image {
  min-width: 0;
}

.brand__logo {
  display: block;
  width: clamp(190px, 18vw, 272px);
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  transition: width var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled .brand__logo {
  width: clamp(176px, 16vw, 242px);
}

html[data-theme="dark"] .brand--image {
  padding: 0.18rem 0.48rem;
  background: #f6f1e9;
}

html[data-theme="dark"] .brand__logo {
  mix-blend-mode: normal;
}

.brand__logo--footer {
  width: clamp(230px, 25vw, 360px);
  max-height: none;
}

.hero-portrait {
  position: absolute;
  top: clamp(5.5rem, 10vh, 8rem);
  right: clamp(1.5rem, 5vw, 6rem);
  bottom: 0;
  width: min(43vw, 650px);
  margin: 0;
  overflow: hidden;
  border-left: 1px solid rgba(169, 123, 44, 0.26);
  background: #d3d1cd;
  box-shadow: -30px 28px 90px rgba(63, 52, 38, 0.08);
}

.hero-portrait::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 57%, rgba(24, 22, 19, 0.18) 100%),
    linear-gradient(90deg, rgba(249, 247, 242, 0.08), transparent 30%);
  content: "";
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.86) contrast(0.98);
}

.hero-portrait__line {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 1px;
  height: 24%;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.hero-portrait figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.15rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html[data-theme="dark"] .hero-portrait {
  border-left-color: rgba(211, 179, 111, 0.34);
  box-shadow: -30px 28px 100px rgba(0, 0, 0, 0.22);
}

.team-card__portrait--photo,
.team-modal__portrait--photo {
  background: #cbc9c4;
}

.team-card__portrait--photo > img,
.team-modal__portrait--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.88) contrast(0.99);
  transition: transform 800ms var(--ease-out), filter 500ms var(--ease-out);
}

.team-card:hover .team-card__portrait--photo > img {
  transform: scale(1.025);
  filter: saturate(0.95) contrast(1.01);
}

.team-card__portrait--photo::after {
  background: linear-gradient(0deg, rgba(23, 20, 16, 0.54), transparent 52%);
}

.team-card__photo-line {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 1px;
  height: 32%;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.team-modal__portrait--photo > img {
  object-position: 50% 14%;
}

.profile-page-photo {
  position: relative;
  max-width: 720px;
  margin: clamp(2rem, 5vw, 4rem) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.profile-page-photo::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 30%;
  height: 1px;
  background: var(--accent);
  content: "";
}

.profile-page-photo img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: 50% 16%;
  filter: saturate(0.9);
}

.profile-page-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  z-index: 3;
  padding: 0.35rem 0.55rem;
  background: rgba(20, 18, 15, 0.68);
  color: #fffaf1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@media (max-width: 1180px) {
  .brand__logo {
    width: 205px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 190px;
  }

  .hero-portrait {
    right: -2vw;
    width: min(47vw, 590px);
  }
}

@media (max-width: 980px) {
  .brand__logo {
    width: 190px;
  }

  .hero-portrait {
    top: 8rem;
    right: -14vw;
    width: 72vw;
    opacity: 0.7;
  }

  .hero--stephanie .hero__veil {
    background:
      linear-gradient(90deg, rgba(249, 247, 242, 0.99) 0%, rgba(249, 247, 242, 0.94) 55%, rgba(249, 247, 242, 0.64) 100%),
      linear-gradient(0deg, rgba(249, 247, 242, 0.92) 0%, transparent 65%);
  }

  html[data-theme="dark"] .hero--stephanie .hero__veil {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, 0.99) 0%, rgba(17, 17, 17, 0.93) 55%, rgba(17, 17, 17, 0.64) 100%),
      linear-gradient(0deg, rgba(17, 17, 17, 0.92) 0%, transparent 65%);
  }
}

@media (max-width: 720px) {
  .page-loader__logo {
    width: min(280px, 78vw);
  }

  .brand__logo {
    width: 172px;
    max-height: 54px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 160px;
  }

  .hero-portrait {
    top: 5.8rem;
    right: -27vw;
    bottom: auto;
    width: 94vw;
    height: 72vh;
    opacity: 0.46;
  }

  .hero-portrait figcaption {
    display: none;
  }

  .team-card__portrait--photo > img {
    object-position: 50% 14%;
  }

  .brand__logo--footer {
    width: min(300px, 80vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait img,
  .team-card__portrait--photo > img,
  .team-modal__portrait--photo > img {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* 68. BRAND CONTRAST & MOBILE WORDMARK ------------------------------------ */
html[data-theme="light"] .site-header:not(.is-scrolled) {
  color: #25221e;
}

html[data-theme="light"] .site-header:not(.is-scrolled) .button--header {
  --button-bg: rgba(169, 123, 44, 0.07);
  --button-color: #5e4218;
  --button-border: rgba(169, 123, 44, 0.34);
  --button-hover-bg: #a97b2c;
  --button-hover-color: #fffdf8;
}

.mobile-menu__brand {
  display: block;
  width: min(270px, 67vw);
  padding: 0.25rem 0.45rem;
  background: #f5f0e8;
}

.mobile-menu__brand img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* ========================================================================== 
   V4 — IMMERSIVE LANDING EXPERIENCE
   Stephanie de Paiva · minimalist gold / editorial motion / conversion UX
   ========================================================================== */

:root {
  --v4-gold: #b8893f;
  --v4-gold-deep: #8e6427;
  --v4-gold-soft: #d8b878;
  --v4-ivory: #f8f4ed;
  --v4-paper: #f2ece2;
  --v4-ink: #15130f;
  --v4-charcoal: #1d1d1b;
  --v4-grey: #6f706d;
  --v4-hairline: rgba(184, 137, 63, 0.28);
}

html[data-theme="light"] {
  --bg: #f7f3ec;
  --bg-soft: #efe8dc;
  --surface: #fbf8f2;
  --surface-raised: #ffffff;
  --text: #262520;
  --text-strong: #12120f;
  --text-muted: #696963;
  --text-subtle: #8a8881;
  --line: rgba(35, 32, 25, 0.12);
  --line-strong: rgba(35, 32, 25, 0.22);
  --accent: var(--v4-gold);
  --accent-strong: var(--v4-gold-deep);
  --accent-contrast: #fffaf0;
  --header-bg: rgba(247, 243, 236, 0.88);
}

html[data-theme="dark"] {
  --bg: #121311;
  --bg-soft: #181917;
  --surface: #1d1e1b;
  --surface-raised: #242521;
  --text: #e8e1d5;
  --text-strong: #fffaf1;
  --text-muted: #b5aea3;
  --text-subtle: #85827b;
  --line: rgba(220, 186, 122, 0.13);
  --line-strong: rgba(220, 186, 122, 0.26);
  --accent: #c89a4f;
  --accent-strong: #e0bb78;
  --accent-contrast: #15130f;
  --header-bg: rgba(18, 19, 17, 0.88);
}

body {
  background-image:
    radial-gradient(circle at 90% 5%, rgba(184, 137, 63, 0.06), transparent 34rem),
    radial-gradient(circle at 3% 34%, rgba(184, 137, 63, 0.035), transparent 27rem);
}

/* V4 loader signature ------------------------------------------------------ */
.page-loader__inner {
  position: relative;
  width: min(560px, 78vw);
}

.page-loader__inner::before,
.page-loader__inner::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--v4-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: v4-loader-trace 1.25s var(--ease-out) both;
}

.page-loader__inner::before { top: -1.4rem; }
.page-loader__inner::after { bottom: -1.35rem; animation-delay: 150ms; }

.page-loader__logo {
  filter: saturate(.92) contrast(1.03);
  animation: v4-loader-logo 900ms var(--ease-out) both 120ms;
}

@keyframes v4-loader-trace {
  to { transform: scaleX(1); }
}

@keyframes v4-loader-logo {
  from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(7px) saturate(.7); }
  to { opacity: 1; transform: none; filter: blur(0) saturate(.92); }
}

/* HERO V4 ---------------------------------------------------------------- */
.hero-v4 {
  --hero-progress: 0;
  position: relative;
  min-height: max(760px, 100svh);
  display: grid;
  align-items: end;
  overflow: clip;
  background:
    linear-gradient(110deg, rgba(248,244,237,.98) 0%, rgba(248,244,237,.94) 42%, rgba(248,244,237,.2) 67%, rgba(248,244,237,.05) 100%),
    var(--bg);
  isolation: isolate;
}

html[data-theme="dark"] .hero-v4 {
  background:
    linear-gradient(110deg, rgba(18,19,17,.98) 0%, rgba(18,19,17,.94) 43%, rgba(18,19,17,.28) 68%, rgba(18,19,17,.09) 100%),
    var(--bg);
}

.hero-v4__atmosphere,
.hero-v4__portrait-layer,
.hero-v4__signature {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-v4__atmosphere { z-index: 0; }
.hero-v4__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .75;
}
.hero-v4__halo--one {
  width: 38vw;
  aspect-ratio: 1;
  right: -8vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(184,137,63,.17), transparent 68%);
  transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0);
}
.hero-v4__halo--two {
  width: 34vw;
  aspect-ratio: 1;
  left: 18vw;
  bottom: -18vw;
  background: radial-gradient(circle, rgba(184,137,63,.08), transparent 68%);
}
.hero-v4__grain {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .hero-v4__grain { mix-blend-mode: screen; opacity: .07; }
.hero-v4__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(184,137,63,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184,137,63,.055) 1px, transparent 1px);
  background-size: min(9vw, 126px) min(9vw, 126px);
  mask-image: linear-gradient(to right, black, transparent 75%);
  opacity: .36;
}

.hero-v4__portrait-layer {
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.hero-v4__portrait-wrap {
  position: relative;
  width: min(49vw, 790px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--portrait-inset, 0%));
  transform: translate3d(var(--hero-mouse-shift-x, 0px), var(--hero-mouse-shift-y, 0px), 0) scale(var(--hero-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

.hero-v4__portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, var(--bg) 0, transparent 24%, transparent 78%, rgba(184,137,63,.08));
  pointer-events: none;
}

.hero-v4__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 32%;
  filter: saturate(.78) contrast(.98) brightness(1.01);
}

.hero-v4__portrait-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(18,16,12,.35), transparent 42%), linear-gradient(90deg, rgba(247,243,236,.35), transparent 30%);
}
html[data-theme="dark"] .hero-v4__portrait-shade { background: linear-gradient(to top, rgba(8,8,7,.55), transparent 46%), linear-gradient(90deg, rgba(18,19,17,.65), transparent 36%); }

.hero-v4__portrait-frame {
  position: absolute;
  inset: 7rem 5.3rem 5.8rem 5.3rem;
  border: 1px solid rgba(216,184,120,.48);
  z-index: 4;
  opacity: var(--hero-frame-opacity, 1);
}
.hero-v4__portrait-caption {
  position: absolute;
  z-index: 5;
  bottom: 3rem;
  right: 5.2rem;
  color: rgba(255,250,240,.9);
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .12em;
}

.hero-v4__signature { z-index: 2; width: min(44vw, 660px); height: auto; left: 52%; top: 10%; overflow: visible; opacity: .36; }
.hero-v4__signature-path {
  fill: none;
  stroke: var(--v4-gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: v4-signature-draw 2.2s var(--ease-out) forwards 700ms;
}
.hero-v4__signature-path--delay { animation-delay: 1s; }
@keyframes v4-signature-draw { to { stroke-dashoffset: 0; } }

.hero-v4__shell {
  position: relative;
  z-index: 6;
  width: 100%;
  min-height: max(760px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--header-height) + clamp(3rem, 7vh, 7rem));
  padding-bottom: clamp(2.2rem, 5vh, 4rem);
}
.hero-v4__kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  align-self: start;
  font-size: clamp(.65rem, .72vw, .78rem);
  letter-spacing: .23em;
  font-weight: 650;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-v4__kicker-rule { width: 3rem; height: 1px; background: var(--v4-gold); }
.hero-v4__copy { grid-column: 1; align-self: center; max-width: 870px; padding: 4vh 0; }
.hero-v4__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.1rem, 7.4vw, 9.3rem);
  line-height: .84;
  letter-spacing: -.055em;
  color: var(--text-strong);
  max-width: 10ch;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-line i {
  display: block;
  font-style: normal;
  transform: translateY(112%);
  animation: hero-v4-line 1.15s var(--ease-out) forwards 460ms;
}
.hero-line:nth-child(2) i { color: var(--v4-gold-deep); animation-delay: 620ms; }
html[data-theme="dark"] .hero-line:nth-child(2) i { color: var(--v4-gold-soft); }
@keyframes hero-v4-line { to { transform: none; } }
.hero-v4__lead {
  width: min(620px, 92%);
  margin: clamp(2.2rem, 4vh, 3.3rem) 0 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}
.hero-v4__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-v4__microfacts {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  width: min(100%, 420px);
  margin-bottom: .25rem;
  border-top: 1px solid rgba(255,255,255,.27);
  color: rgba(255,255,255,.84);
  backdrop-filter: blur(3px);
}
.hero-v4__microfacts span {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: .79rem;
  letter-spacing: .04em;
}
.hero-v4__microfacts strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: #fff9ee; }
.hero-v4__scroll {
  position: absolute;
  left: 0;
  bottom: 2.6rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-v4__scroll i { display: grid; place-items: start center; width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 99px; padding-top: 6px; }
.hero-v4__scroll b { width: 2px; height: 7px; border-radius: 2px; background: var(--v4-gold); animation: v4-scroll-dot 1.8s ease-in-out infinite; }
@keyframes v4-scroll-dot { 0%,100% { transform: translateY(0); opacity: .25; } 45% { transform: translateY(13px); opacity: 1; } }

/* Opening manifesto ------------------------------------------------------- */
.opening-manifest { min-height: 88vh; display: grid; align-items: center; background: var(--surface-raised); }
.opening-manifest__grid { display: grid; grid-template-columns: minmax(145px, .22fr) 1fr; gap: clamp(2rem, 6vw, 7rem); }
.opening-manifest__content { max-width: 1220px; }
.opening-manifest__title { margin: 1.5rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 8.4rem); line-height: .9; letter-spacing: -.055em; color: var(--text-strong); }
.opening-manifest__title span { display: block; overflow: hidden; padding-bottom: .05em; }
.opening-manifest__title span::after { content: ""; display: block; width: 0; height: 1px; background: linear-gradient(90deg, var(--v4-gold), transparent); margin-top: .13em; transition: width 1s var(--ease-out); }
.opening-manifest__title span.is-visible::after { width: 48%; }
.opening-manifest__footer { margin-top: clamp(2.5rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.opening-manifest__footer > p { margin: 0; max-width: 680px; color: var(--text-muted); font-size: clamp(1rem, 1.25vw, 1.18rem); }
.opening-manifest__seal { display: grid; text-align: right; gap: .25rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-subtle); }
.opening-manifest__seal strong { font-size: .72rem; color: var(--v4-gold-deep); font-weight: 650; }

/* Authority 600+ --------------------------------------------------------- */
.authority-v4 { position: relative; min-height: 175vh; background: #171714; color: #f6efe3; }
.authority-v4__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.authority-v4__sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(216,184,120,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(216,184,120,.045) 1px, transparent 1px); background-size: 90px 90px; mask-image: radial-gradient(circle at 58% 45%, black, transparent 70%); }
.authority-v4__glow { position: absolute; width: 50vw; aspect-ratio: 1; left: 46%; top: 50%; transform: translate(-50%, -50%) scale(var(--authority-glow-scale, .8)); background: radial-gradient(circle, rgba(184,137,63,.17), transparent 68%); }
.authority-v4__grid { position: relative; display: grid; grid-template-columns: .55fr 1.35fr .75fr; align-items: center; gap: clamp(1rem, 4vw, 5rem); }
.authority-v4__side { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; color: #aaa397; }
.authority-v4__side > p { max-width: 260px; margin: auto 0 0; font-size: .9rem; }
.authority-v4__number-wrap { position: relative; display: grid; place-items: center; min-height: 480px; }
.authority-v4__number { position: relative; z-index: 2; font-family: var(--font-display); font-size: clamp(10rem, 25vw, 29rem); line-height: .72; letter-spacing: -.09em; font-weight: 400; color: #f8f0e4; transform: scale(var(--authority-number-scale, .82)); transform-origin: center; }
.authority-v4__orbit { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(216,184,120,.25); border-radius: 50%; transform: rotate(var(--authority-rotation, 0deg)) scale(var(--authority-orbit-scale, .88)); }
.authority-v4__orbit::before,
.authority-v4__orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(216,184,120,.13); border-radius: 50%; }
.authority-v4__orbit::after { inset: 29%; }
.authority-v4__copy { max-width: 420px; align-self: end; padding-bottom: 4rem; }
.authority-v4__copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 4.4rem); line-height: 1.02; font-weight: 400; letter-spacing: -.035em; }
.authority-v4__copy p { margin: 1.5rem 0 0; color: #9c958a; font-size: .76rem; line-height: 1.65; }

/* Stephanie story -------------------------------------------------------- */
.stephanie-story { background: var(--v4-paper); }
html[data-theme="dark"] .stephanie-story { background: #171815; }
.stephanie-story__head { display: grid; grid-template-columns: minmax(145px,.22fr) 1fr; gap: clamp(2rem,6vw,7rem); margin-bottom: clamp(3rem,7vw,7rem); }
.stephanie-story__head > div:last-child { max-width: 980px; }
.stephanie-story__stage { position: relative; display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; gap: clamp(3rem,8vw,10rem); align-items: start; }
.stephanie-story__portrait-col { position: sticky; top: calc(var(--header-height-scrolled) + 3rem); min-height: calc(100svh - var(--header-height-scrolled) - 6rem); display: grid; align-items: center; }
.story-portrait { --story-index: 0; position: relative; width: min(100%, 560px); margin: 0; aspect-ratio: 4 / 5.2; overflow: hidden; background: #b8b8b4; }
.story-portrait img { width: 100%; height: 112%; object-fit: cover; object-position: 50% var(--story-object-y, 25%); transform: translateY(var(--story-shift-y, 0%)) scale(var(--story-scale, 1.035)); filter: saturate(var(--story-saturation, .68)) contrast(.98); transition: filter 680ms var(--ease-out), transform 900ms var(--ease-out), object-position 900ms var(--ease-out); }
.story-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(15,14,11,.58)); pointer-events: none; }
.story-portrait__frame { position: absolute; z-index: 2; inset: 1.5rem; border: 1px solid rgba(216,184,120,.6); transform: scale(var(--story-frame-scale, 1)); transition: transform 800ms var(--ease-out); }
.story-portrait figcaption { position: absolute; z-index: 3; left: 2.5rem; bottom: 2.3rem; display: grid; color: #fff; }
.story-portrait figcaption strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; }
.story-portrait figcaption span { margin-top: .2rem; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; opacity: .8; }
.stephanie-story__chapters { padding-bottom: 9vh; }
.story-chapter { min-height: 64vh; display: grid; align-content: center; border-top: 1px solid var(--line); opacity: .32; transform: translateX(1rem); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); }
.story-chapter:last-child { border-bottom: 1px solid var(--line); }
.story-chapter.is-active { opacity: 1; transform: none; }
.story-chapter__index { color: var(--v4-gold-deep); font-size: .7rem; letter-spacing: .18em; }
.story-chapter h3 { margin: .8rem 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 6vw, 7.4rem); line-height: .88; letter-spacing: -.05em; }
.story-chapter p { margin: 0; max-width: 620px; color: var(--text-muted); font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.75; }

/* Practice V4 ------------------------------------------------------------ */
.practice-explorer--v4 { background: var(--surface-raised); }
.practice-explorer__head--v4 { margin-bottom: 4rem; }
.practice-v4 { position: relative; display: grid; grid-template-columns: minmax(320px,.78fr) 1.22fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 780px; overflow: hidden; }
.practice-v4::before { content: ""; position: absolute; right: -12%; top: -28%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--practice-color, var(--v4-gold)) 14%, transparent), transparent 68%); transition: background 600ms var(--ease-out); pointer-events: none; }
.practice-list--v4 { border-right: 1px solid var(--line); padding-right: 0; }
.practice-list--v4 .practice-tab { min-height: 86px; padding: 1.1rem 1.25rem 1.1rem .25rem; transition: background 300ms, padding 420ms var(--ease-out), color 300ms; }
.practice-list--v4 .practice-tab:hover,
.practice-list--v4 .practice-tab[aria-selected="true"] { padding-left: 1.15rem; background: color-mix(in srgb, var(--practice-color, var(--v4-gold)) 8%, transparent); }
.practice-panel--v4 { position: relative; display: grid; grid-template-columns: minmax(260px,.75fr) 1.25fr; min-height: 100%; border: 0; background: transparent; }
.practice-v4__visual { position: relative; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); }
.practice-v4__visual::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--practice-color, var(--v4-gold)) 36%, transparent); border-radius: 50%; animation: practice-v4-spin 24s linear infinite; }
.practice-v4__glyph { width: 82%; height: auto; fill: none; stroke: color-mix(in srgb, var(--practice-color, var(--v4-gold)) 48%, var(--line)); stroke-width: 1; opacity: .72; transition: transform 720ms var(--ease-out), stroke 420ms; transform: rotate(var(--practice-rotation, 0deg)) scale(var(--practice-scale, 1)); }
.practice-v4__glyph .glyph-accent { stroke-width: 1.4; stroke-dasharray: 9 8; }
.practice-panel__big-number { position: absolute; font-family: var(--font-display); font-size: clamp(8rem, 16vw, 17rem); line-height: .8; color: color-mix(in srgb, var(--practice-color, var(--v4-gold)) 12%, transparent); letter-spacing: -.08em; }
.practice-v4__signal { position: absolute; left: 1.2rem; bottom: 1.2rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .58rem; letter-spacing: .2em; color: var(--text-subtle); }
.practice-panel__content--v4 { align-self: center; padding: clamp(2.4rem, 5vw, 5.6rem); }
.practice-panel__content--v4 > h3 { max-width: 650px; font-size: clamp(2.5rem, 4.6vw, 5.7rem); line-height: .92; }
.practice-v4__topics-wrap { margin: 2rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.practice-v4__topics-title { display: block; margin-bottom: .9rem; font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; color: var(--v4-gold-deep); }
.practice-panel--v4 ul { columns: 2; column-gap: 2.4rem; }
.practice-panel--v4 li { break-inside: avoid; }
@keyframes practice-v4-spin { to { transform: rotate(360deg); } }

/* Decision V4 ------------------------------------------------------------ */
.decision-map--v4 { background: #ece3d4; color: #26241f; overflow: clip; }
html[data-theme="dark"] .decision-map--v4 { background: #1b1b18; color: var(--text); }
.decision-v4__grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(560px,1.25fr); gap: clamp(4rem,8vw,9rem); align-items: center; }
.decision-v4__intro { max-width: 690px; }
.decision-v4__experience { position: relative; }
.triage-network { position: relative; height: 240px; margin: 0 2rem -1.8rem; }
.triage-network svg { width: 100%; height: 100%; overflow: visible; }
.triage-network__base,
.triage-network__progress { fill: none; stroke-width: 1.5; }
.triage-network__base { stroke: rgba(61,52,39,.17); }
.triage-network__progress { stroke: var(--v4-gold); stroke-width: 2.2; stroke-dasharray: 1000; stroke-dashoffset: var(--triage-network-offset, 1000); transition: stroke-dashoffset 700ms var(--ease-out); }
.triage-network__node { position: absolute; width: 84px; display: grid; justify-items: center; gap: .4rem; font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; color: #7d7569; transition: color 350ms, transform 350ms var(--ease-out); }
.triage-network__node i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #a59c8f; background: #ece3d4; transition: .35s var(--ease-out); }
html[data-theme="dark"] .triage-network__node i { background: #1b1b18; }
.triage-network__node.is-active,
.triage-network__node.is-complete { color: var(--v4-gold-deep); transform: translateY(-3px); }
.triage-network__node.is-active i,
.triage-network__node.is-complete i { background: var(--v4-gold); border-color: var(--v4-gold); box-shadow: 0 0 0 7px rgba(184,137,63,.12); }
.triage-network__node[data-network-node="0"] { left: 1%; top: 47%; }
.triage-network__node[data-network-node="1"] { left: 31%; top: 20%; }
.triage-network__node[data-network-node="2"] { left: 61%; top: 58%; }
.triage-network__node[data-network-node="3"] { right: -1%; top: 43%; }
.triage-card--v4 { position: relative; z-index: 2; box-shadow: 0 34px 100px rgba(48,40,28,.13); border-color: rgba(74,62,43,.12); background: rgba(255,252,246,.88); backdrop-filter: blur(16px); }
html[data-theme="dark"] .triage-card--v4 { background: rgba(33,33,29,.88); }

/* Method V4 -------------------------------------------------------------- */
.method--v4 { background: var(--bg); }
.method__head--v4 { margin-bottom: 5rem; }
.method-v4__timeline { position: relative; max-width: 1280px; margin-left: auto; }
.method-v4__rail { position: absolute; left: 99px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.method-v4__rail span { position: absolute; left: -1px; top: 0; width: 3px; height: 0; background: linear-gradient(to bottom, var(--v4-gold-soft), var(--v4-gold-deep)); transition: height 80ms linear; }
.method-v4__step { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: clamp(2rem,5vw,6rem); min-height: 43vh; align-items: center; border-top: 1px solid var(--line); }
.method-v4__step:last-child { border-bottom: 1px solid var(--line); }
.method-v4__number { position: relative; z-index: 2; justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--v4-gold-deep); font-family: var(--font-mono); font-size: .72rem; }
.method-v4__step > div { display: grid; grid-template-columns: minmax(130px,.35fr) minmax(0,1fr) minmax(260px,.75fr); gap: clamp(1.2rem,3vw,4rem); align-items: baseline; }
.method-v4__tag { font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; color: var(--v4-gold-deep); }
.method-v4__step h3 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem,4.3vw,5.2rem); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.method-v4__step p { margin: 0; color: var(--text-muted); }

/* Immersive manifesto ---------------------------------------------------- */
.immersive-manifest { --manifest-progress: 0; position: relative; min-height: 260vh; background: #11120f; color: #f8f0e5; }
.immersive-manifest__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.immersive-manifest__noise { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.immersive-manifest__shell { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--header-height-scrolled) + 3.5rem); padding-bottom: 3rem; }
.immersive-manifest__words { position: relative; align-self: center; height: clamp(150px,20vw,330px); display: grid; place-items: center; }
.immersive-manifest__words span { position: absolute; font-family: var(--font-ui); font-weight: 750; font-size: clamp(4.2rem,13vw,15.5rem); letter-spacing: -.065em; line-height: .75; color: transparent; -webkit-text-stroke: 1px rgba(216,184,120,.35); opacity: 0; transform: translateY(35%) scale(.94); filter: blur(7px); transition: opacity 650ms var(--ease-out), transform 750ms var(--ease-out), filter 600ms; }
.immersive-manifest__words span.is-active { opacity: 1; transform: none; filter: blur(0); color: rgba(248,240,229,.025); }
.immersive-manifest__copy { display: grid; grid-template-columns: 1.1fr .55fr; gap: 4rem; align-items: end; border-top: 1px solid rgba(216,184,120,.19); padding-top: 1.5rem; }
.immersive-manifest__copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem,4.7vw,6rem); line-height: .94; font-weight: 400; letter-spacing: -.045em; max-width: 14ch; }
.immersive-manifest__copy p { margin: 0; color: #aaa398; max-width: 480px; }
.immersive-manifest__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: rgba(216,184,120,.12); }
.immersive-manifest__progress span { display: block; height: 100%; width: var(--manifest-progress-width, 0%); background: var(--v4-gold); }

/* Knowledge -------------------------------------------------------------- */
.knowledge-v4 { background: var(--surface-raised); }
.knowledge-v4__head { display: grid; grid-template-columns: minmax(145px,.22fr) minmax(0,1fr) minmax(260px,.45fr); gap: clamp(2rem,5vw,6rem); align-items: end; margin-bottom: 4.5rem; }
.knowledge-v4__intro { margin: 0; color: var(--text-muted); }
.knowledge-v4__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.knowledge-card { position: relative; min-height: 410px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; padding: clamp(2rem,4vw,4.2rem); cursor: pointer; overflow: hidden; display: flex; flex-direction: column; }
.knowledge-card::before { content: ""; position: absolute; inset: auto -20% -55% auto; width: 65%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(184,137,63,.18); transition: transform 700ms var(--ease-out), background 500ms; }
.knowledge-card:hover::before { transform: scale(1.35) translate(-7%,-12%); background: rgba(184,137,63,.055); }
.knowledge-card__number { font-size: .66rem; letter-spacing: .16em; color: var(--v4-gold-deep); }
.knowledge-card__category { margin-top: 1.5rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); }
.knowledge-card h3 { margin: 1.1rem 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem,3.2vw,3.7rem); line-height: .98; letter-spacing: -.035em; max-width: 16ch; }
.knowledge-card p { margin: 0; max-width: 550px; color: var(--text-muted); }
.knowledge-card__action { margin-top: auto; padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.knowledge-card__action i { font-style: normal; color: var(--v4-gold); font-size: 1.2rem; transition: transform 300ms var(--ease-out); }
.knowledge-card:hover .knowledge-card__action i { transform: translate(5px,-5px); }
.knowledge-v4__disclaimer { margin: 1.2rem 0 0 auto; max-width: 660px; color: var(--text-subtle); font-size: .72rem; }

/* Guide modal ------------------------------------------------------------ */
.guide-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity 240ms; }
.guide-modal.is-open { visibility: visible; opacity: 1; }
.guide-modal__backdrop { position: absolute; inset: 0; background: rgba(16,15,12,.68); backdrop-filter: blur(10px); }
.guide-modal__panel { position: relative; z-index: 1; width: min(820px,calc(100vw - 2rem)); max-height: min(820px,calc(100svh - 2rem)); overflow: auto; background: var(--surface-raised); box-shadow: var(--shadow-lg); padding: clamp(2rem,5vw,5rem); transform: translateY(18px) scale(.985); transition: transform 420ms var(--ease-out); }
.guide-modal.is-open .guide-modal__panel { transform: none; }
.guide-modal__close { position: absolute; top: 1rem; right: 1rem; }
.guide-content__category { color: var(--v4-gold-deep); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.guide-content h2 { margin: 1rem 0 1.5rem; font-family: var(--font-display); font-size: clamp(2.5rem,5vw,5.2rem); line-height: .94; font-weight: 400; letter-spacing: -.04em; }
.guide-content__intro { font-size: 1.1rem; color: var(--text-muted); }
.guide-content ol { margin: 2.4rem 0; padding: 0; list-style: none; counter-reset: guide; border-top: 1px solid var(--line); }
.guide-content li { counter-increment: guide; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.guide-content li::before { content: "0" counter(guide); color: var(--v4-gold-deep); font-family: var(--font-mono); font-size: .7rem; }
.guide-content__note { padding: 1.2rem; background: color-mix(in srgb,var(--v4-gold) 7%,transparent); color: var(--text-muted); font-size: .82rem; }
.guide-content__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* FAQ V4 ---------------------------------------------------------------- */
.faq--v4 { background: var(--v4-paper); }
html[data-theme="dark"] .faq--v4 { background: #181916; }
.faq__grid--v4 { grid-template-columns: .8fr 1.2fr; gap: clamp(4rem,8vw,10rem); }

/* Contact V4 ------------------------------------------------------------- */
.contact--v4 { background: #171714; color: #f7efe2; position: relative; overflow: hidden; }
.contact--v4::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 84% 18%, rgba(184,137,63,.16), transparent 31rem), linear-gradient(rgba(216,184,120,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(216,184,120,.03) 1px,transparent 1px); background-size: auto, 86px 86px,86px 86px; }
.contact-v4__grid { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(4rem,8vw,10rem); align-items: start; }
.contact-v4__intro { position: sticky; top: calc(var(--header-height-scrolled) + 3.5rem); }
.contact-v4__lead { color: #aaa398; max-width: 580px; }
.contact-v4__direct { margin-top: 3rem; display: grid; gap: .25rem; padding-top: 1.4rem; border-top: 1px solid rgba(216,184,120,.19); }
.contact-v4__direct span { color: #8e887e; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-v4__direct a { color: #f6ede0; font-family: var(--font-display); font-size: clamp(1.1rem,1.8vw,1.6rem); overflow-wrap: anywhere; }
.contact-v4__direct small { color: #8e887e; }
.progressive-contact { background: #f7f1e8; color: #22211d; padding: clamp(1.4rem,3vw,3rem); min-height: 690px; box-shadow: 0 38px 120px rgba(0,0,0,.22); }
html[data-theme="dark"] .progressive-contact { background: #242520; color: var(--text); }
.progressive-contact__progress { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(60,52,42,.12); margin-bottom: 2rem; }
.progressive-contact__progress > span { position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: .6rem; padding: 0 0 1rem; color: #999187; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.progressive-contact__progress > span::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 100%; height: 2px; background: var(--v4-gold); transition: right 500ms var(--ease-out); }
.progressive-contact__progress > span.is-active,
.progressive-contact__progress > span.is-complete { color: var(--v4-gold-deep); }
.progressive-contact__progress > span.is-active::after,
.progressive-contact__progress > span.is-complete::after { right: 0; }
.progressive-contact__progress i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; font-style: normal; }
.progressive-contact__progress b { font-weight: 600; }
.contact-form--progressive { min-height: 580px; display: grid; }
.contact-step { grid-area: 1/1; opacity: 0; visibility: hidden; transform: translateX(18px); pointer-events: none; transition: opacity 340ms var(--ease-out), transform 440ms var(--ease-out), visibility 0s 440ms; display: flex; flex-direction: column; }
.contact-step.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.contact-step__eyebrow { color: var(--v4-gold-deep); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-step > h3 { margin: .8rem 0 .6rem; font-family: var(--font-display); font-size: clamp(2.4rem,4.3vw,4.8rem); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.contact-step > p { max-width: 620px; color: #777168; }
html[data-theme="dark"] .contact-step > p { color: var(--text-muted); }
.contact-step .field:first-of-type { margin-top: 2rem; }
.contact-step > .button,
.contact-step__actions { margin-top: auto; }
.contact-step__actions { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; }
.contact-step .button--ghost { color: inherit; border-color: rgba(60,52,42,.2); }
html[data-theme="dark"] .contact-step .button--ghost { border-color: var(--line); }

/* Contact dock ----------------------------------------------------------- */
.contact-dock { position: fixed; right: clamp(1rem,2vw,2rem); bottom: clamp(1rem,2vw,2rem); z-index: 55; display: grid; justify-items: end; gap: .55rem; width: max-content; }
.contact-dock__trigger { display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .5rem .9rem; border: 1px solid rgba(184,137,63,.35); border-radius: 999px; background: rgba(247,243,236,.9); color: #2a2823; box-shadow: 0 12px 36px rgba(30,25,18,.12); backdrop-filter: blur(16px); cursor: pointer; font: inherit; font-size: .76rem; font-weight: 650; }
html[data-theme="dark"] .contact-dock__trigger { background: rgba(28,29,26,.9); color: #eee6da; }
.contact-dock__trigger svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.contact-dock__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--v4-gold); box-shadow: 0 0 0 0 rgba(184,137,63,.35); animation: dock-pulse 2.2s infinite; }
@keyframes dock-pulse { 70% { box-shadow: 0 0 0 9px rgba(184,137,63,0); } 100% { box-shadow: 0 0 0 0 rgba(184,137,63,0); } }
.contact-dock__panel { position: absolute; right: 0; bottom: calc(100% + .55rem); width: min(360px,calc(100vw - 2rem)); background: var(--surface-raised); color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: .8rem; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: right bottom; transition: .35s var(--ease-out); }
.contact-dock__panel.is-open { opacity: 1; visibility: visible; transform: none; }
.contact-dock__label { display: block; padding: .55rem .7rem; color: var(--text-subtle); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.contact-dock__panel a { display: grid; padding: .85rem .7rem; border-top: 1px solid var(--line); }
.contact-dock__panel a strong { font-size: .84rem; }
.contact-dock__panel a span { margin-top: .12rem; color: var(--text-muted); font-size: .72rem; overflow-wrap: anywhere; }

/* Atmosphere transitions ------------------------------------------------ */
[data-v4-atmosphere] { transition: background-color 700ms var(--ease-out); }

/* Responsive V4 ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-v4__shell { grid-template-columns: 1fr .48fr; }
  .hero-v4__portrait-wrap { width: 52vw; }
  .hero-v4__microfacts { width: 100%; }
  .authority-v4__grid { grid-template-columns: .45fr 1.3fr .75fr; }
  .practice-v4 { grid-template-columns: .65fr 1.35fr; }
  .practice-panel--v4 { grid-template-columns: .62fr 1.38fr; }
  .decision-v4__grid { grid-template-columns: 1fr; }
  .decision-v4__intro { max-width: 900px; }
  .decision-v4__experience { width: min(880px,100%); margin-left: auto; }
  .method-v4__step > div { grid-template-columns: 120px 1fr; }
  .method-v4__step p { grid-column: 2; }
  .knowledge-v4__head { grid-template-columns: 150px 1fr; }
  .knowledge-v4__intro { grid-column: 2; }
}

@media (max-width: 900px) {
  .hero-v4 { min-height: 960px; align-items: stretch; }
  .hero-v4__shell { min-height: 960px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-height) + 3rem); }
  .hero-v4__portrait-layer { align-items: flex-start; justify-content: flex-end; }
  .hero-v4__portrait-wrap { width: 68vw; height: 59%; opacity: .86; }
  .hero-v4__portrait-wrap::before { background: linear-gradient(90deg,var(--bg),transparent 25%),linear-gradient(to top,var(--bg),transparent 45%); }
  .hero-v4__portrait-frame { inset: 5.5rem 2.2rem 3rem; }
  .hero-v4__portrait-caption { right: 2rem; bottom: 1.4rem; }
  .hero-v4__signature { width: 58vw; left: 42%; top: 12%; }
  .hero-v4__copy { margin-top: auto; padding-bottom: 8rem; }
  .hero-v4__title { font-size: clamp(4rem,12.4vw,7.5rem); }
  .hero-v4__lead { max-width: 650px; }
  .hero-v4__microfacts { display: none; }
  .opening-manifest__grid,
  .stephanie-story__head,
  .knowledge-v4__head { grid-template-columns: 1fr; }
  .opening-manifest__footer { grid-template-columns: 1fr; }
  .opening-manifest__seal { text-align: left; }
  .authority-v4 { min-height: 150vh; }
  .authority-v4__grid { grid-template-columns: 1fr; text-align: center; }
  .authority-v4__side { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
  .authority-v4__number-wrap { min-height: 330px; }
  .authority-v4__number { font-size: clamp(10rem,45vw,22rem); }
  .authority-v4__copy { justify-self: center; align-self: auto; padding-bottom: 0; }
  .stephanie-story__stage { grid-template-columns: 1fr; }
  .stephanie-story__portrait-col { position: relative; top: auto; min-height: 0; }
  .story-portrait { width: min(580px,100%); }
  .story-chapter { min-height: auto; padding: 4rem 0; }
  .practice-v4 { grid-template-columns: 1fr; }
  .practice-list--v4 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-list--v4 .practice-tab { border-right: 1px solid var(--line); }
  .practice-panel--v4 { grid-template-columns: .6fr 1.4fr; min-height: 620px; }
  .triage-network { margin-inline: 0; }
  .method-v4__step { grid-template-columns: 72px 1fr; gap: 1.5rem; }
  .method-v4__rail { left: 35px; }
  .method-v4__step > div { grid-template-columns: 1fr; gap: .7rem; }
  .method-v4__step p { grid-column: 1; }
  .immersive-manifest__copy { grid-template-columns: 1fr; gap: 1.2rem; }
  .knowledge-v4__head,
  .knowledge-v4__intro { grid-column: auto; }
  .faq__grid--v4 { grid-template-columns: 1fr; }
  .contact-v4__grid { grid-template-columns: 1fr; }
  .contact-v4__intro { position: relative; top: auto; }
}

@media (max-width: 640px) {
  .hero-v4 { min-height: 880px; }
  .hero-v4__shell { min-height: 880px; padding-bottom: 1.4rem; }
  .hero-v4__portrait-wrap { width: 82vw; height: 54%; opacity: .72; }
  .hero-v4__portrait-frame { inset: 4.4rem 1rem 1.5rem; }
  .hero-v4__portrait-caption { display: none; }
  .hero-v4__signature { width: 78vw; left: 21%; top: 13%; opacity: .25; }
  .hero-v4__kicker { font-size: .57rem; letter-spacing: .16em; }
  .hero-v4__copy { padding-bottom: 4.5rem; }
  .hero-v4__title { font-size: clamp(3.7rem,16vw,5.4rem); line-height: .87; }
  .hero-v4__lead { width: 100%; font-size: .97rem; line-height: 1.65; }
  .hero-v4__actions { display: grid; grid-template-columns: 1fr; }
  .hero-v4__actions .button { width: 100%; justify-content: center; }
  .hero-v4__scroll { display: none; }
  .opening-manifest { min-height: auto; }
  .opening-manifest__title { font-size: clamp(3.2rem,14vw,5.2rem); }
  .authority-v4__side { grid-template-columns: 1fr; gap: 1.5rem; }
  .authority-v4__side > p { max-width: none; }
  .authority-v4__number-wrap { min-height: 270px; }
  .authority-v4__copy h2 { font-size: 2.3rem; }
  .stephanie-story__head { margin-bottom: 2.5rem; }
  .story-portrait { aspect-ratio: 4/5.4; }
  .story-portrait__frame { inset: .9rem; }
  .story-portrait figcaption { left: 1.4rem; bottom: 1.3rem; }
  .story-chapter { padding: 3rem 0; }
  .story-chapter h3 { font-size: 3.6rem; }
  .practice-v4 { min-height: 0; }
  .practice-list--v4 { grid-template-columns: 1fr; }
  .practice-panel--v4 { grid-template-columns: 1fr; min-height: 0; }
  .practice-v4__visual { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-panel__content--v4 { padding: 2rem 1.25rem 2.5rem; }
  .practice-panel--v4 ul { columns: 1; }
  .decision-v4__experience { width: 100%; }
  .triage-network { height: 170px; margin-bottom: -1.2rem; }
  .triage-network__node { width: 66px; font-size: .52rem; }
  .triage-network__node b { display: none; }
  .method-v4__step { min-height: auto; padding: 3.2rem 0; grid-template-columns: 48px 1fr; }
  .method-v4__rail { left: 23px; }
  .method-v4__number { width: 38px; height: 38px; }
  .method-v4__step h3 { font-size: 2.8rem; }
  .immersive-manifest__shell { padding-top: calc(var(--header-height-scrolled) + 2rem); }
  .immersive-manifest__words { height: 120px; }
  .immersive-manifest__words span { font-size: clamp(3.2rem,14vw,5rem); -webkit-text-stroke-width: .7px; }
  .immersive-manifest__copy h2 { font-size: 2.6rem; }
  .knowledge-v4__grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 350px; }
  .progressive-contact { padding: 1.2rem; min-height: 640px; }
  .progressive-contact__progress > span { grid-template-columns: 28px 1fr; }
  .progressive-contact__progress b { display: none; }
  .contact-step > h3 { font-size: 2.8rem; }
  .contact-step__actions { display: grid; grid-template-columns: .72fr 1.28fr; }
  .contact-dock { right: .75rem; bottom: .75rem; }
  .contact-dock__trigger { min-height: 44px; }
}

/* Reduced motion V4 ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hero-v4__signature-path,
  .hero-v4__scroll b,
  .contact-dock__pulse,
  .practice-v4__visual::before { animation: none; }
  .hero-v4__signature-path { stroke-dashoffset: 0; }
  .hero-line i { transform: none; animation: none; }
  .hero-v4__portrait-wrap,
  .authority-v4__number,
  .authority-v4__orbit,
  .story-portrait img,
  .practice-v4__glyph { transform: none; transition: none; }
  .immersive-manifest__words span { filter: none; transition: none; }
}

@media (forced-colors: active) {
  .hero-v4__signature,
  .hero-v4__atmosphere,
  .authority-v4__glow,
  .immersive-manifest__noise { display: none; }
  .knowledge-card,
  .progressive-contact,
  .contact-dock__panel { border: 1px solid CanvasText; }
}

/* Header adaptation over dark V4 chapters */
.site-header.is-over-dark-v4:not(.is-scrolled) .desktop-nav > a,
.site-header.is-over-dark-v4:not(.is-scrolled) .nav-trigger,
.site-header.is-over-dark-v4:not(.is-scrolled) .icon-button {
  color: #f4ecdf;
}
.site-header.is-over-dark-v4:not(.is-scrolled) .brand__logo {
  filter: brightness(1.08) saturate(.85);
}

/* Optional testimonial module: hidden until content is approved */
.client-voices-v4 { background: var(--bg); }
.client-voices-v4__head { display: grid; grid-template-columns: minmax(145px,.22fr) 1fr; gap: clamp(2rem,6vw,7rem); margin-bottom: 4rem; }
.client-voices-v4__stage { display: grid; grid-template-columns: minmax(220px,.35fr) 1fr; gap: clamp(2rem,5vw,6rem); padding: clamp(2rem,5vw,5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-voice__counter { font-family: var(--font-display); font-size: clamp(5rem,10vw,10rem); line-height: .8; color: color-mix(in srgb,var(--v4-gold) 28%,transparent); }
.client-voice blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(2rem,4vw,4.7rem); line-height: 1.02; font-weight: 400; }
.client-voice footer { margin-top: 2rem; color: var(--text-muted); font-size: .8rem; }
.client-voices-v4__note { color: var(--text-subtle); font-size: .7rem; margin-top: 1rem; }
@media (max-width: 760px) { .client-voices-v4__head,.client-voices-v4__stage { grid-template-columns: 1fr; } }

/* ========================================================================== 
   V5 — IMMERSIVE / STABLE MOTION / INTELLIGENCE EXPERIENCE
   Correções de legibilidade, motor de animação por progresso contínuo e
   experiências exclusivas por seção.
   ========================================================================== */

html.v5-ready[data-theme="light"] {
  --text-muted: #5d5a53;
  --text-subtle: #77736b;
  --line: rgba(28, 25, 20, 0.145);
  --line-strong: rgba(28, 25, 20, 0.26);
}

html.v5-ready[data-theme="dark"] {
  --text-muted: #c6beb1;
  --text-subtle: #a29b90;
}

html.v5-ready .reveal-item,
html.v5-ready .reveal-title {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: 0ms !important;
}

html.v5-ready body {
  overflow-x: clip;
}

/* --------------------------- HERO · assinatura --------------------------- */
.hero-v5 {
  --hero-pointer-x: 72%;
  --hero-pointer-y: 30%;
  --hero-copy-y: 0px;
  --hero-photo-y: 0px;
  --hero-photo-scale: 1;
  --hero-edge-x: 0vw;
}

.hero-v5 .hero-v4__signature-path {
  animation: none;
}

.hero-v5 .hero-v4__copy {
  transform: translate3d(0, var(--hero-copy-y), 0);
  will-change: transform;
}

.hero-v5 .hero-v4__portrait-wrap {
  clip-path: inset(0 0 0 100%);
  transform: translate3d(var(--hero-mouse-shift-x, 0px), calc(var(--hero-mouse-shift-y, 0px) + var(--hero-photo-y)), 0) scale(var(--hero-photo-scale));
  animation: hero-v5-photo-enter 1.25s cubic-bezier(.16,1,.3,1) forwards .18s;
}

@keyframes hero-v5-photo-enter {
  0% { clip-path: inset(0 0 0 100%); filter: blur(5px); }
  100% { clip-path: inset(0 0 0 0%); filter: blur(0); }
}

.hero-v5__pointer-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 32rem at var(--hero-pointer-x) var(--hero-pointer-y), rgba(196,150,77,.16), transparent 66%);
  mix-blend-mode: multiply;
  opacity: .72;
  pointer-events: none;
}

.hero-v5__edge-word {
  position: absolute;
  right: -1.2vw;
  bottom: 4vh;
  font-family: var(--font-ui);
  font-size: clamp(4rem, 10vw, 11rem);
  font-weight: 750;
  line-height: .8;
  letter-spacing: -.055em;
  writing-mode: vertical-rl;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142,100,39,.2);
  transform: translateX(var(--hero-edge-x));
  opacity: calc(.35 - var(--hero-progress) * .25);
}

.hero-v5__portrait-scan {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: -20%;
  height: 16%;
  background: linear-gradient(180deg, transparent, rgba(244,216,164,.18), transparent);
  transform: translateY(calc(var(--hero-progress) * 760%));
  opacity: .75;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-v5 .hero-line:nth-child(1) i { animation-duration: 1.05s; animation-delay: .25s; }
.hero-v5 .hero-line:nth-child(2) i { animation-duration: 1.35s; animation-delay: .48s; }
.hero-v5 .hero-v4__lead { color: #514e48; font-size: clamp(1.03rem, 1.3vw, 1.22rem); max-width: 660px; }
.hero-v5 .hero-v4__microfacts span { background: rgba(18,17,13,.76); border-color: rgba(216,184,120,.34); }
.hero-v5 .hero-v4__scroll { color: #3f3c36; }

/* ----------------------- OPENING · tinta / linha viva -------------------- */
.opening-manifest--v5 {
  --opening-progress: 0;
  overflow: clip;
  position: relative;
}

.opening-manifest--v5::before {
  content: "";
  position: absolute;
  width: min(44vw, 680px);
  aspect-ratio: 1;
  right: -15vw;
  top: 12%;
  border: 1px solid rgba(184,137,63,.14);
  border-radius: 50%;
  transform: scale(calc(.72 + var(--opening-progress) * .38)) rotate(calc(var(--opening-progress) * 38deg));
  opacity: calc(.2 + var(--opening-progress) * .5);
}

.opening-manifest--v5 .opening-manifest__title span {
  opacity: calc(.2 + var(--line-progress, 0) * .8);
  transform: translateX(calc((1 - var(--line-progress, 0)) * 42px));
  background-image: linear-gradient(90deg, var(--text-strong) 0%, var(--text-strong) calc(var(--line-progress,0) * 100%), rgba(20,19,15,.16) calc(var(--line-progress,0) * 100%));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: none;
}

.opening-manifest--v5 .opening-manifest__title span::after {
  width: calc(var(--line-progress, 0) * 58%);
  transition: none;
}

.opening-manifest--v5 .opening-manifest__footer > p {
  color: #56534d;
}

/* ------------------------ TRUST · cartas em leque ------------------------ */
.trust-v5 {
  --trust-progress: 0;
  position: relative;
  background: #eee5d8;
  overflow: clip;
}

.trust-v5::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(122,84,31,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(122,84,31,.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.trust-v5__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px,.22fr) minmax(0,1fr) minmax(260px,.46fr);
  gap: clamp(2rem,5vw,6rem);
  align-items: end;
  margin-bottom: clamp(4rem,7vw,8rem);
}

.trust-v5__head > div:nth-child(2) { max-width: 980px; }
.trust-v5__intro { margin: 0; color: #59564f; font-size: 1rem; line-height: 1.75; }

.trust-v5__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  min-height: 580px;
  perspective: 1200px;
}

.trust-card {
  --card-progress: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  z-index: 1;
  min-height: 510px;
  padding: clamp(1.8rem,3vw,3rem);
  border: 1px solid rgba(58,50,39,.18);
  border-right: 0;
  background:
    radial-gradient(circle 18rem at var(--spot-x) var(--spot-y), rgba(184,137,63,.12), transparent 65%),
    rgba(250,246,239,.86);
  display: flex;
  flex-direction: column;
  transform:
    translateY(calc((1 - var(--card-progress)) * 96px))
    rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    scale(calc(.94 + var(--card-progress) * .06));
  opacity: calc(.12 + var(--card-progress) * .88);
  transform-origin: center bottom;
  will-change: transform;
  transition: border-color .3s, box-shadow .35s;
}

.trust-card:last-child { border-right: 1px solid rgba(58,50,39,.18); }
.trust-card:nth-child(1) { transform-origin: 100% 100%; }
.trust-card:nth-child(2) { transform-origin: 65% 100%; }
.trust-card:nth-child(3) { transform-origin: 35% 100%; }
.trust-card:nth-child(4) { transform-origin: 0 100%; }
.trust-card:hover,
.trust-card:focus-visible { border-color: rgba(142,100,39,.48); box-shadow: 0 28px 70px rgba(66,51,31,.12); z-index: 3; }
.trust-card__number { font: 600 .68rem/1 var(--font-mono); letter-spacing: .15em; color: #7d571e; }
.trust-card__signal { width: 42px; height: 42px; margin: auto 0 2rem; border: 1px solid rgba(142,100,39,.35); border-radius: 50%; position: relative; }
.trust-card__signal::before,
.trust-card__signal::after { content:""; position:absolute; background:#9b6e2d; }
.trust-card--clarity .trust-card__signal::before { width: 1px; top: 6px; bottom: 6px; left: 50%; }
.trust-card--clarity .trust-card__signal::after { height: 1px; left: 6px; right: 6px; top: 50%; }
.trust-card--individual .trust-card__signal::before { inset: 9px; border: 1px solid #9b6e2d; border-radius: 50%; background: transparent; }
.trust-card--individual .trust-card__signal::after { width: 5px; height: 5px; border-radius: 50%; left: 18px; top: 18px; }
.trust-card--preventive .trust-card__signal::before { width: 18px; height: 18px; border: 1px solid #9b6e2d; background: transparent; transform: rotate(45deg); left: 11px; top: 11px; }
.trust-card--preventive .trust-card__signal::after { width: 1px; height: 36px; left: 20px; top: 2px; transform: rotate(45deg); }
.trust-card--responsible .trust-card__signal::before { width: 24px; height: 1px; left: 8px; top: 20px; transform: rotate(-35deg); }
.trust-card--responsible .trust-card__signal::after { width: 8px; height: 8px; border: 1px solid #9b6e2d; background: #f5eee3; border-radius: 50%; left: 16px; top: 16px; }
.trust-card h3 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(2rem,2.8vw,3.4rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.trust-card p { margin: 0; color: #5d5850; line-height: 1.72; }
.trust-v5__rail { height: 2px; background: rgba(142,100,39,.15); margin-top: 2rem; overflow: hidden; }
.trust-v5__rail span { display:block; width: calc(var(--trust-progress) * 100%); height:100%; background: linear-gradient(90deg,#8e6427,#d8b878); }

/* ------------------------- AUTHORITY · odômetro -------------------------- */
.authority-v5 { min-height: 185vh; }
.authority-v5 .authority-v4__side { color: #c1b9ad; }
.authority-v5 .authority-v4__copy p { color: #c0b8ab; font-size: .82rem; }
.authority-v5__number { display: inline-flex; align-items: baseline; gap: .012em; }
.authority-v5__number [data-odometer-digit] { display:inline-block; min-width:.5em; text-align:center; }
.authority-v5__number b { font-size: .26em; color: #d8b878; margin-left: .08em; letter-spacing:0; }
.authority-v5__scan { position:absolute; z-index:4; left:0; right:0; top:50%; height:1px; background:linear-gradient(90deg,transparent,#d8b878,transparent); transform: translateX(var(--authority-scan-x,-120%)); box-shadow:0 0 24px rgba(216,184,120,.35); }
.authority-v5__ticks { position:absolute; width:86%; aspect-ratio:1; border-radius:50%; background:repeating-conic-gradient(from 0deg,rgba(216,184,120,.38) 0 .35deg,transparent .35deg 8deg); mask:radial-gradient(circle,transparent 66%,#000 66.4% 67%,transparent 67.4%); transform:rotate(calc(var(--authority-rotation,0deg) * -.45)); opacity:.6; }

/* ---------------------- STORY · progresso contínuo ----------------------- */
.stephanie-story--v5 .stephanie-story__chapters { position: relative; padding-left: 2.5rem; }
.story-v5__progress { position:absolute; left:0; top:0; bottom:9vh; width:2px; background:rgba(94,81,59,.14); }
.story-v5__progress span { display:block; width:100%; height:0; background:linear-gradient(#d8b878,#8e6427); box-shadow:0 0 12px rgba(184,137,63,.2); }
.stephanie-story--v5 .story-chapter { opacity: calc(.24 + (1 / (1 + var(--story-distance,3))) * .18); transform:translateX(calc(var(--story-distance,2) * 9px)); }
.stephanie-story--v5 .story-chapter.is-active { opacity:1; transform:none; }
.stephanie-story--v5 .story-chapter.is-active h3 { color:#181611; }
.stephanie-story--v5 .story-chapter p { color:#55514a; }
.story-portrait::before { content:""; position:absolute; z-index:2; inset:0; background:radial-gradient(circle 16rem at var(--story-light-x,30%) 32%,rgba(235,203,147,.18),transparent 68%); mix-blend-mode:screen; pointer-events:none; }

/* ------------------------- AUDIENCE · órbitas ---------------------------- */
.audience-v5 {
  --audience-progress:0;
  position:relative;
  background:#24231f;
  color:#f6efe5;
  overflow:clip;
}
.audience-v5::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 76% 42%,rgba(184,137,63,.13),transparent 32rem); }
.audience-v5__grid { position:relative; display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(4rem,8vw,10rem); align-items:center; }
.audience-v5 .section-marker,.audience-v5 .eyebrow { color:#d7cbb9; }
.audience-v5 .display-title { color:#fff8ed; }
.audience-v5__intro > p:last-of-type { color:#c6beb1; max-width:620px; }
.audience-v5__controls { margin-top:3rem; border-top:1px solid rgba(216,184,120,.18); }
.audience-v5__controls button { width:100%; display:grid; grid-template-columns:54px 1fr auto; align-items:center; min-height:66px; border:0; border-bottom:1px solid rgba(216,184,120,.18); background:transparent; color:#bcb4a8; font:inherit; text-align:left; cursor:pointer; transition:color .28s,padding .4s var(--ease-out),background .28s; }
.audience-v5__controls button::after { content:"↗"; color:#d8b878; opacity:0; transform:translate(-7px,7px); transition:.3s; }
.audience-v5__controls button span { font:600 .64rem/1 var(--font-mono); color:#b8893f; }
.audience-v5__controls button[aria-selected="true"] { color:#fff8ed; padding-left:1rem; background:rgba(216,184,120,.055); }
.audience-v5__controls button[aria-selected="true"]::after { opacity:1; transform:none; }
.audience-v5__visual { position:relative; min-height:720px; display:grid; place-items:center; }
.audience-orbit { position:absolute; width:min(80%,620px); aspect-ratio:1; display:grid; place-items:center; transform:scale(calc(.82 + var(--audience-progress)*.18)) rotate(calc((1 - var(--audience-progress))*-12deg)); }
.audience-orbit__ring { position:absolute; border:1px solid rgba(216,184,120,.2); border-radius:50%; }
.audience-orbit__ring--1 { inset:9%; animation:audience-spin 26s linear infinite; }
.audience-orbit__ring--2 { inset:25%; border-style:dashed; animation:audience-spin 19s linear reverse infinite; }
.audience-orbit__ring--3 { inset:40%; border-color:rgba(216,184,120,.34); }
@keyframes audience-spin { to { transform:rotate(360deg); } }
.audience-orbit__core { display:grid; place-items:center; width:86px; height:86px; border-radius:50%; background:#171714; border:1px solid rgba(216,184,120,.42); font-family:var(--font-display); font-size:2.3rem; color:#d8b878; box-shadow:0 0 70px rgba(184,137,63,.1); }
.audience-orbit > i { position:absolute; width:15px; height:15px; border:1px solid rgba(216,184,120,.6); border-radius:50%; background:#24231f; transition:transform .45s var(--ease-out),background .35s,box-shadow .35s; }
.audience-orbit > i:nth-of-type(1){left:9%;top:47%}.audience-orbit > i:nth-of-type(2){right:16%;top:17%}.audience-orbit > i:nth-of-type(3){right:8%;bottom:25%}.audience-orbit > i:nth-of-type(4){left:25%;bottom:8%}
.audience-orbit > i.is-active { background:#d8b878; transform:scale(1.75); box-shadow:0 0 0 10px rgba(216,184,120,.08),0 0 30px rgba(216,184,120,.25); }
.audience-v5__content { position:relative; z-index:3; width:min(520px,80%); margin:0 auto; padding:clamp(2rem,4vw,3.5rem); background:rgba(23,23,20,.78); border:1px solid rgba(216,184,120,.22); backdrop-filter:blur(18px); }
.audience-v5__kicker { display:block; color:#d8b878; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; }
.audience-v5__content h3 { margin:1rem 0; font-family:var(--font-display); font-size:clamp(2.5rem,4vw,4.9rem); line-height:.94; font-weight:400; letter-spacing:-.04em; }
.audience-v5__content p { color:#c8c0b4; line-height:1.72; }
.audience-v5__chips { display:flex; flex-wrap:wrap; gap:.45rem; margin:1.5rem 0 2rem; }
.audience-v5__chips span { padding:.48rem .62rem; border:1px solid rgba(216,184,120,.18); color:#ddd4c7; font-size:.69rem; }
.audience-v5 .text-link { color:#f6efe4; }

/* ----------------------- PRACTICES · glyph por área ---------------------- */
.practice-explorer--v5 { --areas-progress:0; }
.practice-explorer--v5 .practice-v4::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent 0 49.9%,rgba(142,100,39,.08) 50%,transparent 50.1%); transform:scaleY(var(--areas-progress)); transform-origin:top; }
.practice-v5__glyph { overflow:visible; }
.practice-v5__glyph * { fill:none; stroke:color-mix(in srgb,var(--practice-color,var(--v4-gold)) 62%,#5a5041); stroke-width:1.2; vector-effect:non-scaling-stroke; }
.practice-v5__glyph .g-main { stroke-width:1.65; }
.practice-v5__glyph .g-soft { stroke-dasharray:5 7; opacity:.75; }
.practice-v5__glyph .g-ring { opacity:.58; }
.practice-explorer--v5 .practice-panel__content--v4 p { color:#58554f; }
.practice-explorer--v5 .practice-panel__big-number { color:color-mix(in srgb,var(--practice-color,var(--v4-gold)) 20%,transparent); }

/* ----------------------------- AI LAB ----------------------------------- */
.ai-lab-v5 {
  --ai-progress:0;
  position:relative;
  background:#121310;
  color:#f8f0e5;
  overflow:hidden;
  isolation:isolate;
}
.ai-lab-v5::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 18% 18%,rgba(184,137,63,.11),transparent 28rem),radial-gradient(circle at 88% 70%,rgba(216,184,120,.08),transparent 34rem); z-index:-1; }
.ai-lab-v5__canvas { position:absolute; inset:0; width:100%; height:100%; opacity:calc(.35 + var(--ai-progress)*.35); z-index:-1; }
.ai-lab-v5__shell { position:relative; }
.ai-lab-v5__head { display:grid; grid-template-columns:minmax(140px,.22fr) 1fr minmax(260px,.42fr); gap:clamp(2rem,5vw,6rem); align-items:end; margin-bottom:clamp(4rem,7vw,7rem); }
.ai-lab-v5__head .display-title { color:#fff8ed; }
.ai-lab-v5__privacy { align-self:end; padding:1.1rem 1.2rem; border:1px solid rgba(216,184,120,.2); background:rgba(255,255,255,.025); }
.ai-lab-v5__privacy strong { font-size:.76rem; color:#eee3d4; }
.ai-lab-v5__privacy p { margin:.4rem 0 0; color:#bcb4a8; font-size:.74rem; line-height:1.55; }
.ai-lab-v5__status-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#d8b878; margin-right:.4rem; box-shadow:0 0 0 0 rgba(216,184,120,.25); animation:ai-status 2.2s infinite; }
@keyframes ai-status { 70% { box-shadow:0 0 0 8px rgba(216,184,120,0); } }
.ai-lab-v5__modules { display:grid; grid-template-columns:1.08fr .92fr; border:1px solid rgba(216,184,120,.2); }
.ai-module { position:relative; padding:clamp(2rem,4vw,4rem); background:rgba(18,19,16,.76); backdrop-filter:blur(12px); min-height:700px; display:flex; flex-direction:column; }
.ai-module + .ai-module { border-left:1px solid rgba(216,184,120,.2); }
.ai-module--context::before { content:""; position:absolute; left:0; top:0; right:0; height:2px; background:linear-gradient(90deg,#8e6427,#d8b878,transparent); transform:scaleX(var(--ai-progress)); transform-origin:left; }
.ai-module--site::before { content:""; position:absolute; width:190px; height:190px; right:-50px; top:-60px; border:1px solid rgba(216,184,120,.16); border-radius:50%; transform:rotate(calc(var(--ai-progress)*120deg)) scale(calc(.8 + var(--ai-progress)*.25)); }
.ai-module__top { display:flex; justify-content:space-between; gap:1rem; color:#d8b878; font:600 .66rem/1 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; }
.ai-badge { padding:.36rem .48rem; border:1px solid rgba(216,184,120,.26); color:#cbb792; }
.ai-module h3 { margin:2rem 0 .8rem; font-family:var(--font-display); font-size:clamp(2.3rem,3.5vw,4.5rem); line-height:.95; font-weight:400; letter-spacing:-.04em; }
.ai-module > p { color:#c2baad; max-width:660px; line-height:1.68; }
.ai-input-shell { display:block; position:relative; margin-top:1.7rem; border:1px solid rgba(216,184,120,.24); background:rgba(255,255,255,.035); transition:border-color .25s,box-shadow .25s; }
.ai-input-shell:focus-within { border-color:rgba(216,184,120,.65); box-shadow:0 0 0 3px rgba(216,184,120,.06); }
.ai-input-shell textarea { width:100%; min-height:170px; resize:vertical; border:0; outline:0; background:transparent; color:#f5ecdf; padding:1.3rem 1.3rem 2.4rem; font:inherit; line-height:1.65; }
.ai-input-shell textarea::placeholder,.site-ai-form input::placeholder { color:#7e786e; }
.ai-input-shell__count { position:absolute; right:1rem; bottom:.8rem; color:#8e887e; font-size:.66rem; }
.ai-module__samples { display:flex; flex-wrap:wrap; gap:.4rem; margin:1rem 0 1.4rem; }
.ai-module__samples button { border:1px solid rgba(216,184,120,.16); background:transparent; color:#bfb7aa; padding:.48rem .65rem; cursor:pointer; font:inherit; font-size:.68rem; transition:.25s; }
.ai-module__samples button:hover,.ai-module__samples button:focus-visible { color:#fff5e7; border-color:rgba(216,184,120,.48); background:rgba(216,184,120,.055); }
.button--ai { margin-top:auto; align-self:flex-start; min-height:52px; padding:0 1.15rem; border:1px solid #c29a59; background:#c29a59; color:#15130f; display:inline-flex; align-items:center; gap:1rem; font:inherit; font-size:.76rem; font-weight:700; cursor:pointer; }
.button--ai svg { width:18px; fill:none; stroke:currentColor; stroke-width:1.6; }
.button--ai.is-loading { opacity:.72; pointer-events:none; }
.ai-context-result:not(:empty) { margin-top:1.7rem; border-top:1px solid rgba(216,184,120,.18); padding-top:1.5rem; }
.ai-context-result__header { display:grid; gap:.45rem; }
.ai-context-result__header span,.ai-result-label { color:#bda77f; font-size:.64rem; letter-spacing:.14em; text-transform:uppercase; }
.ai-context-result__header strong { font-family:var(--font-display); font-size:clamp(1.6rem,2.6vw,2.8rem); font-weight:400; color:#fff6e9; }
.ai-context-result__matches { display:grid; gap:.65rem; margin:1.4rem 0; }
.ai-area-match { padding:.8rem 0; border-bottom:1px solid rgba(216,184,120,.12); }
.ai-area-match > div { display:grid; grid-template-columns:36px 1fr; align-items:center; gap:.7rem; }
.ai-area-match > div span { color:#8f887d; font:600 .62rem/1 var(--font-mono); }
.ai-area-match strong { color:#d9d0c4; font-size:.8rem; }
.ai-area-match.is-primary strong { color:#fff5e7; }
.ai-area-match > i { display:block; height:2px; margin:.55rem 0 .35rem 36px; background:rgba(216,184,120,.1); }
.ai-area-match > i b { display:block; height:100%; background:linear-gradient(90deg,#8e6427,#d8b878); }
.ai-area-match small { display:block; margin-left:36px; color:#90897f; font-size:.64rem; }
.ai-context-result__grid { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; margin-top:1.3rem; }
.ai-context-result__grid > div { padding:1rem; background:rgba(255,255,255,.025); border:1px solid rgba(216,184,120,.1); }
.ai-context-result__grid ul { margin:.8rem 0 0; padding-left:1.1rem; color:#c5bdb0; font-size:.76rem; line-height:1.7; }
.ai-result-note { color:#928a7f; font-size:.69rem; line-height:1.55; }
.ai-context-result__actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
.ai-result-state--error { padding:1rem; border:1px solid rgba(196,127,91,.3); color:#e3c8b9; }
.ai-thinking { display:flex; align-items:center; gap:.7rem; color:#bcb4a7; font-size:.75rem; }
.ai-thinking i { width:14px; height:14px; border:1px solid rgba(216,184,120,.25); border-top-color:#d8b878; border-radius:50%; animation:ai-think .75s linear infinite; }
@keyframes ai-think { to { transform:rotate(360deg); } }
.site-ai-form { display:grid; grid-template-columns:1fr 52px; border:1px solid rgba(216,184,120,.25); margin-top:1.7rem; }
.site-ai-form input { min-width:0; border:0; background:rgba(255,255,255,.025); color:#f7efe2; outline:0; padding:1rem 1.1rem; font:inherit; }
.site-ai-form button { border:0; border-left:1px solid rgba(216,184,120,.25); background:#b8893f; color:#17140f; cursor:pointer; }
.site-ai-form svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.6; }
.site-ai-answer { flex:1; margin-top:1rem; padding:1.3rem; background:rgba(255,255,255,.026); border:1px solid rgba(216,184,120,.12); min-height:180px; }
.site-ai-answer__idle { color:#817b72; font-size:.78rem; }
.site-ai-answer__message { display:grid; grid-template-columns:58px 1fr; gap:1rem; }
.site-ai-answer__mark { color:#d8b878; font:600 .62rem/1 var(--font-mono); letter-spacing:.12em; padding-top:.35rem; }
.site-ai-answer__message p { margin:0; color:#d1c8bc; line-height:1.72; }
.site-ai-answer__sources { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1.3rem; padding-top:1rem; border-top:1px solid rgba(216,184,120,.12); color:#8c857b; font-size:.64rem; }
.site-ai-answer__sources b { color:#cdb993; font-weight:600; }
.site-ai-answer__related { margin-top:.6rem; color:#8d867b; font-size:.64rem; }
.ai-lab-v5__disclaimer { margin:1rem 0 0 auto; max-width:780px; color:#8f887e; font-size:.68rem; text-align:right; line-height:1.55; }

/* ----------------------- TRIAGE · caminho sem travar --------------------- */
.decision-map--v5 { --triage-section-progress:0; }
.decision-map--v5::after { content:""; position:absolute; width:38vw; aspect-ratio:1; left:-18vw; bottom:-14vw; border:1px solid rgba(142,100,39,.13); border-radius:50%; transform:scale(calc(.7 + var(--triage-section-progress)*.4)); }
.decision-map--v5 .triage-network__progress { transition:stroke-dashoffset .45s cubic-bezier(.16,1,.3,1); }
.decision-map--v5 .triage-card--v4 { box-shadow:0 32px 90px rgba(66,50,30,.13); }
.decision-map--v5 .triage-question p,.decision-map--v5 .triage-result p { color:#5a554d; }

/* ------------------------ METHOD · passos energizados -------------------- */
.method--v5 .method-v4__rail span { transition:none; box-shadow:0 0 16px rgba(184,137,63,.24); }
.method--v5 .method-v4__step { --method-local:0; opacity:calc(.5 + var(--method-local)*.5); }
.method--v5 .method-v4__number { transform:scale(calc(.9 + var(--method-local)*.14)); transition:background .35s,border-color .35s,color .35s,box-shadow .35s; }
.method--v5 .method-v4__step.is-passed .method-v4__number { background:#9d702e; border-color:#9d702e; color:#fff8ec; box-shadow:0 0 0 8px rgba(184,137,63,.08); }
.method--v5 .method-v4__step h3 { transform:translateX(calc((1 - var(--method-local))*18px)); }
.method--v5 .method-v4__step p { color:#56534c; }

/* ---------------- MANIFESTO · animação exclusiva por palavra ------------- */
.immersive-manifest--v5 .immersive-manifest__words span { color:rgba(248,240,229,.07); -webkit-text-stroke:1px rgba(216,184,120,.62); opacity:0; filter:none; transform:none; transition:none; }
.immersive-manifest--v5 .immersive-manifest__words span.is-active { opacity:1; color:rgba(248,240,229,.08); }
.immersive-manifest--v5 .manifest-word--clarity.is-active { animation:manifest-clarity .72s cubic-bezier(.16,1,.3,1) both; clip-path:inset(0 0 0 0); }
@keyframes manifest-clarity { from { clip-path:inset(0 100% 0 0); letter-spacing:.04em; } to { clip-path:inset(0); letter-spacing:-.065em; } }
.immersive-manifest--v5 .manifest-word--security.is-active { animation:manifest-security .75s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes manifest-security { from { transform:scale(.72); opacity:0; filter:blur(3px); } 65% { transform:scale(1.035); } to { transform:scale(1); opacity:1; filter:none; } }
.immersive-manifest--v5 .manifest-word--strategy.is-active { animation:manifest-strategy .8s cubic-bezier(.16,1,.3,1) both; }
@keyframes manifest-strategy { from { letter-spacing:.28em; opacity:0; transform:translateX(4%); } to { letter-spacing:-.065em; opacity:1; transform:none; } }
.immersive-manifest--v5 .manifest-word--responsibility.is-active { animation:manifest-responsibility .85s cubic-bezier(.16,1,.3,1) both; }
@keyframes manifest-responsibility { from { transform:translateY(55%); opacity:0; clip-path:inset(100% 0 0); } to { transform:none; opacity:1; clip-path:inset(0); } }
.immersive-manifest--v5 .immersive-manifest__copy p { color:#c5bdb1; }

/* --------------------- KNOWLEDGE · foco guiado pelo mouse ---------------- */
.knowledge-v5 { --knowledge-progress:0; }
.knowledge-v5 .knowledge-card { --knowledge-card-progress:0; transform:translateY(calc((1 - var(--knowledge-card-progress))*42px)); opacity:calc(.28 + var(--knowledge-card-progress)*.72); background:radial-gradient(circle 18rem at var(--knowledge-x,50%) var(--knowledge-y,50%),rgba(184,137,63,.09),transparent 68%); }
.knowledge-v5 .knowledge-card:nth-child(1)::after,.knowledge-v5 .knowledge-card:nth-child(4)::after { content:""; position:absolute; width:55px; height:55px; right:2rem; top:2rem; border-top:1px solid rgba(142,100,39,.35); border-right:1px solid rgba(142,100,39,.35); transform:rotate(calc(var(--knowledge-card-progress)*90deg)); }
.knowledge-v5 .knowledge-card:nth-child(2)::after,.knowledge-v5 .knowledge-card:nth-child(3)::after { content:""; position:absolute; width:42px; height:42px; right:2rem; top:2rem; border:1px solid rgba(142,100,39,.28); border-radius:50%; transform:scale(calc(.6 + var(--knowledge-card-progress)*.4)); }
.knowledge-v5 .knowledge-card p { color:#56534d; }

/* ------------------------------- FAQ ------------------------------------ */
.faq--v5 { --faq-progress:0; position:relative; }
.faq--v5::before { content:"FAQ"; position:absolute; left:2vw; bottom:2vw; font-family:var(--font-ui); font-weight:800; font-size:clamp(7rem,18vw,21rem); line-height:.75; color:transparent; -webkit-text-stroke:1px rgba(142,100,39,.08); transform:translateX(calc((1 - var(--faq-progress))*-5vw)); }
.faq--v5 .accordion-button { color:#1f1d19; }
.faq--v5 .accordion-panel p { color:#59554f; }

/* ------------------------- CONTACT · passos robustos --------------------- */
.contact--v5 { --contact-progress:0; }
.contact--v5::after { content:""; position:absolute; width:44vw; aspect-ratio:1; right:-18vw; bottom:-25vw; border:1px solid rgba(216,184,120,.14); border-radius:50%; transform:rotate(calc(var(--contact-progress)*70deg)) scale(calc(.72 + var(--contact-progress)*.35)); }
.contact--v5 .contact-v4__lead { color:#c5bdb1; }
.contact--v5 .contact-v4__direct span,.contact--v5 .contact-v4__direct small { color:#a9a195; }
.v5-ready .contact-step { display:none; opacity:1; visibility:visible; transform:none; pointer-events:auto; transition:none; }
.v5-ready .contact-step.is-active { display:flex; animation:contact-v5-in .48s cubic-bezier(.16,1,.3,1) both; }
@keyframes contact-v5-in { from { opacity:0; transform:translateY(16px) scale(.992); filter:blur(3px); } to { opacity:1; transform:none; filter:none; } }
.progressive-contact { overflow:hidden; position:relative; }
.progressive-contact::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(to bottom,#8e6427,#d8b878); transform:scaleY(var(--contact-step-progress,.3333)); transform-origin:top; transition:transform .45s cubic-bezier(.16,1,.3,1); }
.contact-step > p { color:#5d5850; }

/* ------------------------ CHAPTER NAV · navegação viva ------------------- */
.chapter-nav-v5 { position:fixed; z-index:46; left:clamp(.8rem,1.55vw,1.8rem); top:50%; transform:translateY(-50%); display:grid; grid-template-columns:2px auto; gap:.65rem; align-items:stretch; }
.chapter-nav-v5__track { display:block; width:2px; min-height:220px; background:rgba(142,100,39,.16); overflow:hidden; }
.chapter-nav-v5__track i { display:block; height:0; width:100%; background:linear-gradient(#d8b878,#8e6427); }
.chapter-nav-v5__items { display:grid; align-content:space-between; gap:.15rem; }
.chapter-nav-v5__items a { display:flex; align-items:center; gap:.5rem; min-height:18px; color:var(--text-subtle); text-decoration:none; font-size:.58rem; letter-spacing:.11em; text-transform:uppercase; }
.chapter-nav-v5__items a i { font-style:normal; font-family:var(--font-mono); opacity:.5; }
.chapter-nav-v5__items a span { max-width:0; opacity:0; overflow:hidden; white-space:nowrap; transform:translateX(-4px); transition:.25s; }
.chapter-nav-v5__items a:hover span,.chapter-nav-v5__items a:focus-visible span,.chapter-nav-v5__items a.is-active span { max-width:110px; opacity:1; transform:none; }
.chapter-nav-v5__items a.is-active { color:#8e6427; }

/* ------------------------- Legibilidade adicional ------------------------ */
.authority-v5 .section-marker--light,
.ai-lab-v5 .section-marker--light,
.immersive-manifest--v5 .section-marker--light,
.contact--v5 .section-marker--light { color:#d8d0c4; }

.authority-v5 .section-marker--light span:first-child,
.ai-lab-v5 .section-marker--light span:first-child,
.immersive-manifest--v5 .section-marker--light span:first-child,
.contact--v5 .section-marker--light span:first-child { color:#d8b878; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1260px) {
  .chapter-nav-v5 { display:none; }
  .trust-v5__stage { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trust-card:nth-child(2) { border-right:1px solid rgba(58,50,39,.18); }
  .trust-card { min-height:430px; }
  .audience-v5__grid { grid-template-columns:1fr; }
  .audience-v5__visual { min-height:660px; }
  .ai-lab-v5__head { grid-template-columns:150px 1fr; }
  .ai-lab-v5__privacy { grid-column:2; }
}

@media (max-width: 900px) {
  .trust-v5__head { grid-template-columns:1fr; }
  .trust-v5__stage { min-height:0; }
  .trust-card { transform:translateY(calc((1 - var(--card-progress))*48px)) scale(calc(.96 + var(--card-progress)*.04)); min-height:390px; }
  .audience-v5__visual { min-height:610px; }
  .audience-orbit { width:min(92%,560px); }
  .audience-v5__content { width:min(520px,88%); }
  .ai-lab-v5__head { grid-template-columns:1fr; }
  .ai-lab-v5__privacy { grid-column:auto; }
  .ai-lab-v5__modules { grid-template-columns:1fr; }
  .ai-module { min-height:auto; }
  .ai-module + .ai-module { border-left:0; border-top:1px solid rgba(216,184,120,.2); }
  .ai-context-result__grid { grid-template-columns:1fr; }
  .hero-v5__edge-word { display:none; }
  .hero-v5__pointer-light { opacity:.4; }
}

@media (max-width: 640px) {
  .hero-v5 .hero-v4__lead { color:#3e3b36; }
  .trust-v5__stage { grid-template-columns:1fr; }
  .trust-card,.trust-card:nth-child(2),.trust-card:last-child { border-right:1px solid rgba(58,50,39,.18); border-bottom:0; min-height:340px; }
  .trust-card:last-child { border-bottom:1px solid rgba(58,50,39,.18); }
  .audience-v5__controls button { grid-template-columns:44px 1fr auto; min-height:58px; }
  .audience-v5__visual { min-height:560px; }
  .audience-orbit { width:104%; opacity:.7; }
  .audience-v5__content { width:94%; padding:1.5rem; }
  .audience-v5__content h3 { font-size:clamp(2rem,9vw,3.6rem); }
  .ai-module { padding:1.4rem; }
  .ai-module h3 { font-size:clamp(2rem,9vw,3.2rem); }
  .ai-context-result__actions { display:grid; }
  .site-ai-answer__message { grid-template-columns:1fr; }
  .site-ai-answer__mark { padding:0; }
  .stephanie-story--v5 .stephanie-story__chapters { padding-left:1.6rem; }
  .story-v5__progress { left:.2rem; }
  .immersive-manifest--v5 .immersive-manifest__words span { font-size:clamp(3rem,17vw,6.5rem); word-break:normal; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v5 .hero-v4__portrait-wrap { animation:none; clip-path:inset(0); }
  .audience-orbit__ring--1,.audience-orbit__ring--2,.ai-lab-v5__status-dot { animation:none; }
  .trust-card,.knowledge-v5 .knowledge-card,.method--v5 .method-v4__step h3,.hero-v5 .hero-v4__copy { transform:none; }
  .immersive-manifest--v5 .immersive-manifest__words span.is-active { animation:none; }
  .v5-ready .contact-step.is-active { animation:none; }
}

/* V6 brand asset hardening — transparent logo variants */
.brand--image,
html[data-theme="dark"] .brand--image {
  padding: 0;
  background: transparent;
}
.brand__logo,
html[data-theme="dark"] .brand__logo,
.brand__logo--footer {
  mix-blend-mode: normal;
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v6.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   STEPHANIE DE PAIVA — V6
   HARDENING VISUAL + GSAP/LENIS MOTION LAYER
   --------------------------------------------------------------------------
   Objetivos:
   - eliminar sobreposições e elementos colados às bordas;
   - normalizar grids, alturas, gaps e alinhamentos;
   - dar contraste real a formulários e elementos de navegação;
   - usar logos transparentes adequadas a cada fundo;
   - compactar seções excessivamente longas;
   - corrigir mapa de contexto e manifesto tipográfico;
   - preparar o layout para animação GSAP sem alterar geometria do conteúdo.
   ========================================================================== */

:root {
  --v6-safe: clamp(1.5rem, 3.2vw, 4.5rem);
  --v6-section-y: clamp(5.5rem, 8vw, 9rem);
  --v6-section-y-compact: clamp(4.5rem, 6vw, 7rem);
  --v6-gold: #b8893f;
  --v6-gold-light: #d7b36b;
  --v6-ink: #171612;
  --v6-cream: #f7f1e7;
  --v6-cream-2: #efe5d7;
  --v6-charcoal: #151512;
  --v6-border-light: rgba(83, 68, 46, .19);
  --v6-border-dark: rgba(216, 184, 120, .22);
  --v6-shadow-card: 0 26px 80px rgba(42, 31, 18, .10);
}

html.v6-ready {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height-scrolled) + 20px);
}

html.v6-ready body {
  overflow-x: clip;
}

html.v6-ready .container-wide {
  width: min(calc(100% - (var(--v6-safe) * 2)), var(--container-wide));
}

html.v6-ready .section {
  padding-block: var(--v6-section-y);
}

html.v6-ready section[id] {
  scroll-margin-top: calc(var(--header-height-scrolled) + 20px);
}

/* --------------------------------------------------------------------------
   01. HEADER + LOGO — sem retângulo de fundo
   -------------------------------------------------------------------------- */
html.v6-ready .site-header__shell {
  min-height: var(--header-height);
  padding-inline: 0;
}

html.v6-ready .brand--image,
html.v6-ready .brand--footer.brand--image,
html.v6-ready .mobile-menu__brand {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}

html.v6-ready .brand__logo {
  width: clamp(180px, 15vw, 248px);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter: none;
  transform-origin: left center;
}

html.v6-ready .site-header.is-scrolled .brand__logo {
  width: clamp(168px, 13.5vw, 224px);
}

html.v6-ready .site-header {
  border-bottom-color: rgba(78, 61, 36, .10);
}

html.v6-ready .site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(54, 39, 19, .07);
}

html.v6-ready .site-header.is-over-dark-v4:not(.is-scrolled) .brand__logo {
  filter: none;
}

html.v6-ready .page-loader__logo {
  width: min(380px, 72vw);
  mix-blend-mode: normal;
  background: transparent !important;
  filter: drop-shadow(0 10px 30px rgba(68, 46, 17, .08));
}

html.v6-ready .mobile-menu__brand img {
  width: min(250px, 62vw);
  height: auto;
}

/* --------------------------------------------------------------------------
   02. SAFE UI RAILS — chapter nav, dock e toast nunca se colidem
   -------------------------------------------------------------------------- */
html.v6-ready .chapter-nav-v5 {
  z-index: 34;
  left: clamp(18px, 1.6vw, 30px);
  top: 50%;
  width: 48px;
  transform: translateY(-50%);
  grid-template-columns: 2px 34px;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(248, 243, 235, .64);
  border: 1px solid rgba(134, 97, 42, .10);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 14px 40px rgba(36, 26, 15, .08);
}

html.v6-ready .chapter-nav-v5__track {
  min-height: 236px;
}

html.v6-ready .chapter-nav-v5__items a {
  position: relative;
  min-height: 20px;
  width: 28px;
  justify-content: center;
  gap: 0;
}

html.v6-ready .chapter-nav-v5__items a i {
  opacity: .6;
}

html.v6-ready .chapter-nav-v5__items a span {
  position: absolute;
  left: 42px;
  top: 50%;
  max-width: none;
  width: max-content;
  transform: translate(6px, -50%);
  padding: .42rem .58rem;
  border: 1px solid rgba(142, 100, 39, .18);
  border-radius: 8px;
  background: rgba(248, 243, 235, .96);
  box-shadow: 0 10px 28px rgba(45, 33, 20, .09);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.16,1,.3,1);
}

html.v6-ready .chapter-nav-v5__items a:hover span,
html.v6-ready .chapter-nav-v5__items a:focus-visible span {
  max-width: none;
  opacity: 1;
  transform: translate(0, -50%);
}

html.v6-ready .contact-dock {
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 56;
}

html.v6-ready .contact-dock__trigger {
  min-height: 48px;
  padding-inline: 1rem;
  box-shadow: 0 18px 46px rgba(32, 25, 17, .14);
}

html.v6-ready .toast-region {
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(max(22px, env(safe-area-inset-bottom)) + 72px);
  width: min(calc(100vw - 44px), 380px);
  z-index: 64;
}

html.v6-ready .toast {
  border-radius: 14px;
  background: rgba(248, 243, 235, .97);
  color: #25221c;
  box-shadow: 0 22px 60px rgba(37, 27, 15, .17);
}

/* --------------------------------------------------------------------------
   03. HERO — conteúdo sempre dentro do viewport
   -------------------------------------------------------------------------- */
html.v6-ready .hero-v5 {
  min-height: min(960px, 100svh);
}

html.v6-ready .hero-v4__shell {
  padding-top: calc(var(--header-height) + clamp(4.5rem, 7vw, 7rem));
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

html.v6-ready .hero-v4__copy {
  width: min(58%, 860px);
  padding-left: clamp(0px, .8vw, 12px);
}

html.v6-ready .hero-v4__title {
  font-size: clamp(4rem, 7vw, 8.6rem);
  line-height: .88;
  letter-spacing: -.055em;
  overflow: visible;
}

html.v6-ready .hero-v4__title .hero-line {
  overflow: hidden;
  padding-bottom: .08em;
}

html.v6-ready .hero-v4__portrait-layer {
  right: 0;
  width: min(38vw, 690px);
}

html.v6-ready .hero-v4__portrait-wrap {
  right: 0;
  width: 100%;
}

html.v6-ready .hero-v4__microfacts {
  right: var(--v6-safe);
  bottom: clamp(1.5rem, 3vw, 3rem);
  width: min(360px, 30vw);
}

html.v6-ready .hero-v6__helper {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  width: fit-content;
  max-width: 620px;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(123, 89, 37, .18);
  color: #5d574e;
  font-size: .78rem;
  line-height: 1.5;
}

html.v6-ready .hero-v6__helper strong {
  color: #25221d;
  font-weight: 650;
}

html.v6-ready .hero-v6__helper svg {
  flex: 0 0 auto;
  width: 17px;
  fill: none;
  stroke: var(--v6-gold);
  stroke-width: 1.5;
}

html.v6-ready .hero-v6__helper-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--v6-gold);
  box-shadow: 0 0 0 7px rgba(184, 137, 63, .09);
}

/* --------------------------------------------------------------------------
   04. SECTION HEADINGS — rhythm / no overlap
   -------------------------------------------------------------------------- */
html.v6-ready .display-title {
  max-width: 16.5ch;
  font-size: clamp(3rem, 4.75vw, 5.8rem);
  line-height: 1.00;
  letter-spacing: -.046em;
  text-wrap: balance;
}

html.v6-ready .eyebrow + .display-title,
html.v6-ready .eyebrow + h2,
html.v6-ready .section-marker + .eyebrow {
  margin-top: 1rem;
}

html.v6-ready .opening-manifest__content,
html.v6-ready .trust-v5__head,
html.v6-ready .stephanie-story__head,
html.v6-ready .practice-explorer__head,
html.v6-ready .method__head,
html.v6-ready .knowledge-v4__head,
html.v6-ready .faq__head {
  row-gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   05. TRUST — quatro cards geometricamente idênticos
   -------------------------------------------------------------------------- */
html.v6-ready .trust-v5 {
  padding-block: var(--v6-section-y-compact);
}

html.v6-ready .trust-v5__head {
  grid-template-columns: 150px minmax(0, 1fr) minmax(260px, .42fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(3.5rem, 5vw, 5.5rem);
}

html.v6-ready .trust-v5__head .display-title {
  max-width: 13ch;
}

html.v6-ready .trust-v5__stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  min-height: 0;
  perspective: none;
}

html.v6-ready .trust-card {
  min-height: 470px;
  height: 100%;
  padding: clamp(2rem, 2.7vw, 2.8rem);
  transform: none;
  opacity: 1;
  will-change: auto;
  overflow: hidden;
  border-right: 0;
}

html.v6-ready .trust-card:last-child {
  border-right: 1px solid var(--v6-border-light);
}

html.v6-ready .trust-card__signal {
  margin-top: auto;
  margin-bottom: 1.7rem;
}

html.v6-ready .trust-card h3 {
  min-height: 2.05em;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 2.3vw, 3rem);
  line-height: .98;
}

html.v6-ready .trust-card p {
  max-width: 33ch;
}

html.v6-ready .trust-card:hover {
  box-shadow: var(--v6-shadow-card);
}

html.v6-ready.v6-gsap .trust-card {
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   06. AUDIENCE — heading spacing / balanced height
   -------------------------------------------------------------------------- */
html.v6-ready .audience-v5 {
  padding-block: var(--v6-section-y-compact);
}

html.v6-ready .audience-v5__grid {
  grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
  gap: clamp(4rem, 6vw, 7rem);
  align-items: center;
}

html.v6-ready .audience-v5__intro {
  display: grid;
  align-content: center;
  gap: 0;
}

html.v6-ready #audienceTitle {
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
  max-width: 12ch;
  line-height: .96;
}

html.v6-ready .audience-v5__intro > p:last-of-type {
  margin-top: 0;
  max-width: 56ch;
  line-height: 1.7;
}

html.v6-ready .audience-v5__controls {
  margin-top: 2.6rem;
}

html.v6-ready .audience-v5__visual {
  min-height: 620px;
}

html.v6-ready .audience-v5__content {
  width: min(500px, 84%);
  padding: clamp(2rem, 3vw, 3rem);
}

html.v6-ready .audience-v5__content h3 {
  margin: 1rem 0 1.2rem;
  font-size: clamp(2.6rem, 3.5vw, 4.3rem);
  line-height: .95;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   07. ÁREAS — compactação vertical real
   -------------------------------------------------------------------------- */
html.v6-ready .practice-explorer--v5 {
  padding-block: var(--v6-section-y-compact);
}

html.v6-ready .practice-explorer__head--v4 {
  margin-bottom: 3rem;
}

html.v6-ready .practice-v4 {
  min-height: 0;
  height: auto;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  align-items: stretch;
}

html.v6-ready .practice-list--v4 {
  align-self: stretch;
}

html.v6-ready .practice-list--v4 .practice-tab {
  min-height: 72px;
  padding-block: .85rem;
}

html.v6-ready .practice-panel--v4 {
  min-height: 620px;
  height: 100%;
  grid-template-columns: minmax(240px, .66fr) minmax(0, 1.34fr);
}

html.v6-ready .practice-v4__visual {
  min-height: 620px;
}

html.v6-ready .practice-panel__content--v4 {
  align-self: center;
  padding: clamp(2.2rem, 3.5vw, 4rem);
}

html.v6-ready .practice-v4__topics-wrap {
  margin-block: 1.35rem;
}

html.v6-ready .practice-panel--v4 ul {
  columns: 2;
  column-gap: 1.8rem;
}

/* --------------------------------------------------------------------------
   08. IA — refined state handling / no nonsense ranking
   -------------------------------------------------------------------------- */
html.v6-ready .ai-lab-v5__modules {
  align-items: stretch;
}

html.v6-ready .ai-module {
  min-height: 680px;
}

html.v6-ready .ai-context-result__header p {
  margin-top: .7rem;
  color: #bdb4a7;
  line-height: 1.6;
  font-size: .76rem;
}

html.v6-ready .ai-scope-guard,
html.v6-ready .ai-ambiguous {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(216, 184, 120, .18);
}

html.v6-ready .ai-scope-guard h3,
html.v6-ready .ai-ambiguous h3 {
  margin: .7rem 0 1rem;
  max-width: 18ch;
  color: #fff6e9;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 400;
  line-height: .98;
}

html.v6-ready .ai-scope-guard > p,
html.v6-ready .ai-ambiguous > p {
  max-width: 66ch;
  color: #cfc5b8;
  line-height: 1.72;
}

html.v6-ready .ai-scope-guard__signals {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.2rem 0;
}

html.v6-ready .ai-scope-guard__signals span {
  width: 100%;
  color: #ab9b7d;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

html.v6-ready .ai-scope-guard__signals b {
  padding: .38rem .55rem;
  border: 1px solid rgba(216, 184, 120, .18);
  color: #ddd1c0;
  font-size: .67rem;
  font-weight: 500;
}

html.v6-ready .ai-scope-guard__note,
html.v6-ready .ai-sensitive-warning,
html.v6-ready .ai-urgency {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-left: 2px solid #b8893f;
  background: rgba(216, 184, 120, .055);
  color: #bdb4a7;
  font-size: .72rem;
  line-height: 1.6;
}

html.v6-ready .ai-scope-guard ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #bfb6aa;
  list-style: disc;
  font-size: .74rem;
  line-height: 1.7;
}

html.v6-ready .ai-urgency span,
html.v6-ready .ai-urgency strong {
  display: block;
}

html.v6-ready .ai-urgency span {
  margin-bottom: .25rem;
  color: #d5b97f;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

html.v6-ready .ai-urgency strong {
  color: #f2e7d7;
  font-size: .74rem;
}

html.v6-ready .ai-urgency p {
  margin-top: .45rem;
}

html.v6-ready .site-ai-answer[data-answer-type="scope-guard"] {
  border-color: rgba(208, 153, 75, .35);
}

/* --------------------------------------------------------------------------
   09. MAPA DE CONTEXTO — path atravessa os 4 pontos
   -------------------------------------------------------------------------- */
html.v6-ready .triage-network {
  height: 230px;
  margin: 0 1.5rem -1.2rem;
}

html.v6-ready .triage-network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

html.v6-ready .triage-network__progress {
  transition: stroke-dashoffset .55s cubic-bezier(.16,1,.3,1);
}

html.v6-ready .triage-network__node[data-network-node="0"] { left: 2.2%; top: 53%; }
html.v6-ready .triage-network__node[data-network-node="1"] { left: 31.5%; top: 22%; }
html.v6-ready .triage-network__node[data-network-node="2"] { left: 62.2%; top: 61%; }
html.v6-ready .triage-network__node[data-network-node="3"] { right: .6%; top: 41%; }

html.v6-ready .triage-network__node {
  width: 94px;
  z-index: 2;
  color: #71695d;
}

/* --------------------------------------------------------------------------
   10. PRINCÍPIOS — serif editorial real, sem letras "remendadas"
   -------------------------------------------------------------------------- */
html.v6-ready .immersive-manifest--v5 {
  min-height: 360vh;
}

html.v6-ready .immersive-manifest--v5 .immersive-manifest__words {
  height: clamp(170px, 18vw, 310px);
  display: grid;
  place-items: center;
  overflow: visible;
}

html.v6-ready .immersive-manifest--v5 .immersive-manifest__words span {
  width: 100%;
  color: #f1e8db;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 24px 80px rgba(0,0,0,.20);
  font-family: var(--font-display) !important;
  font-size: clamp(4.7rem, 12vw, 13rem);
  font-weight: 400;
  line-height: .76;
  letter-spacing: -.075em;
  text-align: center;
  text-transform: uppercase;
  opacity: .13;
  filter: none !important;
  animation: none !important;
  transform-origin: center center;
}

html.v6-ready .immersive-manifest--v5 .immersive-manifest__words span.is-active {
  color: #f7efe3;
  opacity: 1;
}

html.v6-ready .immersive-manifest--v5 .immersive-manifest__copy {
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

/* --------------------------------------------------------------------------
   11. CONTATO — contraste, grid e responsividade premium
   -------------------------------------------------------------------------- */
html.v6-ready .contact--v5 {
  padding-block: var(--v6-section-y-compact);
}

html.v6-ready .contact-v4__grid {
  grid-template-columns: minmax(360px, .78fr) minmax(620px, 1.22fr);
  gap: clamp(4rem, 6vw, 7rem);
  align-items: center;
}

html.v6-ready .contact-v4__intro .display-title {
  max-width: 9.5ch;
  font-size: clamp(3.6rem, 5.3vw, 6.4rem);
  line-height: .91;
}

html.v6-ready .progressive-contact {
  min-height: 650px;
  padding: clamp(1.7rem, 2.6vw, 2.8rem);
  border: 1px solid rgba(216, 184, 120, .30);
  border-left: 3px solid #b8893f;
  background: #f5ede1;
  box-shadow: 0 36px 110px rgba(0,0,0,.20);
}

html.v6-ready .progressive-contact__progress {
  color: #8b7655;
}

html.v6-ready .progressive-contact__progress::after {
  background: #a8742e;
}

html.v6-ready .progressive-contact__progress > span {
  color: #8e8578;
}

html.v6-ready .progressive-contact__progress > span.is-active,
html.v6-ready .progressive-contact__progress > span.is-complete {
  color: #7b5620;
}

html.v6-ready .contact-step {
  min-height: 500px;
  padding: clamp(2rem, 3vw, 3.2rem);
  border-radius: 26px;
  background: rgba(255, 252, 247, .66);
  color: #28241e;
}

html.v6-ready .contact-step__eyebrow {
  color: #8f6425;
}

html.v6-ready .contact-step > h3 {
  margin: .75rem 0 1rem;
  max-width: 17ch;
  color: #231f1a;
  font-size: clamp(2.7rem, 4vw, 4.7rem);
  line-height: .95;
  text-wrap: balance;
}

html.v6-ready .contact-step > p,
html.v6-ready .contact-form__note {
  color: #6f665b;
}

html.v6-ready .contact-form .field {
  margin-top: 1.5rem;
}

html.v6-ready .contact-form .field label {
  display: block;
  margin-bottom: .55rem;
  color: #6f5b3a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

html.v6-ready .contact-form input,
html.v6-ready .contact-form select,
html.v6-ready .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(105, 80, 42, .28);
  border-radius: 12px;
  background: #fffaf3;
  color: #27231d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  font: inherit;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

html.v6-ready .contact-form input,
html.v6-ready .contact-form select {
  min-height: 56px;
  padding: 0 .95rem;
}

html.v6-ready .contact-form textarea {
  min-height: 210px;
  padding: 1rem;
  resize: vertical;
  line-height: 1.65;
}

html.v6-ready .contact-form input::placeholder,
html.v6-ready .contact-form textarea::placeholder {
  color: #a1988b;
  opacity: 1;
}

html.v6-ready .contact-form input:focus,
html.v6-ready .contact-form select:focus,
html.v6-ready .contact-form textarea:focus {
  border-color: #a8732f;
  background: #fffdf9;
  box-shadow: 0 0 0 4px rgba(184, 137, 63, .12), 0 10px 30px rgba(69, 48, 20, .06);
}

html.v6-ready .contact-form [aria-invalid="true"] {
  border-color: #a64f46;
  box-shadow: 0 0 0 4px rgba(166, 79, 70, .10);
}

html.v6-ready .field__meta,
html.v6-ready .field__error {
  color: #8b665a;
}

html.v6-ready .field__meta {
  margin-top: .45rem;
}

html.v6-ready .check-field {
  margin-top: 1.45rem;
  color: #5e564c;
}

html.v6-ready .check-field__box {
  border-color: rgba(105, 80, 42, .42);
  background: #fffaf3;
}

html.v6-ready .button--contact {
  border: 1px solid #8c642b;
  background: #8c642b;
  color: #fffaf2;
}

html.v6-ready .contact-step .button--ghost {
  border-color: rgba(92, 72, 43, .30);
  color: #3d352a;
  background: transparent;
}

html.v6-ready .contact-step__actions {
  gap: .75rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   12. FOOTER — high contrast logo + spacing
   -------------------------------------------------------------------------- */
html.v6-ready .site-footer {
  padding-top: clamp(5rem, 7vw, 7.5rem);
}

html.v6-ready .site-footer__top {
  align-items: center;
  gap: clamp(3rem, 5vw, 6rem);
}

html.v6-ready .brand__logo--footer {
  width: clamp(260px, 25vw, 410px);
  max-height: 118px;
  mix-blend-mode: normal;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.16));
}

html.v6-ready .site-footer__grid {
  margin-top: clamp(3.5rem, 5vw, 5rem);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE HARDENING
   -------------------------------------------------------------------------- */
@media (max-width: 1320px) {
  html.v6-ready .chapter-nav-v5 { display: none; }
  html.v6-ready .hero-v4__copy { width: min(61%, 780px); }
  html.v6-ready .hero-v4__portrait-layer { width: 42vw; }
  html.v6-ready .trust-v5__head { grid-template-columns: 120px 1fr; }
  html.v6-ready .trust-v5__intro { grid-column: 2; max-width: 620px; }
  html.v6-ready .contact-v4__grid { grid-template-columns: minmax(320px, .72fr) minmax(560px, 1.28fr); gap: 3.5rem; }
}

@media (max-width: 1080px) {
  html.v6-ready .hero-v4__copy { width: 67%; }
  html.v6-ready .hero-v4__portrait-layer { width: 46vw; opacity: .82; }
  html.v6-ready .hero-v4__microfacts { display: none; }
  html.v6-ready .trust-v5__stage { grid-template-columns: repeat(2, minmax(0,1fr)); }
  html.v6-ready .trust-card:nth-child(2) { border-right: 1px solid var(--v6-border-light); }
  html.v6-ready .trust-card { min-height: 400px; }
  html.v6-ready .audience-v5__grid { grid-template-columns: 1fr; gap: 3rem; }
  html.v6-ready .audience-v5__visual { min-height: 560px; }
  html.v6-ready .practice-v4 { grid-template-columns: 1fr; }
  html.v6-ready .practice-list--v4 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  html.v6-ready .practice-panel--v4 { min-height: 560px; }
  html.v6-ready .contact-v4__grid { grid-template-columns: 1fr; }
  html.v6-ready .contact-v4__intro { max-width: 760px; }
  html.v6-ready .progressive-contact { min-height: 610px; }
}

@media (max-width: 760px) {
  :root { --v6-safe: 1.1rem; --v6-section-y: 4.7rem; --v6-section-y-compact: 4.1rem; }
  html.v6-ready .site-header__shell { min-height: 74px; }
  html.v6-ready .brand__logo { width: 176px; max-height: 52px; }
  html.v6-ready .hero-v5 { min-height: 900px; }
  html.v6-ready .hero-v4__shell { padding-top: 112px; }
  html.v6-ready .hero-v4__copy { width: 100%; padding-left: 0; }
  html.v6-ready .hero-v4__title { font-size: clamp(3.5rem, 16vw, 5.4rem); line-height: .91; }
  html.v6-ready .hero-v4__portrait-layer { inset: auto -20vw 0 auto; width: 92vw; opacity: .35; }
  html.v6-ready .hero-v4__lead { max-width: 92%; }
  html.v6-ready .hero-v6__helper { max-width: 92%; }
  html.v6-ready .display-title { font-size: clamp(2.65rem, 11.4vw, 4.2rem); line-height: 1; }
  html.v6-ready .trust-v5__head { display: block; }
  html.v6-ready .trust-v5__head > * + * { margin-top: 1.35rem; }
  html.v6-ready .trust-v5__stage { grid-template-columns: 1fr; gap: .75rem; }
  html.v6-ready .trust-card,
  html.v6-ready .trust-card:nth-child(n) { min-height: 320px; border: 1px solid var(--v6-border-light); border-radius: 16px; }
  html.v6-ready .trust-card h3 { min-height: auto; }
  html.v6-ready .audience-v5__visual { min-height: 480px; }
  html.v6-ready .audience-v5__content { width: 92%; }
  html.v6-ready .practice-list--v4 { grid-template-columns: 1fr; }
  html.v6-ready .practice-panel--v4 { grid-template-columns: 1fr; min-height: 0; }
  html.v6-ready .practice-v4__visual { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--line); }
  html.v6-ready .practice-panel--v4 ul { columns: 1; }
  html.v6-ready .ai-module { min-height: 0; }
  html.v6-ready .ai-context-result__grid { grid-template-columns: 1fr; }
  html.v6-ready .triage-network { height: 160px; margin-inline: 0; }
  html.v6-ready .triage-network__node { width: 64px; font-size: .52rem; }
  html.v6-ready .triage-network__node b { display: none; }
  html.v6-ready .immersive-manifest--v5 .immersive-manifest__words { height: 140px; }
  html.v6-ready .immersive-manifest--v5 .immersive-manifest__words span { font-size: clamp(3.2rem, 16vw, 5.2rem); line-height: .82; }
  html.v6-ready .contact-step { min-height: 520px; padding: 1.35rem; border-radius: 18px; }
  html.v6-ready .contact-step > h3 { font-size: clamp(2.35rem, 10.8vw, 3.6rem); }
  html.v6-ready .form-row--two { grid-template-columns: 1fr; }
  html.v6-ready .contact-step__actions { grid-template-columns: 1fr; }
  html.v6-ready .contact-dock { right: 12px; bottom: 12px; }
  html.v6-ready .toast-region { right: 12px; bottom: 74px; width: calc(100vw - 24px); }
  html.v6-ready .brand__logo--footer { width: min(320px, 82vw); }
}

@media (prefers-reduced-motion: reduce) {
  html.v6-ready *,
  html.v6-ready *::before,
  html.v6-ready *::after {
    scroll-behavior: auto !important;
  }
  html.v6-ready .trust-card:hover { transform: none !important; }
}

/* --------------------------------------------------------------------------
   14. CONVERSION UX — self-selection sem pressão comercial
   -------------------------------------------------------------------------- */
html.v6-ready .audience-v5__chips button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .5rem .65rem;
  border: 1px solid rgba(216,184,120,.18);
  background: transparent;
  color: #ddd4c7;
  font: inherit;
  font-size: .69rem;
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, color .22s ease, transform .25s cubic-bezier(.16,1,.3,1);
}
html.v6-ready .audience-v5__chips button i { color: #d8b878; font-style: normal; }
html.v6-ready .audience-v5__chips button:hover,
html.v6-ready .audience-v5__chips button:focus-visible {
  border-color: rgba(216,184,120,.46);
  background: rgba(216,184,120,.07);
  color: #fff7ec;
  transform: translateY(-2px);
}
html.v6-ready .practice-v6__contact {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  margin-top: 1rem;
  padding: .35rem 0;
  border: 0;
  border-bottom: 1px solid rgba(122,84,31,.32);
  background: transparent;
  color: #5a4630;
  font: 650 .72rem/1.3 var(--font-ui);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, gap .25s cubic-bezier(.16,1,.3,1);
}
html.v6-ready .practice-v6__contact i { color: var(--v6-gold); font-style: normal; }
html.v6-ready .practice-v6__contact:hover,
html.v6-ready .practice-v6__contact:focus-visible { color: #171612; border-color: var(--v6-gold); gap: .8rem; }

@media (prefers-reduced-motion: reduce) {
  html.v6-ready .audience-v5__chips button { transform: none !important; }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v7.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   STEPHANIE DE PAIVA — V7
   UX / RESPONSIVE / AI / CONTENT HARDENING
   ========================================================================== */

:root {
  --v7-header-h: 78px;
  --v7-safe-x: clamp(1.25rem, 4vw, 5rem);
  --v7-safe-y: clamp(4.75rem, 7vw, 8.5rem);
  --v7-gold: #b9852f;
  --v7-gold-soft: #d7b46f;
  --v7-paper: #f8f2e8;
  --v7-paper-2: #efe4d4;
  --v7-ink: #171510;
  --v7-charcoal: #151512;
  --v7-dark-2: #1d1c18;
  --v7-radius: 26px;
  --v7-ease: cubic-bezier(.16,1,.3,1);
}

html.v7-ready { --header-height: var(--v7-header-h); --header-height-scrolled: var(--v7-header-h); }
html.v7-ready .container-wide { width:min(calc(100% - var(--v7-safe-x) * 2), 1660px); }
html.v7-ready .section { padding-block:var(--v7-safe-y); }
html.v7-ready section[id] { scroll-margin-top:calc(var(--v7-header-h) + 18px); }

/* 01 · HEADER — sólido desde o primeiro paint -------------------------------- */
html.v7-ready .site-header {
  min-height:var(--v7-header-h);
  background:rgba(249,245,238,.965) !important;
  border-bottom:1px solid rgba(96,72,38,.13) !important;
  box-shadow:0 6px 22px rgba(49,37,22,.055);
  color:#1d1a15 !important;
  backdrop-filter:blur(18px) saturate(1.08);
}
html.v7-ready .site-header__shell { min-height:var(--v7-header-h); height:var(--v7-header-h); align-items:center; }
html.v7-ready .site-header .desktop-nav > a,
html.v7-ready .site-header .nav-trigger,
html.v7-ready .site-header .icon-button { color:#1d1a15 !important; }
html.v7-ready .site-header .button--header { color:#1d1a15 !important; border-color:rgba(80,59,28,.28) !important; background:rgba(255,255,255,.36) !important; }
html.v7-ready .site-header .brand { height:var(--v7-header-h); display:flex; align-items:center; overflow:hidden; }
html.v7-ready .site-header .brand__logo {
  width:clamp(185px,12vw,238px) !important;
  height:58px !important;
  max-height:58px !important;
  object-fit:contain;
  object-position:left center;
  transform:none !important;
}
html.v7-ready .site-header.is-scrolled .brand__logo { width:clamp(185px,12vw,238px) !important; }
html.v7-ready .theme-toggle { display:grid !important; }
html.v7-ready .theme-icon { position:absolute; width:18px; height:18px; transition:opacity .25s, transform .4s var(--v7-ease); }
html[data-theme="light"] .theme-icon--sun { opacity:0; transform:rotate(-35deg) scale(.65); }
html[data-theme="light"] .theme-icon--moon { opacity:1; transform:none; }
html[data-theme="dark"] .theme-icon--sun { opacity:1; transform:none; }
html[data-theme="dark"] .theme-icon--moon { opacity:0; transform:rotate(35deg) scale(.65); }

/* 02 · HERO — retrato à esquerda, conteúdo no espaço central ----------------- */
html.v7-ready .hero-v7 {
  min-height:100svh;
  padding-top:var(--v7-header-h);
  background:linear-gradient(108deg,#efe5d5 0 34%,#faf6ef 34% 100%);
  color:var(--v7-ink);
  isolation:isolate;
  overflow:hidden;
}
html.v7-ready .hero-v7 .hero-v4__shell {
  position:relative;
  z-index:5;
  min-height:calc(100svh - var(--v7-header-h));
  display:grid;
  grid-template-columns:minmax(340px,36vw) minmax(560px,1fr);
  grid-template-rows:auto 1fr auto;
  gap:1rem clamp(3rem,6vw,7rem);
  padding-block:clamp(3.5rem,7vh,7rem) clamp(4.5rem,8vh,7rem);
}
html.v7-ready .hero-v7 .hero-v4__portrait-layer {
  top:var(--v7-header-h) !important;
  left:0 !important;
  right:auto !important;
  bottom:0 !important;
  width:min(37vw,710px) !important;
  opacity:1 !important;
  align-items:stretch !important;
  justify-content:stretch !important;
}
html.v7-ready .hero-v7 .hero-v4__portrait-wrap { width:100%; height:100%; max-width:none; margin:0; clip-path:none; }
html.v7-ready .hero-v7 .hero-v4__portrait { width:100%; height:100%; object-fit:cover; object-position:52% 35%; filter:saturate(.88) contrast(1.02); }
html.v7-ready .hero-v7 .hero-v4__portrait-shade {
  background:linear-gradient(90deg,rgba(25,19,13,.08),rgba(25,19,13,.02) 52%,rgba(248,242,232,.26) 91%,rgba(248,242,232,.82));
}
html.v7-ready .hero-v7 .hero-v4__portrait-frame { inset:clamp(2.5rem,5vw,5rem) clamp(1.8rem,3vw,3rem); border-color:rgba(185,133,47,.35); }
html.v7-ready .hero-v7 .hero-v4__portrait-caption { left:auto; right:2.2rem; bottom:1.2rem; color:#fff6e9; text-shadow:0 2px 12px rgba(0,0,0,.45); }
html.v7-ready .hero-v7 .hero-v4__kicker {
  grid-column:2; grid-row:1; align-self:end; justify-self:start;
  margin:0; padding:0; color:#615647; max-width:58rem;
}
html.v7-ready .hero-v7 .hero-v4__copy {
  grid-column:2; grid-row:2; align-self:center;
  width:min(920px,88%); max-width:none; padding:0 !important; margin:0 !important;
  color:var(--v7-ink);
}
html.v7-ready .hero-v7 .hero-v4__title { font-size:clamp(4.3rem,6.25vw,7.7rem); line-height:.84; letter-spacing:-.058em; color:var(--v7-ink); margin:0; }
html.v7-ready .hero-v7 .hero-v4__title .hero-line:nth-child(2) i { color:#a77320; }
html.v7-ready .hero-v7 .hero-v4__lead { max-width:670px; margin-top:2rem; color:#5d574f; font-size:clamp(1.02rem,1.25vw,1.3rem); line-height:1.7; }
html.v7-ready .hero-v7 .hero-v4__actions { margin-top:1.9rem; }
html.v7-ready .hero-v7 .hero-v6__helper { max-width:720px; color:#665d51; border-color:rgba(104,80,45,.17); margin-top:1.45rem; }
html.v7-ready .hero-v7 .hero-v4__signature { left:auto; right:3.5vw; width:min(47vw,870px); top:16%; opacity:.62; }
html.v7-ready .hero-v7 .hero-v5__edge-word { right:-.2em; left:auto; opacity:.028; color:#7f5c27; }

html.v7-ready .hero-v7__microfacts {
  grid-column:2; grid-row:3;
  justify-self:end; align-self:end;
  width:min(740px,82%); margin:0 0 1.5rem auto !important;
  display:grid !important; grid-template-columns:repeat(3,1fr);
  gap:0; padding:0;
  background:rgba(28,26,21,.91);
  border:1px solid rgba(209,174,108,.25);
  box-shadow:0 24px 80px rgba(39,30,18,.17);
  backdrop-filter:blur(18px);
  overflow:hidden;
}
html.v7-ready .hero-v7__microfacts > span {
  min-height:118px; padding:1.45rem 1.6rem !important; margin:0 !important;
  display:grid; grid-template-rows:auto 1fr; align-content:center; gap:.55rem;
  border:0 !important; border-right:1px solid rgba(209,174,108,.22) !important;
  background:radial-gradient(circle at calc(50% + var(--fact-x,0)*28%) calc(50% + var(--fact-y,0)*28%),rgba(211,169,89,.16),transparent 62%);
  color:#ddd5c9 !important; transform:translate3d(calc(var(--fact-x,0)*3px),calc(var(--fact-y,0)*3px),0);
  transition:background .3s, transform .32s var(--v7-ease);
}
html.v7-ready .hero-v7__microfacts > span:last-child { border-right:0 !important; }
html.v7-ready .hero-v7__microfacts strong { font-size:clamp(1.7rem,2vw,2.35rem); line-height:1; color:#fff8eb; }
html.v7-ready .hero-v7__microfacts > span { font-size:.78rem; line-height:1.45; }
html.v7-ready .hero-v7 .hero-v4__scroll {
  display:flex !important; position:absolute; left:50% !important; right:auto !important; bottom:1.3rem !important;
  transform:translateX(-50%); z-index:8; color:#51483d !important;
  align-items:center; gap:.75rem; opacity:.86;
}
html.v7-ready .hero-v7 .hero-v4__scroll i { border-color:rgba(87,64,32,.4); }

/* 03 · SECTION 01/02 — apenas micro-refino ---------------------------------- */
html.v7-ready .opening-manifest__title, html.v7-ready .trust-v5__title { text-wrap:balance; }
html.v7-ready .opening-manifest__footer, html.v7-ready .trust-v5__head { column-gap:clamp(2rem,6vw,7rem); }

/* 04 · AUTHORITY — counter e fundo compartilham o mesmo progresso ------------ */
html.v7-ready .authority-v5__number { font-variant-numeric:tabular-nums; will-change:transform,opacity; }
html.v7-ready .authority-v5::before, html.v7-ready .authority-v5::after { transition:none !important; }

/* 05 · AUDIENCE -------------------------------------------------------------- */
html.v7-ready .audience-v5 .display-title { line-height:.91; max-width:13ch; margin-bottom:1.65rem; }
html.v7-ready .audience-v5__content { min-height:620px; }
html.v7-ready #audienceChips button, html.v7-ready #audienceChips [data-audience-practice] {
  cursor:pointer; transition:transform .25s var(--v7-ease),border-color .25s,background .25s;
}
html.v7-ready #audienceChips [data-audience-practice]:hover { transform:translateY(-2px); border-color:var(--v7-gold); background:rgba(185,133,47,.08); }

/* 06 · AREAS — geometria estável, zero layout shift -------------------------- */
html.v7-ready .practice-explorer--v5 { padding-bottom:clamp(4.5rem,6vw,7rem) !important; min-height:0 !important; }
html.v7-ready .practice-explorer--v5 .practice-v4 {
  min-height:0 !important; height:clamp(650px,71vh,760px); max-height:760px;
  grid-template-columns:minmax(340px,.72fr) minmax(0,1.28fr);
  align-items:stretch; overflow:hidden;
}
html.v7-ready .practice-list--v4 {
  min-height:100%; height:100%; display:grid; grid-template-rows:repeat(8,minmax(0,1fr)); overflow:hidden;
}
html.v7-ready .practice-list--v4 .practice-tab {
  min-height:0 !important; height:100%; margin:0; padding:.8rem clamp(1rem,1.5vw,1.6rem);
  align-items:center; border-bottom:1px solid var(--line); transform:none !important;
}
html.v7-ready .practice-list--v4 .practice-tab:last-child { border-bottom:0; }
html.v7-ready .practice-panel--v4 { min-height:0 !important; height:100%; display:grid; grid-template-columns:minmax(250px,.78fr) minmax(0,1.22fr); overflow:hidden; contain:layout paint; }
html.v7-ready .practice-v4__visual { min-height:0 !important; height:100%; }
html.v7-ready .practice-panel__content--v4 { min-height:0; height:100%; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:clamp(2.1rem,3vw,4rem); }
html.v7-ready .practice-v4__topics-wrap { margin:1.35rem 0 1rem; }
html.v7-ready .practice-panel--v4 ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem 1rem; }
html.v7-ready .practice-panel--v4 li { min-width:0; }

/* 07 · AI -------------------------------------------------------------------- */
html.v7-ready .ai-lab-v5__modules { align-items:stretch; }
html.v7-ready .ai-module { min-height:720px; }
html.v7-ready .ai-v7__quick-prompts, html.v7-ready .ai-module__chips { display:flex; flex-wrap:wrap; gap:.5rem; }
html.v7-ready .ai-module__chips button, html.v7-ready [data-ai-prompt] { min-height:36px; padding:.55rem .78rem; }
html.v7-ready .ai-result__reason { margin-top:1rem; padding:1rem 1.1rem; border:1px solid rgba(210,174,106,.2); background:rgba(210,174,106,.045); }

/* 08 · MAPA — CTA livre e painel responsivo ---------------------------------- */
html.v7-ready .decision-map--v5 { overflow:clip; }
html.v7-ready .decision-map__panel { overflow:visible; }
html.v7-ready #triageNext { position:relative; z-index:8; }
html.v7-ready .triage-network { max-width:min(1100px,86vw); margin-inline:auto; }

/* 10 · PRINCÍPIOS — 1 palavra por vez, tipografia real ----------------------- */
html.v7-ready .immersive-manifest--v5 { height:500vh; min-height:3200px; }
html.v7-ready .immersive-manifest__sticky { height:100svh; overflow:hidden; }
html.v7-ready .immersive-manifest__words { position:absolute; inset:16% 3vw 23%; display:grid; place-items:center; height:auto; perspective:1200px; }
html.v7-ready .immersive-manifest--v5 .immersive-manifest__words span {
  position:absolute; inset:auto; width:max-content; max-width:94vw;
  opacity:0; visibility:hidden; color:#f5ede1 !important;
  -webkit-text-stroke:0 !important; text-shadow:none !important;
  font-family:var(--font-ui) !important; font-weight:650; font-style:normal;
  font-size:clamp(4.8rem,10.5vw,13rem); line-height:.8; letter-spacing:-.065em;
  white-space:nowrap; text-align:center; filter:none;
}
html.v7-ready .immersive-manifest--v5 .immersive-manifest__words span.is-active { opacity:1; visibility:visible; }
html.v7-ready .immersive-manifest__copy { z-index:5; max-width:54rem; }
html.v7-ready .immersive-manifest__copy h2 { font-family:var(--font-display); }
html.v7-ready .immersive-manifest__progress { z-index:6; }

/* 11 · CONTENT LIBRARY -------------------------------------------------------- */
html.v7-ready .knowledge-v7__toolbar { display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem; margin:2.2rem 0 1.2rem; padding-top:1.4rem; border-top:1px solid var(--line); }
html.v7-ready .knowledge-v7__filters, html.v7-ready .faq-v7__filters { display:flex; flex-wrap:wrap; gap:.5rem; }
html.v7-ready .knowledge-v7__filters button, html.v7-ready .faq-v7__filters button {
  min-height:38px; padding:.55rem .82rem; border:1px solid var(--line); background:transparent; color:var(--text-muted); border-radius:999px; cursor:pointer; font:600 .72rem/1 var(--font-ui); transition:.25s;
}
html.v7-ready .knowledge-v7__filters button[aria-selected="true"], html.v7-ready .faq-v7__filters button[aria-selected="true"] { background:var(--v7-ink); color:#fff9ee; border-color:var(--v7-ink); }
html.v7-ready .knowledge-v7__meta { display:flex; gap:1rem; white-space:nowrap; color:var(--text-subtle); font-size:.72rem; }
html.v7-ready .knowledge-v7__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
html.v7-ready .knowledge-card--v7 { appearance:none; width:100%; text-align:left; color:inherit; font:inherit; cursor:pointer; }
html.v7-ready .knowledge-card__thumb { display:block; aspect-ratio:16/8; overflow:hidden; margin:-1px -1px 1.4rem; }
html.v7-ready .knowledge-card__thumb img { width:100%; height:100%; object-fit:cover; transition:transform .7s var(--v7-ease); }
html.v7-ready .knowledge-card--v7:hover .knowledge-card__thumb img { transform:scale(1.035); }
html.v7-ready .knowledge-card__motif { display:block; height:90px; margin-bottom:1.2rem; position:relative; border-bottom:1px solid var(--line); overflow:hidden; }
html.v7-ready .knowledge-card__motif::before, html.v7-ready .knowledge-card__motif::after { content:""; position:absolute; border:1px solid rgba(185,133,47,.26); }
html.v7-ready .knowledge-card__motif::before { width:70px; height:70px; border-radius:50%; right:1rem; top:10px; }
html.v7-ready .knowledge-card__motif::after { width:130px; height:1px; border-width:1px 0 0; right:3.5rem; top:44px; }
html.v7-ready .knowledge-card__action { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:1.4rem; }
html.v7-ready .knowledge-v7__pagination { display:flex; justify-content:center; gap:.45rem; margin-top:2.2rem; }
html.v7-ready .knowledge-v7__pagination button { width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:transparent; color:var(--text); cursor:pointer; }
html.v7-ready .knowledge-v7__pagination button.is-active { background:var(--v7-gold); border-color:var(--v7-gold); color:#15120d; }
html.v7-ready .knowledge-v7__pagination button:disabled { opacity:.25; cursor:default; }

html.v7-ready .guide-modal__panel, html.v7-ready .modal__panel, html.v7-ready .area-lens__panel, html.v7-ready .search-dialog__panel {
  overscroll-behavior:contain; scrollbar-gutter:stable; touch-action:pan-y;
}
html.v7-ready .guide-modal__panel { width:min(940px,calc(100vw - 3rem)); max-height:calc(100dvh - 3rem); border-radius:24px; }
html.v7-ready .guide-v7__hero { margin-bottom:2rem; }
html.v7-ready .guide-v7__media img { width:100%; max-height:390px; object-fit:cover; border-radius:18px; }
html.v7-ready .guide-v7__comparison { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; }

/* 12 · FAQ ------------------------------------------------------------------- */
html.v7-ready .faq--v5::before {
  font-family:var(--font-display) !important; font-weight:400 !important; letter-spacing:-.07em;
  color:rgba(137,96,35,.035) !important; -webkit-text-stroke:0 !important; opacity:1;
}
html.v7-ready .faq__grid--v4 { grid-template-columns:.72fr 1.28fr; align-items:start; }
html.v7-ready .faq-v7__toolbar { display:grid; gap:1rem; margin-bottom:1.35rem; }
html.v7-ready .faq-v7__search { display:flex; align-items:center; gap:.75rem; min-height:52px; border:1px solid var(--line); border-radius:14px; padding:0 1rem; background:var(--surface-raised); }
html.v7-ready .faq-v7__search svg { width:19px; fill:none; stroke:currentColor; }
html.v7-ready .faq-v7__search input { flex:1; border:0; outline:0; background:transparent; color:var(--text); font:inherit; }
html.v7-ready .faq-v7__more { margin-top:1.25rem; }
html.v7-ready .accordion-button small { display:block; color:var(--v7-gold); font:600 .61rem/1 var(--font-ui); letter-spacing:.12em; text-transform:uppercase; margin-bottom:.42rem; }

/* CONTACT DOCK — nunca bloqueia CTAs ----------------------------------------- */
html.v7-ready .contact-dock { right:max(1.25rem,env(safe-area-inset-right)); bottom:max(1.25rem,env(safe-area-inset-bottom)); z-index:52; transition:bottom .35s var(--v7-ease),top .35s var(--v7-ease),transform .35s var(--v7-ease); }
html.v7-ready .contact-dock.is-triage-zone { bottom:auto; top:calc(var(--v7-header-h) + 1.15rem); }
html.v7-ready .contact-dock.is-contact-zone { opacity:.78; }
html.v7-ready .contact-dock.is-footer-zone { bottom:6.4rem; }
html.v7-ready .back-to-top { margin-left:auto; }
html.v7-ready .back-to-top.has-dock-nearby { margin-right:8.5rem; }

/* SEARCH --------------------------------------------------------------------- */
html.v7-ready .search-dialog__panel { max-height:calc(100dvh - 4rem); overflow:auto; }
html.v7-ready .search-result { min-height:68px; }
html.v7-ready .search-result small { text-transform:uppercase; letter-spacing:.1em; }

/* DARK MODE — desenho deliberado, não inversão ------------------------------ */
html[data-theme="dark"].v7-ready {
  --bg:#12120f; --bg-soft:#181813; --surface:#1c1c18; --surface-raised:#22221d;
  --text:#eee8de; --text-strong:#fff9ee; --text-muted:#bbb3a7; --text-subtle:#928b80;
  --line:rgba(224,197,146,.15); --line-strong:rgba(224,197,146,.28);
  --accent:#c49a50; --accent-strong:#ddbb78;
}
html[data-theme="dark"].v7-ready body { background:#12120f; color:#eee8de; }
html[data-theme="dark"].v7-ready .site-header { background:rgba(18,18,15,.965) !important; border-bottom-color:rgba(218,181,111,.16) !important; color:#f4ede2 !important; }
html[data-theme="dark"].v7-ready .site-header .desktop-nav > a,
html[data-theme="dark"].v7-ready .site-header .nav-trigger,
html[data-theme="dark"].v7-ready .site-header .icon-button { color:#f4ede2 !important; }
html[data-theme="dark"].v7-ready .site-header .button--header { color:#f4ede2 !important; border-color:rgba(218,181,111,.29) !important; background:rgba(255,255,255,.025) !important; }
html[data-theme="dark"].v7-ready .hero-v7 { background:linear-gradient(108deg,#171611 0 34%,#11110e 34% 100%); color:#f5ede1; }
html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__portrait-shade { background:linear-gradient(90deg,rgba(0,0,0,.05),rgba(0,0,0,.05) 56%,rgba(17,17,14,.35) 82%,#11110e 100%); }
html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__title { color:#f4ede2; }
html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__title .hero-line:nth-child(2) i { color:#c69747; }
html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__lead, html[data-theme="dark"].v7-ready .hero-v7 .hero-v6__helper, html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__kicker { color:#bbb3a7; }
html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__scroll { color:#d5cbbc !important; }
html[data-theme="dark"].v7-ready .opening-manifest--v5,
html[data-theme="dark"].v7-ready .trust-v5,
html[data-theme="dark"].v7-ready .stephanie-story--v5,
html[data-theme="dark"].v7-ready .practice-explorer--v5,
html[data-theme="dark"].v7-ready .decision-map--v5,
html[data-theme="dark"].v7-ready .method--v5,
html[data-theme="dark"].v7-ready .knowledge-v5,
html[data-theme="dark"].v7-ready .faq--v5 { background:#171713 !important; color:#efe8dc; }
html[data-theme="dark"].v7-ready .trust-card, html[data-theme="dark"].v7-ready .practice-v4, html[data-theme="dark"].v7-ready .knowledge-card, html[data-theme="dark"].v7-ready .faq-v7__search { background:#1e1e19 !important; }
html[data-theme="dark"].v7-ready .practice-panel__content--v4 p,
html[data-theme="dark"].v7-ready .knowledge-v4__intro,
html[data-theme="dark"].v7-ready .knowledge-v4__disclaimer,
html[data-theme="dark"].v7-ready .faq--v5 .accordion-panel p,
html[data-theme="dark"].v7-ready .large-copy { color:#bcb3a6 !important; }
html[data-theme="dark"].v7-ready .faq--v5 .accordion-button { color:#eee7db !important; }
html[data-theme="dark"].v7-ready .knowledge-v7__filters button[aria-selected="true"], html[data-theme="dark"].v7-ready .faq-v7__filters button[aria-selected="true"] { background:#d0a254; border-color:#d0a254; color:#15120d; }
html[data-theme="dark"].v7-ready .decision-map__panel, html[data-theme="dark"].v7-ready .progressive-contact { background:#1c1b17 !important; color:#eee7db; }
html[data-theme="dark"].v7-ready .decision-map__panel .decision-option, html[data-theme="dark"].v7-ready .contact-step { background:#201f1a; border-color:rgba(218,181,111,.16); }
html[data-theme="dark"].v7-ready .guide-modal__panel, html[data-theme="dark"].v7-ready .modal__panel, html[data-theme="dark"].v7-ready .area-lens__panel, html[data-theme="dark"].v7-ready .search-dialog__panel, html[data-theme="dark"].v7-ready .cookie-modal__panel { background:#1b1b17; color:#eee7db; }
html[data-theme="dark"].v7-ready .search-dialog__field, html[data-theme="dark"].v7-ready .faq-v7__search { background:#22211d; }

/* BREAKPOINTS ---------------------------------------------------------------- */
@media (max-width: 1380px) {
  html.v7-ready .hero-v7 .hero-v4__shell { grid-template-columns:minmax(320px,39vw) 1fr; gap:2.5rem; }
  html.v7-ready .hero-v7 .hero-v4__portrait-layer { width:40vw !important; }
  html.v7-ready .hero-v7 .hero-v4__title { font-size:clamp(4rem,6.4vw,6.4rem); }
  html.v7-ready .hero-v7__microfacts { width:92%; }
  html.v7-ready .practice-explorer--v5 .practice-v4 { height:700px; }
}

@media (max-width: 1120px) {
  :root { --v7-header-h:72px; }
  html.v7-ready .site-header .brand__logo { width:190px !important; height:52px !important; }
  html.v7-ready .desktop-nav { gap:1rem; }
  html.v7-ready .site-header__actions > .button--header { display:none; }
  html.v7-ready .hero-v7 .hero-v4__shell { grid-template-columns:42vw 1fr; gap:2rem; }
  html.v7-ready .hero-v7 .hero-v4__portrait-layer { width:43vw !important; }
  html.v7-ready .hero-v7 .hero-v4__copy { width:100%; }
  html.v7-ready .hero-v7 .hero-v4__title { font-size:clamp(3.7rem,6.6vw,5.5rem); }
  html.v7-ready .hero-v7__microfacts { grid-template-columns:1fr; width:min(340px,100%); }
  html.v7-ready .hero-v7__microfacts > span { min-height:64px; grid-template-columns:70px 1fr; grid-template-rows:1fr; border-right:0 !important; border-bottom:1px solid rgba(209,174,108,.2) !important; }
  html.v7-ready .hero-v7__microfacts > span:last-child { border-bottom:0 !important; }
  html.v7-ready .audience-v5__content { min-height:560px; }
  html.v7-ready .practice-explorer--v5 .practice-v4 { height:auto; max-height:none; grid-template-columns:1fr; }
  html.v7-ready .practice-list--v4 { height:auto; min-height:0; grid-template-rows:none; }
  html.v7-ready .practice-list--v4 .practice-tab { min-height:68px !important; height:auto; }
  html.v7-ready .practice-panel--v4 { height:650px; }
  html.v7-ready .knowledge-v7__grid { grid-template-columns:1fr 1fr; }
  html.v7-ready .faq__grid--v4 { grid-template-columns:1fr; }
  html.v7-ready .faq__intro { max-width:760px; }
}

@media (max-width: 820px) {
  :root { --v7-safe-x:1.1rem; --v7-safe-y:4.5rem; --v7-header-h:66px; }
  html.v7-ready .site-header__shell { padding-inline:1rem !important; }
  html.v7-ready .site-header .brand__logo { width:165px !important; height:46px !important; }
  html.v7-ready .desktop-nav { display:none !important; }
  html.v7-ready .site-header__actions > #searchTrigger { display:grid !important; }
  html.v7-ready .mobile-menu-trigger { display:flex !important; }
  html.v7-ready .hero-v7 { min-height:auto; padding-top:var(--v7-header-h); background:var(--v7-paper); }
  html.v7-ready .hero-v7 .hero-v4__portrait-layer { position:relative !important; inset:auto !important; width:100% !important; height:44svh; min-height:350px; z-index:1; }
  html.v7-ready .hero-v7 .hero-v4__portrait-wrap { height:100%; }
  html.v7-ready .hero-v7 .hero-v4__portrait { object-position:52% 27%; }
  html.v7-ready .hero-v7 .hero-v4__portrait-shade { background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.04) 50%,rgba(248,242,232,.94) 100%); }
  html.v7-ready .hero-v7 .hero-v4__portrait-caption { display:none; }
  html.v7-ready .hero-v7 .hero-v4__shell { display:block; min-height:auto; padding:2rem 1.15rem 5.5rem; width:100%; }
  html.v7-ready .hero-v7 .hero-v4__kicker { margin-bottom:1.3rem; }
  html.v7-ready .hero-v7 .hero-v4__copy { width:100%; }
  html.v7-ready .hero-v7 .hero-v4__title { font-size:clamp(3.2rem,15vw,5rem); line-height:.86; }
  html.v7-ready .hero-v7 .hero-v4__lead { color:#5b544a; font-size:1rem; }
  html.v7-ready .hero-v7 .hero-v4__actions { display:grid; grid-template-columns:1fr; }
  html.v7-ready .hero-v7 .hero-v4__actions .button { width:100%; justify-content:center; }
  html.v7-ready .hero-v7__microfacts { width:100%; margin:2rem 0 0 !important; grid-template-columns:repeat(3,1fr); }
  html.v7-ready .hero-v7__microfacts > span { min-height:96px; display:flex; flex-direction:column; gap:.4rem; padding:1rem !important; border-right:1px solid rgba(209,174,108,.2) !important; border-bottom:0 !important; }
  html.v7-ready .hero-v7__microfacts strong { font-size:1.45rem; }
  html.v7-ready .hero-v7__microfacts > span { font-size:.68rem; }
  html.v7-ready .hero-v7 .hero-v4__signature, html.v7-ready .hero-v7 .hero-v5__edge-word { display:none; }
  html.v7-ready .hero-v7 .hero-v4__scroll { bottom:.8rem !important; }
  html[data-theme="dark"].v7-ready .hero-v7 { background:#151512; }
  html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__portrait-shade { background:linear-gradient(180deg,transparent,rgba(21,21,18,.92)); }
  html[data-theme="dark"].v7-ready .hero-v7 .hero-v4__lead { color:#bcb4a8; }

  html.v7-ready .chapter-nav-v5 { display:none !important; }
  html.v7-ready .practice-panel--v4 { height:auto; min-height:600px !important; grid-template-columns:1fr; }
  html.v7-ready .practice-v4__visual { min-height:270px !important; max-height:320px; border-right:0; border-bottom:1px solid var(--line); }
  html.v7-ready .practice-panel__content--v4 { overflow:visible; height:auto; }
  html.v7-ready .practice-panel--v4 ul { grid-template-columns:1fr; }
  html.v7-ready .ai-module { min-height:0; }
  html.v7-ready .ai-lab-v5__modules { grid-template-columns:1fr !important; }
  html.v7-ready .knowledge-v7__toolbar { align-items:flex-start; flex-direction:column; }
  html.v7-ready .knowledge-v7__grid { grid-template-columns:1fr; }
  html.v7-ready .guide-v7__comparison { grid-template-columns:1fr; }
  html.v7-ready .immersive-manifest--v5 { height:440vh; min-height:2500px; }
  html.v7-ready .immersive-manifest--v5 .immersive-manifest__words span { white-space:normal; width:94vw; font-size:clamp(3.6rem,15vw,6.4rem); line-height:.84; }

  html.v7-ready .contact-dock { left:50%; right:auto; bottom:max(.75rem,env(safe-area-inset-bottom)); top:auto !important; transform:translateX(-50%); width:calc(100% - 1.5rem); justify-items:stretch; }
  html.v7-ready .contact-dock__trigger { justify-content:center; width:100%; min-height:50px; }
  html.v7-ready .contact-dock__panel { width:100%; transform-origin:center bottom; }
  html.v7-ready .contact-dock.is-footer-zone { bottom:4.8rem; }
  html.v7-ready .back-to-top.has-dock-nearby { margin-right:0; margin-bottom:4.8rem; }
  html.v7-ready .guide-modal__panel, html.v7-ready .modal__panel, html.v7-ready .area-lens__panel, html.v7-ready .search-dialog__panel, html.v7-ready .cookie-modal__panel { width:100vw !important; max-width:none; height:100dvh; max-height:100dvh; border-radius:0 !important; margin:0; }
}

@media (max-width: 520px) {
  html.v7-ready .site-header__actions { gap:.3rem; }
  html.v7-ready .site-header .brand__logo { width:146px !important; }
  html.v7-ready .site-header__actions > #searchTrigger { display:none !important; }
  html.v7-ready .hero-v7 .hero-v4__portrait-layer { height:40svh; min-height:300px; }
  html.v7-ready .hero-v7 .hero-v4__title { font-size:clamp(3rem,16vw,4.2rem); }
  html.v7-ready .hero-v7__microfacts { grid-template-columns:1fr; }
  html.v7-ready .hero-v7__microfacts > span { min-height:62px; flex-direction:row; align-items:center; border-right:0 !important; border-bottom:1px solid rgba(209,174,108,.2) !important; }
  html.v7-ready .hero-v7__microfacts > span:last-child { border-bottom:0 !important; }
  html.v7-ready .knowledge-v7__filters, html.v7-ready .faq-v7__filters { flex-wrap:nowrap; overflow:auto; padding-bottom:.3rem; scrollbar-width:none; }
  html.v7-ready .knowledge-v7__filters::-webkit-scrollbar, html.v7-ready .faq-v7__filters::-webkit-scrollbar { display:none; }
  html.v7-ready .knowledge-v7__filters button, html.v7-ready .faq-v7__filters button { flex:0 0 auto; }
  html.v7-ready .knowledge-v7__meta span:last-child { display:none; }
  html.v7-ready .knowledge-v7__pagination button { width:40px; height:40px; }
}

@media (prefers-reduced-motion: reduce) {
  html.v7-ready .hero-v7__microfacts > span { transform:none !important; }
  html.v7-ready .immersive-manifest--v5 { height:auto; min-height:0; padding-block:6rem; }
  html.v7-ready .immersive-manifest__sticky { height:auto; min-height:80svh; }
  html.v7-ready .immersive-manifest__words { position:relative; inset:auto; display:grid; gap:.7rem; margin-block:3rem; }
  html.v7-ready .immersive-manifest--v5 .immersive-manifest__words span { position:relative; opacity:1 !important; visibility:visible !important; transform:none !important; filter:none !important; clip-path:none !important; }
}

/* Post renderer V7 — blocos seguros que o futuro CMS pode compor ------------ */
html.v7-ready .knowledge-post__header { max-width:760px; margin-bottom:2rem; }
html.v7-ready .knowledge-post__header h2 { font-family:var(--font-display); font-size:clamp(2.8rem,5vw,5.5rem); line-height:.92; letter-spacing:-.045em; margin:.8rem 0 1rem; }
html.v7-ready .knowledge-post__body { display:grid; gap:1.5rem; }
html.v7-ready .post-block { border-top:1px solid var(--line); padding-top:1.35rem; }
html.v7-ready .post-block--image img, html.v7-ready .post-block--video video { display:block; width:100%; max-height:520px; object-fit:cover; border-radius:18px; background:#0f0f0d; }
html.v7-ready .post-block figcaption { margin-top:.65rem; color:var(--text-subtle); font-size:.78rem; }
html.v7-ready .post-block--quote { margin:0; padding:1.6rem 1.8rem; border:1px solid rgba(185,133,47,.22); background:rgba(185,133,47,.055); }
html.v7-ready .post-block--quote p { font-family:var(--font-display); font-size:clamp(1.5rem,2.4vw,2.25rem); line-height:1.2; margin:0; }
html.v7-ready .post-block--quote footer { margin-top:.8rem; color:var(--text-subtle); font-size:.75rem; }
html.v7-ready .post-block--stats { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); padding-top:0; border:1px solid var(--line); }
html.v7-ready .post-block--stats article { display:grid; gap:.35rem; padding:1.35rem; background:var(--surface-raised); }
html.v7-ready .post-block--stats strong { font:400 clamp(2rem,4vw,3.6rem)/1 var(--font-display); }
html.v7-ready .post-block--stats span { color:var(--text-muted); font-size:.78rem; }
html.v7-ready .post-block--comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
html.v7-ready .post-block--comparison article { border:1px solid var(--line); padding:1.4rem; }
html.v7-ready .post-block--timeline article { display:grid; grid-template-columns:50px 1fr; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--line); }
html.v7-ready .post-block--questions p { display:flex; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--line); }
html.v7-ready .post-block--questions p span { color:var(--v7-gold); }
html.v7-ready .knowledge-post__disclaimer { margin-top:1.6rem; padding:1rem 1.2rem; background:rgba(185,133,47,.06); color:var(--text-muted); }

/* Area Lens ----------------------------------------------------------------- */
html.v7-ready .area-lens__panel { width:min(900px,calc(100vw - 3rem)); max-height:calc(100dvh - 3rem); overflow:auto; border-radius:24px; }

/* Forms / focus survive both themes ----------------------------------------- */
html.v7-ready input:focus-visible, html.v7-ready textarea:focus-visible, html.v7-ready select:focus-visible, html.v7-ready button:focus-visible, html.v7-ready a:focus-visible { outline:2px solid var(--v7-gold); outline-offset:3px; }

@media (max-width:820px) {
  html.v7-ready .post-block--comparison, html.v7-ready .post-block--stats { grid-template-columns:1fr; }
  html.v7-ready .knowledge-post__header h2 { font-size:clamp(2.6rem,11vw,4.5rem); }
}

/* Manifesto reage também no ambiente, não apenas na palavra ----------------- */
html.v7-ready .immersive-manifest__sticky::before,
html.v7-ready .immersive-manifest__sticky::after { content:""; position:absolute; pointer-events:none; transition:background .5s,transform .8s var(--v7-ease),opacity .5s; }
html.v7-ready .immersive-manifest__sticky::before { width:48vw; aspect-ratio:1; border-radius:50%; left:26vw; top:18%; opacity:.25; filter:blur(80px); }
html.v7-ready .immersive-manifest__sticky::after { inset:12% 6%; border:1px solid rgba(204,158,76,.08); transform:scale(.94); }
html.v7-ready .immersive-manifest--v5[data-manifest-stage="0"] .immersive-manifest__sticky::before { background:radial-gradient(circle,rgba(213,174,104,.22),transparent 68%); transform:translateX(-12vw) scale(.9); }
html.v7-ready .immersive-manifest--v5[data-manifest-stage="1"] .immersive-manifest__sticky::before { background:radial-gradient(circle,rgba(183,151,95,.24),transparent 68%); transform:translateY(5vh) scale(1.12); }
html.v7-ready .immersive-manifest--v5[data-manifest-stage="2"] .immersive-manifest__sticky::before { background:radial-gradient(circle,rgba(199,146,56,.24),transparent 68%); transform:translateX(12vw) scale(.98); }
html.v7-ready .immersive-manifest--v5[data-manifest-stage="3"] .immersive-manifest__sticky::before { background:radial-gradient(circle,rgba(228,196,139,.19),transparent 68%); transform:translateY(-4vh) scale(1.2); }
html.v7-ready .hero-v5__edge-word { color:rgba(134,94,36,.08) !important; -webkit-text-stroke:0 !important; font-weight:600; letter-spacing:-.04em; }
html.v7-ready .contact-dock.is-hero-zone:not(.is-triage-zone) { bottom:8.6rem; }
@media (max-width:820px) { html.v7-ready .contact-dock.is-hero-zone:not(.is-triage-zone) { bottom:max(.75rem,env(safe-area-inset-bottom)); } }

/* Mapa ampliado: mais opções sem transformar a etapa em uma parede enorme ---- */
html.v7-ready .triage-options:has(.triage-option:nth-child(9)) .triage-option { min-height:76px; padding:.8rem .9rem; }
html.v7-ready .triage-card { min-height:0; }
html.v7-ready .triage-card__body { min-height:430px; }
html[data-theme="dark"].v7-ready .triage-card--v4 { background:rgba(28,27,23,.96) !important; color:#eee7dc; }
html[data-theme="dark"].v7-ready .triage-card__top, html[data-theme="dark"].v7-ready .triage-card__actions { border-color:rgba(218,181,111,.14); }
html[data-theme="dark"].v7-ready .triage-card__progress { background:rgba(218,181,111,.12); }
html[data-theme="dark"].v7-ready .triage-card__progress span { background:#c99a4b; }
html[data-theme="dark"].v7-ready .triage-question h3, html[data-theme="dark"].v7-ready .triage-option { color:#eee7dc; }
html[data-theme="dark"].v7-ready .triage-question > p { color:#aaa296; }
html[data-theme="dark"].v7-ready .triage-option { border-color:rgba(218,181,111,.15); background:rgba(255,255,255,.01); }
html[data-theme="dark"].v7-ready .triage-option:hover { background:rgba(201,154,75,.07); border-color:rgba(218,181,111,.35); }
html[data-theme="dark"].v7-ready .triage-option.is-selected { background:rgba(201,154,75,.12); border-color:#c99a4b; }
html[data-theme="dark"].v7-ready .triage-option__radio { border-color:rgba(218,181,111,.35); }
html[data-theme="dark"].v7-ready .triage-option__radio::after { background:#c99a4b; }
@media(max-width:820px){ html.v7-ready .triage-options { grid-template-columns:1fr; } html.v7-ready .triage-card__body { padding:1.5rem; } html.v7-ready .triage-card__actions { position:sticky; bottom:0; z-index:6; background:inherit; } }

/* 6 nós do mapa alinhados à geometria real da curva ------------------------- */
html.v7-ready .triage-network__node { transform:translate(-50%,-50%); }
html.v7-ready .triage-network__node.is-active,
html.v7-ready .triage-network__node.is-complete { transform:translate(-50%,calc(-50% - 3px)); }
html.v7-ready .triage-network__node[data-network-node="0"] { left:7%; top:61%; }
html.v7-ready .triage-network__node[data-network-node="1"] { left:23%; top:29%; }
html.v7-ready .triage-network__node[data-network-node="2"] { left:40%; top:43%; }
html.v7-ready .triage-network__node[data-network-node="3"] { left:60%; top:70%; }
html.v7-ready .triage-network__node[data-network-node="4"] { left:78%; top:47%; }
html.v7-ready .triage-network__node[data-network-node="5"] { left:93%; top:50%; }
@media(max-width:820px){
  html.v7-ready .triage-network__node { width:52px; font-size:.48rem; }
  html.v7-ready .triage-network__node b { display:block; max-width:60px; text-align:center; }
}
@media(max-width:820px){
  html.v7-ready .contact-dock.is-triage-zone { opacity:0; pointer-events:none; transform:translate(-50%,130%); }
}
@media(max-width:820px){
  html.v7-ready .contact-dock.is-hero-zone { opacity:0; pointer-events:none; transform:translate(-50%,130%); }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v8.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   STEPHANIE DE PAIVA — V8
   VISUAL / MOBILE / DARK / MODAL / CONTEXT HARDENING
   ========================================================================== */

:root {
  --v8-header-h: 78px;
  --v8-safe-x: clamp(1.1rem, 3.5vw, 4.5rem);
  --v8-gold: #b9852f;
  --v8-gold-bright: #d6aa59;
  --v8-gold-soft: #e4c990;
  --v8-ink: #171510;
  --v8-paper: #f8f3eb;
  --v8-paper-2: #efe5d7;
  --v8-dark: #11110f;
  --v8-dark-2: #1a1915;
  --v8-dark-3: #23211c;
  --v8-radius: 24px;
  --v8-ease: cubic-bezier(.16,1,.3,1);
}

html.v8-ready,
html.v8-ready body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

html.v8-ready body { position: relative; }
html.v8-ready img, html.v8-ready svg, html.v8-ready canvas { max-width: 100%; }
html.v8-ready section, html.v8-ready main, html.v8-ready footer { min-width: 0; }
html.v8-ready .container,
html.v8-ready .container-wide { min-width: 0; }

/* --------------------------------------------------------------------------
   HEADER / BRAND
   -------------------------------------------------------------------------- */
html.v8-ready .site-header {
  height: var(--v8-header-h);
  min-height: var(--v8-header-h);
}
html.v8-ready .site-header__shell {
  height: var(--v8-header-h) !important;
  min-height: var(--v8-header-h) !important;
  gap: clamp(.7rem, 1.7vw, 2rem);
}
html.v8-ready .site-header .brand {
  height: 100% !important;
  min-width: 0;
  padding-block: 5px;
}
html.v8-ready .site-header .brand__logo {
  width: clamp(178px, 11.8vw, 232px) !important;
  height: 54px !important;
  max-height: 54px !important;
  object-fit: contain;
  object-position: left center;
}
html.v8-ready .site-header.is-scrolled .brand__logo { width: clamp(178px, 11.8vw, 232px) !important; }
html.v8-ready .theme-toggle { position: relative; overflow: visible; }
html.v8-ready .theme-toggle::after { display: none !important; content: none !important; }
html.v8-ready .mobile-menu-trigger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   HERO — FACTS CENTRALIZADOS SOBRE A FOTO + WEBGL PROGRESSIVO
   -------------------------------------------------------------------------- */
html.v8-ready .hero-v7 { overflow: clip; }
html.v8-ready .hero-v8__webgl {
  position: absolute;
  inset: var(--v8-header-h) 0 0 max(34vw, 560px);
  pointer-events: none;
  z-index: 1;
  opacity: .55;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
}
html[data-theme="dark"].v8-ready .hero-v8__webgl {
  opacity: .78;
  mix-blend-mode: screen;
}
html.v8-ready .hero-v8__webgl canvas { width: 100% !important; height: 100% !important; display: block; }

html.v8-ready .hero-v7__microfacts {
  position: absolute !important;
  left: calc(min(37vw,710px) / 2) !important;
  right: auto !important;
  bottom: clamp(3.6rem, 6vh, 5.7rem) !important;
  transform: translateX(-50%);
  grid-column: auto !important;
  grid-row: auto !important;
  width: min(620px, calc(min(37vw,710px) - clamp(2.5rem,5vw,5rem))) !important;
  max-width: calc(100% - 2rem);
  margin: 0 !important;
  z-index: 7;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(14,12,9,.28), inset 0 1px 0 rgba(255,255,255,.05);
}
html.v8-ready .hero-v7__microfacts > span {
  min-height: 96px;
  padding: 1.2rem 1.25rem !important;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: .4rem;
}
html.v8-ready .hero-v7__microfacts strong { font-size: clamp(1.5rem, 1.7vw, 2rem); }
html.v8-ready .hero-v7__microfacts > span { font-size: clamp(.67rem,.7vw,.78rem); }
html.v8-ready .hero-v7 .hero-v4__portrait-caption {
  left: 50% !important;
  right: auto !important;
  bottom: 1rem !important;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  text-align: center;
}
html.v8-ready .hero-v7 .hero-v4__scroll {
  left: calc(50% + min(18.5vw,355px)) !important;
  bottom: 1.45rem !important;
}

@media (min-width: 1921px) {
  html.v8-ready .hero-v7 .hero-v4__shell {
    grid-template-columns: minmax(430px, 36vw) minmax(650px, 1fr);
    max-width: 1920px;
    margin-inline: auto;
  }
  html.v8-ready .hero-v7 .hero-v4__portrait-layer { width: min(36vw,760px) !important; }
  html.v8-ready .hero-v7__microfacts {
    left: min(18vw,380px) !important;
    width: min(650px, calc(min(36vw,760px) - 4rem)) !important;
  }
}

/* --------------------------------------------------------------------------
   SECTION 04 — STORY DARK MODE AUDIT
   -------------------------------------------------------------------------- */
html[data-theme="dark"].v8-ready .stephanie-story--v5 .stephanie-story__head .display-title,
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-chapter h3,
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-chapter.is-active h3 {
  color: #f5eee3 !important;
}
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-chapter p,
html[data-theme="dark"].v8-ready .stephanie-story--v5 .stephanie-story__head p,
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-portrait__role {
  color: #bdb5a9 !important;
}
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-chapter { border-color: rgba(218,181,111,.17); }
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-chapter__index { color: var(--v8-gold-bright); }
html[data-theme="dark"].v8-ready .stephanie-story--v5 .story-chapter:not(.is-active) { opacity: .5 !important; }

/* --------------------------------------------------------------------------
   AREA LENS — MODAL REAL / PORTAL VISUAL
   -------------------------------------------------------------------------- */
html.v8-ready .area-lens {
  position: fixed !important;
  inset: 0 !important;
  z-index: 180 !important;
  display: grid !important;
  place-items: center;
  padding: clamp(1rem,3vw,2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
html.v8-ready .area-lens.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
html.v8-ready .area-lens__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,13,10,.64);
  backdrop-filter: blur(14px) saturate(.92);
}
html.v8-ready .area-lens__panel {
  position: relative !important;
  z-index: 2;
  width: min(920px, calc(100vw - 2rem)) !important;
  max-height: min(780px, calc(100dvh - 2rem)) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  padding: clamp(2rem,5vw,4.5rem) !important;
  border: 1px solid rgba(157,116,53,.18);
  border-radius: 26px !important;
  background: var(--v8-paper) !important;
  color: var(--v8-ink) !important;
  box-shadow: 0 42px 120px rgba(9,8,6,.28);
  transform: translateY(22px) scale(.975);
  transition: transform .48s var(--v8-ease), background .3s, color .3s;
}
html.v8-ready .area-lens.is-open .area-lens__panel { transform: none; }
html.v8-ready .area-lens__close { position: sticky; top: 0; float: right; z-index: 4; margin: -1rem -1rem 0 1rem; }
html.v8-ready .area-lens__eyebrow { display: block; color: #966b29; letter-spacing: .15em; text-transform: uppercase; font-size: .7rem; }
html.v8-ready .area-lens__panel h2 { margin: .9rem 0 1rem; font-family: var(--font-display); font-size: clamp(2.7rem,5vw,5.4rem); line-height: .94; font-weight: 400; letter-spacing: -.045em; }
html.v8-ready .area-lens__lead { max-width: 650px; color: #625c53; font-size: 1.05rem; line-height: 1.65; }
html.v8-ready .area-lens__topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin: 1.7rem 0 2rem; }
html.v8-ready .area-lens__topics span { padding: .8rem .9rem; border: 1px solid rgba(103,78,43,.13); background: rgba(255,255,255,.36); font-size: .82rem; line-height: 1.45; }
html.v8-ready .area-lens__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
html.v8-ready .area-lens__note { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(103,78,43,.13); color: #7a7267; font-size: .76rem; }
html[data-theme="dark"].v8-ready .area-lens__panel { background: #1c1b17 !important; color: #f5eee3 !important; border-color: rgba(218,181,111,.2); }
html[data-theme="dark"].v8-ready .area-lens__lead,
html[data-theme="dark"].v8-ready .area-lens__note { color: #bdb4a7 !important; }
html[data-theme="dark"].v8-ready .area-lens__topics span { background: rgba(255,255,255,.025); border-color: rgba(218,181,111,.14); }

/* --------------------------------------------------------------------------
   SECTION 06 — HEIGHT STABILITY + LONG LABELS + INTERNAL SCROLL
   -------------------------------------------------------------------------- */
html.v8-ready .practice-explorer--v5 .practice-v4 {
  height: clamp(720px, 74vh, 790px) !important;
  min-height: 720px;
}
html.v8-ready .practice-list--v4 {
  grid-template-rows: repeat(8, minmax(88px, 1fr)) !important;
  min-height: 0;
}
html.v8-ready .practice-list--v4 .practice-tab {
  height: 100%;
  min-height: 88px !important;
  padding-block: .85rem !important;
  align-items: center;
  overflow: hidden;
}
html.v8-ready .practice-tab__title {
  line-height: 1.16 !important;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html.v8-ready .practice-panel__content--v4 {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(185,133,47,.68) transparent;
  padding-bottom: 4rem !important;
}
html.v8-ready .practice-panel__content--v4::-webkit-scrollbar { width: 7px; }
html.v8-ready .practice-panel__content--v4::-webkit-scrollbar-thumb { background: rgba(185,133,47,.55); border-radius: 99px; }
html.v8-ready .practice-v4.is-wheel-engaged { box-shadow: 0 0 0 1px rgba(185,133,47,.13), 0 28px 70px rgba(73,55,29,.06); }

/* --------------------------------------------------------------------------
   DECISION MAP / DARK CONTRAST
   -------------------------------------------------------------------------- */
html[data-theme="dark"].v8-ready .decision-map--v5 .display-title,
html[data-theme="dark"].v8-ready .decision-map--v5 .decision-v4__intro h2,
html[data-theme="dark"].v8-ready .decision-map--v5 .large-copy { color: #f5eee3 !important; }
html[data-theme="dark"].v8-ready .decision-map--v5 .decision-v4__intro > p,
html[data-theme="dark"].v8-ready .decision-map--v5 .decision-map__disclaimer { color: #b9b1a5 !important; }
html[data-theme="dark"].v8-ready .triage-card .button--ghost,
html[data-theme="dark"].v8-ready .triage-card #triageBack {
  color: #ddd4c7 !important;
  border-color: rgba(218,181,111,.25) !important;
  background: rgba(255,255,255,.02) !important;
}
html[data-theme="dark"].v8-ready .triage-card #triageBack:disabled { color: #756f67 !important; border-color: rgba(218,181,111,.09) !important; }
html.v8-ready .triage-option { min-width: 0; }
html.v8-ready .triage-option span:last-child { min-width: 0; overflow-wrap: anywhere; }
html.v8-ready .triage-branch-note { margin: 1rem 0 0; color: var(--text-muted); font-size: .78rem; line-height: 1.55; }
html.v8-ready .triage-result__trace { display: grid; gap: .5rem; margin: 1.4rem 0; padding: 1.2rem; border: 1px solid var(--line); }
html.v8-ready .triage-result__trace span { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; font-size: .78rem; }
html.v8-ready .triage-result__trace b { color: var(--v8-gold); text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; }

/* --------------------------------------------------------------------------
   MANIFESTO — PALCO EXCLUSIVO / TAMANHO CONTROLADO / NÃO ATROPELA CÓPIA
   -------------------------------------------------------------------------- */
html.v8-ready .immersive-manifest--v5 { height: 430vh; min-height: 3200px; }
html.v8-ready .immersive-manifest__sticky { min-height: 100svh; height: 100svh; overflow: hidden; }
html.v8-ready .immersive-manifest__shell {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto auto;
  align-items: stretch;
  padding-top: clamp(2rem,4vh,3.6rem);
  padding-bottom: clamp(1.8rem,3vh,2.8rem);
}
html.v8-ready .immersive-manifest__words {
  position: relative !important;
  inset: auto !important;
  grid-row: 2;
  min-height: clamp(280px,43vh,470px);
  height: auto !important;
  margin: clamp(2rem,4vh,4rem) 0 clamp(1.8rem,3.5vh,3.2rem);
  display: grid !important;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
html.v8-ready .immersive-manifest__words::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-block: 1px solid rgba(216,184,120,.12);
  pointer-events: none;
}
html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span {
  position: absolute !important;
  inset: auto !important;
  width: 100% !important;
  max-width: calc(100vw - 2 * var(--v8-safe-x));
  text-align: center;
  white-space: nowrap !important;
  font-family: var(--font-ui) !important;
  font-size: clamp(4.1rem, 9.3vw, 10.4rem) !important;
  line-height: .82 !important;
  letter-spacing: -.065em;
  color: #f5eee4 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 0 60px rgba(215,174,96,.05);
  opacity: 0;
  visibility: hidden;
  will-change: transform,opacity,clip-path,filter;
}
html.v8-ready .immersive-manifest--v5 .manifest-word--responsibility { font-size: clamp(3.3rem, 7.6vw, 8.5rem) !important; letter-spacing: -.055em; }
html.v8-ready .immersive-manifest__copy {
  position: relative;
  z-index: 7;
  grid-row: 3;
  margin-top: clamp(1rem,2vh,2rem);
  padding-top: clamp(1.5rem,2.5vh,2.3rem);
}
html.v8-ready .immersive-manifest__copy h2 { max-width: 14ch; }
html.v8-ready .immersive-manifest__progress { grid-row: 4; }

/* --------------------------------------------------------------------------
   KNOWLEDGE / CONTENT — DARK + META + TOOLBAR
   -------------------------------------------------------------------------- */
html.v8-ready .knowledge-card__action small {
  color: #776f65;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: none;
}
html[data-theme="dark"].v8-ready .knowledge-v5 { background: #151512 !important; }
html[data-theme="dark"].v8-ready .knowledge-v4__head .display-title,
html[data-theme="dark"].v8-ready .knowledge-card h3 { color: #f4ede2 !important; }
html[data-theme="dark"].v8-ready .knowledge-v4__intro,
html[data-theme="dark"].v8-ready .knowledge-card p,
html[data-theme="dark"].v8-ready .knowledge-card__action small,
html[data-theme="dark"].v8-ready .knowledge-v4__disclaimer { color: #bcb4a8 !important; }
html[data-theme="dark"].v8-ready .knowledge-card__category { color: #d3aa62 !important; }
html[data-theme="dark"].v8-ready .knowledge-card {
  background: #1c1b17 !important;
  border-color: rgba(218,181,111,.14) !important;
}
html[data-theme="dark"].v8-ready .knowledge-card:hover { background: #211f1a !important; }
html.v8-ready .knowledge-v7__toolbar { min-width: 0; }
html.v8-ready .knowledge-v7__filters { min-width: 0; }

/* --------------------------------------------------------------------------
   FAQ DARK AUDIT
   -------------------------------------------------------------------------- */
html[data-theme="dark"].v8-ready .faq--v5 { background: #181713 !important; }
html[data-theme="dark"].v8-ready .faq__intro .display-title,
html[data-theme="dark"].v8-ready .faq__intro h2 { color: #f4ede2 !important; }
html[data-theme="dark"].v8-ready .faq__intro > p:last-child { color: #bcb4a8 !important; }
html[data-theme="dark"].v8-ready .faq .section-marker,
html[data-theme="dark"].v8-ready .faq .section-marker span,
html[data-theme="dark"].v8-ready .faq .eyebrow { color: #d2aa65 !important; }
html[data-theme="dark"].v8-ready .faq-v7__search { background: #201f1b !important; border-color: rgba(218,181,111,.17) !important; }
html[data-theme="dark"].v8-ready .faq-v7__search input { color: #eee7dc !important; }
html[data-theme="dark"].v8-ready .faq-v7__search input::placeholder { color: #91897d !important; }
html[data-theme="dark"].v8-ready .accordion-button { color: #eee7dc !important; border-color: rgba(218,181,111,.14) !important; }
html[data-theme="dark"].v8-ready .accordion-button__icon { border-color: rgba(218,181,111,.38) !important; color: #eadfcd !important; }
html[data-theme="dark"].v8-ready .accordion-panel p { color: #bcb4a8 !important; }

/* --------------------------------------------------------------------------
   CONTACT DARK AUDIT + CHANNEL BUTTONS
   -------------------------------------------------------------------------- */
html[data-theme="dark"].v8-ready .contact-step h3,
html[data-theme="dark"].v8-ready .contact-step > h3 { color: #f4ede2 !important; }
html[data-theme="dark"].v8-ready .contact-step > p,
html[data-theme="dark"].v8-ready .contact-form__note { color: #bbb2a6 !important; }
html[data-theme="dark"].v8-ready .contact-step label,
html[data-theme="dark"].v8-ready .field label { color: #ddd5c8 !important; }
html[data-theme="dark"].v8-ready .contact-step input,
html[data-theme="dark"].v8-ready .contact-step textarea,
html[data-theme="dark"].v8-ready .contact-step select {
  color: #f2eadf !important;
  background: #171612 !important;
  border-color: rgba(218,181,111,.22) !important;
}
html[data-theme="dark"].v8-ready .contact-step select option { background: #171612; color: #f2eadf; }
html[data-theme="dark"].v8-ready .progressive-contact__progress > span { color: #8d857a; }
html[data-theme="dark"].v8-ready .progressive-contact__progress > span.is-active,
html[data-theme="dark"].v8-ready .progressive-contact__progress > span.is-complete { color: #d5aa5d; }
html.v8-ready .contact-step__actions--channels {
  display: grid !important;
  grid-template-columns: auto minmax(180px,1fr) minmax(190px,1fr);
  align-items: stretch;
}
html.v8-ready .button--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  border: 1px solid rgba(47,125,83,.32);
  border-radius: 999px;
  background: rgba(47,125,83,.09);
  color: #245d40;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
html.v8-ready .button--whatsapp svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
html[data-theme="dark"].v8-ready .button--whatsapp { background: rgba(80,181,119,.09); border-color: rgba(80,181,119,.25); color: #9bd0ae; }

/* --------------------------------------------------------------------------
   SOCIAL LINKS / FOOTER / DOCK
   -------------------------------------------------------------------------- */
html.v8-ready .social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
html.v8-ready .social-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  opacity: .9;
  transition: transform .3s var(--v8-ease), color .25s, border-color .25s, opacity .25s;
}
html.v8-ready a.social-link:hover { transform: translateY(-3px); color: var(--v8-gold-bright); }
html.v8-ready .social-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.55; }
html.v8-ready .social-link.is-pending { opacity: .3; cursor: not-allowed; }
html.v8-ready .site-footer .social-links { color: #c8bfae; }
html.v8-ready .contact-dock__panel { max-height: min(420px, calc(100dvh - 6rem)); overflow: auto; }
html.v8-ready .back-to-top.has-dock-nearby { margin-right: clamp(7.5rem,10vw,10rem); }

/* --------------------------------------------------------------------------
   DARK MODE — GLOBAL COMPLETENESS PASS
   -------------------------------------------------------------------------- */
html[data-theme="dark"].v8-ready body { background: #12120f; color: #eee7dc; }
html[data-theme="dark"].v8-ready .section:not(.ai-lab-v5):not(.authority-v5):not(.immersive-manifest--v5):not(.contact--v5) { color: #eee7dc; }
html[data-theme="dark"].v8-ready .section-marker:not(.section-marker--light) { color: #c9a15d; }
html[data-theme="dark"].v8-ready .eyebrow:not(.eyebrow--light) { color: #cda65f; }
html[data-theme="dark"].v8-ready .display-title:not(.display-title--light),
html[data-theme="dark"].v8-ready .opening-manifest__title,
html[data-theme="dark"].v8-ready .trust-v5__title { color: #f2ece2; }
html[data-theme="dark"].v8-ready .opening-manifest,
html[data-theme="dark"].v8-ready .trust-v5,
html[data-theme="dark"].v8-ready .practice-explorer--v5,
html[data-theme="dark"].v8-ready .method--v5 { background: #181713 !important; }
html[data-theme="dark"].v8-ready .opening-manifest__footer p,
html[data-theme="dark"].v8-ready .trust-v5__head > p,
html[data-theme="dark"].v8-ready .practice-explorer__intro,
html[data-theme="dark"].v8-ready .method-v4__step p { color: #bcb4a8 !important; }
html[data-theme="dark"].v8-ready .practice-list--v4 .practice-tab { color: #d8d0c4; border-color: rgba(218,181,111,.12); }
html[data-theme="dark"].v8-ready .practice-list--v4 .practice-tab[aria-selected="true"] { color: #f5eee3; background: rgba(198,151,72,.09); }
html[data-theme="dark"].v8-ready .practice-panel--v4 { background: #1d1c18 !important; }
html[data-theme="dark"].v8-ready .practice-panel__content--v4 h3 { color: #f5eee3; }
html[data-theme="dark"].v8-ready .practice-panel__content--v4 p,
html[data-theme="dark"].v8-ready .practice-panel--v4 li { color: #bdb5a9 !important; }
html[data-theme="dark"].v8-ready .method-v4__step h3 { color: #f3ecdf; }

/* --------------------------------------------------------------------------
   PAGE LOADER
   -------------------------------------------------------------------------- */
html.v8-ready .page-loader { inset: 0; width: 100%; max-width: 100vw; overflow: hidden; }
html.v8-ready .page-loader__inner { width: min(520px, calc(100vw - 3rem)); }
html.v8-ready .page-loader__logo { width: min(360px, 82vw); height: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   RESPONSIVE — LAPTOP / TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  html.v8-ready .hero-v8__webgl { display: none; }
  html.v8-ready .hero-v7 .hero-v4__shell { grid-template-columns: minmax(310px,39vw) minmax(0,1fr); gap: 2rem; }
  html.v8-ready .hero-v7 .hero-v4__portrait-layer { width: 40vw !important; }
  html.v8-ready .hero-v7__microfacts { left: 20vw !important; width: calc(40vw - 3rem) !important; }
  html.v8-ready .hero-v7 .hero-v4__copy { width: 100%; }
  html.v8-ready .hero-v7 .hero-v4__title { font-size: clamp(3.8rem,6.5vw,6.2rem); }
  html.v8-ready .contact-step__actions--channels { grid-template-columns: 1fr 1fr; }
  html.v8-ready .contact-step__actions--channels .contact-back { grid-column: 1 / -1; justify-self: start; }
}

/* --------------------------------------------------------------------------
   MOBILE — NATIVE SCROLL + SAFE MOTION + ZERO HORIZONTAL OVERFLOW
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  :root { --v8-header-h: 68px; --v8-safe-x: 1rem; }
  html.v8-ready { overflow-x: clip !important; }
  html.v8-ready body { overflow-x: clip !important; width: 100%; }
  html.v8-ready .container-wide,
  html.v8-ready .container { width: calc(100% - 2rem) !important; max-width: 100% !important; margin-inline: auto; }
  html.v8-ready .section { padding-block: clamp(4rem,12vw,6rem); }

  html.v8-ready .site-header { height: var(--v8-header-h); min-height: var(--v8-header-h); }
  html.v8-ready .site-header__shell { height: var(--v8-header-h) !important; min-height: var(--v8-header-h) !important; padding-inline: .9rem !important; }
  html.v8-ready .site-header .brand__logo { width: 154px !important; height: 48px !important; max-height: 48px !important; }
  html.v8-ready .desktop-nav { display: none !important; }
  html.v8-ready .site-header__actions > .button--header { display: none !important; }
  html.v8-ready #searchTrigger { display: none !important; }
  html.v8-ready .site-header__actions { margin-left: auto; gap: .55rem; }
  html.v8-ready .theme-toggle { width: 42px; height: 42px; display: grid !important; }
  html.v8-ready .mobile-menu-trigger { width: 44px; height: 42px; display: grid !important; place-content: center; gap: 6px; color: currentColor; }
  html.v8-ready .mobile-menu { width: 100vw; max-width: 100vw; }
  html.v8-ready .mobile-menu__panel { width: min(92vw,430px); max-width: 100vw; overflow-x: hidden; }

  html.v8-ready .hero-v7 { min-height: auto; padding-top: var(--v8-header-h); background: var(--v8-paper); }
  html.v8-ready .hero-v7 .hero-v4__portrait-layer {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    width: 100% !important;
    height: min(56svh,520px) !important;
    min-height: 360px;
    z-index: 1;
  }
  html.v8-ready .hero-v7 .hero-v4__portrait-wrap { height: 100%; }
  html.v8-ready .hero-v7 .hero-v4__portrait { object-position: 50% 27%; }
  html.v8-ready .hero-v7 .hero-v4__portrait-frame { inset: 1rem; }
  html.v8-ready .hero-v7 .hero-v4__portrait-caption { display: block !important; bottom: .8rem !important; font-size: .84rem; }
  html.v8-ready .hero-v7 .hero-v4__shell {
    min-height: 0 !important;
    display: block !important;
    width: 100% !important;
    padding: 0 1rem 4.8rem !important;
  }
  html.v8-ready .hero-v7 .hero-v4__kicker { margin: 2rem 0 1.1rem; max-width: 100%; }
  html.v8-ready .hero-v7 .hero-v4__copy { width: 100% !important; max-width: 100%; padding: 0 !important; }
  html.v8-ready .hero-v7 .hero-v4__title { font-size: clamp(3rem,14.2vw,4.6rem) !important; line-height: .88; }
  html.v8-ready .hero-v7 .hero-v4__lead { font-size: 1rem; line-height: 1.6; }
  html.v8-ready .hero-v7 .hero-v4__actions { display: grid; gap: .7rem; }
  html.v8-ready .hero-v7 .hero-v4__actions .button { width: 100%; justify-content: center; }
  html.v8-ready .hero-v7 .hero-v6__helper { width: 100%; padding-right: 0; }
  html.v8-ready .hero-v7__microfacts {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.35rem 0 0 !important;
    grid-template-columns: 1fr !important;
    border-radius: 16px;
  }
  html.v8-ready .hero-v7__microfacts > span {
    min-height: 62px !important;
    grid-template-columns: 80px 1fr !important;
    grid-template-rows: 1fr !important;
    align-items: center;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(209,174,108,.2) !important;
    padding: .9rem 1rem !important;
  }
  html.v8-ready .hero-v7__microfacts > span:last-child { border-bottom: 0 !important; }
  html.v8-ready .hero-v7 .hero-v4__scroll {
    left: 50% !important;
    bottom: 1.25rem !important;
    position: absolute !important;
  }
  html.v8-ready .hero-v4__signature,
  html.v8-ready .hero-v5__edge-word,
  html.v8-ready .hero-v8__webgl { display: none !important; }

  html.v8-ready .practice-explorer--v5 .practice-v4 { height: auto !important; min-height: 0 !important; }
  html.v8-ready .practice-list--v4 { grid-template-rows: none !important; }
  html.v8-ready .practice-list--v4 .practice-tab { height: auto !important; min-height: 70px !important; }
  html.v8-ready .practice-panel--v4 { min-height: 0 !important; height: auto !important; }
  html.v8-ready .practice-panel__content--v4 { overflow: visible !important; height: auto !important; }

  html.v8-ready .decision-v4__grid { gap: 2.2rem !important; }
  html.v8-ready .triage-card--v4 { border-radius: 22px; }
  html.v8-ready .triage-card__body { min-height: 0 !important; padding: 1.25rem !important; }
  html.v8-ready .triage-card__actions { position: sticky; bottom: 0; padding: .9rem 1rem; background: inherit; box-shadow: 0 -12px 28px rgba(0,0,0,.04); }
  html.v8-ready .triage-result__trace span { grid-template-columns: 1fr; gap: .2rem; }

  html.v8-ready .immersive-manifest--v5 {
    height: auto !important;
    min-height: 0 !important;
    padding-block: 0;
  }
  html.v8-ready .immersive-manifest__sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4rem 0 4.5rem;
    overflow: clip;
  }
  html.v8-ready .immersive-manifest__shell {
    min-height: 0;
    height: auto;
    display: block;
    width: calc(100% - 2rem) !important;
    padding: 0 !important;
  }
  html.v8-ready .immersive-manifest__words {
    min-height: 0 !important;
    margin: 3.2rem 0 !important;
    display: grid !important;
    gap: .65rem;
    overflow: visible;
  }
  html.v8-ready .immersive-manifest__words::before { display: none; }
  html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v8-ready .immersive-manifest--v5 .manifest-word--responsibility {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    clip-path: none;
    text-align: left !important;
    font-size: clamp(2.35rem,11.8vw,4rem) !important;
    line-height: .95 !important;
    color: rgba(246,239,229,.92) !important;
    letter-spacing: -.045em !important;
  }
  html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span:nth-child(2) { padding-left: 7vw; }
  html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span:nth-child(3) { padding-left: 2vw; color: var(--v8-gold-soft) !important; }
  html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span:nth-child(4) { font-size: clamp(2rem,9.7vw,3.35rem) !important; }
  html.v8-ready .immersive-manifest__copy { display: block !important; margin-top: 2.5rem; }
  html.v8-ready .immersive-manifest__copy h2 { font-size: clamp(2.35rem,10vw,3.6rem); }
  html.v8-ready .immersive-manifest__copy p { margin-top: 1.2rem; line-height: 1.65; }

  html.v8-ready .knowledge-v7__toolbar { display: block; overflow: hidden; }
  html.v8-ready .knowledge-v7__filters,
  html.v8-ready .faq-v7__filters {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .55rem;
    scrollbar-width: none;
  }
  html.v8-ready .knowledge-v7__filters::-webkit-scrollbar,
  html.v8-ready .faq-v7__filters::-webkit-scrollbar { display: none; }
  html.v8-ready .knowledge-v7__filters button,
  html.v8-ready .faq-v7__filters button { flex: 0 0 auto; max-width: 78vw; white-space: nowrap; }
  html.v8-ready .knowledge-v7__meta { margin-top: .65rem; justify-content: space-between; }
  html.v8-ready .knowledge-v7__grid { grid-template-columns: 1fr !important; width: 100%; }
  html.v8-ready .knowledge-card { width: 100%; min-width: 0; min-height: 330px; padding: 1.5rem; }
  html.v8-ready .knowledge-card h3 { font-size: clamp(2rem,9.7vw,3.1rem); max-width: 100%; overflow-wrap: anywhere; }

  html.v8-ready .faq__grid { grid-template-columns: 1fr !important; gap: 2.5rem; }
  html.v8-ready .faq__intro { max-width: 100%; }
  html.v8-ready .faq__intro .display-title { font-size: clamp(3rem,13vw,4.7rem); }
  html.v8-ready .faq-v7__content { min-width: 0; }

  html.v8-ready .contact-v4__grid { grid-template-columns: 1fr !important; gap: 2.3rem; }
  html.v8-ready .contact-v4__intro .display-title { font-size: clamp(3rem,13vw,4.7rem); }
  html.v8-ready .progressive-contact { min-height: 0 !important; width: 100%; padding: 1rem !important; }
  html.v8-ready .contact-step { min-height: 0; }
  html.v8-ready .contact-step > h3 { font-size: clamp(2.4rem,11vw,3.6rem) !important; }
  html.v8-ready .form-row--two { grid-template-columns: 1fr !important; }
  html.v8-ready .contact-step__actions,
  html.v8-ready .contact-step__actions--channels { grid-template-columns: 1fr !important; display: grid !important; }
  html.v8-ready .contact-step__actions .button,
  html.v8-ready .contact-step__actions--channels .button { width: 100%; justify-content: center; }
  html.v8-ready .contact-step__actions--channels .contact-back { grid-column: auto; justify-self: stretch; }

  html.v8-ready .contact-dock {
    left: 50% !important;
    right: auto !important;
    bottom: max(.7rem, env(safe-area-inset-bottom)) !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 1.4rem);
    max-width: 420px;
    justify-items: stretch;
    z-index: 70;
  }
  html.v8-ready .contact-dock__trigger { width: 100%; justify-content: center; min-height: 48px; }
  html.v8-ready .contact-dock__panel { width: 100%; max-width: 100%; transform-origin: center bottom; }
  html.v8-ready .contact-dock.is-footer-zone,
  html.v8-ready .contact-dock.is-contact-zone { opacity: 0; pointer-events: none; transform: translate(-50%,130%) !important; }

  html.v8-ready .area-lens { padding: 0; }
  html.v8-ready .area-lens__panel { width: 100vw !important; height: 100dvh !important; max-height: 100dvh !important; border-radius: 0 !important; padding: 1.3rem !important; }
  html.v8-ready .area-lens__topics { grid-template-columns: 1fr; }

  html.v8-ready .guide-modal,
  html.v8-ready .modal,
  html.v8-ready .search-dialog,
  html.v8-ready .cookie-modal { max-width: 100vw; overflow: hidden; }
  html.v8-ready .guide-modal__panel,
  html.v8-ready .modal__panel,
  html.v8-ready .search-dialog__panel,
  html.v8-ready .cookie-modal__panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    overflow-x: hidden !important;
  }

  html.v8-ready .site-footer__top,
  html.v8-ready .site-footer__grid,
  html.v8-ready .site-footer__bottom { min-width: 0; }
  html.v8-ready .site-footer__grid { grid-template-columns: 1fr 1fr !important; gap: 2rem 1.2rem; }
  html.v8-ready .back-to-top.has-dock-nearby { margin-right: 0; }

  html.v8-ready .chapter-nav-v5 { display: none !important; }
}

@media (max-width: 520px) {
  html.v8-ready .site-header .brand__logo { width: 142px !important; height: 44px !important; }
  html.v8-ready .site-header__actions { gap: .25rem; }
  html.v8-ready .theme-toggle { width: 38px; height: 38px; }
  html.v8-ready .mobile-menu-trigger { width: 40px; height: 38px; }
  html.v8-ready .hero-v7 .hero-v4__portrait-layer { height: 46svh !important; min-height: 320px; }
  html.v8-ready .hero-v7 .hero-v4__title { font-size: clamp(2.85rem,13.7vw,4rem) !important; }
  html.v8-ready .hero-v7__microfacts > span { grid-template-columns: 72px 1fr !important; }
  html.v8-ready .site-footer__grid { grid-template-columns: 1fr !important; }
  html.v8-ready .knowledge-v7__pagination { gap: .3rem; flex-wrap: wrap; }
  html.v8-ready .knowledge-v7__pagination button { width: 38px; height: 38px; }
  html.v8-ready .triage-option { min-height: 68px; padding: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html.v8-ready .hero-v8__webgl { display: none !important; }
  html.v8-ready .practice-panel__content--v4 { scroll-behavior: auto; }
}

/* ========================================================================== 
   V8 RUNTIME COMPONENTS / FINAL OVERRIDES
   ========================================================================== */

/* V8 social icon labels remain accessible without expanding the icon buttons. */
html.v8-ready .social-link { position: relative; text-decoration: none; }
html.v8-ready .social-link > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Conditional triage tree. */
html.v8-ready .triage-v8__question { display: grid; align-content: start; gap: .8rem; }
html.v8-ready .triage-v8__eyebrow,
html.v8-ready .triage-result__eyebrow {
  color: #9c712f;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.v8-ready .triage-v8__question > h3 {
  max-width: 13ch;
  margin: .3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem,4.25vw,4.75rem);
  font-weight: 400;
  letter-spacing: -.048em;
  line-height: .94;
  text-wrap: balance;
}
html.v8-ready .triage-v8__question > p { max-width: 62ch; color: #70685e; font-size: .79rem; line-height: 1.55; }
html.v8-ready .triage-v8__options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .65rem;
  margin-top: 1.1rem;
}
html.v8-ready .triage-v8__options .triage-option {
  min-height: 86px;
  cursor: pointer;
  border-radius: 18px;
  padding: .9rem 1rem;
}
html.v8-ready .triage-option input { position: absolute; opacity: 0; pointer-events: none; }
html.v8-ready .triage-option__label { display: grid; gap: .22rem; min-width: 0; }
html.v8-ready .triage-option__label small { color: #a77b36; font-size: .57rem; letter-spacing: .12em; }
html.v8-ready .triage-option__label strong { color: inherit; font-size: .76rem; line-height: 1.35; font-weight: 650; }
html.v8-ready .triage-network__node.is-current i { box-shadow: 0 0 0 9px rgba(192,145,65,.12), 0 0 34px rgba(197,150,70,.28); }
html.v8-ready .triage-result--v8 { min-height: 0; align-content: start; }
html.v8-ready .triage-result--v8 h3 { max-width: 13ch; }
html.v8-ready .triage-result__why { margin-top: 1.4rem; padding: 1rem 1.1rem; border-left: 2px solid rgba(185,133,47,.55); background: rgba(185,133,47,.055); }
html.v8-ready .triage-result__why > span { display: block; margin-bottom: .35rem; color: #936a2e; font-size: .65rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
html.v8-ready .triage-result__why p { margin: 0; }
html.v8-ready .triage-result__trace {
  list-style: none;
  counter-reset: triage-trace;
  padding: .65rem 0;
  margin: 1.2rem 0 0;
  border: 0;
  border-block: 1px solid rgba(98,82,55,.12);
}
html.v8-ready .triage-result__trace li {
  counter-increment: triage-trace;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: .8rem;
  padding: .62rem 0;
  color: #615a50;
  font-size: .76rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(98,82,55,.08);
}
html.v8-ready .triage-result__trace li:last-child { border-bottom: 0; }
html.v8-ready .triage-result__trace li::before { content: counter(triage-trace, decimal-leading-zero); color: #a77835; font-size: .58rem; letter-spacing: .08em; }
html.v8-ready .triage-result__actions .button--text { color: #6e675e; background: transparent; border: 0; }

html[data-theme="dark"].v8-ready .triage-v8__question > h3,
html[data-theme="dark"].v8-ready .triage-result--v8 h3 { color: #f5eee3 !important; }
html[data-theme="dark"].v8-ready .triage-v8__question > p,
html[data-theme="dark"].v8-ready .triage-result__trace li,
html[data-theme="dark"].v8-ready .triage-result__why p { color: #bdb5a9 !important; }
html[data-theme="dark"].v8-ready .triage-v8__options .triage-option { color: #eee7dc; background: rgba(255,255,255,.018); border-color: rgba(218,181,111,.15); }
html[data-theme="dark"].v8-ready .triage-v8__options .triage-option:hover { background: rgba(201,154,75,.075); border-color: rgba(218,181,111,.35); }
html[data-theme="dark"].v8-ready .triage-v8__options .triage-option.is-selected { background: rgba(201,154,75,.12); border-color: #c99a4b; }
html[data-theme="dark"].v8-ready .triage-result__why { background: rgba(199,151,71,.07); border-color: #c99a4b; }
html[data-theme="dark"].v8-ready .triage-result__trace { border-color: rgba(218,181,111,.12); }
html[data-theme="dark"].v8-ready .triage-result__trace li { border-color: rgba(218,181,111,.08); }

/* Complete dark-mode pass for text states that legacy transforms dimmed too far. */
html[data-theme="dark"].v8-ready #stephanie .story-chapter,
html[data-theme="dark"].v8-ready #stephanie .story-chapter * { --text: #f5eee3; }
html[data-theme="dark"].v8-ready #stephanie .story-chapter h3 { color: #f7efe4 !important; opacity: 1 !important; }
html[data-theme="dark"].v8-ready #stephanie .story-chapter p { color: #c6bdb0 !important; }
html[data-theme="dark"].v8-ready #inteligencia .section-marker,
html[data-theme="dark"].v8-ready #inteligencia .section-marker span,
html[data-theme="dark"].v8-ready #inteligencia .eyebrow { color: #d2aa65 !important; }
html[data-theme="dark"].v8-ready #faq .section-marker span:first-child,
html[data-theme="dark"].v8-ready #faq .section-marker span:last-child { color: #d8b06a !important; opacity: 1 !important; }
html[data-theme="dark"].v8-ready #faq .accordion-button__icon::before,
html[data-theme="dark"].v8-ready #faq .accordion-button__icon::after { background: #eadfcd !important; }
html[data-theme="dark"].v8-ready #contato .contact-step__eyebrow,
html[data-theme="dark"].v8-ready #contato .field__meta,
html[data-theme="dark"].v8-ready #contato .field__meta span { color: #a99f92 !important; }
html[data-theme="dark"].v8-ready #contato .progressive-contact,
html[data-theme="dark"].v8-ready #contato .contact-step { color: #f2eadf !important; }
html[data-theme="dark"].v8-ready #contato .check-field > span:last-child { color: #c5bcae !important; }

/* Hero facts interactive lighting and >1920 containment. */
html.v8-ready .hero-v7__microfacts::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--facts-x,50%) var(--facts-y,50%), rgba(222,184,111,.13), transparent 72%);
  opacity: .8;
  mix-blend-mode: screen;
}
@media (min-width: 1921px) {
  html.v8-ready .hero-v7__microfacts { bottom: clamp(4.2rem,7vh,6.6rem) !important; max-width: min(640px, calc(36vw - 5rem)) !important; }
}
@media (min-width: 2400px) {
  html.v8-ready .hero-v7__microfacts { left: min(18vw, 390px) !important; width: min(630px, calc(36vw - 8rem)) !important; }
}

/* Sophisticated WebGL layer must never interfere with readable content. */
html.v8-ready .hero-v8__webgl { contain: layout paint size; }
html.v8-ready .hero-v8__webgl.is-unavailable { display: none; }

/* Custom cursor is intentionally disabled above persistent UI chrome. */
html.v8-ready body.is-ui-chrome-hover .cursor { opacity: 0 !important; visibility: hidden !important; }

/* Practice internal scroll acknowledgement. */
html.v8-ready .practice-panel__content--v4.is-wheel-active { scrollbar-color: rgba(206,157,73,.95) transparent; }
html.v8-ready .practice-panel__content--v4.is-wheel-active::-webkit-scrollbar-thumb { background: rgba(206,157,73,.88); }

/* Modal scroll isolation / focus-safe layers. */
html.v8-ready .area-lens[inert],
html.v8-ready .guide-modal[inert],
html.v8-ready .modal[inert],
html.v8-ready .search-dialog[inert],
html.v8-ready .cookie-modal[inert],
html.v8-ready .mobile-menu[inert] { pointer-events: none !important; }

/* Mobile refinements added after runtime testing. */
@media (max-width: 820px) {
  html.v8-ready .triage-v8__options { grid-template-columns: 1fr; }
  html.v8-ready .triage-v8__question > h3 { font-size: clamp(2.25rem,10.8vw,3.5rem); }
  html.v8-ready .triage-v8__options .triage-option { min-height: 70px; border-radius: 14px; }
  html.v8-ready .triage-result__actions { display: grid; grid-template-columns: 1fr; }
  html.v8-ready .triage-result__actions .button { width: 100%; justify-content: center; }

  html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v8-ready .immersive-manifest--v5 .manifest-word--responsibility {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    clip-path: none;
  }
  html.v8-ready .immersive-manifest__copy { position: relative !important; inset: auto !important; }
  html.v8-ready .immersive-manifest__copy h2 { max-width: 100%; }

  html.v8-ready .knowledge-v7__filters,
  html.v8-ready .faq-v7__filters { contain: inline-size; }
  html.v8-ready #conteudos,
  html.v8-ready #faq { overflow-x: clip !important; }
  html.v8-ready .knowledge-v7__toolbar,
  html.v8-ready .knowledge-v7__filters,
  html.v8-ready .knowledge-v7__grid,
  html.v8-ready .knowledge-card { min-width: 0 !important; max-width: 100% !important; }

  html.v8-ready .mobile-menu__foot { display: grid; gap: .35rem; }
  html.v8-ready .mobile-menu__foot a { overflow-wrap: anywhere; }
  html.v8-ready .social-links { max-width: 100%; }
  html.v8-ready .contact-dock.is-auto-hidden { opacity: 0 !important; pointer-events: none !important; transform: translate(-50%,130%) !important; }

  html.v8-ready .page-loader { min-height: 100dvh; }
  html.v8-ready .page-loader__inner { padding-inline: 1rem; text-align: center; }
}
html.v8-ready .immersive-manifest--v5 .immersive-manifest__words span.is-active { animation: none !important; }
html.v8-ready .knowledge-v8__empty {
  grid-column: 1 / -1;
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: .7rem;
  padding: clamp(2rem,5vw,5rem);
  border: 1px solid rgba(110,87,53,.12);
  background: rgba(185,133,47,.025);
}
html.v8-ready .knowledge-v8__empty > span { color: #a77935; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
html.v8-ready .knowledge-v8__empty h3 { margin: 0; max-width: 18ch; font-family: var(--font-display); font-size: clamp(2.2rem,4vw,4rem); font-weight: 400; line-height: .98; }
html.v8-ready .knowledge-v8__empty p { max-width: 52ch; color: #6f685e; }
html[data-theme="dark"].v8-ready .knowledge-v8__empty { border-color: rgba(218,181,111,.14); background: rgba(218,181,111,.025); }
html[data-theme="dark"].v8-ready .knowledge-v8__empty h3 { color: #f4ede2; }
html[data-theme="dark"].v8-ready .knowledge-v8__empty p { color: #bcb4a8; }


/* ==========================================================================
   SOURCE CONSOLIDADO: v9.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   STEPHANIE DE PAIVA — V9
   UX hardening · immersive motion · mobile · theme · blog · contact dock
   ========================================================================== */

:root {
  --v9-gold: #b78534;
  --v9-gold-bright: #d9b46d;
  --v9-paper: #f7f1e8;
  --v9-ink: #171510;
  --v9-dark: #11110e;
  --v9-ease: cubic-bezier(.16,1,.3,1);
}
html.v9-ready, html.v9-ready body { max-width: 100%; overflow-x: clip; }

/* 01 · LOADER — follows theme from the very first frame ------------------- */
.page-loader {
  background:
    radial-gradient(circle at 50% 45%, rgba(183,133,52,.09), transparent 24rem),
    #f7f1e8;
  color: #1a1712;
}
.page-loader__line { background: rgba(106,76,34,.16); }
.page-loader__line span { background: linear-gradient(90deg,transparent,#b78534,#d7b574,#b78534,transparent); }
.page-loader__inner::before,
.page-loader__inner::after { background: linear-gradient(90deg,transparent,#b78534,transparent); }
.page-loader__logo { mix-blend-mode: multiply; filter: saturate(.95) contrast(1.06); }
html[data-theme="dark"] .page-loader {
  background:
    radial-gradient(circle at 50% 45%, rgba(217,180,109,.10), transparent 25rem),
    #0d0d0b;
  color: #f3eadc;
}
html[data-theme="dark"] .page-loader__line { background: rgba(217,180,109,.14); }
html[data-theme="dark"] .page-loader__logo { padding:0; background:transparent; mix-blend-mode:normal; }

/* 02 · HERO FACTS — physically anchored to the portrait, not the content --- */
@media (min-width: 821px) {
  html.v9-ready .hero-v7__microfacts {
    position: absolute !important;
    z-index: 9 !important;
    left: calc(min(37vw, 710px) / 2) !important;
    right: auto !important;
    bottom: clamp(3.25rem, 4.9vh, 4.35rem) !important;
    width: min(560px, calc(min(37vw, 710px) - 3.25rem)) !important;
    max-width: calc(min(37vw, 710px) - 2.25rem) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  html.v9-ready .hero-v7__microfacts > span { min-height: 88px; padding:1rem 1.15rem !important; }
  html.v9-ready .hero-v7 .hero-v4__portrait-caption { bottom: .72rem !important; }
}
@media (min-width: 1921px) {
  html.v9-ready .hero-v7__microfacts {
    left: calc(min(36vw, 760px) / 2) !important;
    width: min(650px, calc(min(36vw,760px) - 4.5rem)) !important;
    max-width: calc(min(36vw,760px) - 2rem) !important;
  }
}
@media (min-width: 2400px) {
  html.v9-ready .hero-v7__microfacts { width: 650px !important; max-width: calc(min(36vw,760px) - 2rem) !important; }
}

/* 03 · THREE.JS — visible but subordinate to text -------------------------- */
html.v9-ready .hero-v8__webgl {
  opacity: .72 !important;
  width: min(58vw, 1080px) !important;
  left: auto !important;
  right: -2vw !important;
  -webkit-mask-image: radial-gradient(ellipse at 52% 48%, #000 0 52%, transparent 78%) !important;
  mask-image: radial-gradient(ellipse at 52% 48%, #000 0 52%, transparent 78%) !important;
}
html[data-theme="dark"].v9-ready .hero-v8__webgl { opacity:.88 !important; }
html.v9-ready .authority-v9__webgl,
html.v9-ready .manifest-v9__webgl {
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  overflow:hidden;
  opacity:.72;
}
html.v9-ready .authority-v9__webgl canvas,
html.v9-ready .manifest-v9__webgl canvas { width:100% !important; height:100% !important; display:block; }
html.v9-ready .authority-v4__grid,
html.v9-ready .immersive-manifest__shell { position:relative; z-index:3; }
html.v9-ready .authority-v9__webgl { mix-blend-mode:screen; opacity:.9; }
html.v9-ready .manifest-v9__webgl { mix-blend-mode:screen; opacity:.58; }

/* 04 · DIFERENCIAIS MOBILE — no card overlap ------------------------------- */
@media (max-width: 640px) {
  html.v9-ready .trust-v5 { padding-bottom: 3rem; }
  html.v9-ready .trust-v5__stage {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:1rem !important;
    min-height:0 !important;
  }
  html.v9-ready .trust-card,
  html.v9-ready .trust-card:nth-child(2),
  html.v9-ready .trust-card:nth-child(3),
  html.v9-ready .trust-card:nth-child(4),
  html.v9-ready .trust-card:last-child {
    position:relative !important;
    min-height:0 !important;
    height:auto !important;
    padding:1.55rem !important;
    margin:0 !important;
    transform:none !important;
    opacity:1 !important;
    border:1px solid rgba(125,91,43,.18) !important;
    border-radius:18px;
    overflow:hidden;
  }
  html.v9-ready .trust-card__signal { margin:2.2rem 0 1.35rem !important; }
  html.v9-ready .trust-card h3 { font-size:clamp(2rem,9.6vw,2.85rem) !important; }
  html.v9-ready .trust-card p { line-height:1.58; }
}

/* 05 · MANIFESTO — more breathing room on desktop ------------------------- */
html.v9-ready .immersive-manifest__words { margin-bottom: clamp(3rem,7vh,6.4rem); }
html.v9-ready .immersive-manifest__copy { padding-top:clamp(1.4rem,3vh,2.8rem); border-top:1px solid rgba(216,184,120,.20); }
html.v9-ready .manifest-word--responsibility { font-size:min(9.2vw,10.6rem) !important; letter-spacing:-.06em !important; }

/* Mobile manifesto becomes a slow four-beat sequence rather than a flash. */
@media (max-width: 820px) {
  html.v9-ready .immersive-manifest__words {
    display:block !important;
    margin:2.2rem 0 2.5rem !important;
  }
  html.v9-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v9-ready .immersive-manifest--v5 .manifest-word--responsibility {
    display:flex !important;
    align-items:center;
    min-height:55svh;
    padding-left:0 !important;
    opacity:.16 !important;
    transform:translateY(34px) scale(.965) !important;
    filter:blur(6px) !important;
    transition:opacity 1.45s var(--v9-ease), transform 1.55s var(--v9-ease), filter 1.55s var(--v9-ease), color 1s ease !important;
    color:rgba(246,239,229,.58) !important;
  }
  html.v9-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v9-visible {
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    color:#f5eee3 !important;
  }
  html.v9-ready .immersive-manifest--v5 .immersive-manifest__words span:nth-child(3).is-v9-visible { color:#d4aa61 !important; }
  html.v9-ready .immersive-manifest--v5 .manifest-word--responsibility { font-size:clamp(1.8rem,8.9vw,3rem) !important; }
  html.v9-ready .immersive-manifest__copy { margin-top:1.2rem !important; padding-top:2rem; }
  html.v9-ready .manifest-v9__webgl { display:none !important; }
}

/* 06 · BLOG — editorial, not a Q&A utility -------------------------------- */
html.v9-ready .knowledge-v4__head .display-title { max-width:15ch; }
html.v9-ready .knowledge-card__author {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-top:.8rem;
  color:var(--text-muted);
  font-size:.68rem;
  letter-spacing:.04em;
}
html.v9-ready .knowledge-card__author::before {
  content:"SP";
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border:1px solid rgba(183,133,52,.4);
  border-radius:50%;
  color:#a57226;
  font-family:var(--font-display);
  font-size:.75rem;
}
html[data-theme="dark"].v9-ready .knowledge-card__author { color:#bdb5a9; }

/* 07 · CONTACT BUTTONS — equal geometry ----------------------------------- */
html.v9-ready .contact-step__actions--channels .button {
  min-height:54px !important;
  height:54px !important;
  padding-block:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1.1 !important;
}
html.v9-ready .contact-step__actions--channels .button > span { white-space:nowrap; }

/* 08 · CONTACT DOCK — stable desktop anchor, compact mobile orb ------------ */
html.v9-ready .contact-dock,
html.v9-ready .contact-dock.is-hero-zone,
html.v9-ready .contact-dock.is-triage-zone,
html.v9-ready .contact-dock.is-footer-zone,
html.v9-ready .contact-dock.is-contact-zone,
html.v9-ready .contact-dock.is-auto-hidden {
  top:auto !important;
  right:max(1.15rem, env(safe-area-inset-right)) !important;
  bottom:max(1.15rem, env(safe-area-inset-bottom)) !important;
  left:auto !important;
  transform:none !important;
  opacity:1 !important;
  pointer-events:auto !important;
  width:auto !important;
  max-width:none !important;
  transition:opacity .25s ease, transform .25s ease !important;
}
html.v9-ready .contact-dock__trigger { min-width:112px; justify-content:center; }

@media (max-width: 820px) {
  html.v9-ready .contact-dock,
  html.v9-ready .contact-dock.is-hero-zone,
  html.v9-ready .contact-dock.is-triage-zone,
  html.v9-ready .contact-dock.is-footer-zone,
  html.v9-ready .contact-dock.is-contact-zone,
  html.v9-ready .contact-dock.is-auto-hidden {
    right:max(.75rem, env(safe-area-inset-right)) !important;
    bottom:max(.75rem, env(safe-area-inset-bottom)) !important;
    left:auto !important;
    width:auto !important;
    justify-items:end !important;
    transform:none !important;
  }
  html.v9-ready .contact-dock__trigger {
    width:54px !important;
    min-width:54px !important;
    height:54px !important;
    min-height:54px !important;
    padding:0 !important;
    border-radius:50% !important;
    justify-content:center !important;
    box-shadow:0 14px 38px rgba(20,16,10,.18);
  }
  html.v9-ready .contact-dock__trigger > span:not(.contact-dock__pulse) { display:none !important; }
  html.v9-ready .contact-dock__trigger svg { width:19px !important; height:19px !important; }
  html.v9-ready .contact-dock__pulse { position:absolute; top:9px; right:8px; width:7px; height:7px; }
  html.v9-ready .contact-dock__panel {
    position:absolute;
    right:0;
    bottom:64px;
    width:min(330px, calc(100vw - 1.5rem)) !important;
    max-width:min(330px, calc(100vw - 1.5rem)) !important;
    transform-origin:right bottom !important;
  }
}

/* 09 · FOOTER — eight practice links fit without crowding ----------------- */
html.v9-ready .site-footer__grid { align-items:start; }
html.v9-ready .site-footer .footer-column:nth-child(2) { display:grid; align-content:start; gap:.45rem; }
html.v9-ready .site-footer .footer-column:nth-child(2) a { line-height:1.35; }

/* 10 · WebGL performance/fallback ----------------------------------------- */
html.v9-ready .authority-v9__webgl.is-unavailable,
html.v9-ready .manifest-v9__webgl.is-unavailable { display:none; }
@media (max-width: 1024px), (hover:none), (pointer:coarse) {
  html.v9-ready .hero-v8__webgl,
  html.v9-ready .authority-v9__webgl,
  html.v9-ready .manifest-v9__webgl { display:none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html.v9-ready .hero-v8__webgl,
  html.v9-ready .authority-v9__webgl,
  html.v9-ready .manifest-v9__webgl { display:none !important; }
}


/* V9.1 · PUBLICAÇÕES — personal/editorial taxonomy ----------------------- */
html.v9-ready .knowledge-card__meta-row {
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
  margin-top:.9rem;
}
html.v9-ready .knowledge-card__type {
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:.28rem .55rem;
  border:1px solid rgba(183,133,52,.22);
  border-radius:999px;
  color:#9b6b26;
  font-size:.62rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}
html[data-theme="dark"].v9-ready .knowledge-card__type { color:#e0bd7c; border-color:rgba(224,189,124,.26); }

/* V9.1 · contact channel geometry survives long labels ------------------- */
html.v9-ready .contact-step__actions--channels {
  display:grid !important;
  grid-template-columns:auto repeat(2,minmax(0,1fr)) !important;
  align-items:stretch !important;
}
html.v9-ready .contact-step__actions--channels .button {
  width:100% !important;
  white-space:nowrap !important;
}
@media (max-width:520px) {
  html.v9-ready .contact-step__actions--channels { grid-template-columns:1fr !important; }
}

/* V9.1 · hero facts: no overflow on ultrawide ----------------------------- */
@media (min-width: 1921px) {
  html.v9-ready .hero-v7__microfacts { bottom:clamp(3.4rem,4.6vh,4.7rem) !important; }
}

/* V9.1 · explicit 3D stage accents ---------------------------------------- */
html.v9-ready .authority-v4,
html.v9-ready .immersive-manifest--v5 { isolation:isolate; }
html.v9-ready .authority-v9__webgl::after,
html.v9-ready .manifest-v9__webgl::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at var(--v9-glow-x,50%) var(--v9-glow-y,50%), rgba(206,160,83,.12), transparent 34%);
}

/* V9.2 · editorial block extensions -------------------------------------- */
html.v9-ready .post-block--paragraph { font-size:1rem; line-height:1.8; color:var(--text-muted); }
html.v9-ready .post-block--heading { font-family:var(--font-display); font-size:clamp(1.7rem,3vw,2.7rem); font-weight:400; line-height:1.05; }
html.v9-ready .post-block--gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
html.v9-ready .post-block--gallery figure { margin:0; overflow:hidden; border:1px solid var(--line); }
html.v9-ready .post-block--gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
html.v9-ready .post-block--gallery figcaption { padding:.75rem; color:var(--text-muted); font-size:.78rem; }
@media (max-width:640px) { html.v9-ready .post-block--gallery { grid-template-columns:1fr; } }

html.v9-ready .contact-step__actions--channels .contact-back { width:auto !important; min-width:112px !important; }

/* V9.3 · cinematic WebGL contrast ----------------------------------------- */
html.v9-ready .hero-v8__webgl canvas,
html.v9-ready .authority-v9__webgl canvas,
html.v9-ready .manifest-v9__webgl canvas {
  filter:saturate(1.18) contrast(1.08) drop-shadow(0 0 22px rgba(196,145,65,.12));
}
html[data-theme="dark"].v9-ready .hero-v8__webgl canvas,
html[data-theme="dark"].v9-ready .authority-v9__webgl canvas,
html[data-theme="dark"].v9-ready .manifest-v9__webgl canvas {
  filter:saturate(1.28) contrast(1.12) drop-shadow(0 0 30px rgba(213,171,93,.18));
}

/* V9.4 · dock collision avoidance without jumping ------------------------- */
@media (min-width:821px) {
  html.v9-ready .contact-dock.is-v9-compact .contact-dock__trigger {
    width:54px !important;
    min-width:54px !important;
    height:54px !important;
    padding:0 !important;
    border-radius:50% !important;
  }
  html.v9-ready .contact-dock.is-v9-compact .contact-dock__trigger > span:not(.contact-dock__pulse) { display:none !important; }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v10.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   V10 — Legal kinetic identity
   Justice balance hero · four-principle architecture · stable dock · mobile
   ========================================================================== */
:root { --v10-gold:#c99643; --v10-gold-soft:#ddb76f; --v10-ink:#17140f; --v10-ease:cubic-bezier(.16,1,.3,1); }

/* Loader follows the selected theme from the first painted frame. */
html.v10-ready .page-loader[data-loader-theme="light"] {
  background:radial-gradient(circle at 50% 44%,rgba(205,159,84,.13),transparent 30rem),#f7f1e8 !important;
}
html.v10-ready .page-loader[data-loader-theme="dark"] {
  background:radial-gradient(circle at 50% 44%,rgba(205,159,84,.11),transparent 30rem),#0d0e0b !important;
}
html.v10-ready .page-loader__logo { max-width:min(390px,65vw); }

/* HERO — abstract balance rather than generic orbital knot. */
html.v10-ready .hero-v8__webgl {
  opacity:.84 !important;
  -webkit-mask-image:radial-gradient(ellipse at 66% 47%,#000 0 48%,rgba(0,0,0,.86) 61%,transparent 82%);
  mask-image:radial-gradient(ellipse at 66% 47%,#000 0 48%,rgba(0,0,0,.86) 61%,transparent 82%);
}
html[data-theme="dark"].v10-ready .hero-v8__webgl { opacity:.96 !important; }
html.v10-ready .hero-v8__webgl::after,
html.v10-ready .manifest-v9__webgl::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at var(--v10-glow-x,62%) var(--v10-glow-y,44%),rgba(210,163,84,.18),transparent 31%);
  mix-blend-mode:screen;
}
html.v10-ready .hero-v8__webgl canvas { filter:saturate(1.2) contrast(1.08) drop-shadow(0 0 28px rgba(190,139,61,.14)); }
html[data-theme="dark"].v10-ready .hero-v8__webgl canvas { filter:saturate(1.3) contrast(1.13) drop-shadow(0 0 38px rgba(218,176,96,.22)); }

/* PRINCIPLES / SESSION 10 ------------------------------------------------- */
html.v10-ready .immersive-manifest--v5 { height:420vh !important; min-height:3000px !important; isolation:isolate; }
html.v10-ready .immersive-manifest__sticky { overflow:hidden; }
html.v10-ready .manifest-v9__webgl {
  display:block !important; inset:0 !important; opacity:.72 !important; z-index:1 !important;
  -webkit-mask-image:radial-gradient(ellipse at 63% 44%,#000 0 49%,transparent 79%);
  mask-image:radial-gradient(ellipse at 63% 44%,#000 0 49%,transparent 79%);
}
html.v10-ready .immersive-manifest__shell { z-index:4 !important; }
html.v10-ready .immersive-manifest__words {
  position:relative !important; min-height:clamp(260px,40vh,430px) !important;
  margin:clamp(2.4rem,4vh,4.5rem) 0 clamp(3.1rem,6vh,5.6rem) !important;
  overflow:visible !important;
}
html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span,
html.v10-ready .immersive-manifest--v5 .manifest-word--responsibility {
  position:absolute !important; inset:50% auto auto 50% !important;
  width:min(94vw,1500px) !important; max-width:min(94vw,1500px) !important;
  transform:translate(-50%,-50%); text-align:center !important; white-space:nowrap !important;
  opacity:0; visibility:hidden; color:#f5eee4 !important; -webkit-text-stroke:0 !important;
  font-family:var(--font-ui) !important; font-weight:760 !important;
  font-size:clamp(4.2rem,8.2vw,9.2rem) !important; line-height:.82 !important; letter-spacing:-.055em !important;
  text-shadow:0 0 62px rgba(213,170,91,.06); will-change:transform,opacity,filter,clip-path;
  transition:opacity .38s ease,visibility .38s ease;
}
html.v10-ready .immersive-manifest--v5 .manifest-word--responsibility { font-size:clamp(3.2rem,6.8vw,7.6rem) !important; }
html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-active {
  opacity:1; visibility:visible;
}
html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-past { opacity:0; visibility:hidden; }
html.v10-ready .immersive-manifest__copy {
  position:relative !important; z-index:7 !important; margin-top:0 !important;
  padding-top:clamp(2.2rem,4.2vh,4rem) !important;
}
html.v10-ready .immersive-manifest__progress span { width:var(--v10-manifest-progress,0%) !important; }


/* Publication modal — category and publication date are intentionally separated. */
html.v10-ready .knowledge-post__header > small { display:none !important; }
html.v10-ready .knowledge-post__published {
  margin:clamp(2rem,4vw,3.6rem) 0 1.25rem; padding-top:1.15rem;
  border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent);
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  font-family:var(--font-sans);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);
}
html.v10-ready .knowledge-post__published strong {
  color:var(--text);font-size:.86rem;letter-spacing:.035em;font-weight:650;
}
html[data-theme="dark"].v10-ready .knowledge-post__published { border-color:rgba(210,163,84,.2); }
html[data-theme="dark"].v10-ready .knowledge-post__published strong { color:#f5eee3; }

/* Old manifesto controllers may still toggle .is-active; V10 owns visibility. */
html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span.is-active:not(.is-v10-active) {
  opacity:0 !important;visibility:hidden !important;pointer-events:none !important;
}

/* Contact channels align on a shared optical baseline. */
html.v10-ready .contact-step__actions--channels { align-items:center !important; }
html.v10-ready .contact-step__actions--channels .button {
  height:56px !important; min-height:56px !important; margin:0 !important; align-self:center !important;
  box-sizing:border-box !important; line-height:1 !important;
}
html.v10-ready .contact-step__actions--channels #contactSubmit,
html.v10-ready .contact-step__actions--channels #contactWhatsApp { transform:none !important; }

/* Permanent contact dock: fixed anchor, slow state change, no vertical jumps. */
html.v10-ready .contact-dock.is-v10-managed,
html.v10-ready .contact-dock.is-v10-managed.is-v10-compact {
  position:fixed !important; top:auto !important; left:auto !important;
  right:max(1.15rem,env(safe-area-inset-right)) !important;
  bottom:max(1.15rem,env(safe-area-inset-bottom)) !important;
  transform:none !important; opacity:1 !important; pointer-events:auto !important;
}
html.v10-ready .contact-dock.is-v10-managed .contact-dock__trigger {
  width:124px !important; min-width:124px !important; height:54px !important; min-height:54px !important;
  padding-inline:1.05rem !important; border-radius:999px !important; overflow:hidden;
  transition:width .52s var(--v10-ease),min-width .52s var(--v10-ease),padding .52s var(--v10-ease),border-radius .52s var(--v10-ease),background .3s ease,box-shadow .3s ease !important;
}
html.v10-ready .contact-dock.is-v10-managed .contact-dock__trigger > span:not(.contact-dock__pulse) {
  opacity:1;max-width:72px;overflow:hidden;white-space:nowrap;
  transition:opacity .26s ease .14s,max-width .46s var(--v10-ease) !important;
}
html.v10-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger {
  width:54px !important; min-width:54px !important; padding-inline:0 !important; border-radius:50% !important;
}
html.v10-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger > span:not(.contact-dock__pulse) {
  opacity:0 !important; max-width:0 !important; transition-delay:0s !important;
}
html.v10-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger svg { margin:0 !important; }

/* MOBILE — dedicated manifesto composition, not a scaled desktop canvas. */
@media (max-width:820px) {
  html.v10-ready .hero-v8__webgl { display:none !important; }
  html.v10-ready .immersive-manifest--v5 {
    height:320svh !important; min-height:0 !important; padding:0 !important;
  }
  html.v10-ready .immersive-manifest__sticky {
    position:sticky !important; top:0 !important; height:100svh !important; min-height:100svh !important;
    padding:0 !important; overflow:hidden !important;
  }
  html.v10-ready .immersive-manifest__shell {
    width:100% !important; height:100% !important; min-height:100% !important;
    display:grid !important; grid-template-rows:auto minmax(0,1fr) auto auto !important;
    padding:calc(var(--header-height-scrolled) + 1.35rem) 1.15rem 1.15rem !important;
  }
  html.v10-ready .manifest-v9__webgl {
    display:block !important; inset:8% -28% 26% -26% !important; opacity:.52 !important;
    -webkit-mask-image:radial-gradient(circle at 50% 48%,#000 0 49%,transparent 78%);
    mask-image:radial-gradient(circle at 50% 48%,#000 0 49%,transparent 78%);
  }
  html.v10-ready .immersive-manifest__words {
    grid-row:2 !important; position:relative !important; min-height:0 !important; height:100% !important;
    margin:0 !important; overflow:visible !important; display:block !important;
  }
  html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v10-ready .immersive-manifest--v5 .manifest-word--responsibility {
    display:block !important; position:absolute !important; inset:50% auto auto 50% !important;
    min-height:0 !important; padding:0 !important; width:92vw !important; max-width:92vw !important;
    white-space:normal !important; text-align:center !important;
    font-size:clamp(2.7rem,12.4vw,4.35rem) !important; line-height:.87 !important; letter-spacing:-.052em !important;
    color:#f5eee3 !important; opacity:0; visibility:hidden;
  }
  html.v10-ready .immersive-manifest--v5 .manifest-word--responsibility { font-size:clamp(2.2rem,10.2vw,3.55rem) !important; }
  html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-active { opacity:1; visibility:visible; }
  html.v10-ready .immersive-manifest__copy {
    grid-row:3 !important; display:grid !important; gap:.8rem !important; margin:0 !important;
    padding:1.2rem .15rem .7rem !important; border-top:1px solid rgba(216,184,120,.22) !important;
  }
  html.v10-ready .immersive-manifest__copy h2 { font-size:clamp(2rem,9.5vw,3rem) !important; line-height:.96 !important; max-width:15ch !important; }
  html.v10-ready .immersive-manifest__copy p { margin:0 !important; font-size:.93rem !important; line-height:1.55 !important; }
  html.v10-ready .immersive-manifest__progress { grid-row:4 !important; position:relative !important; left:auto !important; right:auto !important; bottom:auto !important; margin-top:.5rem; }
  html.v10-ready .contact-dock.is-v10-managed,
  html.v10-ready .contact-dock.is-v10-managed.is-v10-compact {
    right:max(.72rem,env(safe-area-inset-right)) !important; bottom:max(.72rem,env(safe-area-inset-bottom)) !important;
  }
  html.v10-ready .contact-dock.is-v10-managed .contact-dock__trigger,
  html.v10-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger {
    width:52px !important;min-width:52px !important;height:52px !important;min-height:52px !important;padding:0 !important;border-radius:50% !important;
  }
  html.v10-ready .contact-dock.is-v10-managed .contact-dock__trigger > span:not(.contact-dock__pulse) { display:none !important; }
}

@media (max-width:520px) {
  html.v10-ready .contact-step__actions--channels { grid-template-columns:1fr !important; gap:.65rem !important; }
  html.v10-ready .contact-step__actions--channels .contact-back { width:100% !important; }
}

@media (prefers-reduced-motion:reduce) {
  html.v10-ready .hero-v8__webgl, html.v10-ready .manifest-v9__webgl { display:none !important; }
  html.v10-ready .immersive-manifest--v5 { height:auto !important; min-height:0 !important; padding-block:5rem !important; }
  html.v10-ready .immersive-manifest__sticky { position:relative !important; height:auto !important; min-height:0 !important; }
  html.v10-ready .immersive-manifest__words { min-height:auto !important; display:grid !important; gap:.7rem !important; }
  html.v10-ready .immersive-manifest--v5 .immersive-manifest__words span { position:relative !important; inset:auto !important; transform:none !important; opacity:1 !important; visibility:visible !important; width:auto !important; white-space:normal !important; }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v11.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ========================================================================== 
   V11 — stronger legal motion language + trajectory + mobile manifesto fixes
   ========================================================================== */

/* Hero: keep the new justice balance, but restore the visual energy of V8. */
html.v11-ready .hero-v8__webgl { opacity:.9 !important; }
html[data-theme="dark"].v11-ready .hero-v8__webgl { opacity:1 !important; }
html.v11-ready .hero-v8__webgl canvas {
  filter:saturate(1.28) contrast(1.11) drop-shadow(0 0 34px rgba(190,139,61,.19)) !important;
}
html[data-theme="dark"].v11-ready .hero-v8__webgl canvas {
  filter:saturate(1.38) contrast(1.16) drop-shadow(0 0 48px rgba(224,179,90,.28)) !important;
}

/* Session 03: V11 uses the existing stage as a scroll-drawn trajectory. */
html.v11-ready .authority-v9__webgl {
  opacity:.96 !important;
  mix-blend-mode:screen;
  -webkit-mask-image:radial-gradient(ellipse at 51% 49%,#000 0 58%,rgba(0,0,0,.82) 70%,transparent 91%) !important;
  mask-image:radial-gradient(ellipse at 51% 49%,#000 0 58%,rgba(0,0,0,.82) 70%,transparent 91%) !important;
}
html.v11-ready .authority-v9__webgl canvas { filter:saturate(1.27) contrast(1.12) drop-shadow(0 0 30px rgba(204,157,77,.18)); }

/* Session 04: a signature / authored path now inhabits Stephanie's section. */
html.v11-ready .stephanie-story { position:relative; isolation:isolate; overflow:hidden; }
html.v11-ready .stephanie-v11__webgl {
  position:absolute; inset:8% -5% 0 40%; z-index:0; pointer-events:none; overflow:hidden; opacity:.72;
  -webkit-mask-image:radial-gradient(ellipse at 61% 47%,#000 0 49%,rgba(0,0,0,.72) 64%,transparent 86%);
  mask-image:radial-gradient(ellipse at 61% 47%,#000 0 49%,rgba(0,0,0,.72) 64%,transparent 86%);
}
html.v11-ready .stephanie-v11__webgl canvas { width:100%!important;height:100%!important;display:block;filter:saturate(1.18) contrast(1.08) drop-shadow(0 0 28px rgba(193,143,57,.14)); }
html.v11-ready .stephanie-story > .container-wide { position:relative;z-index:2; }
html[data-theme="dark"].v11-ready .stephanie-v11__webgl { opacity:.88; }

/* Session 10: the word layer must always outrank WebGL on mobile and remain centered. */
@media (max-width:820px) {
  html.v11-ready .immersive-manifest--v5 { height:340svh !important; }
  html.v11-ready .manifest-v9__webgl {
    inset:12% -5% 29% -5% !important;
    opacity:.68 !important;
    transform:none !important;
    -webkit-mask-image:radial-gradient(circle at 50% 48%,#000 0 54%,rgba(0,0,0,.82) 67%,transparent 88%) !important;
    mask-image:radial-gradient(circle at 50% 48%,#000 0 54%,rgba(0,0,0,.82) 67%,transparent 88%) !important;
  }
  html.v11-ready .immersive-manifest__words {
    z-index:8 !important;
    overflow:hidden !important;
    isolation:isolate;
  }
  html.v11-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v11-ready .immersive-manifest--v5 .manifest-word--responsibility {
    left:50% !important; top:50% !important; right:auto !important; bottom:auto !important;
    width:min(90vw,680px) !important; max-width:90vw !important;
    color:#f7efe4 !important; text-shadow:0 4px 36px rgba(0,0,0,.22),0 0 42px rgba(214,169,87,.11) !important;
  }
  html.v11-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-active {
    opacity:1 !important; visibility:visible !important;
  }
  html.v11-ready .immersive-manifest--v5 .manifest-word--responsibility { font-size:clamp(2rem,9vw,3.35rem) !important; letter-spacing:-.06em !important; }
  html.v11-ready .stephanie-v11__webgl { display:none !important; }
}

/* Dock: the expanded state has enough room for the full label + icon. */
html.v11-ready .contact-dock.is-v10-managed .contact-dock__trigger {
  width:142px !important; min-width:142px !important; padding-inline:1rem !important; gap:.55rem !important;
}
html.v11-ready .contact-dock.is-v10-managed .contact-dock__trigger > span:not(.contact-dock__pulse) {
  max-width:86px !important; flex:0 0 auto; overflow:visible !important;
}
html.v11-ready .contact-dock.is-v10-managed .contact-dock__trigger svg { flex:0 0 17px; }
html.v11-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger {
  width:54px !important; min-width:54px !important; padding-inline:0 !important;
}
html.v11-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger > span:not(.contact-dock__pulse) {
  max-width:0 !important; overflow:hidden !important;
}
@media (max-width:820px) {
  html.v11-ready .contact-dock.is-v10-managed .contact-dock__trigger,
  html.v11-ready .contact-dock.is-v10-managed.is-v10-compact .contact-dock__trigger {
    width:52px !important; min-width:52px !important; padding:0 !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  html.v11-ready .stephanie-v11__webgl { display:none!important; }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v12.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ==========================================================================
   V12 — audit fixes: dock collision relief, triage CTA accessibility,
   manifesto mobile stabilization and refined Stephanie image distribution.
   ========================================================================== */

html.v12-ready #triage .triage-card__actions {
  position: relative;
  z-index: 72;
  padding-right: clamp(5.75rem, 9vw, 8.2rem);
}
html.v12-ready #triage .triage-card__actions .button {
  position: relative;
  z-index: 73;
}
html.v12-ready #triage .triage-card--v4 { overflow: visible; }

html.v12-ready .contact-dock.is-v10-managed {
  transition: transform .34s cubic-bezier(.16,1,.3,1), opacity .22s ease;
}
html.v12-ready .contact-dock.is-v10-managed.is-v12-lifted {
  transform: translateY(-96px);
}
html.v12-ready .contact-dock.is-v10-managed.is-v12-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

html.v12-ready .immersive-manifest--v5 .immersive-manifest__words {
  min-height: clamp(160px, 22vw, 340px);
}
html.v12-ready .immersive-manifest--v5 .immersive-manifest__words span {
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}
html.v12-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-active {
  z-index: 3;
}
html.v12-ready .immersive-manifest--v5 .immersive-manifest__words span:not(.is-v10-active) {
  z-index: 1;
  pointer-events: none;
}
html.v12-ready .stephanie-story .story-portrait img { object-position: 50% 18%; }

@media (max-width: 820px) {
  html.v12-ready #triage .triage-card__actions { padding-right: 2rem; }
  html.v12-ready .contact-dock.is-v10-managed.is-v12-lifted,
  html.v12-ready .contact-dock.is-v10-managed.is-v12-hidden { transform: none; opacity: 1; pointer-events: auto; }

  html.v12-ready .immersive-manifest--v5 { min-height: 360svh !important; }
  html.v12-ready .immersive-manifest--v5 .immersive-manifest__shell {
    padding-top: calc(var(--header-height-scrolled) + 1.5rem);
    padding-bottom: 2rem;
  }
  html.v12-ready .manifest-v9__webgl {
    inset: 10% 0 34% 0 !important;
    opacity: .76 !important;
    -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0 56%, rgba(0,0,0,.86) 70%, transparent 90%) !important;
    mask-image: radial-gradient(circle at 50% 46%, #000 0 56%, rgba(0,0,0,.86) 70%, transparent 90%) !important;
  }
  html.v12-ready .immersive-manifest--v5 .immersive-manifest__words {
    width: 100%;
    height: clamp(150px, 34vw, 225px) !important;
    margin-inline: auto;
  }
  html.v12-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v12-ready .immersive-manifest--v5 .manifest-word--responsibility {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    width: min(94vw, 360px) !important;
    max-width: 94vw !important;
    white-space: normal !important;
    text-align: center !important;
    transform-origin: center center !important;
  }
  html.v12-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-active {
    color: #f7efe4 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: 0 8px 34px rgba(0,0,0,.3), 0 0 30px rgba(214,169,87,.12) !important;
    filter: blur(0) !important;
  }
  html.v12-ready .immersive-manifest--v5 .immersive-manifest__copy {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v13.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ==========================================================================
   V13 — manifesto mobile centering, dock hitbox fix, authority handoff.
   ========================================================================== */

html.v13-ready .contact-dock{pointer-events:none!important;display:grid!important;justify-items:end!important;width:max-content!important;contain:layout style;}
html.v13-ready .contact-dock__trigger,
html.v13-ready .contact-dock__panel{pointer-events:auto!important;}
html.v13-ready .contact-dock__panel{position:absolute!important;right:0!important;bottom:calc(100% + .6rem)!important;}
html.v13-ready .contact-dock.is-v10-managed.is-v12-lifted{transform:translateY(-104px)!important;}
html.v13-ready .contact-dock.is-v10-managed.is-v12-hidden{opacity:0!important;pointer-events:none!important;transform:translateY(18px)!important;}

html.v13-ready .immersive-manifest--v5 .immersive-manifest__copy{position:relative;z-index:6;}
html.v13-ready .immersive-manifest--v5 .immersive-manifest__words{position:relative;z-index:7;}
html.v13-ready .immersive-manifest--v5 .immersive-manifest__words span.is-v10-active{z-index:8!important;}

@media (max-width: 820px){
  html.v13-ready .immersive-manifest--v5{min-height:342svh!important;}
  html.v13-ready .immersive-manifest--v5 .immersive-manifest__shell{padding-top:calc(var(--header-height-scrolled) + 1.3rem)!important;padding-bottom:1.5rem!important;}
  html.v13-ready .manifest-v9__webgl{inset:8% 6% 42% 6%!important;opacity:.82!important;-webkit-mask-image:radial-gradient(circle at 50% 40%, #000 0 51%, rgba(0,0,0,.84) 66%, transparent 88%)!important;mask-image:radial-gradient(circle at 50% 40%, #000 0 51%, rgba(0,0,0,.84) 66%, transparent 88%)!important;}
  html.v13-ready .immersive-manifest--v5 .immersive-manifest__words{height:clamp(132px, 29vw, 184px)!important;min-height:132px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;}
  html.v13-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v13-ready .immersive-manifest--v5 .manifest-word--responsibility{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%, -50%)!important;width:min(86vw, 340px)!important;max-width:86vw!important;display:block!important;text-align:center!important;white-space:normal!important;line-height:.9!important;margin:0!important;}
  html.v13-ready .immersive-manifest--v5 .manifest-word--clarity{font-size:clamp(2.5rem, 10.2vw, 3.5rem)!important;letter-spacing:-.05em!important;}
  html.v13-ready .immersive-manifest--v5 .manifest-word--security,
  html.v13-ready .immersive-manifest--v5 .manifest-word--strategy{font-size:clamp(2.3rem, 9.8vw, 3.2rem)!important;letter-spacing:-.05em!important;}
  html.v13-ready .immersive-manifest--v5 .manifest-word--responsibility{font-size:clamp(1.72rem, 7.7vw, 2.45rem)!important;letter-spacing:-.048em!important;}
  html.v13-ready .immersive-manifest--v5 .immersive-manifest__copy{padding-top:1rem!important;gap:.85rem!important;}
  html.v13-ready .immersive-manifest--v5 .immersive-manifest__copy h2{max-width:11ch!important;}
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v14.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ==========================================================================
   V14 — final manifesto/mobile fit and principle-stage polish.
   ========================================================================== */
html.v14-ready .immersive-manifest--v5 .immersive-manifest__words { overflow:visible !important; }
html.v14-ready .immersive-manifest--v5 .immersive-manifest__words span { will-change:transform,opacity,filter; }

@media (max-width: 820px) {
  html.v14-ready .immersive-manifest--v5 .immersive-manifest__shell,
  html.v14-ready .immersive-manifest--v5 .immersive-manifest__stage,
  html.v14-ready .immersive-manifest--v5 .immersive-manifest__words {
    overflow:visible !important;
  }
  html.v14-ready .immersive-manifest--v5 .immersive-manifest__words {
    width:100% !important;
    max-width:100% !important;
    padding-inline:0 !important;
  }
  html.v14-ready .immersive-manifest--v5 .immersive-manifest__words span,
  html.v14-ready .immersive-manifest--v5 .manifest-word--responsibility {
    left:50% !important;
    right:auto !important;
    top:50% !important;
    bottom:auto !important;
    width:auto !important;
    max-width:calc(100vw - 44px) !important;
    transform:translate(-50%,-50%) !important;
    margin:0 !important;
    white-space:nowrap !important;
    text-align:center !important;
    line-height:.91 !important;
    box-sizing:border-box !important;
  }
  html.v14-ready .immersive-manifest--v5 .manifest-word--responsibility {
    letter-spacing:-.058em !important;
  }
  html.v14-ready .manifest-v9__webgl {
    inset:9% 4.5% 43% 4.5% !important;
    -webkit-mask-image:radial-gradient(circle at 50% 41%,#000 0 53%,rgba(0,0,0,.84) 69%,transparent 90%) !important;
    mask-image:radial-gradient(circle at 50% 41%,#000 0 53%,rgba(0,0,0,.84) 69%,transparent 90%) !important;
  }
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v15.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ==========================================================================
   V15 — final semantic 3D refinement.
   ========================================================================== */
html.v15-ready .manifest-v9__webgl{isolation:isolate;overflow:hidden!important;}
html.v15-ready .manifest-v9__webgl canvas{position:absolute;inset:0;z-index:1;}
html.v15-ready .immersive-manifest--v5 .immersive-manifest__words{z-index:7!important;isolation:isolate;}
html.v15-ready .immersive-manifest--v5 .immersive-manifest__words span{z-index:8!important;}
@media (max-width:820px){
  html.v15-ready .immersive-manifest--v5 .manifest-word--responsibility{font-size:clamp(1.62rem,7.2vw,2.30rem)!important;letter-spacing:-.055em!important;max-width:calc(100vw - 40px)!important;}
  html.v15-ready .manifest-v9__webgl{inset:9% 5% 43% 5%!important;}
}


/* ==========================================================================
   SOURCE CONSOLIDADO: v16.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ==========================================================================
   V16 — final refinement + premium client experiences.
   ========================================================================== */
html.v16-ready .manifest-v9__webgl{overflow:hidden!important;isolation:isolate;}
html.v16-ready .manifest-v9__webgl canvas{pointer-events:none!important;}
html.v16-ready .immersive-manifest--v5 .immersive-manifest__words{z-index:8!important;}

.client-voices-v16{position:relative;overflow:hidden;background:var(--bg);}
.client-voices-v16::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 78% 35%,color-mix(in srgb,var(--v4-gold) 8%,transparent),transparent 34%);}
.client-voices-v16__head{position:relative;z-index:1;grid-template-columns:minmax(145px,.22fr) minmax(0,1fr);align-items:end;margin-bottom:clamp(2.6rem,5vw,5rem);}
.client-voices-v16__title{max-width:980px;}
.client-voices-v16__intro{max-width:620px;margin:1.15rem 0 0;color:var(--text-muted);font-size:clamp(.92rem,1.2vw,1.05rem);line-height:1.7;}
.client-voices-v16__stage{position:relative;z-index:1;display:block;padding:0;border:0;}
.client-voices-v16__rail{display:flex;gap:clamp(1.25rem,2.5vw,2.25rem);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:1px 1px clamp(1.25rem,2vw,2rem);}
.client-voices-v16__rail::-webkit-scrollbar{display:none;}
.client-voices-v16__rail:has(.client-voice-v16:only-child){justify-content:flex-end;}
.client-voice-v16{--review-x:0px;--review-y:0px;position:relative;flex:0 0 min(820px,72vw);scroll-snap-align:center;display:grid;grid-template-columns:minmax(180px,.28fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(2rem,5vw,5.2rem);row-gap:1.4rem;min-height:clamp(330px,28vw,440px);padding:clamp(2rem,4.6vw,4.6rem);border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line);transform:translate3d(var(--review-x),var(--review-y),0);transition:transform .45s cubic-bezier(.2,.75,.25,1),background-color .35s ease;background:linear-gradient(115deg,color-mix(in srgb,var(--bg) 96%,var(--v4-gold) 4%),var(--bg));}
.client-voice-v16::after{content:"";position:absolute;inset:1.1rem;border:1px solid color-mix(in srgb,var(--v4-gold) 17%,transparent);pointer-events:none;}
.client-voice-v16__meta{display:flex;align-items:center;gap:1rem;align-self:start;position:relative;z-index:2;}
.client-voice-v16__photo{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:center 35%;border:1px solid color-mix(in srgb,var(--v4-gold) 48%,var(--line));transition:transform .5s cubic-bezier(.2,.75,.25,1);box-shadow:0 12px 32px rgba(32,24,14,.09);}
.client-voice-v16__meta cite{display:block;font-style:normal;font-weight:700;font-size:.94rem;letter-spacing:.01em;}
.client-voice-v16__meta span{display:block;margin-top:.25rem;color:var(--text-subtle);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;}
.client-voice-v16__rating{display:flex;justify-content:flex-end;align-items:flex-start;gap:.26rem;position:relative;z-index:2;}
.client-voice-v16__rating span{display:inline-flex;width:17px;height:17px;opacity:.24;transform:translateY(4px);animation:v16-star-in .55s calc(var(--star-index)*65ms) cubic-bezier(.16,1,.3,1) both;}
.client-voice-v16__rating span.is-filled{opacity:.86;}
.client-voice-v16__rating svg{width:100%;height:100%;fill:none;stroke:var(--v4-gold);stroke-width:1.4;}
.client-voice-v16__rating span.is-filled svg{fill:color-mix(in srgb,var(--v4-gold) 64%,transparent);}
.client-voice-v16 blockquote{grid-column:1/-1;position:relative;z-index:2;margin:0;padding-left:clamp(2.2rem,4vw,4.2rem);max-width:1100px;font-family:var(--font-display);font-size:clamp(1.85rem,3.4vw,3.75rem);font-weight:400;line-height:1.08;letter-spacing:-.025em;color:var(--text);}
.client-voice-v16__quote-mark{position:absolute;left:0;top:-.25em;color:color-mix(in srgb,var(--v4-gold) 64%,transparent);font-size:2.3em;line-height:1;font-family:var(--font-display);}
.client-voices-v16__controls{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-top:1.3rem;}
.client-voices-v16__controls button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line-strong);display:grid;place-items:center;background:transparent;color:var(--text);transition:transform .25s ease,border-color .25s ease,background .25s ease;}
.client-voices-v16__controls button:hover,.client-voices-v16__controls button:focus-visible{transform:translateY(-2px);border-color:var(--v4-gold);background:color-mix(in srgb,var(--v4-gold) 7%,transparent);}
.client-voices-v16__controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;}
.client-voices-v16__controls span{min-width:58px;text-align:center;font-size:.68rem;color:var(--text-subtle);letter-spacing:.08em;}
@keyframes v16-star-in{from{opacity:0;transform:translateY(8px) scale(.72)}to{transform:translateY(0) scale(1)}}

@media (min-width:1500px){.client-voice-v16{flex-basis:min(880px,58vw);}}
@media (max-width:820px){
  html.v16-ready .immersive-manifest--v5 .manifest-word--responsibility{font-size:clamp(1.48rem,6.65vw,2.18rem)!important;max-width:calc(100vw - 34px)!important;white-space:nowrap!important;}
  .client-voices-v16__head{grid-template-columns:1fr;margin-bottom:2.2rem;}
  .client-voices-v16__title{margin-top:1.4rem;}
  .client-voices-v16__intro{font-size:.88rem;}
  .client-voices-v16__rail{gap:.9rem;padding-right:5vw;}
  .client-voices-v16__rail:has(.client-voice-v16:only-child){justify-content:flex-start;}
  .client-voice-v16{flex-basis:90vw;grid-template-columns:1fr auto;min-height:0;padding:1.65rem 1.35rem 2rem;row-gap:1.25rem;}
  .client-voice-v16::after{inset:.65rem;}
  .client-voice-v16__photo{width:58px;height:58px;}
  .client-voice-v16__rating{align-self:center;}
  .client-voice-v16__rating span{width:14px;height:14px;}
  .client-voice-v16 blockquote{padding-left:1.75rem;font-size:clamp(1.55rem,7vw,2.25rem);line-height:1.08;}
  .client-voices-v16__controls{justify-content:center;}
}
@media (prefers-reduced-motion:reduce){.client-voice-v16__rating span{animation:none}.client-voice-v16,.client-voice-v16__photo{transition:none}}


/* ==========================================================================
   SOURCE CONSOLIDADO: v17.css
   Ordem preservada da V17 validada
   ========================================================================== */

/* ==========================================================================
   V17 — landing-page final polish: mechanically correct gavel + 3D reviews.
   ========================================================================== */
html.v17-ready .client-voices-v16{padding-top:clamp(5.5rem,8vw,9rem);padding-bottom:clamp(5.5rem,8vw,9rem);}
html.v17-ready .client-voices-v16::before{background:
  radial-gradient(circle at 50% 52%,color-mix(in srgb,var(--v4-gold) 8%,transparent),transparent 34%),
  linear-gradient(90deg,transparent 0 11%,color-mix(in srgb,var(--line) 65%,transparent) 11% 11.08%,transparent 11.08% 88.92%,color-mix(in srgb,var(--line) 65%,transparent) 88.92% 89%,transparent 89%);}
html.v17-ready .client-voices-v16__head{grid-template-columns:minmax(135px,.18fr) minmax(0,1fr);margin-bottom:clamp(2rem,3.4vw,3.3rem);}
html.v17-ready .client-voices-v16__title{max-width:860px;}
html.v17-ready .client-voices-v16__intro{max-width:720px;font-size:clamp(.84rem,1vw,.98rem);line-height:1.68;}

.client-voices-v17{--deck-scroll:0;position:relative;isolation:isolate;}
.client-voices-v17__summary{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;max-width:1060px;margin:0 auto clamp(1.2rem,2vw,1.8rem);padding:0 clamp(.2rem,1vw,1rem);}
.client-voices-v17__score{display:flex;align-items:center;gap:1rem;min-width:0;}
.client-voices-v17__score-number{font-family:var(--font-display);font-size:clamp(2.6rem,4vw,4.2rem);line-height:.8;letter-spacing:-.05em;color:var(--text);}
.client-voices-v17__score-copy{display:grid;gap:.22rem;}
.client-voices-v17__score-copy strong{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;}
.client-voices-v17__score-copy small,.client-voices-v17__preview-note{font-size:.66rem;color:var(--text-subtle);line-height:1.45;letter-spacing:.025em;}
.client-voices-v17__stars{display:flex;gap:.18rem;color:var(--v4-gold);}
.client-voices-v17__stars svg{width:14px;height:14px;fill:color-mix(in srgb,var(--v4-gold) 72%,transparent);stroke:var(--v4-gold);stroke-width:1.15;}
.client-voices-v17__preview-note{max-width:330px;text-align:right;}

.client-voices-v17__viewport{position:relative;max-width:1180px;height:clamp(340px,32vw,430px);margin:0 auto;perspective:1500px;perspective-origin:50% 48%;outline:none;touch-action:pan-y;cursor:grab;}
.client-voices-v17__viewport:active{cursor:grabbing;}
.client-voices-v17__viewport::before,.client-voices-v17__viewport::after{content:"";position:absolute;left:50%;pointer-events:none;z-index:-1;transform:translateX(-50%);}
.client-voices-v17__viewport::before{top:8%;width:min(1020px,88vw);height:74%;border:1px solid color-mix(in srgb,var(--v4-gold) 13%,transparent);opacity:.75;}
.client-voices-v17__viewport::after{bottom:7%;width:min(880px,76vw);height:1px;background:linear-gradient(90deg,transparent,var(--v4-gold),transparent);opacity:.28;}
.client-voices-v17__deck{position:absolute;inset:0;transform-style:preserve-3d;transform:translate3d(0,calc((var(--deck-scroll) - .5) * 12px),0) rotateX(calc((var(--deck-scroll) - .5) * -1.4deg));transition:transform .28s ease-out;}
.client-voice-v17{--card-x:0%;--card-z:0px;--card-ry:0deg;--card-scale:1;--card-opacity:1;--card-blur:0px;position:absolute;left:50%;top:50%;width:min(660px,61vw);min-height:285px;transform-style:preserve-3d;transform:translate(-50%,-50%) translate3d(var(--card-x),0,var(--card-z)) rotateY(var(--card-ry)) scale(var(--card-scale));opacity:var(--card-opacity);filter:blur(var(--card-blur));transition:transform .72s cubic-bezier(.16,1,.3,1),opacity .5s ease,filter .5s ease;will-change:transform,opacity;}
.client-voice-v17[aria-hidden="true"]{pointer-events:none;}
.client-voice-v17.is-active{z-index:20;}
.client-voice-v17__surface{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;gap:1.05rem 1.2rem;min-height:285px;padding:clamp(1.55rem,2.6vw,2.35rem);border:1px solid color-mix(in srgb,var(--v4-gold) 24%,var(--line));background:linear-gradient(135deg,color-mix(in srgb,var(--bg) 98%,var(--v4-gold) 2%),color-mix(in srgb,var(--bg-soft) 96%,var(--v4-gold) 4%));box-shadow:0 28px 70px rgba(30,24,16,.10);overflow:hidden;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateZ(0);transform-origin:center;transition:transform .25s cubic-bezier(.2,.75,.25,1),box-shadow .4s ease,border-color .4s ease;backface-visibility:hidden;}
.client-voice-v17.is-active .client-voice-v17__surface{box-shadow:0 34px 90px rgba(30,24,16,.15);border-color:color-mix(in srgb,var(--v4-gold) 42%,var(--line));}
.client-voice-v17__surface::before{content:"";position:absolute;inset:10px;border:1px solid color-mix(in srgb,var(--v4-gold) 12%,transparent);pointer-events:none;}
.client-voice-v17__surface::after{content:"";position:absolute;width:46%;aspect-ratio:1;border-radius:50%;right:-18%;top:-45%;background:radial-gradient(circle,color-mix(in srgb,var(--v4-gold) 10%,transparent),transparent 67%);pointer-events:none;}
.client-voice-v17__meta{position:relative;z-index:2;display:flex;align-items:center;gap:.82rem;min-width:0;}
.client-voice-v17__photo{width:54px;height:54px;border-radius:50%;object-fit:cover;object-position:center 35%;border:1px solid color-mix(in srgb,var(--v4-gold) 48%,var(--line));box-shadow:0 10px 24px rgba(34,28,20,.10);background:var(--bg-soft);}
.client-voice-v17__identity{min-width:0;}
.client-voice-v17__identity cite{display:block;font-style:normal;font-weight:700;font-size:.87rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.client-voice-v17__identity span{display:block;margin-top:.18rem;color:var(--text-subtle);font-size:.64rem;letter-spacing:.055em;text-transform:uppercase;}
.client-voice-v17__badge{display:inline-flex!important;width:max-content;margin-top:.35rem!important;padding:.18rem .42rem;border:1px solid color-mix(in srgb,var(--v4-gold) 32%,var(--line));border-radius:999px;color:var(--v4-gold)!important;font-size:.55rem!important;letter-spacing:.08em!important;}
.client-voice-v17__rating{position:relative;z-index:2;display:flex;align-items:center;gap:.18rem;padding-top:.2rem;}
.client-voice-v17__rating svg{width:14px;height:14px;fill:color-mix(in srgb,var(--v4-gold) 70%,transparent);stroke:var(--v4-gold);stroke-width:1.1;}
.client-voice-v17 blockquote{grid-column:1/-1;position:relative;z-index:2;margin:0;align-self:center;padding-left:1.75rem;max-width:570px;font-family:var(--font-display);font-size:clamp(1.42rem,2vw,2rem);font-weight:400;line-height:1.16;letter-spacing:-.018em;color:var(--text);}
.client-voice-v17__quote-mark{position:absolute;left:0;top:-.28em;font-size:2.25em;line-height:1;color:color-mix(in srgb,var(--v4-gold) 62%,transparent);}
.client-voice-v17__index{position:absolute;right:1.3rem;bottom:1.05rem;z-index:2;font-size:.58rem;color:var(--text-subtle);letter-spacing:.10em;}

.client-voices-v17__nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;max-width:1060px;margin:clamp(.7rem,1.4vw,1.1rem) auto 0;}
.client-voices-v17__nav-line{height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--line-strong) 72%,transparent));}
.client-voices-v17__nav-line:last-child{transform:scaleX(-1);}
.client-voices-v17__controls{display:flex;align-items:center;gap:.65rem;}
.client-voices-v17__controls button{width:38px;height:38px;border-radius:50%;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);display:grid;place-items:center;transition:transform .25s ease,border-color .25s ease,background .25s ease;}
.client-voices-v17__controls button:hover,.client-voices-v17__controls button:focus-visible{transform:translateY(-2px);border-color:var(--v4-gold);background:color-mix(in srgb,var(--v4-gold) 6%,var(--bg));}
.client-voices-v17__controls svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;}
.client-voices-v17__counter{min-width:70px;text-align:center;font-size:.62rem;color:var(--text-subtle);letter-spacing:.10em;}
.client-voices-v17__dots{display:flex;justify-content:center;gap:.38rem;margin-top:.9rem;}
.client-voices-v17__dot{width:22px;height:3px;border:0;padding:0;background:color-mix(in srgb,var(--line-strong) 70%,transparent);transition:width .35s ease,background .35s ease;}
.client-voices-v17__dot.is-active{width:40px;background:var(--v4-gold);}

@media (max-width:820px){
  html.v17-ready .client-voices-v16{padding-top:4.5rem;padding-bottom:4.5rem;}
  html.v17-ready .client-voices-v16__head{grid-template-columns:1fr;margin-bottom:1.7rem;}
  .client-voices-v17__summary{align-items:flex-end;padding:0 .1rem;margin-bottom:1rem;}
  .client-voices-v17__score{gap:.7rem;}
  .client-voices-v17__score-number{font-size:2.75rem;}
  .client-voices-v17__preview-note{max-width:155px;font-size:.57rem;}
  .client-voices-v17__viewport{height:350px;width:100vw;max-width:none;margin-left:calc(50% - 50vw);overflow:hidden;perspective:1100px;}
  .client-voices-v17__viewport::before{width:88vw;height:78%;top:7%;}
  .client-voice-v17{width:min(78vw,410px);min-height:300px;}
  .client-voice-v17__surface{min-height:300px;padding:1.35rem 1.15rem;gap:.85rem .7rem;}
  .client-voice-v17__photo{width:48px;height:48px;}
  .client-voice-v17__identity cite{font-size:.8rem;}
  .client-voice-v17__rating{gap:.12rem;}
  .client-voice-v17__rating svg{width:12px;height:12px;}
  .client-voice-v17 blockquote{padding-left:1.45rem;font-size:clamp(1.18rem,5.3vw,1.55rem);line-height:1.18;}
  .client-voices-v17__nav{grid-template-columns:1fr auto 1fr;margin-top:.55rem;}
  .client-voices-v17__controls button{width:36px;height:36px;}
  .client-voices-v17__dots{gap:.25rem;overflow:hidden;}
  .client-voices-v17__dot{width:12px;}
  .client-voices-v17__dot.is-active{width:24px;}
}

@media (max-width:430px){
  .client-voices-v17__preview-note{display:none;}
  .client-voice-v17{width:82vw;}
  .client-voice-v17 blockquote{font-size:1.18rem;}
}

@media (prefers-reduced-motion:reduce){
  .client-voices-v17__deck,.client-voice-v17,.client-voice-v17__surface,.client-voices-v17__dot{transition:none!important;}
}

/* Real testimonial without an available client photo: neutral initials, never a fabricated portrait. */
.client-voice-v17__photo--initials{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  font-family:var(--font-display);
  font-size:.82rem;
  letter-spacing:.035em;
  color:var(--v4-gold);
  background:linear-gradient(145deg,color-mix(in srgb,var(--bg-soft) 90%,var(--v4-gold) 10%),var(--bg));
}

/* ========================================================================== 
   UX1 · refinamentos aprovados — autoridade, perfil, IA, FAQ e contato
   ========================================================================== */
.authority-v5__provenance{display:inline-flex;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.16);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;opacity:.68;}
.stephanie-story__profile-link{display:flex;justify-content:flex-end;margin-top:clamp(18px,3vw,34px);padding-top:18px;border-top:1px solid var(--line,rgba(20,18,14,.14));}
.stephanie-story__profile-link .text-link{font-weight:650;}
.site-ai-answer__message p{white-space:pre-line;}
.site-ai-answer__suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.site-ai-answer__suggestions button{appearance:none;border:1px solid rgba(205,165,97,.28);border-radius:999px;background:rgba(205,165,97,.08);color:inherit;padding:8px 11px;font:inherit;font-size:.76rem;line-height:1.2;cursor:pointer;transition:border-color .25s ease,background .25s ease,transform .25s ease;}
.site-ai-answer__suggestions button:hover,.site-ai-answer__suggestions button:focus-visible{border-color:rgba(205,165,97,.72);background:rgba(205,165,97,.16);transform:translateY(-1px);outline:none;}
.faq-v7__empty{display:grid;gap:10px;padding:22px;border:1px solid var(--line,rgba(20,18,14,.12));border-radius:18px;}
.faq-v7__empty strong{font-family:var(--font-display,serif);font-size:1.25rem;font-weight:500;}
.faq-v7__empty p{margin:0;opacity:.72;max-width:62ch;}
.contact-channel-choice{margin:0 0 18px;padding:0;border:0;}
.contact-channel-choice legend{margin-bottom:10px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;opacity:.74;}
.contact-channel-choice__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.contact-channel-choice label{position:relative;display:block;cursor:pointer;}
.contact-channel-choice input{position:absolute;opacity:0;pointer-events:none;}
.contact-channel-choice label>span{display:grid;gap:3px;min-height:68px;padding:12px 14px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.035);transition:border-color .25s ease,background .25s ease,transform .25s ease;}
.contact-channel-choice label strong{font-size:.9rem;}
.contact-channel-choice label small{font-size:.72rem;opacity:.66;}
.contact-channel-choice label.is-selected>span,.contact-channel-choice input:checked+span{border-color:rgba(219,180,109,.72);background:rgba(219,180,109,.12);transform:translateY(-1px);}
.contact-channel-choice input:focus-visible+span{outline:2px solid rgba(219,180,109,.78);outline-offset:2px;}
.contact-channel-choice.has-error legend{color:#f0b5a8;}
.contact-copy{min-width:max-content;}
@media(max-width:700px){.stephanie-story__profile-link{justify-content:flex-start}.contact-channel-choice__options{grid-template-columns:1fr}.contact-step__actions--channels{gap:9px}.contact-copy{width:100%;justify-content:center}}


/* ==========================================================================
   Session 06 — Cinematic bridge from the Practice Explorer to area pages.
   Purely progressive: reduced-motion and ordinary navigation remain untouched.
   ========================================================================== */
.area-bridge{position:fixed;inset:0;z-index:2147482000;pointer-events:none;overflow:hidden;isolation:isolate}
.area-bridge__veil{position:absolute;inset:0;background:rgba(248,246,241,.96);backdrop-filter:blur(12px);opacity:0}
html[data-theme="dark"] .area-bridge__veil{background:rgba(16,16,13,.96)}
.area-bridge__frame{position:fixed;overflow:hidden;border:1px solid rgba(181,132,54,.30);background:radial-gradient(circle at 50% 46%,rgba(213,169,91,.18),transparent 52%),rgba(248,246,241,.72);box-shadow:0 38px 100px rgba(64,44,18,.16);display:grid;place-items:center;will-change:left,top,width,height,opacity,transform;border-radius:28px}
html[data-theme="dark"] .area-bridge__frame{background:radial-gradient(circle at 50% 46%,rgba(213,169,91,.18),transparent 52%),rgba(20,20,16,.78);box-shadow:0 38px 120px rgba(0,0,0,.42)}
.area-bridge__halo{position:absolute;inset:8%;border:1px solid rgba(202,156,75,.14);border-radius:50%;transform:scale(.86);box-shadow:0 0 80px rgba(202,156,75,.12)}
.area-bridge__glyph{width:min(72%,430px);height:min(72%,430px);overflow:visible;filter:drop-shadow(0 20px 42px rgba(139,91,31,.12));position:relative;z-index:2}
.area-bridge__glyph .g-ring,.area-bridge__glyph .g-main,.area-bridge__glyph .g-soft{fill:none;stroke:#b68134;stroke-linecap:round;stroke-linejoin:round}
.area-bridge__glyph .g-ring{stroke-width:2.2;opacity:.38}.area-bridge__glyph .g-main{stroke-width:3.3;opacity:.78}.area-bridge__glyph .g-soft{stroke-width:2.4;opacity:.48}
html[data-theme="dark"] .area-bridge__glyph .g-ring,html[data-theme="dark"] .area-bridge__glyph .g-main,html[data-theme="dark"] .area-bridge__glyph .g-soft{stroke:#dfb96f}
.area-bridge__caption{position:absolute;left:clamp(18px,4vw,46px);bottom:clamp(18px,4vw,42px);z-index:3;display:grid;gap:.28rem;max-width:70%;color:#1f1b15}
html[data-theme="dark"] .area-bridge__caption{color:#f3eadc}
.area-bridge__caption span{font:600 .66rem/1.2 var(--font-sans,Arial,sans-serif);letter-spacing:.16em;text-transform:uppercase;color:#a47634}
.area-bridge__caption strong{font:500 clamp(1.05rem,2vw,1.65rem)/1.08 var(--font-display,Georgia,serif)}
html.area-bridge-leaving body{overflow:hidden}
@media(max-width:900px){.area-bridge__glyph{width:min(68%,300px);height:min(68%,300px)}.area-bridge__caption{max-width:82%}}
@media(prefers-reduced-motion:reduce){.area-bridge{display:none!important}}

/* ==========================================================================
   Session 06 — Cinematic Area Bridge V2
   ========================================================================== */
.area-bridge{position:fixed;inset:0;z-index:2147482000;pointer-events:none;overflow:hidden;isolation:isolate}.area-bridge__veil{position:absolute;inset:0;background:rgba(248,246,241,.97);backdrop-filter:blur(16px) saturate(.92);opacity:0}html[data-theme="dark"] .area-bridge__veil{background:rgba(13,13,11,.97)}.area-bridge__grain{position:absolute;inset:-20%;opacity:.09;mix-blend-mode:multiply;background-image:radial-gradient(circle at 20% 30%,rgba(128,91,38,.45) 0 1px,transparent 1.4px),radial-gradient(circle at 70% 60%,rgba(128,91,38,.30) 0 1px,transparent 1.4px);background-size:38px 38px,53px 53px;animation:areaBridgeGrain 2.4s steps(2,end) infinite}html[data-theme="dark"] .area-bridge__grain{opacity:.13;mix-blend-mode:screen}.area-bridge__beam{position:absolute;left:-20vw;top:47%;width:140vw;height:2px;background:linear-gradient(90deg,transparent,rgba(199,151,73,.15),rgba(225,191,119,.9),rgba(199,151,73,.15),transparent);box-shadow:0 0 38px rgba(210,164,84,.45);opacity:0;transform:translateX(-120vw) rotate(-8deg);transform-origin:center}.area-bridge__frame{position:fixed;overflow:hidden;border:1px solid rgba(181,132,54,.32);background:radial-gradient(circle at 50% 44%,rgba(213,169,91,.22),transparent 42%),linear-gradient(145deg,rgba(255,255,255,.68),rgba(246,239,226,.84));box-shadow:0 42px 130px rgba(64,44,18,.18),inset 0 0 0 1px rgba(255,255,255,.24);display:grid;place-items:center;will-change:left,top,width,height,opacity,transform;border-radius:40px;isolation:isolate}html[data-theme="dark"] .area-bridge__frame{background:radial-gradient(circle at 50% 44%,rgba(213,169,91,.18),transparent 42%),linear-gradient(145deg,rgba(30,29,23,.88),rgba(16,16,13,.94));box-shadow:0 44px 150px rgba(0,0,0,.5),inset 0 0 0 1px rgba(219,180,107,.06)}.area-bridge__frame::before,.area-bridge__frame::after{content:"";position:absolute;inset:22px;border:1px solid rgba(202,156,75,.13);border-radius:30px;pointer-events:none}.area-bridge__frame::after{inset:48px;border-color:rgba(202,156,75,.08);border-radius:24px}.area-bridge__orbit{position:absolute;border:1px solid rgba(202,156,75,.16);border-radius:50%;pointer-events:none}.area-bridge__orbit--a{width:min(60vw,640px);aspect-ratio:1;transform:rotate(-12deg);animation:areaBridgeOrbitA 6s linear infinite}.area-bridge__orbit--b{width:min(43vw,470px);aspect-ratio:1;transform:rotate(19deg);animation:areaBridgeOrbitB 5s linear infinite;border-color:rgba(202,156,75,.1)}.area-bridge__glyph-stack{position:relative;z-index:2;width:min(48%,440px);aspect-ratio:1;display:grid;place-items:center;filter:drop-shadow(0 30px 55px rgba(139,91,31,.14))}.area-bridge__glyph{grid-area:1/1;width:100%;height:100%;overflow:visible;transform-origin:center;will-change:transform,opacity}.area-bridge__glyph--ghost{opacity:.06;filter:blur(1px)}.area-bridge__glyph--echo{opacity:.05;filter:blur(.6px)}.area-bridge__glyph .g-ring,.area-bridge__glyph .g-main,.area-bridge__glyph .g-soft{fill:none;stroke:#b68134;stroke-linecap:round;stroke-linejoin:round}.area-bridge__glyph .g-ring{stroke-width:2.1;opacity:.34}.area-bridge__glyph .g-main{stroke-width:3.25;opacity:.86}.area-bridge__glyph .g-soft{stroke-width:2.25;opacity:.46}html[data-theme="dark"] .area-bridge__glyph .g-ring,html[data-theme="dark"] .area-bridge__glyph .g-main,html[data-theme="dark"] .area-bridge__glyph .g-soft{stroke:#dfb96f}.area-bridge__caption{position:absolute;left:clamp(24px,4.5vw,64px);bottom:clamp(30px,5vw,58px);z-index:4;display:grid;gap:.3rem;max-width:min(72%,680px);color:#1f1b15}.area-bridge__caption span{font:700 .64rem/1.2 var(--font-sans,Arial,sans-serif);letter-spacing:.18em;text-transform:uppercase;color:#a47634}.area-bridge__caption strong{font:500 clamp(1.4rem,3vw,2.8rem)/1.02 var(--font-display,Georgia,serif);letter-spacing:-.025em}.area-bridge__caption i{margin-top:2px;color:#8b806f;font:500 .67rem/1.3 var(--font-sans,Arial,sans-serif);font-style:normal;letter-spacing:.055em;text-transform:uppercase}html[data-theme="dark"] .area-bridge__caption{color:#f3eadc}.area-bridge__progress{position:absolute;left:clamp(24px,4.5vw,64px);right:clamp(24px,4.5vw,64px);bottom:20px;height:1px;background:rgba(181,132,54,.13);overflow:hidden;z-index:4}.area-bridge__progress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,#9e6929,#d3a758,#eed28d)}html.area-bridge-leaving body,html.area-bridge-arriving body{overflow:hidden!important}@keyframes areaBridgeGrain{0%{transform:translate(0,0)}50%{transform:translate(10px,-8px)}100%{transform:translate(-7px,6px)}}@keyframes areaBridgeOrbitA{to{transform:rotate(348deg)}}@keyframes areaBridgeOrbitB{to{transform:rotate(-341deg)}}@media(max-width:900px){.area-bridge__glyph-stack{width:min(58%,320px)}.area-bridge__caption{max-width:84%}.area-bridge__caption strong{font-size:clamp(1.25rem,6vw,2rem)}.area-bridge__orbit--a{width:82vw}.area-bridge__orbit--b{width:62vw}}@media(prefers-reduced-motion:reduce){.area-bridge{display:none!important}.area-bridge__orbit,.area-bridge__grain{animation:none!important}}
