/* ==========================================================================
   Landing page Direito do Consumidor | Dra. Rosimery Bernardino
   Paleta e tipografia herdadas do site oficial (bernardinodelimaadvocacia.com.br)
   ========================================================================== */

/* Fontes do site oficial, hospedadas aqui (subconjunto latino, cobre o português) */
@font-face {
  font-family: "Crimson Pro";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/crimson-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Cores da marca */
  --mata: #172016;          /* fundo mais profundo (derivado do gradiente oficial) */
  --floresta: #3b473a;      /* verde oficial */
  --floresta-2: #2a3429;
  --salvia: #768475;        /* verde sálvia oficial */
  --salvia-clara: #b4bdb1;  /* texto secundário sobre fundo escuro */
  --salvia-media: #97a395;  /* texto pequeno sobre fundo escuro (contraste AA) */
  --ouro: #d9ad74;          /* dourado oficial */
  --manteiga: #fdd472;      /* amarelo oficial: CTA e marca-texto */
  --manteiga-forte: #f6c64f;
  --papel: #f3f4f0;
  --branco: #fdfdfd;
  --tinta: #1d231c;
  --tinta-suave: #4a5348;
  --linha: rgba(59, 71, 58, 0.16);
  --linha-clara: rgba(217, 173, 116, 0.22);
  --whats: #25d366;

  /* Tipografia */
  --f-display: "Crimson Pro", Georgia, "Times New Roman", serif;
  --f-texto: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-xs: 0.875rem;   /* 14 */
  --t-sm: 0.9375rem;  /* 15 */
  --t-base: 1.0625rem;/* 17 */
  --t-lg: 1.1875rem;  /* 19 */
  --t-h3: 1.5rem;     /* 24 */
  --t-h2: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
  --t-h1: clamp(2.5rem, 1.5rem + 3.7vw, 4.5rem);
  --t-num: clamp(3.25rem, 2rem + 4.4vw, 6rem);

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --secao: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --raio: 4px;
  --raio-btn: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: var(--t-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--floresta);
  outline-offset: 3px;
  border-radius: 2px;
}
.topo :focus-visible,
.hero :focus-visible,
.secao-escura :focus-visible,
.contato :focus-visible,
.final :focus-visible,
.rodape :focus-visible,
.pular:focus-visible { outline-color: var(--manteiga); }
.contato .formulario :focus-visible { outline-color: var(--floresta); }

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

.pular {
  position: absolute;
  left: 1rem; top: -60px;
  z-index: 100;
  background: var(--manteiga);
  color: var(--tinta);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: var(--raio);
  transition: top 0.2s;
}
.pular:focus { top: 1rem; }

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

.secao { padding-block: var(--secao); }

.secao-escura {
  background: var(--mata);
  color: var(--branco);
}

/* Cabeçalho de seção: título + texto de apoio, alinhados à esquerda */
.cabeca {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.cabeca h2 { font-size: var(--t-h2); }
.cabeca p {
  font-size: var(--t-lg);
  color: var(--tinta-suave);
  max-width: 38em;
}
.secao-escura .cabeca p { color: var(--salvia-clara); }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--manteiga);
  --btn-fg: var(--tinta);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 56px;
  padding: 0.9rem 1.75rem;
  border: 0;
  border-radius: var(--raio-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-texto);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, box-shadow 0.25s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { background: var(--manteiga-forte); transform: scale(1.03); }
.btn:active { transform: scale(0.98); }

/* Pulso de luz no CTA principal (inspirado na referência) */
.btn-pulso { animation: pulso 2.6s ease-out infinite; }
@keyframes pulso {
  0%   { box-shadow: 0 0 0 0 rgba(253, 212, 114, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(253, 212, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 212, 114, 0); }
}

.btn-contorno {
  --btn-bg: transparent;
  --btn-fg: var(--branco);
  box-shadow: inset 0 0 0 1.5px rgba(253, 253, 253, 0.45);
}
.btn-contorno:hover {
  background: rgba(253, 253, 253, 0.08);
  box-shadow: inset 0 0 0 1.5px var(--branco);
}

.btn-escuro {
  --btn-bg: var(--floresta);
  --btn-fg: var(--branco);
}
.btn-escuro:hover { background: var(--floresta-2); }

.link-seta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--floresta);
  text-decoration: underline;
  text-decoration-color: var(--ouro);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-underline-offset 0.2s, color 0.2s;
}
.link-seta:hover { text-underline-offset: 8px; color: var(--tinta); }

