/* ==========================================================================
   Lauthart Advogados Associados — Landing page
   Tokens extraídos do Manual de Identidade Visual (Figma, versão aprovada)
   ========================================================================== */

/* ---------- Tipografia da marca ----------
   Larken: primária (títulos e destaques) · Jost: secundária (textos e apoio)
   PENDENTE: confirmar licença de uso web da Larken antes da publicação. */
@font-face { font-family: "Larken"; src: url("assets/fonts/Larken-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Larken"; src: url("assets/fonts/Larken-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Larken"; src: url("assets/fonts/Larken-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/Jost-300.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/Jost-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/Jost-500.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Primitivos — paleta institucional */
  --vinho: #4E0C24;      /* Primária · fundos e grandes áreas */
  --bordo: #80071C;      /* Primária · símbolo e destaques */
  --creme: #F6F1E7;      /* Base · papel e respiro */
  --grafite: #1E1E1E;    /* Apoio · texto e contraste */
  --branco: #FFFFFF;
  --creme-claro: #FBFAF6;

  /* Semânticos */
  --bg: var(--creme);
  --ink: var(--grafite);
  --ink-soft: rgb(30 30 30 / 0.74);
  --accent: var(--bordo);
  --rule: rgb(30 30 30 / 0.14);
  --rule-dark: rgb(246 241 231 / 0.18);

  --font-display: "Larken", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  /* Escala fluida */
  --fs-label: 0.75rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-d2: clamp(2.125rem, 1.6rem + 2.4vw, 3.75rem);
  --fs-d1: clamp(2.5rem, 1.7rem + 3.6vw, 5rem);
  --fs-hero: clamp(2.5rem, 1.6rem + 3.3vw, 4.875rem);

  --container: 1320px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 6rem);
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Textura de papel sutil */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .section-areas :focus-visible, .site-footer :focus-visible, .menu-mobile :focus-visible { outline-color: var(--creme); }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--vinho); color: var(--creme); padding: 0.75rem 1.25rem;
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografia ---------- */
.footer-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.display-1, .display-2, .hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
.display-1 { font-size: var(--fs-d1); }
.display-2 { font-size: var(--fs-d2); line-height: 1.08; }
.display-1 em, .display-2 em, .hero-title em { color: var(--accent); font-weight: 400; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
p { text-wrap: pretty; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn-primary { --btn-bg: var(--bordo); --btn-fg: var(--creme); --btn-bd: var(--bordo); }
.btn-ghost { --btn-fg: var(--bordo); --btn-bd: rgb(128 7 28 / 0.45); }
.btn-light { --btn-bg: var(--creme); --btn-fg: var(--vinho); --btn-bd: var(--creme); }
.btn-lg { min-height: 58px; padding-inline: 2.2rem; font-size: 0.875rem; }
@media (hover: hover) {
  .btn-primary:hover { --btn-bg: var(--vinho); --btn-bd: var(--vinho); }
  .btn-ghost:hover { --btn-bg: var(--bordo); --btn-fg: var(--creme); --btn-bd: var(--bordo); }
  .btn-light:hover { --btn-bg: transparent; --btn-fg: var(--creme); }
  .btn:hover svg { transform: translate(2px, -2px); }
}

.text-link {
  color: var(--bordo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(128 7 28 / 0.4);
  transition: text-decoration-color 0.3s;
}
.text-link:hover { text-decoration-color: currentColor; }

/* Campo pendente: visível e identificável, nunca apresentado como fato */
.pending {
  display: inline-block;
  padding: 0.1em 0.5em;
  border: 1px dashed currentColor;
  border-radius: 4px;
  font-size: 0.9em;
  opacity: 0.8;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: transform 0.5s var(--ease), background-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: rgb(246 241 231 / 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { flex: none; display: block; }
.brand img { width: 168px; height: auto; }   /* acima da redução máxima (140 px) */

.nav { margin-left: auto; }
.nav-list { display: flex; gap: clamp(1.25rem, 2.2vw, 2.5rem); }
.nav-list a {
  position: relative;
  font-size: 0.8125rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  white-space: nowrap;
  padding-block: 0.5rem;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem;
  height: 1px; background: var(--bordo);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 42px; padding-inline: 1.25rem; font-size: 0.75rem; }

.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center; gap: 0.75rem;
  min-height: 44px; padding: 0 0.25rem 0 0.75rem;
  background: none; border: 0; color: var(--ink);
  font: 500 0.75rem/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle-icon { position: relative; width: 26px; height: 12px; }
.menu-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle-icon span:first-child { top: 0; }
.menu-toggle-icon span:last-child { top: 11px; }
.menu-toggle[aria-expanded="true"] { color: var(--creme); position: relative; z-index: 2; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { top: 5.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { top: 5.5px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 1;
  background: var(--vinho); color: var(--creme);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column; gap: 2.5rem;
  overflow-y: auto;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile li + li { border-top: 1px solid var(--rule-dark); }
.menu-mobile nav a {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding-block: 1.1rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.1;
  text-decoration: none;
}
.menu-mobile nav a span { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.16em; opacity: 0.6; width: 1.75rem; }
.menu-mobile .btn { align-self: flex-start; }
.menu-mobile-mark { margin-top: auto; width: 96px; opacity: 0.9; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.brand { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 4rem));
  overflow: hidden;
  isolation: isolate;
}
/* Padrão tipográfico tom sobre tom (Universo visual), atrás do monograma */
.hero-word {
  position: absolute; z-index: -1;
  left: 0; right: 0; bottom: 0.04em;
  display: flex; justify-content: center;   /* centraliza mesmo transbordando a tela */
  will-change: transform;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(7rem, 22vw, 26rem);
  line-height: 0.8; letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.6);
  white-space: nowrap;
  user-select: none;
}
/* Composição central: título, texto e botões alinhados ao eixo; o lacre
   fecha a composição, com LAUTHART tom sobre tom ao fundo */
.hero-grid {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero-copy { position: relative; z-index: 1; max-width: 58rem; display: flex; flex-direction: column; align-items: center; }
.hero-mark { margin-top: clamp(2rem, 5vh, 4rem); padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.hero-seal {
  will-change: transform;
  width: clamp(9rem, min(17vw, 26svh), 16rem);
  filter: drop-shadow(0 18px 28px rgb(78 12 36 / 0.18)) drop-shadow(0 4px 8px rgb(78 12 36 / 0.12));
}
.hero-title { font-size: var(--fs-hero); }
.hero-lead { margin-top: 1.75rem; max-width: 40rem; font-size: var(--fs-lead); color: var(--ink-soft); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; }



/* ---------- Seções ---------- */
.section { position: relative; padding-block: var(--section-y); }

.numeral {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.125rem; color: var(--accent);
}

/* Escritório */
.office-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem); align-items: start;
}
.office-text { display: grid; gap: 1.5rem; padding-top: 0.6rem; }
.office-text p:not(.lead) { color: var(--ink-soft); max-width: 34rem; }

.values {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}
.values li { display: flex; flex-direction: column; align-items: flex-start; }
/* Ícones no estilo do manual (Aplicações digitais): traço creme fino sobre círculo vinho */
.value-badge {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--vinho);
  box-shadow: 0 0 0 6px rgb(78 12 36 / 0.07);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.value-icon {
  width: 26px; height: 26px;
  fill: none; stroke: var(--creme); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: hover) { .values li:hover .value-badge { background: var(--bordo); transform: translateY(-3px); } }
.values h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-h3); line-height: 1.15; margin-top: 1.5rem; }
.values p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.9375rem; }

/* Sobre */
.section-about { background: var(--creme-claro); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 8rem); align-items: center;
}
.about-photo { position: relative; margin: 0; }
/* Filete bordô deslocado: moldura discreta, como um passe-partout */
.about-photo::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(clamp(12px, 1.6vw, 24px), clamp(12px, 1.6vw, 24px));
  border: 1px solid rgb(128 7 28 / 0.45);
  border-radius: 2px;
  pointer-events: none;
}
.about-photo img {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 2px;
}
.about-role {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bordo);
}
.about-role span { padding-inline: 0.35em; }
.about-copy .display-1 { margin-top: 1rem; }
.about-copy .lead { margin-top: 2rem; max-width: 38rem; }
.about-text { display: grid; gap: 1.1rem; margin-top: 1.75rem; max-width: 36rem; color: var(--ink-soft); }

/* Áreas */
.section-areas { background: var(--vinho); color: var(--creme); overflow: hidden; isolation: isolate; }
.section-areas .display-2 em { color: inherit; }
.pattern {
  position: absolute; inset: 0; z-index: -1;
  background-color: var(--bordo);
  opacity: 0.32;
  -webkit-mask: url("assets/brand/simbolo-mask.svg") 0 0 / 64px auto space;
  mask: url("assets/brand/simbolo-mask.svg") 0 0 / 64px auto space;
}
.section-areas::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 50% 40%, var(--vinho) 35%, rgb(78 12 36 / 0.6) 75%, rgb(78 12 36 / 0.2));
}
.areas-intro {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 6rem); align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.areas-intro p { color: rgb(246 241 231 / 0.82); max-width: 30rem; }

