:root{--ratio-hero:700 / 723;--ratio-hero-mobile:480 / 480;--ratio-portrait:400 / 600;--ratio-jury:400 / 600}
/* Maxwell Cruz — Advogado Criminalista
   Direção: defesa criminal contemporânea. Presença, precisão e discrição.
   Paleta formal: marrom #251A15, taupe #9D9088, off-white #FBF7F2.
   --taupe-ink: taupe escurecido só para texto pequeno sobre off-white (contraste 5,8:1). */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 111%;
  ascent-override: 98%;
  descent-override: 23%;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 113%;
  ascent-override: 85%;
  descent-override: 22%;
}

:root {
  --ink: #251a15;
  --taupe: #9d9088;
  --paper: #fbf7f2;
  --taupe-ink: #6b5f58;
  /* Dourado envelhecido, pedido pelo contratante: só em fios e detalhes finos.
     Não é cor de texto corrido nem de fundo. --gold sobre marrom (6:1);
     --gold-deep sobre off-white, para os fios continuarem visíveis. */
  --gold: #b39563;
  --gold-deep: #9c7b45;
  --gold-line-ink: rgba(179, 149, 99, 0.45);
  --gold-line-paper: rgba(156, 123, 69, 0.5);
  /* Bronze para textos curtos dourados sobre off-white (5,3:1). */
  --gold-text-paper: #7e6234;
  /* Verde do botão flutuante: mais fechado que o #25D366 do WhatsApp para o
     ícone branco ter contraste suficiente (3,5:1). */
  --whatsapp: #1a9e4c;
  --whatsapp-hover: #168a42;
  --paper-muted: rgba(251, 247, 242, 0.78);
  --line-paper: rgba(37, 26, 21, 0.18);
  --line-ink: rgba(251, 247, 242, 0.16);
  --line-taupe: rgba(37, 26, 21, 0.3);

  --serif: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --sans: "Montserrat", "Montserrat Fallback", Arial, sans-serif;

  --gutter: clamp(1.125rem, 5vw, 4.5rem);
  --max: 78rem;
  --hdr-h: 4rem;
  --bar-h: 0px;

  /* Movimento: início rápido e chegada suave, sem ricochete. */
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --t-short: 450ms;
  --t-mid: 600ms;
  --t-long: 700ms;
}
@media (min-width: 1024px) {
  :root {
    --hdr-h: 5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width: 1024px) {
  html {
    scroll-padding-top: var(--hdr-h);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}
a {
  color: inherit;
}
address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.hdr :focus-visible,
.hero :focus-visible,
.jury :focus-visible,
.close :focus-visible,
.foot :focus-visible,
.fab :focus-visible {
  outline-color: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Elementos de linguagem ---------- */

.label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--gold-text-paper);
}
.label--on-dark {
  color: var(--gold);
}
.label--on-taupe {
  color: var(--ink);
}
.label .rule {
  background: var(--gold-deep);
}
.label--on-dark .rule,
.hero .rule {
  background: var(--gold);
}
/* Sobre o taupe o dourado some; ali o fio continua marrom. */
.label--on-taupe .rule {
  background: var(--ink);
}
.rule {
  display: inline-block;
  flex: none;
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 1.25rem + 5.6vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

/* Marcas de corte: moldura de precisão em volta das fotografias. */
.frame {
  position: relative;
  --mark: var(--gold);
}
.frame::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  z-index: 2;
  pointer-events: none;
  --m: linear-gradient(var(--mark), var(--mark));
  background: var(--m) left top / 1rem 1px no-repeat, var(--m) left top / 1px 1rem no-repeat,
    var(--m) right top / 1rem 1px no-repeat, var(--m) right top / 1px 1rem no-repeat,
    var(--m) left bottom / 1rem 1px no-repeat, var(--m) left bottom / 1px 1rem no-repeat,
    var(--m) right bottom / 1rem 1px no-repeat, var(--m) right bottom / 1px 1rem no-repeat;
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.btn .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}
.btn .icon--arrow {
  width: 1rem;
  height: 1rem;
  margin-left: 0.15rem;
  opacity: 0.5;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.btn:hover .icon--arrow,
.btn:focus-visible .icon--arrow {
  opacity: 1;
  transform: translateX(3px);
}
.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover {
  background: #fff;
  border-color: var(--gold);
}
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  background: #3b2c25;
}
.btn--outline {
  border-color: var(--gold-line-ink);
  color: var(--paper);
}
.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(251, 247, 242, 0.06);
}
.btn--small {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn--small .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.btn--small .icon--arrow {
  display: none;
}
.btn--large {
  min-height: 3.75rem;
  padding: 1rem 1.9rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

/* Sublinhado que se completa ao passar o ponteiro. */
.ulink,
.foot__data a,
.hdr__nav a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  background-color: transparent;
  transition: background-size 350ms var(--ease), color 250ms var(--ease);
}
.foot__data a {
  background-image: linear-gradient(var(--gold-line-ink), var(--gold-line-ink)),
    linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px, 0 1px;
  background-position: left bottom, left bottom;
}
.foot__data a:hover {
  background-size: 100% 1px, 100% 1px;
  color: var(--paper);
}

/* ---------- Cabeçalho ---------- */

.hdr {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 40;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease);
}
.hdr__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--hdr-h);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hdr__brand {
  display: block;
  flex: none;
  padding-block: 0.5rem;
}
.hdr__brand img {
  height: 1.875rem;
  width: auto;
}
.hdr__nav,
.hdr__cta {
  display: none;
}
@media (min-width: 760px) {
  .hdr__cta {
    display: inline-flex;
    margin-left: auto;
  }
}
@media (min-width: 1024px) {
  .hdr {
    position: fixed;
  }
  .hdr.is-scrolled {
    background-color: rgba(37, 26, 21, 0.96);
    border-bottom-color: var(--gold-line-ink);
  }
  .hdr__brand img {
    height: 2.125rem;
  }
  .hdr__nav {
    display: block;
    margin-left: auto;
  }
  .hdr__cta {
    margin-left: 0;
  }
  .hdr__nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    padding: 0;
  }
  .hdr__nav a {
    display: inline-block;
    padding: 0.35rem 0;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--paper-muted);
    background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 0 1px;
  }
  .hdr__nav a:hover {
    color: var(--paper);
    background-size: 100% 1px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
/* Luz de estúdio atrás do retrato: separa o terno escuro do fundo sem criar um painel. */
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Sem sombra própria: os degradês da fotografia cuidam da transição,
     e uma sombra só fora da foto marcaria a borda dela. */
  background: none;
}
/* A fotografia ocupa a primeira tela de ponta a ponta e se funde à página por
   degradês longos; não há caixa nem borda. No celular, ela cobre o topo inteiro. */