.link-claro {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--branco);
  text-decoration: underline;
  text-decoration-color: var(--ouro);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-underline-offset 0.2s, color 0.2s;
}
.link-claro:hover { text-underline-offset: 9px; color: var(--manteiga); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--branco);
  transition: background-color 0.35s, box-shadow 0.35s, height 0.35s;
}
.topo.rolado {
  background: rgba(23, 32, 22, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--linha-clara);
  --header-h: 64px;
}
.topo .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.topo-logo { display: block; padding-block: 6px; }
.topo-logo img { width: 104px; transition: width 0.35s var(--ease-out); }
.topo.rolado .topo-logo img { width: 86px; }

.topo-acoes {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topo-tel {
  font-size: var(--t-sm);
  text-decoration: none;
  color: var(--salvia-clara);
  transition: color 0.2s;
}
.topo-tel:hover { color: var(--branco); }
.topo .btn { min-height: 44px; padding: 0.55rem 1.2rem; font-size: var(--t-sm); }
.topo .btn svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 920px);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  background:
    radial-gradient(60% 70% at 78% 58%, rgba(118, 132, 117, 0.55) 0%, rgba(59, 71, 58, 0.35) 38%, transparent 70%),
    radial-gradient(50% 60% at 10% 110%, rgba(59, 71, 58, 0.65) 0%, transparent 70%),
    linear-gradient(180deg, #1d281c 0%, var(--mata) 100%);
  color: var(--branco);
  overflow: hidden;
}

/* granulação sutil */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-particulas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease 0.9s;
}
.carregado .hero-particulas { opacity: 1; }

.hero-grade {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: calc(min(100svh, 920px) - var(--header-h) - clamp(1.5rem, 4vw, 3rem));
}

.hero-texto {
  align-self: center;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  max-width: 40rem;
}

/* Pergunta digitada com marca-texto amarelo: o momento memorável da página */
.hero-pergunta {
  display: block;
  min-height: 2.6em;
  margin-bottom: 1.4rem;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem);
  line-height: 1.25;
  color: var(--tinta);
}
/* o marca-texto cresce junto com as letras digitadas */
.hero-pergunta .marca {
  display: inline;
  padding: 0.08em 0.3em 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: var(--manteiga);
}
.hero-pergunta .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--tinta);
  animation: piscar 1s steps(1) infinite;
}
@keyframes piscar { 50% { opacity: 0; } }

.hero h1 {
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero h1 .linha {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero h1 .linha > span {
  display: block;
  transition: transform 1s var(--ease-out);
}
.js .hero h1 .linha > span { transform: translateY(105%); }
.carregado .hero h1 .linha > span { transform: none; }
.carregado .hero h1 .linha:nth-child(2) > span { transition-delay: 0.12s; }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34em;
  font-size: var(--t-lg);
  color: #d8ddd6;
}

.hero-local {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: var(--t-sm);
  color: var(--salvia-clara);
}
.hero-local svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ouro); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2.25rem;
}

.hero-entra { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .hero-entra { opacity: 0; transform: translateY(14px); }
.js .hero-sub.hero-entra { opacity: 1; } /* candidato a LCP: entra só com movimento */
.carregado .hero-entra { opacity: 1; transform: none; }
.carregado .hero-entra.d1 { transition-delay: 0.35s; }
.carregado .hero-entra.d2 { transition-delay: 0.5s; }
.carregado .hero-entra.d3 { transition-delay: 0.65s; }

.hero-retrato {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(100%, 520px);
}
.hero-retrato .halo {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 173, 116, 0.5) 0%, rgba(118, 132, 117, 0.42) 36%, transparent 68%);
  filter: blur(6px);
}
.hero-retrato .monograma {
  position: absolute;
  left: 50%;
  top: 2%;
  width: 118%;
  max-width: none;
  transform: translate(-50%, var(--py, 0px));
  opacity: 0.07;
  pointer-events: none;
}
.hero-retrato picture,
.hero-retrato > img.foto {
  position: relative;
}
.hero-retrato .foto {
  position: relative;
  width: 100%;
  transform-origin: 50% 100%;
  transition: transform 1.6s var(--ease-out) 0.2s;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
}
.js .hero-retrato .foto { transform: scale(1.05); }
.carregado .hero-retrato .foto { transform: none; }

