/* Fontes do Google declaradas aqui para não travar a página com outra folha de estilos */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/archivo/v25/k3kQo8UDI-1M0wlSfdnoLg.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: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/courierprime/v11/u-450q2lgwslOqpF_6gQ8kELawFpWg.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: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/courierprime/v11/u-4k0q2lgwslOqpF_6gQ8kELY7pMT-Dfqw.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;
}

/* Investigação Águia — tokens
   névoa  #E6E8E3  fundo (papel frio, de arquivo)
   tinta  #17212B  texto e tarjas de redação
   grafite #4A5560 texto secundário
   manila #D8BE86  pasta do dossiê
   carimbo #9E2B25 carimbo "sigiloso" (único vermelho da página)
   whats  #157A43  ação principal (WhatsApp, contraste AA com branco)
*/
:root {
  --nevoa: #e6e8e3;
  --nevoa-2: #dcdfd8;
  --tinta: #17212b;
  --grafite: #4a5560;
  --manila: #d8be86;
  --manila-2: #cbae70;
  --carimbo: #9e2b25;
  --whats: #157a43;
  --whats-2: #0f6236;
  --linha: rgba(23, 33, 43, .16);

  --f: "Archivo", system-ui, sans-serif;
  --f-maquina: "Courier Prime", "Courier New", monospace;

  --w: 1160px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--nevoa);
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--f);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-variation-settings: "wdth" 72; }
h3 { font-size: 1.25rem; font-variation-settings: "wdth" 85; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--whats); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 14px; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.4em;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .15s;
}
.btn--wa { background: var(--whats); color: #fff; }
.btn--wa:hover { background: var(--whats-2); }
.btn--sm { padding: .6em 1.1em; font-size: .9375rem; }
.link-sec { font-weight: 600; text-underline-offset: 4px; }
.link-sec:hover { text-decoration-thickness: 2px; }
.link-sec--claro { color: #fff; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(230, 232, 227, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.topo__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 75; font-size: 1.2rem; }
.marca img { width: 54px; }
.menu { display: flex; gap: 24px; margin-left: auto; font-size: .9375rem; }
.menu a { text-decoration: none; color: var(--grafite); }
.menu a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 104px); }
.hero__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 6.5rem);
  font-weight: 900;
  font-variation-settings: "wdth" 64;
  line-height: .94;
  letter-spacing: -.015em;
  margin-bottom: .4em;
}
.linha { display: block; }
.linha > span { position: relative; display: inline-block; }
.h1__termo {
  display: block; margin-top: 1em; max-width: 24em;
  font-size: clamp(1.1875rem, 2vw, 1.5rem); font-weight: 700; font-variation-settings: "wdth" 88;
  line-height: 1.25; letter-spacing: 0; text-wrap: balance;
}
.hero__lead { font-size: 1.1875rem; color: var(--grafite); max-width: 34em; }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 28px 0 14px; }
.hero__nota { font-size: .9375rem; color: var(--grafite); }

/* O momento: tarjas de redação que se retiram, uma linha por vez */
@media (prefers-reduced-motion: no-preference) {
  .redigido .linha > span::after {
    content: ""; position: absolute; inset: .08em -.06em .02em;
    background: var(--tinta);
    transform-origin: right center;
    animation: tarja .7s cubic-bezier(.7, 0, .2, 1) forwards;
  }
  .redigido .linha > span { color: transparent; animation: revela 0s forwards; }
  .redigido .linha:nth-child(1) > span, .redigido .linha:nth-child(1) > span::after { animation-delay: .35s; }
  .redigido .linha:nth-child(2) > span, .redigido .linha:nth-child(2) > span::after { animation-delay: .6s; }
  .redigido .linha:nth-child(3) > span, .redigido .linha:nth-child(3) > span::after { animation-delay: .85s; }
  @keyframes tarja { to { transform: scaleX(0); } }
  @keyframes revela { to { color: var(--tinta); } }
}