.hero__figure {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto 0;
  aspect-ratio: var(--ratio-hero-mobile);
  overflow: hidden;
}
.hero__figure picture,
.hero__img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__img {
  object-fit: cover;
  object-position: 50% 30%;
  transform-origin: 60% 30%;
}
/* Luz dourada muito sutil sobre o rosto, no tom dos fios da página. */
.hero__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 55% 45% at 62% 30%, rgba(179, 149, 99, 0.22), transparent 70%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
/* Degradês: escurecem o topo (logo), a esquerda (identificação) e dissolvem a
   base da foto no marrom, onde começa o texto. */
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(37, 26, 21, 0.6) 0, rgba(37, 26, 21, 0) 20%, rgba(37, 26, 21, 0) 52%, rgba(37, 26, 21, 0.85) 80%, var(--ink) 97%),
    linear-gradient(to right, rgba(37, 26, 21, 0.8) 0, rgba(37, 26, 21, 0.35) 30%, rgba(37, 26, 21, 0) 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  /* O texto começa abaixo do queixo, sobre a parte já dissolvida do terno. */
  padding: 88vw var(--gutter) 2.25rem;
}
/* Identificação: no celular, empilhada ao lado do rosto. */
.hero__id {
  position: absolute;
  top: calc(var(--hdr-h) + 5vw);
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 30vw;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--taupe);
}
/* No celular o nome já está na assinatura do cabeçalho, logo acima. */
.hero__id-name {
  display: none;
  color: var(--paper);
}
.hero__id-role {
  max-width: 9em;
}
.hero__id-oab {
  padding-top: 0.45rem;
  border-top: 1px solid var(--gold-line-ink);
  max-width: 7.5rem;
  color: var(--gold);
}
.hero__title {
  font-weight: 500;
}
.hero__kicker {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--gold);
}
.hero__main {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1rem + 7.6vw, 8.75rem);
  line-height: 0.95;
  letter-spacing: -0.028em;
}
/* Cada linha do título é revelada por máscara; o recuo da segunda desenha a quebra. */
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.mask > span {
  display: inline-block;
}
.hero__lead {
  margin-top: 1.1rem;
  max-width: 27rem;
  color: var(--paper-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-top: 1.5rem;
}
.hero__cta .btn {
  width: 100%;
}
.hero__phone {
  display: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--paper-muted);
}
.hero__place {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.85rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--taupe);
}
.hero__place .rule {
  width: 1.5rem;
  grid-row: span 2;
}
.hero__place-sep {
  display: none;
}