.hero-assinatura {
  position: absolute;
  left: -4%;
  bottom: 13%;
  padding: 0.85rem 1.1rem 0.85rem 1rem;
  background: rgba(23, 32, 22, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-left: 2px solid var(--ouro);
  font-size: var(--t-xs);
  line-height: 1.35;
  color: var(--salvia-clara);
}
.hero-assinatura strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--branco);
}

/* --------------------------------------------------------------------------
   Faixa corrida (marquee)
   -------------------------------------------------------------------------- */
.faixa {
  position: relative;
  background: var(--manteiga);
  color: var(--tinta);
  overflow: hidden;
  padding-block: 1rem;
  border-block: 1px solid rgba(29, 35, 28, 0.12);
}
.faixa-trilho {
  display: flex;
  width: max-content;
  animation: correr 60s linear infinite;
}
.faixa:hover .faixa-trilho,
.faixa:focus-within .faixa-trilho { animation-play-state: paused; }

.faixa ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0 2.5rem 0 0;
  list-style: none;
}
.faixa li {
  display: block;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 1.25rem;
}
.faixa li b { font-weight: 600; }
.faixa li::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 2.5rem;
  width: 14px; height: 14px;
  border: 1.5px solid currentColor;
  border-left-color: transparent;
  opacity: 0.55;
}
@keyframes correr { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Problemas atendidos
   -------------------------------------------------------------------------- */
.problemas { background: var(--papel); }

.lista-problemas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linha);
}
.lista-problemas li {
  border-bottom: 1px solid var(--linha);
}
.problema {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  padding: 1.75rem 0.25rem 1.75rem 0;
  position: relative;
}
.problema-icone {
  grid-row: span 3;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha);
  color: var(--floresta);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.problema-icone svg { width: 24px; height: 24px; }
.problema h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.2;
}
.problema p {
  margin: 0.2rem 0 0.6rem;
  color: var(--tinta-suave);
  font-size: var(--t-base);
}
.problema .link-seta { justify-self: start; }
.problema .link-seta::after {
  content: "";
  position: absolute;
  inset: 0;
}
.lista-problemas li:hover .problema-icone {
  background: var(--floresta);
  color: var(--manteiga);
  transform: rotate(-6deg);
}

.problemas-nota {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  color: var(--tinta-suave);
}

/* --------------------------------------------------------------------------
   Direitos (artigos do CDC)
   -------------------------------------------------------------------------- */
.direitos {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(59, 71, 58, 0.7) 0%, transparent 60%),
    var(--mata);
}
.direitos-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  container: direitos / inline-size;
}
.direitos .cabeca {
  max-width: none;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 0;
}
.direitos .cabeca h2 { grid-row: span 2; align-self: start; color: var(--branco); }
.direitos .aviso {
  font-size: var(--t-sm) !important;
  color: var(--salvia-clara) !important;
  border-left: 2px solid var(--ouro);
  padding-left: 1rem;
}

/* Lista simples: é o que aparece sem JS (e a base da estante) */
.artigos {
  margin: 0;
  padding: 0;
  list-style: none;
}
.artigo {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--linha-clara);
}
.artigo:last-child { border-bottom: 1px solid var(--linha-clara); }
.artigo-lombada {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
.artigo-num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-num);
  font-weight: 300;
  line-height: 0.9;
  color: var(--ouro);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.artigo-num span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--salvia-clara);
}
.artigo-rotulo {
  display: block;
  margin-top: 0.6rem;
  font-size: var(--t-xs);
  color: var(--salvia-media);
}
.artigo-lombada .sinal,
.artigo-marca { display: none; }
.artigo-folha h4 {
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--branco);
  margin-bottom: 0.6rem;
}
.artigo p { color: var(--salvia-clara); }
.artigo-cabeca {
  margin: 0;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-wrap: inherit;
}

/* --------------------------------------------------------------------------
   Estante: cada artigo é a lombada de um volume; o que está aberto vira página.
   No celular as lombadas ficam deitadas e abrem para baixo.
   -------------------------------------------------------------------------- */
