/* ==========================================================================
   Anael Mahasyah Testoni · Advogado Criminalista
   Paleta derivada do logo Testoni: preto profundo + dourado metálico.
   ========================================================================== */

:root {
  --ink: #0d0c0a;
  --ink-2: #14130f;
  --ink-3: #1d1b16;
  --ink-deep: #080807;

  --paper: #faf8f3;
  --ivory: #f2eee6;
  --stone: #e4ddcf;

  --text: #1b1915;
  --text-muted: #5b554b;
  --on-dark: #efe9dd;
  --on-dark-muted: rgba(239, 233, 221, .66);

  --gold: #c6a66e;
  --gold-soft: #dcc394;
  --gold-deep: #7d5f30;
  --gold-metal: linear-gradient(105deg, #8a6934 0%, #c9a96f 32%, #ecd9a8 50%, #b8945a 70%, #8a6934 100%);

  --line-light: rgba(27, 25, 21, .12);
  --line-dark: rgba(198, 166, 110, .2);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --photo: grayscale(1) sepia(.08) contrast(1.04);
}

/* Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.005em;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
}

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: .8rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.icon { width: 18px; height: 18px; flex: none; }

/* Tipografia de apoio -------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

/* Destaque em itálico dourado: metálico no escuro, sólido no claro */
.hero h1 em,
.areas h2 em,
.cases h2 em,
.final h2 em {
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.about h2 em,
.steps h2 em,
.presence h2 em,
.faq h2 em { color: var(--gold-deep); }

/* Botões ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .35s var(--ease), background-position .6s var(--ease),
              border-color .35s var(--ease), color .35s var(--ease);
}

.btn-gold {
  color: var(--ink);
  background: linear-gradient(105deg, #b8955c 0%, #d8be8a 45%, #c6a66e 60%, #b8955c 100%);
  background-size: 220% 100%;
  background-position: 0 0;
}
.btn-gold:hover { background-position: 100% 0; }

.btn-line {
  color: var(--on-dark);
  border-color: rgba(198, 166, 110, .45);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn-dark {
  color: var(--on-dark);
  background: var(--ink);
}
.btn-dark:hover { background: var(--ink-3); color: var(--gold-soft); }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: .68rem; }
.btn-lg { min-height: 62px; padding: 0 40px; }

.icon-arrow { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* Header --------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(13, 12, 10, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
.is-scrolled .header-inner { height: 72px; }

.brand { display: flex; flex: none; align-items: center; }
.brand-logo {
  width: auto;
  height: 62px;
  transition: height .4s var(--ease);
}
.is-scrolled .brand-logo { height: 52px; }

.nav { display: flex; gap: 36px; white-space: nowrap; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--on-dark); }
.nav a:hover::after { transform: scaleX(1); }

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

/* Capa em tela cheia: o texto ocupa a metade escura, o Anael fica à direita */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 94svh, 900px);
  padding: calc(var(--header-h) + 40px) 0 88px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 30%;
  filter: saturate(.9);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, .94) 0%, rgba(13, 12, 10, .84) 30%, rgba(13, 12, 10, .4) 52%, rgba(13, 12, 10, 0) 68%),
    linear-gradient(180deg, rgba(13, 12, 10, .7) 0%, rgba(13, 12, 10, 0) 24%),
    linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 10, 0) 28%);
}

.hero-copy > * { max-width: 600px; }
.hero-copy > .eyebrow { max-width: none; }

.hero h1 {
  margin: 26px 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -.012em;
}