@media (min-width: 480px) {
  .hero__cta .btn {
    width: auto;
  }
  .hero__phone {
    display: inline;
  }
}

/* Telas largas: o texto à esquerda conversa com o retrato pela escala e pelo olhar. */
@media (min-width: 760px) {
  .hero {
    min-height: clamp(42rem, 100svh, 62rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* Telas largas: a foto sangra até a borda direita, de cima a baixo, e o
     marrom da esquerda avança sobre ela em degradê até o rosto. */
  .hero__figure {
    inset: 0 0 0 auto;
    width: 62vw;
    aspect-ratio: auto;
  }
  .hero__img {
    object-position: 50% 28%;
  }
  .hero__figure::before {
    background: radial-gradient(ellipse 45% 50% at 55% 32%, rgba(179, 149, 99, 0.24), transparent 70%);
  }
  .hero__figure::after {
    background: linear-gradient(to right, var(--ink) 0, rgba(37, 26, 21, 0.92) 10%, rgba(37, 26, 21, 0.55) 26%, rgba(37, 26, 21, 0.15) 42%, rgba(37, 26, 21, 0) 55%),
      linear-gradient(to top, var(--ink) 0, rgba(37, 26, 21, 0.6) 14%, rgba(37, 26, 21, 0) 34%),
      linear-gradient(to bottom, rgba(37, 26, 21, 0.65) 0, rgba(37, 26, 21, 0) 18%);
  }
  .hero__inner {
    width: 100%;
    padding-top: calc(var(--hdr-h) + clamp(2.5rem, 7vh, 5rem));
    padding-bottom: clamp(5.5rem, 12vh, 8rem);
  }
  .hero__id {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.9rem;
    max-width: none;
    margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }
  .hero__id-name {
    display: inline;
  }
  .hero__id-role {
    max-width: none;
  }
  .hero__id > span + span::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1px;
    margin-right: 0.9rem;
    vertical-align: middle;
    background: var(--gold);
  }
  .hero__id-oab {
    padding-top: 0;
    border-top: 0;
    max-width: none;
  }
  .hero__kicker {
    margin-bottom: 1rem;
    font-size: clamp(0.8125rem, 0.6rem + 0.45vw, 1.0625rem);
  }
  .hero__main {
    max-width: 8.5em;
  }
  .hero__lead {
    margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
    font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem);
    max-width: 30rem;
  }
  .hero__cta {
    margin-top: clamp(1.75rem, 4vh, 2.5rem);
  }
  .hero__place {
    display: flex;
    gap: 0.6rem;
    margin-top: clamp(2.5rem, 7vh, 4.5rem);
  }
  .hero__place .rule {
    margin-right: 0.35rem;
  }
  .hero__place-sep {
    display: inline;
  }
}
/* Notebooks estreitos: retrato um pouco menor e mais à direita, para o texto
   não passar sobre a mão ou o relógio. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero__figure {
    width: 60vw;
  }
  .hero__inner {
    padding-right: 44vw;
  }
  /* A OAB vai para a linha de baixo inteira, sem o traço separador solto. */
  .hero__id-oab {
    flex-basis: 100%;
  }
  .hero__id-oab::before {
    display: none;
  }
}
/* Tablet: retrato menor e mais à direita; o texto ocupa só a metade esquerda,
   para nunca passar sobre o rosto ou as mãos. */