.js .artigos {
  --lombada: 4rem;
  --vao: 6px;
  --couro: var(--floresta-2);
  display: grid;
  gap: var(--vao);
}
.js .artigo {
  display: block;
  gap: 0;
  padding: 0;
  border: 0;
}
.js .artigo-cabeca { display: flex; }
.js .artigo-lombada {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.6rem 2.75rem 0.6rem 1.6rem;
  border-radius: var(--raio);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.16)),
    var(--couro);
  box-shadow: inset 0 0 0 1px rgba(217, 173, 116, 0.14);
  cursor: pointer;
  transition: background-color 0.3s, border-radius 0.3s;
}
/* Os frisos dourados da encadernação */
.js .artigo-lombada::before,
.js .artigo-lombada::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  border-inline: 1.5px solid var(--ouro);
  opacity: 0.45;
  transition: opacity 0.3s;
}
.js .artigo-lombada::before { left: 0.6rem; }
.js .artigo-lombada::after { right: 0.6rem; }
.js .artigo-lombada:hover { --couro: #323e31; }
.js .artigo-lombada:hover::before,
.js .artigo-lombada:hover::after { opacity: 0.8; }

.js .artigo-num {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  min-width: 3.6rem;
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.js .artigo-num span {
  display: inline;
  margin: 0;
  font-size: 0.875rem;
  color: var(--salvia-clara);
}
.js .artigo-rotulo {
  margin: 0;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--salvia-clara);
  line-height: 1.25;
}

/* Sinal de abrir, igual ao das perguntas (só no celular) */
.js .artigo-lombada .sinal {
  display: block;
  position: absolute;
  right: 1.35rem;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
}
.js .artigo-lombada .sinal::before,
.js .artigo-lombada .sinal::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ouro);
  transition: transform 0.35s var(--ease-out);
}
.js .artigo-lombada .sinal::after { transform: rotate(90deg); }

.js .artigo.aberto .artigo-lombada {
  --couro: var(--floresta);
  border-radius: var(--raio) var(--raio) 0 0;
}
.js .artigo.aberto .artigo-lombada::before,
.js .artigo.aberto .artigo-lombada::after { opacity: 0.9; }
.js .artigo.aberto .artigo-rotulo,
.js .artigo.aberto .artigo-num span { color: var(--branco); }
.js .artigo.aberto .artigo-lombada .sinal::after { transform: rotate(0deg); }

/* Página: fechada some (sem perder o texto do HTML), aberta mostra o conteúdo */
.js .artigo-pagina {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  background: var(--papel);
  border-radius: 0 0 var(--raio) var(--raio);
  transition: grid-template-rows 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.js .artigo.aberto .artigo-pagina {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.5s var(--ease-out), visibility 0s;
}
/* Abertura pela busca do navegador: sem animação, para a rolagem cair no lugar certo */
.js .artigos.sem-transicao .artigo-pagina,
.js .artigos.sem-transicao .artigo-folha > * { transition: none !important; }
/* Fechada no celular: "achável" pelo Ctrl+F e por links #:~:text= (o JS abre o volume) */
.js .artigo-pagina[hidden="until-found"] { display: grid; visibility: visible; }
.js .artigo-folha {
  min-height: 0;
  overflow: hidden;
  background: var(--papel);
  border-radius: 0 0 var(--raio) var(--raio);
}
.js .artigo-folha > * {
  margin-inline: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.js .artigo-folha > :first-child { margin-top: 1.5rem; }
.js .artigo-folha > :last-child { margin-bottom: 1.75rem; }
.js .artigo.aberto .artigo-folha > * {
  opacity: 1;
  transition: opacity 0.45s var(--ease-out) 0.18s;
}
.js .artigo-marca {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--floresta);
}
.js .artigo-marca span {
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--tinta-suave);
}
.js .artigo-folha h4 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  color: var(--tinta);
  margin-bottom: 0.75rem;
  max-width: 22em;
}
.js .artigo-folha p:not(.artigo-marca) {
  color: var(--tinta-suave);
  max-width: 34em;
}