.hero-lead {
  max-width: 33em;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--on-dark-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-cred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--on-dark-muted);
}
.hero-cred span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 14px 2px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.hero-cred span:first-child { color: var(--on-dark); }

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.pillar {
  padding: 36px 28px 48px;
  border-left: 1px solid var(--line-dark);
}
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar-num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
}
.pillar-title {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--on-dark);
}
.pillar p:last-child {
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

/* Seções ---------------------------------------------------------------- */

.section { padding-block: clamp(88px, 11vw, 152px); }

.section h2 {
  margin-top: 24px;
  font-size: clamp(2.2rem, 3.9vw, 3.35rem);
  line-height: 1.08;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { max-width: 15em; }
.section-note {
  padding-left: 24px;
  border-left: 1px solid currentColor;
  border-image: linear-gradient(var(--gold), transparent) 1;
  font-size: 1rem;
  line-height: 1.7;
}

/* Quem é */

.about { background: var(--ivory); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.frame {
  position: sticky;
  top: 120px;
  margin: 0 24px 24px 0;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold);
  opacity: .8;
}
.frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  filter: var(--photo);
}
.frame-tag {
  position: absolute;
  left: -1px;
  bottom: 40px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: .66rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.frame-tag strong { color: var(--gold); font-weight: 500; }

.about-copy { padding-top: 8px; }
.about-copy h2 { margin-bottom: 36px; }
.about-copy p { color: var(--text-muted); }
.about-copy p + p { margin-top: 20px; }
.about-copy strong { color: var(--text); font-weight: 500; }

/* Trechos-chave: marca-texto dourado discreto na metade de baixo da linha */
mark.destaque {
  padding: 0 .1em;
  background: linear-gradient(transparent 58%, rgba(198, 166, 110, .4) 58%);
  color: var(--text);
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.areas mark.destaque {
  background: linear-gradient(transparent 60%, rgba(198, 166, 110, .34) 60%);
  color: var(--on-dark);
}
.about-lead { font-size: 1.125rem; color: var(--text) !important; }

.legacy {
  margin: 36px 0 0;
  padding: 2px 0 2px 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
}

.focus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  margin-top: 44px;
  border-top: 1px solid var(--line-light);
}
.focus li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: .93rem;
  color: var(--text);
}
.focus li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
}

.signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 44px;
}
.signature-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--text);
}
.signature-meta {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Áreas de atuação */

.areas { background: var(--ink); color: var(--on-dark); }
.areas .eyebrow { color: var(--gold); }
.areas .section-note { color: var(--on-dark-muted); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.area {
  position: relative;
  padding: 44px 40px 48px;
  background: var(--ink);
  transition: background-color .45s var(--ease);
}
.area::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.area:hover { background: var(--ink-2); }
.area:hover::before { transform: scaleX(1); }

.area-num {
  display: block;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--gold);
}
.area h3 {
  margin-bottom: 18px;
  font-size: 1.62rem;
  line-height: 1.16;
  color: var(--on-dark);
}
.area p {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--on-dark-muted);
}

/* Provas digitais: ocupa a linha inteira, título à esquerda e texto à direita */
.area-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 48px;
  align-items: start;
}
.area-wide .area-num { grid-column: 1; }
.area-wide-head { grid-column: 1; }
.area-wide > p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.area-tag {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--gold);
}

.areas-cta,
.cases-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
}
.areas-quote,
.cases-quote {
  max-width: 26em;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--on-dark);
}

/* CTA no fim de "Na imprensa": separado dos cartões por um filete */
.cases-cta {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid var(--line-dark);
}

/* Perguntas frequentes: acordeão nativo (details/summary), seta gira ao abrir */
.faq { background: var(--ivory); }
.faq-inner { max-width: calc(880px + var(--gutter) * 2); }
.faq-head { margin-bottom: clamp(40px, 5vw, 56px); text-align: center; }
.faq-head h2 { max-width: 15em; margin-inline: auto; }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid rgba(27, 25, 21, .16);
  background: var(--paper);
  transition: border-color .35s var(--ease);
}
.faq-item:hover { border-color: rgba(125, 95, 48, .5); }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover,
.faq-item[open] summary { color: var(--gold-deep); }
.faq-item summary .icon {
  flex: none;
  color: var(--gold-deep);
  transition: transform .35s var(--ease);
}
.faq-item[open] summary .icon { transform: rotate(90deg); }
.faq-answer {
  max-width: 48em;
  padding: 0 26px 24px;
  font-size: .97rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-cta { margin-top: 44px; text-align: center; }

/* Fases do processo: linha do tempo. Cada fase desenha o seu trecho do trilho;
   ao passar o mouse, o trilho fica dourado até a fase escolhida ("você está aqui"). */

.steps { background: var(--paper); }
.steps-head-side .btn { margin-top: 24px; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
}
.timeline::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold-deep);
  background: var(--paper);
  transform: rotate(45deg);
}
.timeline::before {
  content: "Recomeço";
  position: absolute;
  top: -22px;
  right: -6px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* subgrid alinha rótulo, título, quadro e lista das quatro fases na mesma altura */
.tl-step {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  align-content: start;
  padding: 76px 32px 0 0;
}
.tl-step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(27, 25, 21, .16);
  transition: background .5s var(--ease);
}
.timeline:hover .tl-step::before { background: var(--gold); }
.timeline .tl-step:hover::before { background: linear-gradient(90deg, var(--gold) 0 22px, rgba(27, 25, 21, .16) 22px); }
.timeline .tl-step:hover ~ .tl-step::before { background: rgba(27, 25, 21, .16); }