@media (min-width: 760px) and (max-width: 1023px) {
  .hero__main {
    font-size: clamp(3rem, 0.5rem + 6vw, 4.25rem);
  }
  .hero__figure {
    width: 60vw;
  }
  .hero__img {
    object-position: 46% 26%;
  }
  .hero__inner {
    padding-right: 50vw;
  }
  .hero__id {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .hero__id > span + span::before {
    display: none;
  }
  .hero__place {
    display: grid;
    gap: 0 0.85rem;
  }
  .hero__place-sep {
    display: none;
  }
}

/* ---------- Atuação em flagrante ---------- */

.flag {
  background: var(--paper);
  padding-block: clamp(5rem, 11vw, 10rem) clamp(6rem, 13vw, 12rem);
}
.flag__grid {
  display: grid;
  gap: 3rem;
}
.flag__lead {
  margin-top: 1.75rem;
  max-width: 30rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}
.flag__note {
  font-size: 0.875rem;
  color: var(--taupe-ink);
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-line-paper);
  max-width: 34rem;
}

/* Sequência editorial: uma linha contínua liga as três etapas. */
.seq {
  --rail: 0.4375rem;
  position: relative;
  list-style: none;
  padding: 0 0 0 2.25rem;
}
.seq::before {
  content: "";
  position: absolute;
  left: var(--rail);
  top: 0.55rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--gold-deep);
  transform-origin: 50% 0;
}
.seq__item {
  position: relative;
  padding-bottom: 2.75rem;
}
.seq__item:last-child {
  padding-bottom: 0;
}
.seq__mark {
  position: absolute;
  left: calc(-2.25rem + var(--rail) - 0.28rem);
  top: 0.4rem;
  width: calc(0.56rem + 1px);
  height: calc(0.56rem + 1px);
  border: 1px solid var(--gold-deep);
  background: var(--paper);
  transition: background-color 450ms var(--ease) 250ms;
}
.seq__item.is-in .seq__mark,
html:not(.js-motion) .seq__mark {
  background: var(--gold-deep);
}
.seq__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-text-paper);
  line-height: 1.5;
}
.seq__title {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 1.25rem + 1.3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.seq__item p {
  margin-top: 0.85rem;
  max-width: 33rem;
  color: #3d302a;
}

@media (min-width: 960px) {
  .flag__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(4rem, 8vw, 9rem);
    row-gap: 4rem;
  }
  .flag__head {
    position: sticky;
    top: calc(var(--hdr-h) + 3rem);
    align-self: start;
  }
  .seq {
    padding-top: 0.75rem;
    padding-left: 3.5rem;
  }
  .seq__mark {
    left: calc(-3.5rem + var(--rail) - 0.28rem);
  }
  .seq__item {
    padding-bottom: clamp(4rem, 7vw, 6.5rem);
  }
  .seq__num {
    position: absolute;
    left: -3.5rem;
    top: 1.6rem;
    transform: translateX(-100%);
    padding-right: 1rem;
  }
  .seq__title {
    margin-top: 0;
  }
  .flag__note {
    grid-column: 2;
    margin-left: 3.5rem;
  }
}

/* ---------- Tribunal do Júri ---------- */

.jury {
  background: var(--ink);
  color: var(--paper);
  padding-block: 0 clamp(4.5rem, 9vw, 8rem);
}
.jury__grid {
  display: grid;
  gap: 2.5rem;
}
/* O retrato atravessa a fronteira entre as seções, fazendo a transição. */
.jury__figure {
  width: min(88%, 22rem);
  margin-top: calc(-1 * clamp(3rem, 9vw, 6rem));
  aspect-ratio: var(--ratio-jury);
  background: var(--taupe);
}
.jury__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jury__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.5rem + 2.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.jury__text > p:not(.label) {
  margin-top: 1.5rem;
  max-width: 31rem;
  color: var(--paper-muted);
}
@media (min-width: 760px) {
  .jury__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    column-gap: clamp(3rem, 9vw, 9rem);
    align-items: end;
  }
  .jury__figure {
    width: 100%;
    max-width: 24rem;
    margin-top: calc(-1 * clamp(5rem, 10vw, 9rem));
    justify-self: end;
  }
  .jury__text {
    padding-bottom: 0.5rem;
  }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .jury__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3rem;
  }
}