/* Estante em pé: lombadas lado a lado, a aberta empurra as outras */
@container direitos (min-width: 58.75rem) {
  .js .artigos {
    display: flex;
    align-items: stretch;
    min-height: 27rem;
  }
  .js .artigo {
    display: flex;
    flex: none;
  }
  /* A aberta ocupa o que sobrar: cliques seguidos não deixam buraco no fim da estante */
  .js .artigo.aberto { flex: 1 1 auto; min-width: 0; }
  .js .artigo-cabeca { flex: none; }
  .js .artigo-lombada {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    width: var(--lombada);
    min-height: 0;
    padding: 2.1rem 0 2.1rem;
    text-align: center;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.06) 42%, rgba(0, 0, 0, 0.24)),
      var(--couro);
  }
  .js .artigo-lombada::before,
  .js .artigo-lombada::after {
    left: 0;
    right: 0;
    width: auto;
    height: 5px;
    border-inline: 0;
    border-block: 1.5px solid var(--ouro);
  }
  .js .artigo-lombada::before { top: 0.8rem; bottom: auto; }
  .js .artigo-lombada::after { top: auto; bottom: 0.8rem; }
  .js .artigo-num {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
    font-size: 1.75rem;
  }
  .js .artigo-rotulo {
    margin-top: auto;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: var(--t-xs);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .js .artigo-lombada .sinal { display: none; }
  .js .artigo.aberto .artigo-lombada {
    border-radius: var(--raio) 0 0 var(--raio);
    cursor: default;
  }

  .js .artigo-pagina {
    display: block;
    width: 0;
    overflow: hidden;
    background: none;
    border-radius: 0;
    transition: width 0.6s var(--ease-out), visibility 0s linear 0.6s;
  }
  .js .artigo.aberto .artigo-pagina {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100cqw - 7 * var(--lombada) - 6 * var(--vao));
    transition: width 0.6s var(--ease-out), visibility 0s;
  }
  .js .artigo-folha {
    width: calc(100cqw - 7 * var(--lombada) - 6 * var(--vao));
    height: 100%;
    overflow: visible;
    padding: clamp(2rem, 1rem + 2cqw, 3rem) clamp(2rem, 0.5rem + 3cqw, 3.5rem);
    border-radius: 0 var(--raio) var(--raio) 0;
  }
  .js .artigo-folha > * { margin-inline: 0; }
  .js .artigo-folha > :first-child { margin-top: 0; }
  .js .artigo-folha > :last-child { margin-bottom: 0; }
}

@media (forced-colors: active) {
  .js .artigo-lombada { border: 1px solid ButtonText; }
  .js .artigo.aberto .artigo-lombada { border-color: Highlight; }
  .js .artigo-lombada .sinal::before,
  .js .artigo-lombada .sinal::after { forced-color-adjust: none; background: ButtonText; }
  .js .artigo-folha { border: 1px solid CanvasText; }
}

/* --------------------------------------------------------------------------
   Como funciona (passos reais, em sequência)
   -------------------------------------------------------------------------- */
.passos { background: var(--branco); }
.lista-passos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}
.lista-passos::before,
.lista-passos::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 0;
  top: 22px;
  height: 1px;
  background: var(--linha);
}
.lista-passos::after {
  background: var(--ouro);
  height: 2px;
  top: 21.5px;
  transform-origin: left;
  transform: scaleX(var(--progresso, 0));
  transition: transform 0.15s linear;
}
.passo {
  position: relative;
  z-index: 1;
  counter-increment: passo;
}
.passo::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: inset 0 0 0 1.5px var(--floresta);
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--floresta);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.passo.feito::before {
  background: var(--floresta);
  color: var(--manteiga);
  box-shadow: inset 0 0 0 1.5px var(--floresta);
}
.passo h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.passo p { color: var(--tinta-suave); font-size: var(--t-base); }

/* --------------------------------------------------------------------------
   Sobre a advogada
   -------------------------------------------------------------------------- */
