/*
 * Lágrimas Produções Culturais — folha de estilo principal
 * Refatorada em 23/10/2026 (regras sem uso removidas, redundâncias fundidas, formatação legível),
 * com prova de diferença visual zero em 13 páginas × 2 larguras e 9 estados interativos.
 *
 * Regras de manutenção (verificadas pelos hooks e por `python3 _ferramentas/site.py verificar`):
 *  - Cores: só variáveis do :root abaixo (paleta A). Exceção: verde #075E54 do WhatsApp.
 *  - Espaços e tamanhos de texto novos: var(--esp-*) / var(--txt-*) ou valores da escala.
 *  - Sem novos !important (os que restam são legados ou de prefers-reduced-motion).
 *  - Toda mudança visual é conferida com `python3 _ferramentas/site.py qa` contra _qa/baseline/.
 */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-500.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600.woff2) format("woff2");
}
:root {
  --ink: #1b1f2a;
  --muted: #5a6070;
  --deep: #16213e;
  --deep-2: #0f1830;
  --accent: #a84c26;
  --accent-light: #e8a07a;
  --paper: #fff;
  --soft: #f4eee6;
  --line: #e2dcd3;
  --line-dark: #2e3a57;
  --on-dark: #e9e4dc;
  --sans: "Inter", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --edge: max(1.25rem, calc((100% - 1160px) / 2));
  --accent-hover: #943f1c;
  --line-strong: #d9cfc2;
  --field-border: #8a8f99;
  --shadow-card: #16213e14;
  /* escala de espaçamento (use nos novos estilos) */
  --esp-1: 0.25rem;
  --esp-2: 0.5rem;
  --esp-3: 0.75rem;
  --esp-4: 1rem;
  --esp-5: 1.5rem;
  --esp-6: 2rem;
  --esp-7: 3rem;
  --esp-8: 4rem;
  --esp-9: 5rem;
  /* escala tipográfica */
  --txt-xs: 0.8125rem;
  --txt-sm: 0.875rem;
  --txt-base: 1rem;
  --txt-md: 1.125rem;
  --txt-lg: 1.25rem;
  --txt-xl: 1.5rem;
  --txt-2xl: 2rem;
  --txt-3xl: clamp(1.875rem, 2.7vw, 2.5rem);
  --txt-4xl: clamp(2.25rem, 3.6vw, 3.5rem);
}
* {
  box-sizing: border-box;
  min-width: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}