/* ---------- Maxwell Cruz ---------- */

.about {
  background: var(--taupe);
  color: var(--ink);
  padding-block: clamp(5rem, 11vw, 10rem);
  overflow: hidden;
}
.about__grid {
  display: grid;
  gap: 3.5rem;
}
.about__name {
  position: relative;
  z-index: 3;
}
.about__bio {
  margin-top: 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
}
.record {
  margin-top: 2.25rem;
  max-width: 28rem;
  border-top: 1px solid var(--line-taupe);
}
.record > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line-taupe);
}
.record dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 0.2em;
}
.record dd {
  font-weight: 500;
}
.about__sign {
  width: 3rem;
  height: auto;
  margin-top: 2.25rem;
  opacity: 0.9;
}
.about__figure {
  --mark: var(--ink);
  width: min(84%, 26rem);
  justify-self: end;
}
.about__crop {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--taupe);
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
@media (max-width: 400px) {
  .record > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }
}
@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: 0;
    align-items: start;
  }
  .about__text {
    padding-top: clamp(2rem, 6vw, 5rem);
  }
  /* O nome avança sobre a área neutra à esquerda da fotografia, sem tocar o rosto. */
  .about__name {
    font-size: clamp(5rem, 1rem + 8.2vw, 10rem);
    white-space: nowrap;
  }
  .about__figure {
    width: min(100%, 31rem);
    justify-self: start;
  }
}

/* ---------- Primeiro contato ---------- */

.start {
  background: var(--paper);
  padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem);
}
.start__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 17ch;
}
.start__list {
  list-style: none;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.75rem;
}
.start__list li {
  position: relative;
  padding-top: 1.25rem;
}
.start__list li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold-deep);
  opacity: 0.7;
  transform-origin: left center;
}
.start__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--gold-text-paper);
  margin-bottom: 0.5rem;
}
.start__list p {
  max-width: 24rem;
}
.start__cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 479px) {
  .start__cta .btn {
    width: 100%;
  }
}
@media (min-width: 840px) {
  .start__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
  }
}

/* ---------- Dúvidas ---------- */

.faq {
  background: var(--paper);
  padding-block: 0 clamp(5rem, 10vw, 9rem);
}
.faq__grid {
  display: grid;
  gap: 2.5rem;
}
.faq__grid::before,
.foot__grid::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-bottom: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--line-paper);
}
.faq__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  line-height: 1.05;
}
.faq__aside {
  margin-top: 1.25rem;
  max-width: 19rem;
  font-size: 0.875rem;
  color: var(--taupe-ink);
}
.faq__list {
  border-top: 1px solid var(--line-paper);
}
.faq__item {
  border-bottom: 1px solid var(--line-paper);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.75rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary > span:first-child {
  background: linear-gradient(var(--gold-deep), var(--gold-deep)) left bottom / 0 1px no-repeat;
  transition: background-size 350ms var(--ease);
}
.faq__item summary:hover > span:first-child {
  background-size: 100% 1px;
}
/* Indicador: cruz que vira traço ao abrir. */
.faq__icon {
  position: relative;
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.2rem;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--gold-deep);
  transition: transform 350ms var(--ease);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}
.faq__answer p {
  padding: 0 2.5rem 1.5rem 0;
  max-width: 44rem;
  color: #3d302a;
}
@supports selector(::details-content) {
  .faq__list {
    interpolate-size: allow-keywords;
  }
  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 450ms var(--ease), content-visibility 450ms allow-discrete;
  }
  .faq__item[open]::details-content {
    block-size: auto;
  }
}
@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(4rem, 8vw, 9rem);
  }
}