/* Dossiê */
.dossie { position: relative; margin-top: 28px; }
.dossie__aba {
  display: inline-block;
  background: var(--manila-2);
  padding: 8px 22px 6px;
  border-radius: 8px 8px 0 0;
  font-family: var(--f-maquina); font-size: .9375rem;
}
.dossie__corpo {
  background: var(--manila);
  border-radius: 0 10px 10px 10px;
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 1px 0 var(--manila-2), 0 24px 40px -28px rgba(23, 33, 43, .55);
}
.dossie__titulo { font-family: var(--f-maquina); font-weight: 700; font-size: 1.0625rem; margin-bottom: 18px; }
.dossie__lista { list-style: none; margin: 0 0 18px; padding: 0; }
.dossie__lista li { padding: 12px 0; border-top: 1px dashed rgba(23, 33, 43, .35); }
.dossie__lista strong { display: block; font-variation-settings: "wdth" 85; font-size: 1.125rem; }
.dossie__rodape { font-family: var(--f-maquina); font-size: .9375rem; margin: 0; }
.carimbo {
  position: absolute; right: -10px; top: -4px;
  transform: rotate(-9deg);
  border: 3px solid var(--carimbo); color: var(--carimbo);
  padding: 4px 14px; border-radius: 4px;
  font-family: var(--f-maquina); font-weight: 700; font-size: 1.25rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: .92;
  mix-blend-mode: multiply;
}

/* Seções */
.secao { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--linha); }
.secao__cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 40px; }
.secao__cab p { margin: 0; color: var(--grafite); max-width: 30em; }