.tl-node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-deep);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tl-step:hover .tl-node {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--gold-soft);
  box-shadow: 0 0 0 6px rgba(198, 166, 110, .22);
}

.tl-label {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.tl-title {
  margin-top: 8px;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  line-height: 1.1;
  color: var(--text);
}
.tl-sub {
  margin-top: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}
.tl-here {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text);
  transition: background-color .4s var(--ease);
}
.tl-here strong {
  display: block;
  margin-bottom: 4px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.tl-step:hover .tl-here { background: var(--stone); }
.tl-does {
  margin-top: 22px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tl-list { display: grid; gap: 8px; margin-top: 10px; }
.tl-list li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--text);
}
.tl-list li::before {
  content: "";
  position: absolute;
  top: .42em;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 1.5px solid var(--gold-deep);
  border-left: 1.5px solid var(--gold-deep);
  transform: rotate(-45deg);
}

/* Fechamento das fases: o "final feliz" da narrativa */
.steps-outro {
  margin-top: 48px;
  padding: 36px 40px 38px;
  background: var(--ivory);
  border-top: 1px solid var(--gold);
}
.steps-outro-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.steps-outro-text {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  color: var(--text);
}
.steps-outro-note {
  margin-top: 16px;
  font-size: .92rem;
  color: var(--text-muted);
}

/* Na imprensa: cartões com o print da matéria, alternando o lado da imagem */

.cases { background: var(--ink); color: var(--on-dark); }
.cases .eyebrow { color: var(--gold); }
.cases .section-note { color: var(--on-dark-muted); }

.cases-list { display: grid; gap: 20px; }

.case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  transition: border-color .45s var(--ease);
}
.case::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  z-index: 1;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.case:hover { border-color: rgba(198, 166, 110, .4); }
.case:hover::before,
.case:focus-within::before { transform: scaleX(1); }