.sobre { background: var(--papel); }
.sobre-grade {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.sobre-foto {
  position: relative;
  margin: 0;
  padding: 0 0 0 clamp(1rem, 2.5vw, 2rem);
}
/* Moldura em quadrado aberto, tirada do monograma da marca:
   o quadro fica deslocado para cima e para a direita, e a barra de cima avança à esquerda */
.sobre-foto::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  bottom: 1.5rem;
  left: calc(clamp(1rem, 2.5vw, 2rem) + 1.25rem);
  border: 1.5px solid var(--ouro);
}
.sobre-foto::after {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: 0;
  width: calc(clamp(1rem, 2.5vw, 2rem) + 1.5rem);
  height: 1.5px;
  background: var(--ouro);
}
.sobre-foto .moldura {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(118, 132, 117, 0.55), transparent 70%),
    var(--floresta);
}
.sobre-foto .moldura img {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 112%;
  max-width: none;
  transform: translateX(-50%) translateY(var(--py, 0px));
}
.sobre-texto h2 { font-size: var(--t-h2); margin-bottom: 1.5rem; }
.sobre-texto p { font-size: var(--t-lg); color: var(--tinta-suave); max-width: 36em; }

.fatos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 2.25rem 0 2.5rem;
  padding: 0;
  list-style: none;
}
.fatos li {
  border-top: 1px solid var(--linha);
  padding-top: 1rem;
  font-size: var(--t-sm);
  color: var(--tinta-suave);
}
.fatos strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--tinta);
  margin-bottom: 0.2rem;
}
/* Botão com o nome da doutora: em tela estreita o nome vai inteiro para a segunda linha */
@media (min-width: 26.51rem) { .quebra-celular { display: none; } }

/* --------------------------------------------------------------------------
   Formulário de contato (captura)
   -------------------------------------------------------------------------- */
.contato {
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(118, 132, 117, 0.35), transparent 60%),
    var(--floresta);
  color: var(--branco);
}
.contato-grade {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contato .cabeca { margin-bottom: 2rem; }
.contato .cabeca p { color: #d8ddd6; }
.contato h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--manteiga);
}
.separe {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.separe li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #e3e7e1;
}
.separe svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--ouro); }
.contato-direto {
  display: grid;
  gap: 0.35rem;
  font-size: var(--t-sm);
  color: var(--salvia-clara);
}
.contato-direto a { color: var(--branco); font-weight: 700; text-decoration-color: var(--ouro); text-underline-offset: 4px; }

.formulario {
  background: var(--branco);
  color: var(--tinta);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--raio);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}
.contato .formulario-titulo {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--tinta);
  margin-bottom: 0.35rem;
}
.form-sem-js {
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--papel);
  border-left: 3px solid var(--ouro);
  font-size: var(--t-sm);
}
.form-sem-js a { color: var(--floresta); font-weight: 700; }
.js .form-sem-js { display: none; }
.formulario-sub {
  font-size: var(--t-sm);
  color: var(--tinta-suave);
  margin-bottom: 1.75rem;
}
.campos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}
.campo { display: grid; gap: 0.4rem; }
.campo-inteiro { grid-column: 1 / -1; }
.campo label {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--tinta);
}
.campo label span { font-weight: 400; color: var(--tinta-suave); }
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--salvia);
  border-radius: var(--raio);
  background: var(--papel);
  color: var(--tinta);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b473a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.campo input:hover,
.campo select:hover,
.campo textarea:hover { border-color: var(--floresta); }
.campo ::placeholder { color: #5d665b; opacity: 1; }
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--floresta);
  background: var(--branco);
  box-shadow: 0 0 0 2px var(--floresta), 0 0 0 6px rgba(253, 212, 114, 0.55);
}
.erro {
  font-size: var(--t-xs);
  color: #a3341f;
}
.erro:empty { display: none; }
.campo.invalido input,
.campo.invalido select,
.campo.invalido textarea { border-color: #a3341f; }

.consentimento {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin-top: 0.25rem;
  font-size: var(--t-xs);
  line-height: 1.5;
  color: var(--tinta-suave);
}
.consentimento input {
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--floresta);
}
.consentimento a { color: var(--floresta); font-weight: 700; }
.consentimento-bloco .erro:not(:empty) { display: block; margin: 0.35rem 0 0 calc(22px + 0.75rem); }
.consentimento-bloco.invalido .consentimento { color: #a3341f; }

.formulario .btn { width: 100%; margin-top: 1.5rem; }
.formulario-rodape {
  margin-top: 1rem;
  font-size: var(--t-xs);
  color: var(--tinta-suave);
  text-align: center;
}

.form-sucesso {
  display: none;
  text-align: left;
}
.form-sucesso h3 {
  color: var(--tinta);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.form-sucesso p { color: var(--tinta-suave); }
.formulario.enviado form { display: none; }
.formulario.enviado .form-sucesso { display: block; animation: surgir 0.6s var(--ease-out); }
@keyframes surgir { from { opacity: 0; transform: translateY(10px); } }

/* honeypot anti-spam */
.mel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--papel); }
.faq-grade {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq .cabeca { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq .cabeca .revisado { font-size: var(--t-xs); color: var(--tinta-suave); }

.perguntas { border-top: 1px solid var(--linha); }
.perguntas details { border-bottom: 1px solid var(--linha); }
.perguntas summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.2s;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary:hover { color: var(--floresta); }
.perguntas summary .sinal {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--linha);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.perguntas summary .sinal::before,
.perguntas summary .sinal::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--floresta);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), background-color 0.3s;
}
.perguntas summary .sinal::after { transform: translate(-50%, -50%) rotate(90deg); }
.perguntas details[open] summary .sinal { background: var(--floresta); box-shadow: none; }
.perguntas details[open] summary .sinal::before,
.perguntas details[open] summary .sinal::after { background: var(--manteiga); }
.perguntas details[open] summary .sinal::after { transform: translate(-50%, -50%) rotate(0deg); }
.resposta {
  overflow: hidden;
  padding: 0 3.5rem 1.75rem 0;
  color: var(--tinta-suave);
}