.areas-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
  border-radius: 20px;
  overflow: hidden;
}
.area-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 20rem;
  padding: clamp(1.75rem, 2.4vw, 2.5rem);
  background: var(--vinho);
  transition: background-color 0.5s var(--ease);
}
.area-card .numeral { color: var(--creme); opacity: 0.7; }
.area-card h3 {
  margin-top: auto; padding-top: 3rem;
  font-family: var(--font-display); font-weight: 300; font-size: var(--fs-h3); line-height: 1.12;
}
.area-card p { margin-top: 1rem; color: rgb(246 241 231 / 0.82); font-size: 0.9875rem; }
@media (hover: hover) { .area-card:hover { background: var(--bordo); } }
.note { margin-top: 2rem; font-size: 0.875rem; color: var(--ink-soft); }
.note.on-dark { color: rgb(246 241 231 / 0.72); }

/* Abordagem */
.approach-title { max-width: 18ch; }
/* O caminho: trilha pontilhada + traço bordô desenhado ao rolar, com um marcador
   que percorre a linha e "acende" cada etapa ao chegar nela */
.steps-wrap { position: relative; margin-top: clamp(4rem, 8vw, 7rem); }
.steps-path {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.steps-path-track { fill: none; stroke: rgb(30 30 30 / 0.28); stroke-width: 1.25; stroke-dasharray: 1 7; stroke-linecap: round; }
.steps-path-line { fill: none; stroke: var(--bordo); stroke-width: 1.5; stroke-linecap: round; }
.steps-marker {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bordo);
  box-shadow: 0 0 0 6px rgb(128 7 28 / 0.14), 0 6px 16px rgb(78 12 36 / 0.28);
  visibility: hidden;   /* só aparece quando o GSAP o anima */
  pointer-events: none;
}
.steps {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.step { position: relative; padding-top: 2.75rem; }
/* Ponto de cada etapa: o centro fica sobre a trilha. Estado padrão = ativo (sem JS / movimento reduzido) */
.step-node {
  position: absolute; top: -7px; left: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bordo);
  border: 1.5px solid var(--bordo);
  box-shadow: 0 0 0 6px rgb(128 7 28 / 0.12);
}
.step-num {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1;
  color: var(--bordo);
}
.step h3 { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; }
.step p { margin-top: 0.75rem; color: var(--ink-soft); max-width: 22rem; }