.case-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  background: #fff;
}
.case-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.4s var(--ease);
}
.case:hover .case-media img { transform: scale(1.03); }
.cases-list li:nth-child(even) .case { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cases-list li:nth-child(even) .case-media { order: 2; }

.case-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.4vw, 28px) clamp(28px, 3.4vw, 48px);
}

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 12px;
}
.case-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: .85;
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-tag {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.case-title {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.12;
  color: var(--on-dark);
  transition: color .35s var(--ease);
}
.case:hover .case-title { color: var(--gold-soft); }
.case-text {
  max-width: 40em;
  margin-top: 8px;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--on-dark-muted);
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 14px;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.case-outlet { color: var(--gold); font-weight: 500; }

/* O botão é o único link; o ::after estende o clique para o cartão inteiro */
.case-btn { align-self: flex-start; min-height: 46px; margin-top: 20px; }
.case-btn::after { content: ""; position: absolute; inset: 0; }
.case-btn .icon { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.case:hover .case-btn { border-color: var(--gold); color: var(--gold-soft); }
.case:hover .case-btn .icon { transform: translate(3px, -3px); }

.cases-note {
  max-width: 52em;
  margin-top: 36px;
  padding-left: 24px;
  border-left: 1px solid var(--line-dark);
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(239, 233, 221, .5);
}

/* Trajetória */

.presence { background: var(--ivory); }
.presence .section-note { color: var(--text-muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(239, 233, 221, .28);
  pointer-events: none;
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  filter: var(--photo);
}

/* CTA final */

.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(104px, 13vw, 176px);
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 50%, rgba(198, 166, 110, .08), transparent 70%);
}

.final-inner { display: flex; flex-direction: column; align-items: center; }

.capital {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 32px;
}
.capital i { display: block; height: 2px; background: var(--gold-metal); }
.capital i:nth-child(1) { width: 44px; }
.capital i:nth-child(2) { width: 34px; }
.capital i:nth-child(3) { width: 24px; }

.final .eyebrow { color: var(--gold); }
.eyebrow-center::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

.final h2 {
  max-width: 15em;
  margin: 24px auto 28px;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.06;
}
.final-text {
  max-width: 40em;
  margin: 0 auto;
  font-weight: 300;
  color: var(--on-dark-muted);
}
.final .btn { margin-top: 44px; }
.final-note {
  margin-top: 20px;
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--on-dark-muted);
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  padding-top: 80px;
  background: var(--ink-deep);
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-firm img { width: min(100%, 230px); height: auto; }

.footer-title {
  margin-bottom: 18px;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--on-dark);
  margin-bottom: 4px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.footer-link .icon { width: 16px; height: 16px; color: var(--gold); }
.footer-link:hover { color: var(--on-dark); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 26px 30px;
  border-top: 1px solid var(--line-dark);
  font-size: .76rem;
  letter-spacing: .02em;
  color: rgba(239, 233, 221, .46);
}

/* WhatsApp flutuante ---------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35), 0 0 0 1px rgba(13, 12, 10, .25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), background-color .3s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--gold-soft); }
.wa-float svg { width: 26px; height: 26px; }

/* Revelação discreta ---------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Responsivo ------------------------------------------------------------ */

@media (max-width: 1240px) {
  .nav { display: none; }
}

@media (max-width: 1080px) {
  .area { padding: 40px 32px 44px; }
}

@media (max-width: 920px) {
  /* No celular a foto vira um banner enquadrado no Anael, com o texto logo abaixo */
  .hero-stage { display: block; min-height: 0; padding: 0 0 48px; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: min(112vw, 560px); }
  .hero-media img { object-position: 80% 30%; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(13, 12, 10, .75) 0%, rgba(13, 12, 10, 0) 24%, rgba(13, 12, 10, 0) 44%, var(--ink) 90%);
  }
  .hero-copy { position: relative; margin-top: -36px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }

  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .frame { position: relative; top: auto; max-width: 460px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas-cta,
  .cases-cta { flex-direction: column; align-items: flex-start; }
  .case,
  .cases-list li:nth-child(even) .case { grid-template-columns: 1fr; }
  .cases-list li:nth-child(even) .case-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Linha do tempo vertical: trilho à esquerda, fases uma embaixo da outra */
@media (max-width: 1000px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline::after { top: auto; bottom: -5px; left: 17px; right: auto; }
  .tl-step { display: block; grid-row: auto; padding: 0 0 44px 72px; }
  .tl-step::before { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .timeline:hover .tl-step::before,
  .timeline .tl-step:hover::before,
  .timeline .tl-step:hover ~ .tl-step::before { background: rgba(27, 25, 21, .16); }
  .tl-label { padding-top: 12px; }
  .tl-here { max-width: 34em; }
}

@media (max-width: 920px) {
  .area-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 32px; }
}

/* Tablet em pé (iPad): a foto do "Quem é" fica sozinha na linha, então centraliza.
   O deslocamento compensa a moldura dourada, que sai 24px para a direita. */
@media (min-width: 641px) and (max-width: 920px) {
  .frame { margin-inline: auto; left: -12px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .steps-outro { padding: 28px 22px 30px; }
  body { font-size: 1rem; }

  .brand-logo,
  .is-scrolled .brand-logo { height: 46px; }
  .header-cta { padding: 0 16px; }

  .cases-list { gap: 20px; }
  .case-content { padding: 28px 22px 30px; }
  .case-btn { width: 100%; }
  .cases-note { padding-left: 16px; }

  .hero h1 { margin: 22px 0; }
  .hero-lead { font-size: 1.04rem; }
  .actions .btn { width: 100%; }
  .hero-cred { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-cred span + span::before { display: none; }

  .pillars { grid-template-columns: 1fr; }
  .pillar,
  .pillar:nth-child(3) { padding: 26px 0 28px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-dark); }

  .frame { margin-right: 16px; margin-bottom: 16px; }
  .frame::before { inset: 16px -16px -16px 16px; }
  .legacy { font-size: 1.28rem; padding-left: 20px; }
  .focus { grid-template-columns: 1fr; }

  .areas-grid { grid-template-columns: 1fr; }
  .area { padding: 34px 24px 38px; }
  .area-num { margin-bottom: 20px; }
  .area h3 { font-size: 1.5rem; }
  .areas-cta .btn,
  .cases-cta .btn,
  .faq-cta .btn { width: 100%; }
  .faq-item summary { padding: 18px 18px; font-size: .95rem; }
  .faq-answer { padding: 0 18px 20px; }

  .steps-head-side .btn { width: 100%; }
  .area-wide { display: block; }
  .area-wide > p { margin-top: 16px; }

  .gallery {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    gap: 14px;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: start; }

  .final .btn { width: 100%; padding: 14px 20px; white-space: normal; letter-spacing: .14em; line-height: 1.4; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Logo + botão com texto precisam de ~500px; abaixo disso (inclusive iPhone Plus/Pro Max,
   430-440px) o botão do topo vira só o ícone do WhatsApp. Folga extra para a fonte no Safari. */
@media (max-width: 560px) {
  .header-cta span { display: none; }
  .header-cta { width: 44px; padding: 0; }
}

/* Rodapé: links legais ------------------------------------------------ */

.footer-bottom > div p + p { margin-top: 4px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer-legal a,
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(198, 166, 110, .4);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color .3s var(--ease);
}
.footer-legal a:hover,
.footer-legal button:hover { color: var(--gold-soft); }

/* Cookies: aviso e preferências ---------------------------------------- */

/* Aviso compacto no canto inferior esquerdo (o WhatsApp fica no direito) */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(360px, calc(100% - 32px));
  padding: 18px 20px 16px;
  background: rgba(20, 19, 15, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  color: var(--on-dark-muted);
  font-size: .78rem;
  line-height: 1.55;
  animation: cookie-in .6s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 44px;
  height: 1px;
  background: var(--gold-metal);
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.cookie-title {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--on-dark);
}
.cookie-banner a,
.cookie-banner .cookie-inline {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.cookie-actions .cookie-btn { min-height: 40px; padding: 0 12px; font-size: .64rem; }

.cookie-btn {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: none;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.cookie-btn-gold { background: var(--gold); color: var(--ink); }
.cookie-btn-gold:hover { background: var(--gold-soft); }
.cookie-btn-line { border-color: rgba(198, 166, 110, .45); }
.cookie-btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }
.cookie-btn-text {
  padding: 0 10px;
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(198, 166, 110, .5);
  text-underline-offset: 5px;
}
.cookie-btn-text:hover { color: var(--on-dark); }

.cookie-prefs {
  width: min(580px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
  color: var(--on-dark-muted);
  font-size: .9rem;
  line-height: 1.6;
}
.cookie-prefs::backdrop {
  background: rgba(8, 8, 7, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cookie-prefs form { padding: 36px 36px 30px; }
.cookie-prefs .eyebrow { color: var(--gold); }
.cookie-prefs h2 {
  margin: 14px 0 12px;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--on-dark);
}
.cookie-prefs-intro { margin-bottom: 20px; }

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}
label.cookie-cat { cursor: pointer; }
.cookie-cat-title {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--on-dark);
}
.cookie-cat-desc { display: block; font-size: .86rem; }
.cookie-always {
  flex: none;
  padding-top: 6px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.cookie-switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  margin: 4px 0 0;
  border: 1px solid rgba(198, 166, 110, .5);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.cookie-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--on-dark-muted);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.cookie-switch:checked { background: var(--gold); border-color: var(--gold); }
.cookie-switch:checked::after { transform: translateX(20px); background: var(--ink); }

.cookie-prefs-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

/* Página da política --------------------------------------------------- */

.page-legal .site-header {
  background: rgba(13, 12, 10, .96);
  border-bottom-color: var(--line-dark);
}

.legal-hero {
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(48px, 6vw, 72px);
  background: var(--ink);
  color: var(--on-dark);
}
.legal-hero .eyebrow { color: var(--gold); }
.legal-hero h1 {
  margin: 24px 0 16px;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.05;
}
.legal-hero p:last-child { color: var(--on-dark-muted); font-size: .9rem; }

.legal { background: var(--paper); padding-block: clamp(64px, 8vw, 112px); }
.legal-body { max-width: 760px; color: var(--text-muted); }
.legal-body h2 {
  margin: 56px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: var(--text);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p + p,
.legal-body p + ul,
.legal-body ul + p { margin-top: 16px; }
.legal-body strong { color: var(--text); font-weight: 500; }
.legal-body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul li {
  position: relative;
  padding-left: 22px;
}
.legal-body ul li + li { margin-top: 8px; }
.legal-body ul li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 2px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
}
.legal-body button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: .9rem;
}
.legal-table th,
.legal-table td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.legal-table td:first-child { color: var(--text); font-weight: 500; }
.legal-table code { font-size: .85em; color: var(--text); }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .has-cookie-banner .wa-float { opacity: 0; pointer-events: none; }
  .cookie-prefs form { padding: 28px 22px 22px; }
  .cookie-prefs-actions { flex-direction: column-reverse; }
  .cookie-prefs-actions .cookie-btn { width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .legal-table td { display: block; padding: 2px 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* ==========================================================================
   Página de provas digitais (/provas-digitais/)
   Reaproveita os blocos da página inicial; aqui só o que é novo.
   ========================================================================== */

/* Capa sem foto: texto à esquerda e, à direita, um "print" de conversa com as
   perguntas que a perícia faz. Fundo com brilho dourado e uma grade bem discreta. */
.pd-hero .hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 62% at 76% 46%, rgba(198, 166, 110, .1), transparent 70%),
    linear-gradient(rgba(198, 166, 110, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(198, 166, 110, .045) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(70% 80% at 74% 46%, #000 30%, transparent 78%);
  mask-image: radial-gradient(70% 80% at 74% 46%, #000 30%, transparent 78%);
}

.pd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.evidence { justify-self: end; width: 100%; max-width: 420px; }

.evidence-shot {
  position: relative;
  padding: 20px 22px 24px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

/* Marcas de recorte nos cantos, como num print */
.ev-crop {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--gold);
  opacity: .85;
}
.ev-crop-tl { top: -10px; left: -10px; border-top-width: 1px; border-left-width: 1px; }
.ev-crop-tr { top: -10px; right: -10px; border-top-width: 1px; border-right-width: 1px; }
.ev-crop-bl { bottom: -10px; left: -10px; border-bottom-width: 1px; border-left-width: 1px; }
.ev-crop-br { bottom: -10px; right: -10px; border-bottom-width: 1px; border-right-width: 1px; }

/* Varredura: uma linha dourada percorre o print devagar, como numa análise */
.ev-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ev-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -70px;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(198, 166, 110, .1));
  border-bottom: 1px solid rgba(198, 166, 110, .55);
  animation: ev-scan 7s var(--ease) infinite;
}
@keyframes ev-scan {
  0% { top: -70px; }
  60%, 100% { top: 100%; }
}

.ev-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}
.ev-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(239, 233, 221, .12);
}
.ev-head div { flex: 1; }
.ev-head i,
.ev-msg i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(239, 233, 221, .2);
}
.ev-head i { width: 42%; }
.ev-head i + i { width: 24%; margin-top: 7px; opacity: .55; }

.ev-msgs { display: grid; gap: 12px; }
.ev-msg {
  position: relative;
  display: grid;
  gap: 7px;
  width: 76%;
  padding: 12px 14px 9px;
  background: var(--ink-3);
  border-radius: 2px 12px 12px 12px;
}
.ev-msg i { width: var(--w, 100%); }
.ev-msg.out {
  justify-self: end;
  background: rgba(198, 166, 110, .13);
  border-radius: 12px 2px 12px 12px;
}
.ev-msg time {
  justify-self: end;
  font-size: .6rem;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--on-dark-muted);
}
/* A última mensagem some no corte do print: "a conversa está completa?" */
.ev-cut::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(20, 19, 15, 0) 25%, var(--ink-2) 92%);
}

.ev-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(198, 166, 110, .18);
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.ev-msg.in .ev-pin { top: -10px; right: -12px; }
.ev-msg.out .ev-pin { top: -10px; left: -12px; }
.ev-pin-frame { top: 24px; right: 22px; }

.ev-notes { margin-top: 30px; }
.ev-notes ol { display: grid; gap: 12px; }
.ev-notes li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--on-dark);
}
.ev-notes li span {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: .85rem;
  line-height: 1;
  color: var(--gold);
  transform: translateY(1px);
}
.ev-hash {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .74rem;
  letter-spacing: .06em;
  color: rgba(220, 195, 148, .8);
  overflow-wrap: anywhere;
}
.ev-hash b {
  margin-right: 12px;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.ev-hash-note {
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

/* Tipos de prova: cartões claros com ícone de traço */
.pd-kinds { background: var(--paper); }
.pd-kinds .section-note,
.pd-situ .section-note { color: var(--text-muted); }
.pd-kinds h2 em,
.pd-situ h2 em { color: var(--gold-deep); }

.kinds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.kind {
  position: relative;
  padding: 38px 34px 40px;
  background: var(--paper);
  transition: background-color .45s var(--ease);
}
.kind::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.kind:hover { background: var(--ivory); }
.kind:hover::before { transform: scaleX(1); }
.kind-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--gold-deep);
}
.kind h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--text);
}
.kind p {
  font-size: .94rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.pd-kinds .steps-outro { margin-top: 40px; }

/* Em que situação você está: quatro cartões com o quadro "Você está aqui se" */
.pd-situ { background: var(--ivory); }
.situ-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.situ {
  position: relative;
  padding: 38px 38px 40px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  transition: border-color .45s var(--ease);
}
.situ::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.situ:hover { border-color: rgba(125, 95, 48, .35); }
.situ:hover::before { transform: scaleX(1); }
.situ:hover .tl-here { background: var(--stone); }
.situ-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.situ-num {
  flex: none;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: .85;
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.situ h3 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.14;
  color: var(--text);
}
.situ .tl-here { margin-top: 24px; }

/* Quem é: linha discreta de imprensa */
.pd-press {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: .92rem;
}
.pd-press a {
  margin-left: 6px;
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(125, 95, 48, .45);
  text-underline-offset: 4px;
  white-space: nowrap;
}
.pd-press a:hover { text-decoration-color: currentColor; }

/* Página inicial: atalho do cartão "Provas digitais" para esta página */
.area-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(198, 166, 110, .45);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.area-link:hover { border-color: var(--gold); color: var(--on-dark); }
.area-link:hover .icon-arrow { transform: translateX(4px); }

@media (max-width: 1080px) {
  .kind { padding: 34px 28px 36px; }
}

@media (max-width: 920px) {
  .hero-stage.pd-stage { padding: calc(var(--header-h) + 40px) 0 64px; }
  .pd-hero .hero-copy { margin-top: 0; }
  .pd-hero .hero-stage::before {
    -webkit-mask-image: radial-gradient(90% 60% at 60% 70%, #000 30%, transparent 80%);
    mask-image: radial-gradient(90% 60% at 60% 70%, #000 30%, transparent 80%);
  }
  .pd-hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .evidence { justify-self: start; max-width: 460px; }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .situ-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-stage.pd-stage { padding: calc(var(--header-h) + 28px) 0 52px; }
  .pd-hero-grid { gap: 52px; }
  .evidence { max-width: none; padding-inline: 10px; }
  .evidence-shot { padding: 18px 16px 20px; }
  .kinds { grid-template-columns: 1fr; }
  .kind { padding: 30px 24px 32px; }
  .kind-icon { margin-bottom: 18px; }
  .situ { padding: 30px 22px 32px; }
  .situ-head { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ev-scan::before { animation: none; display: none; }
}