/* --------------------------------------------------------------------------
   Chamada final
   -------------------------------------------------------------------------- */
.final {
  position: relative;
  overflow: hidden;
  background: var(--mata);
  color: var(--branco);
  text-align: left;
}
.final .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 4rem;
  align-items: center;
}
.final h2 { font-size: var(--t-h2); max-width: 16em; }
.final-cta { display: grid; justify-items: start; }
.final p { margin-top: 1rem; color: var(--salvia-clara); font-size: var(--t-lg); max-width: 34em; }
.final .monograma-fundo {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(46vw, 520px);
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.rodape {
  background: #10160f;
  color: var(--salvia-clara);
  font-size: var(--t-sm);
  /* Embaixo, espaço para o botão flutuante do WhatsApp não cobrir a assinatura no fim da rolagem */
  padding-block: 4rem calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom, 0px) + 60px + 1.25rem);
}
.rodape-grade {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--linha-clara);
}
.rodape-marca img { width: 150px; margin-bottom: 1.25rem; }
.rodape h2 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ouro);
  margin-bottom: 0.9rem;
}
.rodape address { font-style: normal; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.rodape a { color: var(--branco); text-decoration: none; }
.rodape a:hover { text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 4px; }
.rodape-oab { color: var(--branco); }
.rodape-grade div.pendente { margin-bottom: 1em; }
.rodape-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  font-size: var(--t-xs);
  color: var(--salvia-media);
}
.rodape-legal p { max-width: 62em; }
.rodape-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 2rem;
  width: 100%;
}
.rodape-base p { margin: 0; }

/* Assinatura da agência: o meeple dá um pulinho quando o mouse passa */
.assinatura {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
}
.assinatura-marca {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding-block: 0.25em; /* área de toque de pelo menos 24 px */
  color: var(--branco);
  font-weight: 700;
}
.meeple {
  width: 0.98em;
  height: 1.06em;
  flex: none;
  overflow: visible;
  transform-origin: 50% 100%;
}
.assinatura:hover .meeple,
.assinatura-marca:focus-visible .meeple { animation: meeple-pulo 0.7s var(--ease-out) both; }
@keyframes meeple-pulo {
  0%   { transform: none; }
  18%  { transform: translateY(1px) scale(1.12, 0.84); }
  45%  { transform: translateY(-7px) rotate(-10deg) scale(0.94, 1.08); }
  68%  { transform: translateY(0) rotate(4deg) scale(1.1, 0.88); }
  84%  { transform: translateY(-1.5px) rotate(-1.5deg) scale(0.98, 1.03); }
  100% { transform: none; }
}

/* --------------------------------------------------------------------------
   WhatsApp flutuante com balão "digitando"
   -------------------------------------------------------------------------- */
.whats-flutuante {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}
.whats-botao {
  pointer-events: auto;
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease-out);
}
.whats-botao:hover { transform: scale(1.08); }
.whats-botao:focus-visible {
  outline: 3px solid var(--manteiga);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--tinta);
}
.whats-botao svg { width: 32px; height: 32px; }

