/* =====================================================================
   THEO CRISTO ADVOGADOS — direção premium dinâmica 2026
   Camada visual posterior ao design system base. Mantém conteúdo, semântica
   e funções; amplia presença institucional, profundidade e movimento.
   ===================================================================== */

:root {
  --carbon: #0c0d0b;
  --carbon-2: #131510;
  --carbon-3: #2d3027;
  --linen: #eeeae0;
  --paper: #f8f5ed;
  --stone: #d3ccbd;
  --ink: #11130f;
  --ink-2: #55574e;
  --gold: #987649;
  --gold-2: #d2b985;
  --moss: #14271f;
  --moss-2: #1c3328;
  --container: 1320px;
  --header-h: 96px;
  --section-y: clamp(88px, 10vw, 152px);
  --shadow-soft: 0 24px 80px rgba(12, 13, 11, .12);
  --shadow-dark: 0 32px 90px rgba(0, 0, 0, .36);
}

body {
  background:
    linear-gradient(90deg, rgba(17, 19, 15, .025) 1px, transparent 1px) 0 0 / 8.333vw 100%,
    var(--linen);
}

.section { isolation: isolate; overflow: clip; }
.section > .container { position: relative; z-index: 2; }

.section__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.section__head {
  position: relative;
  padding-top: 24px;
}

.section__head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(58px, 8vw, 108px);
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}

.reveal-ready:not(.reduced-motion) .section__head:not(.is-in)::before { transform: scaleX(0); }

/* Header: marca com presença real, sem transformar a navegação em banner. */
.site-header {
  border-bottom: 1px solid rgba(246, 242, 234, .08);
  background: linear-gradient(180deg, rgba(8, 9, 8, .72), rgba(8, 9, 8, 0));
}

.site-header.is-scrolled {
  height: 78px;
  background: rgba(241, 237, 227, .9);
  box-shadow: 0 12px 44px rgba(17, 19, 15, .08), 0 1px 0 rgba(17, 19, 15, .08);
}

.site-header__inner { gap: 34px; }
.site-header .brand { gap: 18px; padding: 10px 0; }
.site-header .brand__mark { width: 40px; height: 40px; }
.site-header .brand__word { gap: 9px; }
.site-header .brand__name { width: 184px; height: 15px; overflow: visible; }
.site-header .brand__sub { width: 101px; height: 7.4px; overflow: visible; }
.site-nav__list { gap: 2px; }
.site-nav__list a { padding-inline: 11px; font-size: .875rem; }
.site-header__cta { min-height: 46px; padding-inline: 20px; }

/* Hero cinematográfico: retrato preservado, luz viva e profundidade por ponteiro/scroll. */
.hero {
  min-height: max(760px, 100svh);
  padding-top: calc(var(--header-h) + 32px);
  background:
    linear-gradient(120deg, #080907 0%, #0d0f0b 52%, #15140f 100%);
}

.hero::before {
  content: "TC";
  position: absolute;
  z-index: 0;
  left: -4vw;
  bottom: -15vw;
  font-family: var(--font-display);
  font-size: clamp(22rem, 44vw, 48rem);
  font-weight: 500;
  line-height: .72;
  letter-spacing: -.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(210, 185, 133, .055);
  opacity: .9;
  pointer-events: none;
  transform: translate3d(0, var(--hero-mark-y, 0), 0);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(210, 185, 133, .06) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(210, 185, 133, .035) 50%, transparent 50.1%);
  background-size: 16.666vw 100%, 100% 22vh;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 78%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 78%);
}

.hero__aura {
  position: absolute;
  z-index: 0;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  will-change: transform;
}

.hero__aura--one {
  right: -13vw;
  top: 1vh;
  background: rgba(210, 185, 133, .12);
  animation: aura-drift 13s ease-in-out infinite alternate;
}

.hero__aura--two {
  left: 18vw;
  bottom: -34vw;
  background: rgba(38, 76, 57, .15);
  animation: aura-drift 17s ease-in-out -5s infinite alternate-reverse;
}

@keyframes aura-drift {
  from { transform: translate3d(-2%, -2%, 0) scale(.94); }
  to { transform: translate3d(5%, 4%, 0) scale(1.08); }
}