/* Índice de serviços */
.indice { border-top: 2px solid var(--tinta); }
.caso { border-bottom: 1px solid var(--linha); }
.caso summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 32px; gap: 8px 32px; align-items: center;
  padding: 26px 0;
}
.caso summary::-webkit-details-marker { display: none; }
.caso__nome { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; font-variation-settings: "wdth" 70; line-height: 1.05; }
.caso__resumo { color: var(--grafite); }
.caso__sinal { position: relative; width: 32px; height: 32px; border: 1.5px solid var(--tinta); border-radius: 50%; }
.caso__sinal::before, .caso__sinal::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--tinta); transform: translate(-50%, -50%); transition: transform .2s; }
.caso__sinal::after { transform: translate(-50%, -50%) rotate(90deg); }
.caso[open] .caso__sinal { background: var(--tinta); }
.caso[open] .caso__sinal::before { background: var(--nevoa); }
.caso[open] .caso__sinal::after { background: var(--nevoa); transform: translate(-50%, -50%) rotate(0); }
.caso summary:hover .caso__nome { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.caso__det { padding: 0 0 30px; max-width: 44em; margin-left: auto; margin-right: 64px; }
@media (min-width: 821px) { .caso__det { width: calc(50% - 30px); max-width: none; } }

/* Passos */
.secao--passos { background: var(--nevoa-2); }
.passos { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.passos li { counter-increment: p; padding-top: 18px; border-top: 2px solid var(--tinta); }
.passos li::before {
  content: counter(p);
  display: block; margin-bottom: 14px;
  font-size: 3.5rem; font-weight: 900; line-height: 1; font-variation-settings: "wdth" 62;
}
.passos h3 { margin-bottom: 10px; }
.passos p { color: var(--grafite); margin: 0; }

/* Legalidade */
.secao--lei { background: var(--tinta); color: #e9ecef; border-top: 0; }
.lei { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.lei__txt > p { color: #b9c2cb; max-width: 34em; margin-top: 20px; }
.lei blockquote { margin: 32px 0 0; padding-left: 22px; border-left: 3px solid var(--manila); }
.lei blockquote p { font-size: 1.125rem; line-height: 1.55; }
.lei cite { font-style: normal; color: var(--manila); font-size: .9375rem; }
.lei__listas { display: grid; gap: 36px; align-content: start; }
.lei__listas h3 { margin-bottom: 12px; }
.lei__listas ul { list-style: none; margin: 0; padding: 0; }
.lei__listas li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lei__listas li::before { position: absolute; left: 2px; top: 10px; font-weight: 800; }
.sim li::before { content: "✓"; color: #7fd1a2; }
.nao li::before { content: "✕"; color: #f09a93; }

/* FAQ */
.duvidas { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 88px); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-child { border-top: 2px solid var(--tinta); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 700; font-size: 1.125rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--grafite); max-width: 40em; padding-bottom: 8px; }

/* Fecho */
.fecho { background: var(--whats-2); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.fecho__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.fecho h2 { max-width: 14em; }
.fecho .btn--wa { background: #fff; color: var(--whats-2); }
.fecho .btn--wa:hover { background: var(--nevoa); }
.fecho__acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fecho :focus-visible { outline-color: #fff; }

/* Rodapé */
.rodape { padding: 48px 0 96px; font-size: .9375rem; color: var(--grafite); }
.rodape__in { display: grid; grid-template-columns: auto; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 40px; align-items: start; }
.rodape img { width: 110px; filter: grayscale(1) contrast(1.1); }
.rodape strong { color: var(--tinta); }

/* WhatsApp flutuante: só no celular, à esquerda (o tawk.to ocupa a direita) */
.wa-flutuante {
  display: none;
  position: fixed; left: 16px; bottom: 16px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whats); color: #fff;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(15, 98, 54, .6);
}

/* Páginas de serviço */
.trilha { font-size: .9375rem; color: var(--grafite); margin-bottom: 18px; }
.trilha a { color: var(--grafite); }
.lp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.sinais { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--tinta); }
.sinais li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--linha); font-size: 1.0625rem; }
.sinais li::before { content: ""; position: absolute; left: 4px; top: 1.5em; width: 14px; height: 10px; background: var(--tinta); }
.lp__como h3 { margin-bottom: 14px; font-size: 1.5rem; }
.lp__como p { color: var(--grafite); }
.lp__como .btn { margin-top: 10px; }

/* Ações dentro de cada serviço da home */
.caso__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; }

/* Casos resolvidos */
.secao--casos { background: var(--nevoa); }

/* Quem cuida do seu caso */
.detetive { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.detetive__txt h2 { margin-bottom: 16px; }
.detetive__txt > p { color: var(--grafite); max-width: 38em; }
@media (max-width: 820px) { .detetive { grid-template-columns: 1fr; } }
.casos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.casos:has(> .registro:only-of-type) { grid-template-columns: minmax(0, 44rem); }
@media (max-width: 820px) { .casos, .casos:has(> .registro:only-of-type) { grid-template-columns: 1fr; } }
.registro {
  margin: 0; padding: 26px 26px 20px;
  background: #f4f1e6;
  border-left: 6px solid var(--manila-2);
  box-shadow: 0 1px 0 rgba(23, 33, 43, .08);
}
.registro blockquote { margin: 0 0 18px; font-size: 1.0625rem; line-height: 1.55; }
.registro figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px dashed rgba(23, 33, 43, .35); font-family: var(--f-maquina); font-size: .9375rem; color: var(--grafite); }

/* Rodapé: links de serviço */
.rodape__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rodape__links a { color: var(--grafite); }

@media (max-width: 820px) {
  .lp { grid-template-columns: 1fr; }
}

/* Responsivo */
@media (max-width: 960px) {
  .menu { display: none; }
  .topo .btn--sm { margin-left: auto; }
  .passos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero__in, .lei, .duvidas { grid-template-columns: 1fr; }
  .caso summary { grid-template-columns: 1fr 32px; }
  .caso__resumo { grid-column: 1; grid-row: 2; }
  .caso__sinal { grid-column: 2; grid-row: 1 / span 2; }
  .caso__det { margin: 0; }
  .rodape__in { grid-template-columns: 1fr; grid-auto-flow: row; gap: 20px; }
  .wa-flutuante { display: flex; }
}
@media (max-width: 520px) {
  .topo .btn--sm { display: none; }
  .passos { grid-template-columns: 1fr; }
  .hero__acoes .btn { width: 100%; justify-content: center; padding: .95em 1em; }
  .marca span { font-size: 1.05rem; }
  .carimbo { font-size: 1rem; right: 0; }
}
@media (max-width: 400px) {
  .carimbo { font-size: .8rem; letter-spacing: .08em; padding: 2px 8px; border-width: 2px; right: -4px; top: -8px; }
  .dossie__aba { font-size: .8125rem; padding: 7px 14px 5px; }
  .hero__acoes .btn { font-size: .9375rem; gap: .45em; }
}