/* ---------- Fechamento e rodapé ---------- */

.close {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(5.5rem, 12vw, 11rem) clamp(4rem, 8vw, 7rem);
}
.close__mark {
  position: absolute;
  z-index: -1;
  width: min(120vw, 64rem);
  max-width: none;
  right: -18vw;
  bottom: -14%;
  opacity: 0.06;
}
.close__grid {
  display: grid;
  gap: 2.5rem;
}
.close__title {
  font-size: clamp(3rem, 1.25rem + 6vw, 7.5rem);
}
.close__phone {
  margin-top: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.close__place {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--taupe);
  max-width: 22rem;
}
@media (max-width: 479px) {
  .close__action .btn {
    width: 100%;
  }
}
@media (min-width: 960px) {
  .close__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    column-gap: 4rem;
  }
  .close__action {
    padding-bottom: 0.75rem;
  }
}

.foot {
  background: var(--ink);
  color: var(--paper-muted);
  font-size: 0.9375rem;
  padding-bottom: calc(2rem + var(--bar-h));
}
.foot__grid {
  display: grid;
  gap: 2.5rem;
}
.foot__grid::before {
  background: var(--gold-line-ink);
  margin-bottom: clamp(0.5rem, 3vw, 2rem);
}
.foot__logo {
  width: 12.5rem;
}
.foot__data {
  display: grid;
  gap: 1.25rem 2.5rem;
}
.foot__data dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.foot__data dd {
  overflow-wrap: anywhere;
}
.foot__data a {
  display: inline-block;
  padding-block: 0.6rem 0.15rem;
}
.foot__map {
  font-size: 0.875rem;
}
.foot__legal {
  display: grid;
  gap: 0.5rem;
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--taupe);
}
@media (min-width: 640px) {
  .foot__data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .foot__grid {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(3rem, 8vw, 8rem);
  }
  .foot__data {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot__addr {
    grid-column: span 2;
  }
  .foot__legal {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
  }
}

/* ---------- WhatsApp flutuante (canto inferior direito) ---------- */

.fab {
  display: none;
}
.has-mobile-cta {
  /* Espaço reservado no fim do rodapé para o botão nunca cobrir o texto final. */
  --bar-h: calc(4.5rem + env(safe-area-inset-bottom));
}
.has-mobile-cta .fab {
  display: block;
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition: opacity 300ms var(--ease), transform 350ms var(--ease), visibility 0s linear 350ms;
}
.has-mobile-cta .fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 300ms var(--ease), transform 350ms var(--ease), visibility 0s;
}
.fab__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(20, 13, 10, 0.32);
  text-decoration: none;
  transition: background-color 250ms var(--ease);
}
.fab__btn .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.fab__btn:hover {
  background: var(--whatsapp-hover);
}
.fab__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* O rótulo existe sempre para leitores de tela; na tela, aparece ao passar o ponteiro ou focar. */
.fab__label {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold-line-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translate(6px, -50%);
  pointer-events: none;
  transition: opacity 250ms var(--ease), transform 300ms var(--ease);
}
.fab__btn:focus-visible .fab__label {
  opacity: 1;
  transform: translate(0, -50%);
}
@media (hover: hover) {
  .fab__btn:hover .fab__label {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
@media (min-width: 1024px) {
  .has-mobile-cta .fab {
    right: 2rem;
    bottom: 2rem;
  }
  .fab__btn {
    width: 3.75rem;
    height: 3.75rem;
  }
}

/* =========================================================
   Movimento
   ========================================================= */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes unmask {
  from {
    transform: translateY(105%);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes settle {
  from {
    opacity: 0.001;
    transform: scale(1.035) translateY(1%);
  }
}
@keyframes draw-x {
  from {
    transform: scaleX(0);
  }
}
@keyframes grow-y {
  from {
    transform: scaleY(0);
  }
}
@keyframes drift {
  from {
    transform: translateY(-4%) scale(1.09);
  }
  to {
    transform: translateY(4%) scale(1.09);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrada da primeira tela: identificação → título → apoio e contato → fotografia.
     Só CSS: se nada carregar além do HTML, o estado final já é o padrão. */
  .hero__id {
    animation: rise var(--t-short) var(--ease) both;
  }
  .hero__kicker .mask > span {
    animation: unmask var(--t-mid) var(--ease) 90ms both;
  }
  .hero__main .mask:nth-child(1) > span {
    animation: unmask var(--t-long) var(--ease) 160ms both;
  }
  .hero__main .mask:nth-child(2) > span {
    animation: unmask var(--t-long) var(--ease) 240ms both;
  }
  .hero__lead {
    animation: rise var(--t-mid) var(--ease) 320ms both;
  }
  .hero__cta {
    animation: rise var(--t-short) var(--ease) 360ms both;
  }
  .hero__place {
    animation: fade-in var(--t-mid) var(--ease) 560ms both;
  }
  .hero__place .rule {
    animation: draw-x var(--t-long) var(--ease) 560ms both;
  }
  /* Fotografia por último, com curva mais suave para não "acender" de uma vez. */
  .hero__img {
    animation: settle 1000ms cubic-bezier(0.33, 0, 0.2, 1) 280ms both;
  }
  /* A luz dourada acompanha a foto; sozinha, apareceria como uma mancha. */
  .hero__figure::before {
    animation: fade-in 1000ms cubic-bezier(0.33, 0, 0.2, 1) 280ms both;
  }
  .hero__stage {
    animation: fade-in 1100ms var(--ease) 200ms both;
  }

  /* Revelação ao rolar (ativada pelo script; sem ele, tudo fica visível). */
  .js-motion [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--t-mid) var(--ease), transform var(--t-long) var(--ease);
  }
  .js-motion [data-reveal].is-in,
  .js-motion [data-reveal]:focus-within {
    opacity: 1;
    transform: none;
  }
  .js-motion [data-reveal]:nth-child(2) {
    transition-delay: 80ms;
  }
  .js-motion [data-reveal]:nth-child(3) {
    transition-delay: 160ms;
  }
  .js-motion [data-reveal]:nth-child(4) {
    transition-delay: 240ms;
  }
  .js-motion [data-reveal]:nth-child(5) {
    transition-delay: 320ms;
  }
  .js-motion [data-reveal] .rule,
  .js-motion .start__list li[data-reveal]::before {
    transform: scaleX(0);
    transition: transform var(--t-long) var(--ease) 180ms;
  }
  .js-motion [data-reveal].is-in .rule,
  .js-motion .start__list li[data-reveal].is-in::before {
    transform: none;
  }
  /* Marcas de corte aparecem depois da imagem. */
  .js-motion .frame[data-reveal]::before {
    opacity: 0;
    transition: opacity var(--t-mid) var(--ease) 350ms;
  }
  .js-motion .frame[data-reveal].is-in::before {
    opacity: 1;
  }
  /* Linha da sequência: desenhada uma vez ao entrar… */
  .js-motion .seq::before {
    transform: scaleY(0);
    transition: transform 1400ms var(--ease);
  }
  .js-motion .seq.is-in::before {
    transform: none;
  }
  /* …ou, onde o navegador permite, acompanhando a rolagem. */
  @supports (animation-timeline: view()) {
    .js-motion .seq {
      view-timeline: --seq block;
    }
    .js-motion .seq::before,
    .js-motion .seq.is-in::before {
      transition: none;
      transform: none;
      animation: grow-y linear both;
      animation-timeline: --seq;
      animation-range: entry 15% cover 60%;
    }
  }
}

/* Deslocamento muito leve do retrato, só em telas largas e com suporte nativo. */
@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
  @supports (animation-timeline: view()) {
    .about__img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
  }
}

/* Celular: deslocamentos menores. */
@media (prefers-reduced-motion: no-preference) and (max-width: 759px) {
  .js-motion [data-reveal] {
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

@media print {
  .hdr,
  .fab,
  .hero__figure,
  .hero__stage,
  .close__mark {
    display: none !important;
  }
  .js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero,
  .jury,
  .about,
  .close,
  .foot {
    background: none;
    color: #000;
  }
}