.hero__glow {
  z-index: 1;
  background:
    radial-gradient(38% 54% at var(--pointer-x, 76%) var(--pointer-y, 42%), rgba(210, 185, 133, .15), transparent 72%),
    radial-gradient(50% 74% at 78% 47%, rgba(210, 185, 133, .09), transparent 73%);
  transition: background-position .18s linear;
}

.hero__grid { z-index: 3; }
.hero__copy { grid-column: 1 / span 7; padding-block: 46px 76px; }
.hero__title { font-size: clamp(3.25rem, 1.2rem + 4.35vw, 5.75rem); line-height: .91; }
.hero__sub { max-width: 52ch; color: #c4beb1; }
.hero__actions .btn--primary { min-height: 54px; padding-inline: 28px; }
.hero__id { max-width: 690px; border-color: rgba(210, 185, 133, .2); }
.hero__figure { grid-column: 8 / span 5; margin-bottom: -40px; }
.hero__portrait { height: clamp(600px, 80svh, 820px); transform: translate3d(0, var(--portrait-y, 0), 0); will-change: transform; }
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 42px 0 58px -46px #0b0d0a, inset -18px 0 36px -30px rgba(210,185,133,.28);
}
.hero__figure::before { right: -4px; top: 7%; bottom: 18%; }

.hero__scroll {
  position: absolute;
  z-index: 5;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #8e887b;
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__scroll i { position: relative; width: 38px; height: 1px; overflow: hidden; background: rgba(210,185,133,.25); }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: translateX(-105%); animation: scroll-pulse 2.4s var(--ease-in-out) infinite; }
@keyframes scroll-pulse { 0%,15% { transform: translateX(-105%); } 60%,100% { transform: translateX(105%); } }