.whats-balao {
  pointer-events: auto;
  position: relative;
  width: min(290px, calc(100vw - 2rem));
  padding: 1rem 3rem 1rem 1rem;
  background: var(--branco);
  color: var(--tinta);
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45);
  font-size: var(--t-sm);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transform-origin: 100% 100%;
  visibility: hidden;
  transition: opacity 0.35s, transform 0.45s var(--ease-out), visibility 0s 0.45s;
}
.whats-flutuante.aberto .whats-balao {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.35s, transform 0.45s var(--ease-out), visibility 0s;
}
.whats-balao strong { display: block; font-size: var(--t-xs); color: var(--floresta); margin-bottom: 0.2rem; }
.whats-balao a { color: inherit; text-decoration: none; display: block; }
.whats-fechar {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tinta-suave);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.whats-fechar:hover { background: var(--papel); }
.whats-msg { display: block; }

/* --------------------------------------------------------------------------
   Revelação ao rolar (fadeIn / zoomIn, como na referência, porém contidos)
   -------------------------------------------------------------------------- */
.js [data-revela] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--atraso, 0s);
}
.js [data-revela="zoom"] { transform: scale(0.96); }
.js [data-revela].visivel { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .lista-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .lista-passos::before, .lista-passos::after { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topo-tel { display: none; }

  .hero { min-height: 0; }
  .hero-grade {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }
  .hero-texto { padding-bottom: 2.5rem; max-width: none; }
  .hero-retrato { width: min(88%, 420px); }
  .hero-assinatura { left: -6%; bottom: 10%; }

  .direitos-grade,
  .sobre-grade,
  .contato-grade,
  .faq-grade { grid-template-columns: 1fr; }
  .direitos .cabeca,
  .faq .cabeca { position: static; }
  .faq .cabeca { margin-bottom: 1rem; }
  .direitos .cabeca { grid-template-columns: 1fr; }
  .direitos .cabeca h2 { grid-row: auto; }
  .sobre-foto { max-width: min(420px, calc(100% - 1.25rem)); }

  .final .wrap { grid-template-columns: 1fr; }
  .final .monograma-fundo { width: 80vw; right: -25%; }
}

@media (max-width: 720px) {
  .lista-problemas { grid-template-columns: 1fr; }
  .artigo { grid-template-columns: 1fr; padding-block: 1.75rem; }
  .campos { grid-template-columns: 1fr; }
  .fatos { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .lista-passos { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .passo { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 1.25rem; }
  .passo::before { grid-row: span 2; margin: 0; }
  .rodape-grade { grid-template-columns: 1fr; }
  .resposta { padding-right: 0; }
  .perguntas summary { font-size: 1.25rem; }
  .faixa li { font-size: 1.1rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { gap: 1.25rem; }
  .hero-pergunta { font-size: 1.2rem; min-height: 3.9em; }
  .topo-logo img { width: 88px; }
  .topo.rolado .topo-logo img { width: 78px; }
  .whats-balao { width: min(250px, calc(100vw - 2rem)); }
  .topo .btn span { display: none; }
  .topo .btn { width: 44px; padding: 0; }
  .whats-botao { width: 56px; height: 56px; }
}

@media (max-width: 380px) {
  .fatos { grid-template-columns: 1fr; }
  .hero-assinatura { position: relative; left: auto; bottom: auto; margin: -1rem auto 0; width: fit-content; }
}

/* --------------------------------------------------------------------------
   Movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .faixa-trilho { animation: none; width: auto; }
  .faixa ul[aria-hidden="true"] { display: none; }
  .faixa ul { flex-wrap: wrap; gap: 0.5rem 2.5rem; padding-inline: var(--gutter); }
  .faixa li { white-space: normal; }
  .hero-particulas { display: none; }
  .js [data-revela] { opacity: 1; transform: none; }
  .js .hero h1 .linha > span,
  .js .hero-entra,
  .js .hero-retrato .foto { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Marcação de dados pendentes (remover a classe .pendente quando confirmar)
   -------------------------------------------------------------------------- */
.pendente {
  outline: 1.5px dashed #ff6b5a;
  outline-offset: 2px;
  border-radius: 2px;
}