body {
  margin: 0;
  font: 400 1rem/1.7 var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 500;
}
p {
  max-width: 70ch;
}
.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  background: #fff;
  padding: 1rem;
  z-index: 100;
}
.skip-link:focus {
  top: 1rem;
}
.brand,
.site-header {
  display: flex;
  align-items: center;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem var(--edge);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 249, 0.97);
  box-shadow: 0 6px 20px rgba(24, 32, 25, 0.06);
  backdrop-filter: blur(12px);
}
.brand {
  gap: 0.85rem;
  font: 500 1.7rem/1.15 var(--serif);
}
.brand small {
  display: block;
  font: 600 0.85rem/1.45 var(--sans);
  margin-top: 0.18rem;
  letter-spacing: 0.01em;
  font-size: 0.8rem;
}
.brand-logo {
  object-fit: contain;
  flex-shrink: 0;
}
.menu-toggle {
  background: 0 0;
  border: 1px solid var(--line);
  padding: 0.65rem 1rem;
  min-height: 46px;
  font-size: 1rem;
}
.site-header nav {
  display: none;
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
.metrics article,
.site-header nav.open {
  display: flex;
  flex-direction: column;
}
.site-header nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0.3rem;
  min-height: 46px;
}
.site-header nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  display: grid;
  align-items: center;
  padding: 3.5rem var(--edge);
}
.eyebrow,
.kicker {
  font-size: 0.875rem;
  line-height: 1.5;
}
.eyebrow,
.kicker,
.section-label {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.025em;
}
.hero h1 {
  font: 500 clamp(2.25rem, 3.6vw, 3.5rem)/1.15 var(--serif);
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
}
.lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.primary {
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: var(--accent);
}
.site-header nav .nav-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.site-header nav .nav-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}
.text-link {
  font-size: 0.9375rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--accent);
}
.text-link span {
  margin-left: 0.5rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 var(--edge);
  background: var(--ink);
  color: #fff;
}
.metrics article {
  gap: 0.5rem;
  padding: 1.5rem 1rem 1.5rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.metrics article:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--line-dark);
}
.metrics strong {
  font: 500 clamp(1.5rem, 2.2vw, 2rem)/1.25 var(--serif);
}
.metrics span {
  font-size: 0.875rem;
  line-height: 1.6;
}
.section {
  padding: 3.75rem var(--edge);
}
.section-label {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.section-label span {
  color: var(--muted);
  padding-right: 0.75rem;
  border-right: 1px solid var(--line);
}
.section h2 {
  font: 500 clamp(1.875rem, 2.7vw, 2.5rem)/1.22 var(--serif);
  margin: 0.6rem 0 1.25rem;
}
.intro {
  display: grid;
  gap: 1.5rem;
}
.intro .section-label {
  margin-bottom: 0.5rem;
}
.intro-text,
.principles p {
  color: var(--muted);
}
.intro-text p + p,
.principles {
  margin-top: 1rem;
}
.principles {
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.principles article {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
}
.principles span {
  color: var(--accent);
  font-size: 0.8125rem;
  padding-top: 0.25rem;
}
.principles h3 {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
}
.principles p {
  grid-column: 2;
}
.services {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.services-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.services-head h2 {
  margin: 0;
}
.services-head > p:last-child {
  color: var(--muted);
  max-width: 55ch;
}
.service-grid {
  display: grid;
  gap: 1.25rem;
}
.card-index,
.service-card {
  border: 1px solid var(--line);
}
.service-card {
  padding: 1.5rem;
  background: var(--paper);
}
.card-index {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font: 500 1.5rem/1.3 var(--serif);
  margin: 0.75rem 0 1rem;
}
.contact-copy > p:not(.kicker),
.service-card > p:not(.eyebrow) {
  color: var(--muted);
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.service-card li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.service-card li:before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.method {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  counter-reset: step;
}
.method span {
  display: none;
}
.method p {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.method p:before {
  counter-increment: step;
  content: "0" counter(step);
  color: var(--accent);
  font-size: 0.8125rem;
}
.contact,
.method,
.portfolio-head {
  display: grid;
}
.portfolio-head > p {
  color: var(--muted);
}
.contact {
  gap: 2rem;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.contact .section-label {
  margin-bottom: 0;
}
.company-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}
.company-data a {
  max-width: 100%;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-form {
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
footer,
label {
  font-size: 0.875rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
input,
select,
textarea {
  max-width: 100%;
  border: 1px solid var(--field-border);
  background: #fff;
  padding: 0.75rem;
  border-radius: 2px;
  font-size: 1rem;
  color: var(--ink);
}
input,
select {
  width: 100%;
  min-height: 48px;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
}
.consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
}
.form-status {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.contact-form .button,
textarea {
  width: 100%;
}
footer {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem var(--edge) 1.5rem;
  background: var(--ink);
}
.footer-brand {
  display: flex;
}
.footer-logo {
  object-fit: contain;
}
.footer-brand strong {
  font: 500 1.375rem/1.3 var(--serif);
  color: #fff;
}
footer > div:nth-of-type(2) p + p {
  margin-top: 0.35rem;
}
footer > div:nth-of-type(3) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
footer a:hover {
  text-decoration: underline;
  color: #fff;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
}
.footer-bottom button {
  background: 0 0;
  border: 0;
  color: inherit;
  padding: 0;
  min-height: 44px;
  text-align: left;
}
.reveal {
  opacity: 1;
  transform: none;
}
@media (min-width: 768px) {
  :root {
    --edge: max(2rem, calc((100% - 1160px) / 2));
  }
  .hero {
    padding-block: 4rem;
  }
  .section {
    padding-block: 4.5rem;
  }
  .principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .principles article {
    display: block;
  }
  .principles h3 {
    margin: 0.5rem 0;
  }
  .contact-form {
    padding: 2rem;
  }
  .method {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .site-header {
    flex-wrap: nowrap;
    padding-block: 1.1rem;
  }
  .menu-toggle {
    display: none;
  }
  .site-header nav,
  .site-header nav.open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.65rem;
    flex-basis: auto;
    border: 0;
    padding: 0;
  }
  .site-header nav .nav-cta {
    padding: 0.7rem 1.1rem;
    min-height: 46px;
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  .site-header nav .nav-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    text-decoration: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.85fr);
    gap: 4rem;
    padding-block: 3.5rem;
    align-items: stretch;
  }
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .metrics article,
  .metrics article:nth-child(even) {
    padding: 1.75rem 1.5rem;
    border: 0;
    border-right: 1px solid var(--line-dark);
  }
  .metrics article:first-child {
    padding-left: 0;
  }
  .metrics article:last-child {
    border: 0;
  }
  .intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4rem;
    row-gap: 2rem;
  }
  .intro .section-label,
  .principles {
    grid-column: 1/-1;
  }
  .principles {
    margin-top: 0;
  }
  .services-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4rem;
  }
  .services-head .kicker,
  .services-head h2 {
    grid-column: 1;
  }
  .services-head > p:last-child {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .service-card {
    padding: 2rem;
  }
  .contact,
  .portfolio-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-head {
    gap: 4rem;
    align-items: center;
  }
  .portfolio-head h2 {
    margin-bottom: 0;
  }
  .contact {
    column-gap: 4rem;
  }
  .contact .section-label {
    grid-column: 1/-1;
  }
  .contact h2 {
    max-width: 20ch;
  }
  footer {
    grid-template-columns: 1.1fr 0.8fr 1.6fr 0.65fr;
    gap: 2rem;
  }
  footer > div:nth-of-type(3) {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-bottom {
    justify-content: space-between;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.work-process {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.work-process > h3 {
  font: 500 1.5rem/1.35 var(--serif);
  margin: 0 0 0.75rem;
}
.process-intro {
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.process-path {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0;
}
.process-path li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
}
.process-path li:not(:last-child):before {
  content: "";
  position: absolute;
  top: 3rem;
  bottom: 0;
  left: 1.4375rem;
  border-left: 2px solid var(--line-strong);
}
.process-node {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--deep);
  border-radius: 50%;
  background: var(--paper);
  color: var(--deep);
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.work-process h3.process-step__title {
  margin: 0 0 0.4rem;
}
.process-monitor p,
.process-path p {
  color: var(--muted);
  line-height: 1.65;
}
.process-monitor p {
  font-size: 1rem;
}
.process-monitor {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .process-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
  .process-path li {
    display: block;
    padding-bottom: 1.75rem;
  }
  .process-path li:not(:last-child):before {
    top: 1.4375rem;
    left: 3rem;
    right: -2rem;
    bottom: auto;
    border-left: 0;
    border-top: 2px solid var(--line-strong);
  }
  .process-node {
    margin-bottom: 1.25rem;
  }
  .process-monitor {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .site-header {
    padding-block: 0.5rem;
  }
  .brand-logo {
    width: 72px;
    height: 78px;
  }
}
@media (min-width: 1024px) {
  .intro {
    padding-top: 2.25rem;
  }
}
.section {
  padding-top: 2rem;
}
.intro {
  padding-top: 1.5rem;
}
.section-label {
  line-height: 1.5;
}
.section-label span {
  font-size: 0.875rem;
}
.footer-brand p {
  margin: 0;
  padding: 0.15rem 0;
}
.footer-brand p span {
  font-weight: 500;
}
@media (max-width: 767px) {
  .footer-brand {
    max-width: 315px;
    gap: 0.9rem;
  }
  .footer-logo {
    width: 82px;
    height: 90px;
    flex-basis: 82px;
  }
  .footer-brand p {
    height: 90px;
  }
  .footer-brand strong {
    font-size: 2rem;
  }
  .footer-brand p span {
    font-size: 1rem;
  }
}
.intro,
.section {
  padding-block: 4rem;
}
.intro h2,
.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.25;
  max-width: 28ch;
  font-weight: 600;
}
.section-label {
  margin-bottom: 1.4rem;
  font-size: 0.9375rem;
}
.brand {
  font-size: 1.5rem;
}
.brand-logo {
  width: 54px;
  height: 58px;
}
.site-header {
  background: #fff;
  padding-block: 0.6rem;
  backdrop-filter: none;
}
.hero {
  background: var(--deep);
  color: #fff;
  padding-block: 4rem;
  gap: 3rem;
}
.hero .eyebrow,
.hero h1 em,
.metrics strong {
  color: var(--accent-light);
}
.hero .lead,
.metrics span {
  color: var(--on-dark);
}
.hero .primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero .primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.hero .text-link {
  border-color: var(--accent-light);
  color: #fff;
}
.metrics {
  background: var(--deep-2);
}
.metrics article {
  border-color: var(--line-dark) !important;
}
.metrics strong {
  font-size: 1.6rem;
  font-weight: 500;
}
.contact-form,
.service-card {
  border-radius: 8px;
}
.service-card h3 {
  font-weight: 600;
  font-size: 1.25rem;
}
.contact {
  background: #fff;
}
.process-path {
  gap: 1rem;
}
.process-path li {
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 0 0 1.5rem;
}
.process-path li.is-visible .process-node {
  background: var(--deep);
  color: #fff;
}
.process-node {
  transition:
    background 0.4s,
    color 0.4s;
}
.process-path p {
  font-size: 0.9375rem;
}
.contact:target {
  scroll-margin-top: 1rem;
}
footer {
  background: var(--deep);
  color: var(--on-dark);
  align-items: start;
}
footer > div,
footer > p {
  min-width: 0;
}
.footer-brand {
  align-items: center;
  align-self: start;
  gap: 0.7rem;
  width: 100%;
  max-width: 270px;
}
.footer-logo {
  width: 58px;
  height: 64px;
  flex: 0 0 58px;
}
.footer-brand p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  height: auto;
  padding: 0;
}
.footer-brand strong {
  font-size: 1.3rem;
  line-height: 1.2;
}
.footer-brand p span {
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: normal;
}
.footer-bottom {
  border-color: var(--line-dark);
}
footer a,
footer button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-bottom a {
  padding-block: 0.5rem;
}
@media (min-width: 768px) {
  .hero,
  .intro,
  .section {
    padding-block: 5rem;
  }
}
@media (min-width: 1024px) {
  .site-header nav,
  .site-header nav.open {
    gap: 1rem;
  }
  .site-header nav a {
    font-size: 0.875rem;
  }
  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }
  .hero-copy {
    grid-column: span 8;
  }
  .process-path {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .process-path li:not(:last-child):before {
    right: -1.25rem;
    border-color: var(--line-strong);
  }
  .footer-brand strong {
    font-size: 1.35rem;
  }
  footer {
    grid-template-columns: 1.15fr 0.8fr 1.6fr 0.55fr;
    gap: 1.5rem;
  }
  .footer-logo {
    width: 58px;
    height: 64px;
    flex-basis: 58px;
  }
}
@media (max-width: 1023px) {
  .site-header nav.open {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: #fff;
    padding: 6rem 1.5rem 2rem;
    overflow: auto;
    border: 0;
    gap: 0.5rem;
    justify-content: flex-start;
  }
  .site-header nav.open a {
    font-size: 1.25rem;
    min-height: 56px;
  }
  .menu-toggle {
    z-index: 70;
    position: relative;
  }
  .site-header:has(nav.open) {
    position: fixed;
    left: 0;
    right: 0;
  }
  .menu-open {
    overflow: hidden;
  }
}
@media (max-width: 359px) {
  .brand {
    font-size: 1.2rem;
    gap: 0.4rem;
  }
  .brand small {
    font-size: 0.7rem;
  }
  .brand-logo {
    width: 43px;
    height: 47px;
  }
  .menu-toggle {
    padding: 0.5rem;
  }
  .footer-brand {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :after,
  :before {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1023px) {
  .site-header nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    background: #fff;
    padding: 6rem 1.5rem 2rem;
    overflow: auto;
    border: 0;
    gap: 0.5rem;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      transform 0.25s ease,
      visibility 0.25s;
  }
  .site-header nav.open {
    visibility: visible;
    transform: translateX(0);
  }
  .site-header nav a {
    font-size: 1.25rem;
    min-height: 56px;
  }
}
.btn-whatsapp {
  background: #075e54;
  color: #fff;
  border-color: #075e54;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none !important;
}
.btn-whatsapp:hover {
  background: #064d45;
}
.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 4px 18px #0002;
  border-radius: 1.5rem;
  max-width: calc(100vw - 2rem);
}
footer {
  padding-bottom: 7rem;
}
.internal-page {
  min-height: 65vh;
  max-width: 100%;
}
.internal-page > nav {
  margin-bottom: 2rem;
}
.internal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.internal-page > h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}
.internal-page > p {
  margin-bottom: 1rem;
}
.consent a,
.internal-page a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.internal-page .contact {
  padding-inline: 0;
}
.internal-page > .button {
  margin-top: 2rem;
}
.contact-copy > .button {
  margin: 1.5rem 0;
}
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
#context-hint {
  margin-bottom: 1rem;
}
.form-status {
  min-height: 2rem;
}
#context-hint,
.site-header nav .btn-whatsapp {
  font-size: 0.875rem;
}
.site-header nav {
  gap: 0.65rem !important;
}
@media (min-width: 1024px) {
  .site-header nav a {
    font-size: 0.8125rem !important;
  }
  .brand {
    font-size: 1.25rem;
  }
  .brand small {
    font-size: 0.75rem;
  }
  .site-header nav .button {
    padding: 0.65rem 0.75rem;
  }
}
@media (max-width: 1023px) {
  .site-header {
    gap: 0.5rem;
  }
  .brand {
    font-size: 1.2rem;
  }
  .brand small {
    font-size: 0.68rem;
  }
  .brand-logo {
    width: 42px;
    height: 46px;
  }
}
.privacy-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.6;
}
.privacy-table td,
.privacy-table th {
  padding: 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-strong);
  min-width: 9rem;
  overflow-wrap: anywhere;
}
.privacy-table th {
  background: var(--soft);
  color: var(--deep);
}
.privacy-table-wrap:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}
.footer-logo {
  background: 0 0;
}
.work-process {
  text-align: center;
  margin-inline: auto;
  width: 100%;
  max-width: 1160px;
}
.process-intro,
.work-process > h3 {
  margin-inline: auto;
  max-width: 65ch;
}
.process-path {
  padding: 0;
  margin: 2rem auto;
  justify-content: center;
}
.process-path li:not(:last-child):before {
  display: none;
}
.process-node {
  margin: 0 auto;
  flex-shrink: 0;
}
.process-path p {
  margin-inline: auto;
  max-width: 26ch;
}
.process-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0;
}
.monitor-symbol {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  font-size: 4rem;
  line-height: 1;
  color: var(--deep);
  flex: none;
}
.process-monitor p {
  max-width: 70ch;
  margin: auto;
}
@media (min-width: 768px) {
  .process-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-path li:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .process-monitor {
    flex-direction: row;
    text-align: left;
  }
  .process-monitor p {
    margin: 0;
  }
}
@media (min-width: 1024px) {
  .process-path {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .process-path li:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .process-path li:not(:last-child):before {
    display: block;
    top: 1.4rem;
    left: calc(50% + 1.6rem);
    right: calc(-50% - 1.25rem + 1.6rem);
    border-top: 2px solid var(--line-strong);
    border-left: 0;
  }
}
.portfolio-head {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.portfolio-head h2 {
  margin-bottom: 0;
}
.portfolio-head > p {
  max-width: 75ch;
  margin: 0;
}
.brand-logo,
.footer-logo {
  image-rendering: auto;
}
.hero {
  display: block;
}
.hero-copy {
  max-width: 760px;
  grid-column: auto;
}
.hero h1 {
  max-width: none;
}
.metrics strong {
  color: #fff;
}
.metrics__founder strong {
  color: var(--accent-light);
}
.information__card.is-closed {
  background: var(--soft);
  border-style: dashed;
}
.information__card.is-closed h3,
.information__card.is-closed > p:not(.information__status) {
  color: var(--muted);
}
.information__card.is-closed .information__status {
  color: var(--accent);
}
.pfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pfilters[hidden] {
  display: none;
}
.pfilter {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 500 0.9375rem/1.2 var(--sans);
  cursor: pointer;
}
.pfilter:hover {
  border-color: var(--deep);
}
.pfilter[aria-pressed="true"] {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}
.pfilter:focus-visible,
.service-more summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.pgrid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
}
.pfilters:not([hidden]) + .pgrid {
  margin-top: 0;
}
@media (min-width: 640px) {
  .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .pgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pcard[hidden] {
  display: none;
}
.pcard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.pcard__link:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px var(--shadow-card);
}
.pcard__link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.pcard__meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--accent);
}
.pcard__title {
  margin: 0;
  line-height: 1.3;
}
.pcard__desc,
.pcard__role {
  margin: 0;
  color: var(--muted);
}
.pcard__desc {
  flex: 1;
}
.pcard__role {
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.portfolio-more {
  margin: 1.75rem 0 0;
}
.portfolio-page__intro {
  max-width: 70ch;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.portfolio-page__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0 0 1rem;
  padding: 0.25rem 0;
  border-block: 1px solid var(--line);
}
.pfull__links a,
.portfolio-page__toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent);
}
.pfull-group {
  margin-top: 3rem;
  scroll-margin-top: 7rem;
}
.pfull-group h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  margin: 0.25rem 0 0.5rem;
}
.pfull-group__intro {
  max-width: 70ch;
  color: var(--muted);
  margin: 0 0 1rem;
}
.pfull {
  max-width: 820px;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 7rem;
}
.pfull:target {
  background: var(--soft);
  padding-inline: 1rem;
  margin-inline: -1rem;
}
.pfull h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}
.pfull__meta,
.service-more summary {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--accent);
}
.pfull__meta {
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
}
.pfull__status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--soft);
  color: var(--deep);
  font-size: 0.8125rem;
}
.pfull__role {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.pfull__timeline {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-weight: 500;
}
.pfull__desc p {
  margin: 0 0 0.5rem;
}
.pfull__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
}
.pfull-sub {
  margin-top: 1.5rem;
}
.pfull-sub__title {
  margin: 0;
  padding-top: 1rem;
  font: 600 1rem/1.4 var(--sans);
  color: var(--muted);
}
.pcard__link {
  gap: 0.4rem;
  padding: 1.1rem 1.2rem;
}
.pcard__title {
  font-size: 1.125rem;
}
.pcard__desc {
  font-size: 0.9rem;
  line-height: 1.5;
}
.pcard__role {
  padding-top: 0.6rem;
}
.pgrid {
  gap: 0.875rem;
}
.pfilters {
  margin: 1.5rem 0 1rem;
}
.hero h1,
.section h2 {
  letter-spacing: -0.01em;
}
.como,
.portfolio {
  background: var(--paper);
}
.quem {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.service-more {
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.service-more summary {
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.service-more summary::-webkit-details-marker {
  display: none;
}
.service-more summary:after {
  content: "+";
  margin-left: 0.5rem;
  font-size: 1.1rem;
}
.service-more[open] summary:after {
  content: "−";
}
.service-more ul {
  margin-top: 0;
}
.como .work-process {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.como .work-process > h2 {
  margin-inline: auto;
  max-width: 30ch;
}
.quem__grid {
  display: grid;
  gap: 2rem;
}
.quem__text h2 {
  margin-top: 0.4rem;
}
.quem__text > p:not(.kicker) {
  max-width: 68ch;
  color: var(--ink);
}
.quem__text > p + p {
  margin-top: 1rem;
}
.quem__edu {
  color: var(--muted) !important;
  font-size: 0.9375rem;
}
.quem__more {
  margin-top: 1.5rem !important;
}
.quem__timeline ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--line);
}
.quem__timeline li {
  position: relative;
  padding: 0.6rem 0 0.9rem;
}
.quem__timeline li:before {
  content: "";
  position: absolute;
  left: calc(-1.25rem - 6px);
  top: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--deep);
}
.quem__timeline li.is-current:before {
  background: var(--accent);
  border-color: var(--accent);
}
.quem__year {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.quem__timeline li span + span {
  display: block;
  font: 500 1.125rem/1.35 var(--serif);
  color: var(--ink);
}
@media (min-width: 1024px) {
  .quem__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
  .quem__timeline {
    padding-top: 3.25rem;
  }
}
.para-empresas {
  background: var(--deep);
  color: #fff;
  position: relative;
}
.para-empresas .kicker,
.para-empresas .section-label {
  color: var(--accent-light);
}
.para-empresas .section-label span {
  color: var(--on-dark);
  border-color: var(--line-dark);
}
.para-empresas h2 {
  color: #fff;
}
.pe__head > p:last-child {
  max-width: 68ch;
  color: var(--on-dark);
}
.pe__pillars {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.pe__pillars li {
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}
.pe__pillars strong {
  display: block;
  font: 500 1.25rem/1.3 var(--serif);
  color: #fff;
  margin-bottom: 0.4rem;
}
.pe__pillars span {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-dark);
}
@media (min-width: 768px) {
  .pe__pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}
.para-empresas .primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.para-empresas .primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.para-empresas .primary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.anchor-alias {
  position: absolute;
  top: 0;
}
.work-process h3.process-step__title {
  font: 600 1.0625rem/1.5 var(--sans);
}
.process-path h3.process-step__title {
  font-size: 1rem;
  margin-inline: auto;
  max-width: 26ch;
}
.process-monitor h3.process-step__title {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}

/* Links para as páginas de cada lei na seção Para empresas (10/11/2026) */
.pe__leis {
  list-style: none;
  margin: 0 0 var(--esp-6);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--esp-3) var(--esp-6);
}
.pe__leis a {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  display: inline-block;
  padding: var(--esp-2) 0;
  min-height: 44px;
}
.pe__leis a:hover,
.pe__leis a:focus-visible {
  color: var(--accent-light);
}

/* Chamada para pessoa física na seção Para empresas (10/11/2026) */
.pe__pf {
  margin-top: var(--esp-5);
  color: var(--on-dark);
}
.pe__pf {
  max-width: none;
}
.pe__pf a {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding: var(--esp-3) 0;
}
.pe__pf a:hover,
.pe__pf a:focus-visible {
  color: var(--accent-light);
}