/* Faixa elevada: transforma atributos em cartões flutuantes. */
.band { position: relative; z-index: 6; margin-top: -1px; border: 0; background: var(--paper); box-shadow: 0 -1px 0 rgba(210,185,133,.12); }
.band .container { transform: translateY(-34px); }
.band__list { gap: 1px; padding: 1px; background: rgba(210,185,133,.28); box-shadow: var(--shadow-soft); }
.band__list li { position: relative; min-height: 122px; padding: 28px 24px 26px 50px; border: 0; background: rgba(248,245,237,.97); transition: transform .45s var(--ease-out), background .3s ease; }
.band__list li:first-child { padding-left: 50px; }
.band__list li:hover { z-index: 1; transform: translateY(-7px); background: #fffdf8; }
.band__list li::before { position: absolute; top: 29px; left: 20px; color: var(--gold); font-family: var(--font-display); font-size: 1rem; }
.band__list li:nth-child(1)::before { content: "01"; }
.band__list li:nth-child(2)::before { content: "02"; }
.band__list li:nth-child(3)::before { content: "03"; }
.band__list li:nth-child(4)::before { content: "04"; }
.band__list strong { font-size: 1.42rem; }

/* Áreas: painel escuro interativo com contraste e ritmo mais tecnológico. */
.areas {
  margin-top: -34px;
  padding-top: calc(var(--section-y) + 34px);
  --bg: #10120e;
  --fg: var(--light);
  --fg-2: #aaa89d;
  --fg-3: #77776f;
  --line: #2c3028;
  --accent: var(--gold-2);
  color: var(--fg);
  background:
    radial-gradient(circle at 86% 10%, rgba(210,185,133,.09), transparent 30%),
    linear-gradient(145deg, #0e100d, #151711 64%, #0e100d);
}
.areas::after {
  content: "ATUAÇÃO";
  position: absolute;
  right: -1vw;
  top: 2vw;
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 15rem);
  line-height: 1;
  color: rgba(246,242,234,.018);
  letter-spacing: .02em;
  pointer-events: none;
}
.areas__nav { border-color: var(--line); }
.areas__tab { color: #797a72; border-bottom: 1px solid rgba(210,185,133,.06); }
.areas__tab:hover, .areas__tab[aria-selected="true"] { color: var(--light); }
.areas__tab-hint { color: #8d8e85; }
.areas__indicator { background: var(--gold-2); box-shadow: 0 0 24px rgba(210,185,133,.36); }
.areas__panels {
  min-height: 470px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(210,185,133,.18);
  background: linear-gradient(145deg, rgba(246,242,234,.045), rgba(246,242,234,.012));
  box-shadow: var(--shadow-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.areas__panel-title, .areas__list strong { color: var(--light); }
.areas__panel-lead, .areas__list span, .areas__note { color: #aaa89d; }
.areas__list-title { color: #74756e; border-color: var(--line); }
.areas__list li { border-color: var(--line); transition: padding-left .35s var(--ease-out), color .25s ease; }
.areas__list li:hover { padding-left: 10px; }
.areas__note { border-color: var(--gold-2); }
.areas .btn--secondary { --_fg: var(--light); --_bd: rgba(246,242,234,.5); }

/* Situações: profundidade verde e linhas numeradas vivas. */
.situacoes {
  background:
    radial-gradient(circle at 10% 16%, rgba(210,185,133,.11), transparent 32%),
    linear-gradient(140deg, #12261e, #1b3428 58%, #102119);
}
.acc--situacoes { counter-reset: situacao; }
.acc--situacoes .acc__item { counter-increment: situacao; }
.acc--situacoes .acc__trigger { padding-left: 64px; }
.acc--situacoes .acc__trigger::before { content: counter(situacao, decimal-leading-zero); position: absolute; left: 0; color: rgba(210,185,133,.65); font-family: var(--font-text); font-size: .72rem; letter-spacing: .12em; }
.acc--situacoes .acc__item { position: relative; transition: background-color .3s ease, padding .4s var(--ease-out); }
.acc--situacoes .acc__item:has(.acc__trigger[aria-expanded="true"]) { padding-inline: 24px; background: rgba(246,242,234,.035); }
.acc--situacoes .acc__item:has(.acc__trigger[aria-expanded="true"]) .acc__trigger { padding-left: 48px; }

/* Sobre: editorial imersivo com segunda fotografia. */
.sobre {
  background:
    linear-gradient(90deg, rgba(17,19,15,.025) 1px, transparent 1px) 0 0 / 8.333vw 100%,
    linear-gradient(180deg, var(--linen), #e9e3d7);
}
.sobre::after {
  content: "CLAREZA";
  position: absolute;
  left: 47%;
  top: 5%;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 14rem);
  color: rgba(17,19,15,.026);
  line-height: 1;
  transform: rotate(90deg) translateX(24%);
  transform-origin: top right;
  pointer-events: none;
}
.sobre__media { grid-column: 1 / span 6; }
.sobre__copy { grid-column: 8 / span 5; }
.sobre__figure { aspect-ratio: 4 / 5; border-radius: 0; box-shadow: var(--shadow-soft); }
.sobre__figure::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(210,185,133,.35); box-shadow: inset 0 0 0 10px rgba(12,13,11,.1); pointer-events: none; }
.sobre__figure img { object-position: 50% 0; transform: scale(var(--about-scale, 1)); transform-origin: center top; }
.sobre__legend { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0 0 18px; border-left: 1px solid var(--gold); }
.sobre__copy > .section__eyebrow { margin-bottom: 22px; }
.sobre__copy .section__title { max-width: 8ch; font-size: clamp(3rem, 4.1vw, 5rem); }
.sobre__block { transition: padding-left .4s var(--ease-out), border-color .25s ease; }
.sobre__block:hover { padding-left: 14px; border-color: var(--gold); }

/* Processo: cartões que avançam conforme a linha de progresso. */
.processo { background: #f8f5ed; }
.steps { column-gap: 14px; padding-top: 42px; }
.step { min-height: 280px; padding: 30px 26px; border: 1px solid var(--stone); background: rgba(255,255,255,.42); transition: transform .45s var(--ease-out), background .3s ease, box-shadow .45s var(--ease-out); }
.step::before { top: -46px; }
.step:hover { transform: translateY(-10px); background: #fffdf8; box-shadow: var(--shadow-soft); }
.step__num { color: rgba(152,118,73,.42); font-size: 4.6rem; }
.step.is-passed .step__num { color: var(--gold); }

/* FAQ: bloco nítido, com item ativo elevado. */
.faq { background: linear-gradient(180deg, #e9e3d7, var(--paper)); }
.acc--faq .acc__item { padding-inline: 22px; transition: background-color .3s ease, transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.acc--faq .acc__item:has(.acc__trigger[aria-expanded="true"]) { background: #fffdf8; transform: translateX(-10px); box-shadow: 18px 18px 50px rgba(17,19,15,.08); }

/* Contato: superfície luminosa responsiva ao ponteiro. */
.contato { background: linear-gradient(135deg, #0b0d0a, #151911 58%, #0c0e0b); }
.contato__aura { position: absolute; z-index: 0; width: 56vw; aspect-ratio: 1; right: -18vw; top: -20vw; border-radius: 50%; background: rgba(210,185,133,.09); filter: blur(110px); pointer-events: none; transform: translate3d(var(--contact-x, 0), var(--contact-y, 0), 0); transition: transform .3s ease-out; }
.contato__title { font-size: clamp(3rem, 4.7vw, 5.6rem); max-width: 10ch; }
.contato__channels a { font-size: 1.7rem; }
.wa-form { padding: clamp(28px, 4vw, 48px); background: linear-gradient(145deg, rgba(246,242,234,.07), rgba(246,242,234,.025)); border-color: rgba(210,185,133,.24); box-shadow: var(--shadow-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* Rodapé reconstruído: marca em linha própria, sem compressão ou corte. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #080a08; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 18%, rgba(210,185,133,.08), transparent 32%); pointer-events: none; }
.site-footer__watermark { position: absolute; z-index: 0; right: -2vw; bottom: -9vw; font-family: var(--font-display); font-size: clamp(18rem, 35vw, 38rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(210,185,133,.05); pointer-events: none; }
.site-footer__grid { position: relative; z-index: 1; grid-template-columns: 2fr 1fr 1fr 1.1fr; gap: 52px; padding-block: 86px 66px; }
.site-footer__brand { min-width: 0; }
.brand--footer { display: flex; width: max-content; max-width: 100%; gap: 24px; overflow: visible; }
.brand--footer .brand__mark { width: 72px; height: 72px; }
.brand--footer .brand__word { gap: 12px; min-width: 0; overflow: visible; }
.brand--footer .brand__name { width: 238px; height: 20px; overflow: visible; }
.brand--footer .brand__sub { width: 129px; height: 9.5px; overflow: visible; }
.brand--footer .brand__rule { background: linear-gradient(90deg, var(--gold-2), transparent); }
.site-footer__brand p { max-width: 48ch; }
.site-footer__bottom { position: relative; z-index: 1; padding-block: 26px 34px; }

/* Elementos reativos adicionados via JavaScript. */
[data-tilt] { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transform-origin: center; transition: transform .35s var(--ease-out), border-color .25s ease, box-shadow .35s ease; will-change: transform; }
.js:not(.reduced-motion) [data-reveal] { transition-duration: 900ms; }
.reveal-ready:not(.reduced-motion) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(34px) scale(.985); }
.js:not(.reduced-motion) .acc__item[data-reveal]:not(.is-in) { transform: translateX(-28px); }

@media (max-width: 1260px) {
  .site-header .brand__mark { width: 36px; height: 36px; }
  .site-header .brand__name { width: 166px; height: 13.5px; }
  .site-header .brand__sub { width: 92px; height: 6.7px; }
  .site-nav__list a { padding-inline: 8px; font-size: .82rem; }
}

@media (max-width: 1180px) {
  .site-header .brand__mark { width: 40px; height: 40px; }
  .site-header .brand__name { width: 184px; height: 15px; }
  .site-header .brand__sub { width: 101px; height: 7.4px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 78px; }
  .site-header { height: var(--header-h); }
  .site-header.is-scrolled { height: 68px; }
  .hero { min-height: 100svh; }
  .hero::before { left: -20vw; bottom: -8vw; font-size: 70vw; }
  .hero::after { opacity: .45; }
  .hero__copy { padding-block: 0; }
  .hero__scroll { display: none; }
  .hero__aura { width: 80vw; filter: blur(80px); }
  .band .container { transform: none; padding-inline: 0; }
  .band__list { box-shadow: none; }
  .band__list li { min-height: 104px; }
  .areas { margin-top: 0; padding-top: var(--section-y); }
  .areas__nav { border-top-color: var(--line); }
  .areas__tab { color: #85877e; border-color: var(--line); }
  .areas__panels { margin-top: 40px; }
  .sobre__media, .sobre__copy { grid-column: 1; }
  .sobre__copy .section__title { max-width: 12ch; }
  .sobre__sticky { grid-template-columns: minmax(0, 48%) 1fr; align-items: end; }
  .step { min-height: 250px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --header-h: 72px; }
  .site-header { background: linear-gradient(180deg, rgba(8,9,8,.9), rgba(8,9,8,0)); }
  .site-header .brand { gap: 12px; }
  .site-header .brand__mark { width: 34px; height: 34px; }
  .site-header .brand__name { width: 147px; height: 12px; }
  .hero__title { font-size: clamp(2.75rem, 12.5vw, 4rem); line-height: .94; }
  .hero__sub { max-width: 34ch; }
  .hero__portrait { transform: none; }
  .hero__aura--one { right: -34vw; top: 4vh; }
  .band__list { gap: 0; padding: 0; }
  .band__list li, .band__list li:first-child { min-height: 112px; padding: 24px 16px 22px 42px; border: 1px solid var(--stone); border-width: 0 0 1px 0; }
  .band__list li:nth-child(even) { border-left: 1px solid var(--stone); }
  .band__list li::before { left: 14px; top: 25px; }
  .band__list li:hover { transform: none; }
  .band__list strong { font-size: 1.2rem; }
  .section__head { display: block; padding-top: 22px; }
  .section__eyebrow { margin-bottom: 20px; }
  .section__intro { margin-top: 22px; }
  .areas__panels { padding: 26px 20px; }
  .areas__tab-name { font-size: 1.15rem; }
  .acc--situacoes .acc__trigger { padding-left: 42px; }
  .acc--situacoes .acc__item:has(.acc__trigger[aria-expanded="true"]) { padding-inline: 14px; }
  .acc--situacoes .acc__item:has(.acc__trigger[aria-expanded="true"]) .acc__trigger { padding-left: 36px; }
  .sobre__sticky { display: block; }
  .sobre__legend { margin-top: 0; }
  .sobre__copy { margin-top: 12px; }
  .sobre__copy > .section__eyebrow { margin-bottom: 18px; }
  .sobre__copy .section__title { font-size: clamp(2.7rem, 13vw, 4rem); }
  .sobre__block:hover { padding-left: 0; }
  .steps { gap: 0; }
  .step { min-height: 0; padding: 24px 22px 34px; margin-bottom: 14px; }
  .step::before { left: -32px; top: 34px; }
  .step:hover { transform: none; }
  .faq__head .section__intro { margin-top: 22px; }
  .acc--faq .acc__item { padding-inline: 0; }
  .acc--faq .acc__item:has(.acc__trigger[aria-expanded="true"]) { padding-inline: 16px; transform: none; }
  .contato__title { font-size: clamp(2.85rem, 13vw, 4.2rem); }
  .contato__channels a { font-size: 1.4rem; }
  .site-footer__grid { grid-template-columns: 1fr; padding-block: 64px 42px; }
  .brand--footer { gap: 16px; }
  .brand--footer .brand__mark { width: 54px; height: 54px; }
  .brand--footer .brand__name { width: min(220px, 58vw); height: auto; aspect-ratio: 836.7 / 68; }
  .brand--footer .brand__sub { width: min(121px, 34vw); height: auto; aspect-ratio: 966.3 / 71; }
  .site-footer__watermark { right: -16vw; bottom: -2vw; font-size: 74vw; }
}

@media (max-width: 380px) {
  .site-header .brand__mark { width: 32px; height: 32px; }
  .site-header .brand__name { width: 136px; height: 11px; }
  .hero__title { font-size: 2.65rem; }
  .brand--footer .brand__mark { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__aura, .hero__scroll i::after { animation: none !important; }
  .hero__portrait, .contato__aura { transform: none !important; }
}

/* Página de privacidade: identidade ampliada, sem elementos de campanha. */
.page-simple .site-header { background: rgba(241,237,227,.96); border-color: var(--stone); }
.page-simple .site-header.is-static { height: 88px; }
.page-simple .legal { background: linear-gradient(180deg, var(--paper), var(--linen)); }
.page-simple .legal__wrap { padding: clamp(34px, 6vw, 76px); background: rgba(255,255,255,.42); border: 1px solid var(--stone); box-shadow: var(--shadow-soft); }
.page-simple .site-footer__bottom { min-height: 108px; align-items: center; }