/* Experiência e abrangência */
.section-reach {
  background: var(--bordo); color: var(--creme);
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
  overflow: hidden; isolation: isolate;
}
.section-reach::before {
  content: ""; position: absolute; z-index: -1;
  right: -6%; top: 50%; width: min(60vw, 46rem); aspect-ratio: 195 / 156;
  transform: translateY(-50%);
  background: var(--vinho); opacity: 0.45;
  -webkit-mask: url("assets/brand/simbolo-mask.svg") center / contain no-repeat;
  mask: url("assets/brand/simbolo-mask.svg") center / contain no-repeat;
}
.reach-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.reach-divider { width: 1px; align-self: stretch; background: var(--rule-dark); }
.reach-figure {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(4.5rem, 3rem + 7vw, 10rem); line-height: 0.9; letter-spacing: -0.03em;
}
.reach-figure-word { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.reach-plus { font-size: 0.5em; vertical-align: 0.6em; margin-right: 0.08em; opacity: 0.8; }
.reach-caption {
  margin-top: 1.25rem;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgb(246 241 231 / 0.88);
}

/* Contato */
.section-contact { background: var(--creme-claro); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.contact-copy .display-1 { max-width: 14ch; }
.contact-copy .lead { margin-top: 2rem; max-width: 34rem; color: var(--ink-soft); }
.contact-actions { margin-top: 2.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.contact-seal { display: flex; justify-content: center; }
.contact-seal img { width: min(100%, 20rem); }
.contact-details {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start;
  gap: 1.5rem clamp(2rem, 4vw, 4rem);
  margin: 2.75rem 0 0;
}
.contact-details dt {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bordo);
}
.contact-details dd { margin: 0.6rem 0 0; line-height: 1.7; }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.3s, color 0.3s; }
.contact-details a:hover { color: var(--bordo); border-color: currentColor; }
.footer-address { font-style: normal; line-height: 1.6; }
.fine-print { margin-top: 2rem; max-width: 34rem; font-size: 0.875rem; color: var(--ink-soft); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.faq-list { border-top: 1px solid var(--rule); margin-top: 0.4rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.6rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid rgb(128 7 28 / 0.35); border-radius: 50%; transition: background-color 0.3s, transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--bordo); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--bordo); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--creme); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (hover: hover) { .faq-item summary:hover .faq-icon { border-color: var(--bordo); } }
.faq-body { padding-bottom: 1.75rem; max-width: 40rem; color: var(--ink-soft); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--vinho); color: var(--creme); padding-top: clamp(4rem, 8vw, 7rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer-brand img { width: 180px; }
.footer-title { color: var(--creme); opacity: 0.65; margin-bottom: 1.25rem; }
.footer-col li + li { margin-top: 0.6rem; }
.footer-col a { text-decoration: none; border-bottom: 1px solid var(--rule-dark); transition: border-color 0.3s; }
.footer-col a:hover { border-color: var(--creme); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
  padding-block: 1.75rem; border-top: 1px solid var(--rule-dark);
  font-size: 0.8125rem; color: rgb(246 241 231 / 0.78);
}
.legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }

/* ---------- CTA fixo (celular) ---------- */
.mobile-cta { display: none; }

/* ---------- Animações (GSAP + ScrollTrigger, em script.js) ----------
   Os estados iniciais ficam ocultos só quando o GSAP está ativo e o usuário
   não pediu movimento reduzido; o GSAP revela tudo com autoAlpha. */
@media (prefers-reduced-motion: no-preference) {
  .gsap [data-reveal],
  .gsap .hero-seal,
  .gsap .hero-word,
  .gsap .about-photo { visibility: hidden; }
}

/* ---------- Responsivo ---------- */
/* Menu compacto antes que os cinco links deixem de caber em uma linha */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-card { min-height: 16rem; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { row-gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { width: 148px; }

  .hero { min-height: auto; }
  .hero-word { font-size: 32vw; }

  .office-grid, .areas-intro, .contact-grid, .faq-grid, .about-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }

  /* Caminho vertical no celular/tablet: a trilha desce pela esquerda */
  .steps-wrap { padding-left: 2.75rem; }
  .steps { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .step { padding-top: 0; }
  .step-node { top: 1.6rem; left: calc(-2.75rem + 4px); }
  .about-photo { max-width: 26rem; margin-right: clamp(12px, 1.6vw, 24px); }
  .contact-seal { display: none; }

  .reach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .reach-divider { width: 100%; height: 1px; }

  /* CTA fixo: fica na base, fora do conteúdo, com espaço reservado */
  .mobile-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgb(246 241 231 / 0.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--rule);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .mobile-cta .btn { width: 100%; }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-open .mobile-cta { visibility: hidden; }
}

@media (max-width: 600px) {
  .areas-grid, .values { grid-template-columns: 1fr; }
  .values { row-gap: 2.5rem; }
  .area-card { min-height: 0; }
  .area-card h3 { padding-top: 1.75rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .mobile-cta, body::after, .pattern { display: none !important; }
  .gsap [data-reveal], .gsap .hero-seal, .gsap .hero-word, .gsap .about-photo { visibility: visible !important; opacity: 1 !important; transform: none !important; }
}
