/* site.css - cinematic 3D-scroll shell. Colors come from CSS vars set per-brief. */
:root {
  /* identidade azul - fonte unica de verdade pra cor em todo o site */
  --primary: #2563EB;    /* azul moderno - preenchimento de botoes/CTAs */
  --secondary: #1E40AF;  /* azul escuro - enfase, estados ativos */
  --accent: #60A5FA;     /* azul claro - kickers, destaques sobre fundo escuro, focus ring */
  --link: #3B82F6;       /* azul vibrante - links em texto corrido */
  --link-hover: #93C5FD; /* azul claro - hover de link */
  --background: #0F172A; /* fundo principal escuro */
  --text-primary: #F8FAFC;   /* texto principal, alto contraste (17:1 sobre --background) */
  --text-secondary: #CBD5E1; /* LEGIBILIDADE: elevado de #94A3B8 para #CBD5E1 (slate-300, 9.2:1) */
  --hairline: rgba(148, 163, 184, 0.28); /* divisores levemente mais visiveis */
  --scrim: rgba(10, 16, 32, 0.82);       /* scrim mais opaco = texto sempre legivel */
  /* sombra de texto reforçada para segurar letras sobre frames claros do WebGL */
  --text-shadow-legible: 0 1px 4px rgba(10, 16, 32, 0.98), 0 3px 18px rgba(10, 16, 32, 0.82);

  /* aliases - mantidos pra nao quebrar o restante do CSS */
  --bg: var(--background);
  --text: var(--text-primary);
  --muted: var(--text-secondary);

  --serif: "Times New Roman", Georgia, serif;
  --sans: "Helvetica Neue", Inter, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

/* fixed WebGL / canvas backdrop — effectively pinned so text scrolls over it */
#scene {
  position: fixed; inset: 0;
  width: 100vw;
  /* 100vh fallback para browsers sem suporte a dvh;
     100dvh exclui barras moveis do browser (iOS Safari, Chrome Android) */
  height: 100vh;
  height: 100dvh;
  display: block; z-index: 0;
}
/* film grain + vignette for cinematic depth */
.grain, .vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.vignette { box-shadow: inset 0 0 340px 60px rgba(0,0,0,0.92); }
.grain {
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* content sits above the canvas */
main { position: relative; z-index: 2; }
.chapter {
  /* min-height: tela inteira — dvh quando suportado, vh como fallback */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: 14vh 8vw 10vh; /* padding-top extra para nao esconder atras da topbar */
  position: relative;
}
.chapter[data-align="center"] { justify-content: center; text-align: center; }
.chapter[data-align="right"] { justify-content: flex-end; text-align: right; }
.chapter-inner { position: relative; max-width: 720px; will-change: transform, opacity; }
.chapter[data-wide] .chapter-inner { max-width: 1100px; }
/* soft scrim behind every text block so copy stays legible over the
   WebGL scene regardless of scroll position / fog color */
.chapter-inner::before {
  content: ""; position: absolute; z-index: -1; inset: -10% -12%;
  background: radial-gradient(ellipse at center,
    rgba(10, 16, 32, 1) 0%,
    rgba(10, 16, 32, 0.84) 50%,
    rgba(10, 16, 32, 0.36) 80%,
    transparent 100%);
  pointer-events: none;
}

.kicker {
  font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px; font-weight: 600;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.6);
}
.kicker.kicker-sub { margin-top: 40px; }
.chapter h1 {
  font-family: var(--serif); font-weight: 500; line-height: 1.05;
  font-size: clamp(30px, 6.4vw, 99px); letter-spacing: -0.01em;
  text-shadow: 0 3px 24px rgba(15, 23, 42, 0.65);
}
.chapter h1 .hl, .chapter h2 .hl { color: var(--accent); font-weight: 600; }
.chapter h2 {
  font-family: var(--serif); font-weight: 500; line-height: 1.1;
  font-size: clamp(23px, 3.9vw, 56px); letter-spacing: -0.01em; margin-bottom: 8px;
  text-shadow: 0 3px 20px rgba(15, 23, 42, 0.6);
}
.chapter p.lead {
  margin-top: 26px; font-size: clamp(16px, 1.5vw, 21px); font-weight: 400;
  color: #D4DCE8; /* slate-300 levemente quente — contraste ~9:1 no fundo escuro */
  max-width: 46ch; line-height: 1.65;
  text-shadow: var(--text-shadow-legible);
  text-align: justify; text-align-last: left; hyphens: auto;
}
.hero-sub {
  margin-top: 30px; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-shadow: var(--text-shadow-legible);
}

/* spec strip */
.specs { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 40px; }
.spec { border-top: 1px solid var(--hairline); padding-top: 12px; min-width: 120px; }
.spec .k { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); text-shadow: var(--text-shadow-legible); }
.spec .v { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-top: 6px; text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55); }

/* CTA button — reusable in any chapter. Filled blue, per brand: solid --primary
   fill at rest (already passes 5.2:1 with white text), --accent (lighter blue)
   on hover with dark text swapped in since white-on-light-blue would fail AA. */
.btn {
  display: inline-block; margin-top: 30px; padding: 16px 40px; border: 1px solid var(--primary);
  background: var(--primary); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  color: var(--text-primary); text-decoration: none; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 13px; font-weight: 600; text-shadow: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--background); }
.btn:focus-visible, .topnav a:focus-visible, .site-footer a:focus-visible, .contact-list a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}

/* areas of practice — 3-column grid */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.areas-grid h3 {
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55);
}
.areas-grid p {
  font-size: 15px; line-height: 1.65;
  color: #CBD5E1; /* slate-300 — legivel sobre fundo escuro */
  margin-bottom: 14px;
  text-shadow: var(--text-shadow-legible); text-align: justify; text-align-last: left; hyphens: auto;
}

/* team — photo + bios */
.team-block { display: flex; gap: 48px; align-items: flex-start; margin-top: 8px; }
.team-photo { width: 260px; height: auto; flex-shrink: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border-radius: 2px; }
.team-text .lead:first-child { margin-top: 0; }
.team-text .lead strong { color: var(--text); font-weight: 700; }

/* rating summary */
.rating { display: flex; align-items: baseline; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.rating .badge { font-family: var(--serif); font-weight: 600; font-size: 28px; text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55); }
.rating .stars { color: var(--accent); letter-spacing: 0.15em; text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55); }
.rating .count { font-size: 13px; color: var(--muted); text-shadow: var(--text-shadow-legible); }

/* reviews grid */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 30px; }
.reviews-grid .name { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; color: #F1F5F9; text-shadow: 0 2px 12px rgba(10, 16, 32, 0.7); }
.reviews-grid p {
  font-size: 15px; line-height: 1.65;
  color: #CBD5E1; /* slate-300 — melhor contraste */
  text-shadow: var(--text-shadow-legible); text-align: justify; text-align-last: left; hyphens: auto;
}

/* blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.blog-grid img { width: 100%; height: 130px; object-fit: cover; display: block; }
.blog-grid h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 14px 0 8px; text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55); }
.blog-grid a.read-more { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.blog-grid a.read-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* contact list */
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.contact-list .row { display: flex; gap: 16px; align-items: baseline; }
.contact-list .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #94A3B8; min-width: 100px; text-shadow: var(--text-shadow-legible); text-align: justify; text-align-last: left; }
.contact-list .value { font-size: 15px; color: #E2E8F0; text-shadow: var(--text-shadow-legible); text-align: justify; text-align-last: left; hyphens: auto; }
.contact-list .value a { color: var(--accent); text-decoration: none; }
.contact-list .value a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list .sep { display: none; }
.nowrap { white-space: nowrap; }

/* footer */
.site-footer {
  position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--hairline);
  padding: 64px 8vw 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
}
.site-footer .logo { height: 32px; margin-bottom: 16px; }
.site-footer .tagline { font-size: 14px; color: #B0BCCC; margin-bottom: 4px; } /* mais claro */
.site-footer .oab { font-size: 13px; color: #B0BCCC; margin-bottom: 18px; }
.site-footer .socials a { color: #B0BCCC; font-size: 13px; text-decoration: none; margin-right: 14px; }
.site-footer .socials a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer h4 {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px; font-weight: 600;
}
.site-footer h4.mt { margin-top: 22px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.site-footer a { color: #E2E8F0; text-decoration: none; font-size: 14px; } /* slate-200 */
.site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .addr, .site-footer .hours { font-size: 14px; color: #B0BCCC; line-height: 1.5; }
.site-footer .addr { text-align: justify; text-align-last: left; hyphens: auto; }
.site-footer .hours { margin-top: 18px; }

/* fixed HUD (depth / speed / floor counter) */
.hud {
  position: fixed; top: 0; right: 0; height: 100vh; width: 92px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; pointer-events: none;
}
.hud .rail { position: relative; width: 2px; height: 42vh; background: var(--hairline); overflow: hidden; }
.hud .rail #hud-bar { position: absolute; inset: 0; transform-origin: top; background: var(--accent); transform: scaleY(0); }
.hud .label { writing-mode: vertical-rl; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); text-shadow: var(--text-shadow-legible); }
.hud #hud-value { writing-mode: vertical-rl; font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; color: var(--accent); }

/* top brand bar + scroll cue */
/* mix-blend-mode: difference was removed here — it made the nav's contrast
   depend entirely on whatever the WebGL scene showed underneath, so it could
   fail to any ratio. A fixed dark scrim guarantees legibility instead. */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between;
  align-items: center; padding: 26px 34px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text); background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0));
}
.topbar .logo {
  height: 30px; width: auto; display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.5));
}
.topnav { display: flex; gap: 34px; }
.topnav a {
  color: var(--text); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; cursor: pointer; transition: color 0.25s;
}
.topnav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.scrollcue {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted);
  text-shadow: var(--text-shadow-legible);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); opacity: 0.5; } 50% { transform: translate(-50%, 8px); opacity: 1; } }

/* menu / secondary content */
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
.menu-cols .row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--hairline); padding: 14px 0; }
.menu-cols h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 12px; color: var(--accent); text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55); }

@media (max-width: 980px) {
  .areas-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 28px; }
  .chapter[data-wide] .chapter-inner { max-width: 720px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .chapter { padding: 12vh 7vw; }
  .menu-cols { grid-template-columns: 1fr; gap: 30px; }
  .specs { gap: 24px; }
  .hud { width: 60px; }
  .team-block { flex-direction: column; }
  .team-photo { width: 200px; }
  .blog-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 7vw 32px; }
  .topbar { padding: 20px 22px; }
  .topbar .logo { height: 24px; }
  .topnav { gap: 16px; }
  .topnav a { font-size: 10px; letter-spacing: 0.18em; }
}

/* comfortable reading on small phones without pinch-zoom */
@media (max-width: 480px) {
  .chapter h1 { font-size: clamp(26px, 8.25vw, 41px); line-height: 1.12; }
  .chapter h2 { font-size: clamp(20px, 6.4vw, 27px); }
  .chapter p.lead { font-size: 16px; }
  .kicker { font-size: 11px; letter-spacing: 0.32em; }
  .btn { padding: 14px 28px; font-size: 12px; }
  /* HUD decorativo (profundidade/velocidade) some em telas pequenas — evita
     sobrepor o texto alinhado a direita, que nessas larguras chega perto
     da borda direita onde o HUD fica fixo */
  .hud { display: none; }
}

/* team roster page (equipe.html) — role-grouped grid, photos overlaid on the
   same frame-sequence backdrop used everywhere else on the site */
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; text-shadow: var(--text-shadow-legible);
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 28px; margin-top: 8px; }
/* colunas fixas (nao auto-fit) — com minmax(min, px-fixo) o auto-fit colapsa
   pra 1 coluna quando o pai (.chapter-inner) nao tem largura propria definida
   (e um item flex sem width). 1fr 1fr sempre poe os 2 socios lado a lado. */
.team-grid.featured { grid-template-columns: 1fr 1fr; gap: 32px; }
.team-grid.featured .team-card { max-width: 320px; }

.team-card {
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: rgba(15, 23, 42, 0.58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--hairline); box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.team-card .photo-wrap { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #0b1220; }
.team-grid.featured .team-card .photo-wrap { aspect-ratio: 3 / 4; }
.team-card .photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card .photo-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.96) 0%, rgba(15,23,42,0.5) 45%, transparent 75%);
}
.team-card .overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; }
.team-card .role { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.team-card .name { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; color: var(--text); }
.team-grid.featured .team-card .name { font-size: 28px; }
.team-card .bio {
  padding: 18px 20px 22px; font-size: 14px; line-height: 1.65;
  color: #C4CFDC; /* slate-300 levemente quente — legivel sobre fundo escuro do card */
  text-align: justify; text-align-last: left; hyphens: auto;
}
.team-grid.featured .team-card .bio { font-size: 15px; color: #CBD5E1; }

@media (max-width: 720px) {
  .team-grid, .team-grid.featured { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  /* .team-grid.featured (socios) fica de fora — continua lado a lado (1fr 1fr)
     ate no celular, so encolhendo o card em vez de empilhar */
}

/* blog listing route (blog.html) — larger article cards than the homepage
   teaser (.blog-grid), same frame-sequence backdrop as equipe.html */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 8px; }
.post-card {
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: rgba(15, 23, 42, 0.58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--hairline); box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.post-card .thumb-wrap { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1220; }
.post-card .thumb-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* fallback for posts without a captured thumbnail — brand-gradient placeholder */
.post-card .thumb-wrap.no-thumb {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--secondary), var(--background));
}
.post-card .thumb-wrap.no-thumb span {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; color: var(--text); }
.post-card .read-more {
  margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
}
.post-card .read-more:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* individual blog post route (site/<slug>.html, flat files — see fui-demitido-o-que-tenho-de-direito.html) */
.post-meta {
  display: flex; gap: 10px; align-items: center; margin-top: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #94A3B8; text-shadow: var(--text-shadow-legible);
}
/* continuous-scroll article shell — posts read as one flowing column,
   not full-viewport chapters like the rest of the site */
.post-hero-wrap {
  position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 0 8vw;
  background: rgba(10, 16, 32, 0.92);
}
.post-hero-img {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55); background: #0b1220;
}
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-article {
  position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 0 8vw 10vh;
  background: rgba(10, 16, 32, 0.92); border-radius: 0 0 16px 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.post-divider { border: none; border-top: 1px solid var(--hairline); margin: 40px 0; }
/* internal cross-linking block — "leia tambem" between the article body and the CTA */
.post-related { margin-top: 48px; }
.post-related ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.post-related li { border-top: 1px solid var(--hairline); padding-top: 10px; }
.post-related li:first-child { border-top: none; padding-top: 0; }
.post-related a {
  font-family: var(--serif); font-size: 17px; color: #F8FAFC; text-decoration: none;
  transition: color 0.2s;
}
.post-related a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-cta-box {
  background: linear-gradient(135deg, rgba(37,99,235,0.22) 0%, rgba(15,23,42,0.90) 100%);
  border: 1px solid rgba(96,165,250,0.35); border-radius: 12px;
  padding: 40px 36px; text-align: center; margin-top: 52px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.post-cta-box .kicker { margin-bottom: 14px; }
.post-cta-box h2 {
  font-family: var(--serif); font-size: clamp(17px, 2.25vw, 26px); font-weight: 500;
  margin-bottom: 14px; color: #F8FAFC; line-height: 1.2;
}
.post-cta-box p {
  font-size: 15px; color: #94A3B8; max-width: 48ch; margin: 0 auto 24px; line-height: 1.65;
}
.post-cta-box .btn { margin-top: 0; }
@media (max-width: 620px) {
  .post-hero-wrap, .post-article { padding: 0 7vw 8vh; }
}
.post-body h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 2.25vw, 24px);
  line-height: 1.2; margin: 40px 0 16px;
  color: #F8FAFC; /* branco quase puro — maximo contraste */
  text-shadow: none;
}
.post-body h2:first-child { margin-top: 0; }
.post-body p {
  font-size: 16px; line-height: 1.75;
  color: #CBD5E1; /* slate-300 — 9.2:1 sobre fundo escuro */
  margin-bottom: 18px;
  text-shadow: none; text-align: justify; text-align-last: left; hyphens: auto;
}
.post-body p:last-child { margin-bottom: 0; }
.post-body strong { color: #F8FAFC; font-weight: 700; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--link-hover); }
.post-body ul, .post-body ol { margin: 0 0 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.post-body li { font-size: 16px; line-height: 1.6; color: #CBD5E1; text-shadow: none; }

/* WhatsApp FAB — fixed bottom-right, present on every page */
.whatsapp-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 5;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45); transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,0.55); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 480px) {
  .whatsapp-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* loading veil until the engine reports ready */
#veil { position: fixed; inset: 0; z-index: 9; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity 0.8s; }
#veil.gone { opacity: 0; pointer-events: none; }
#veil .mark { font-family: var(--serif); font-size: 40px; letter-spacing: 0.1em; }
#veil .bar { position: absolute; bottom: 20%; width: 160px; height: 1px; background: var(--hairline); overflow: hidden; }
#veil .bar i { position: absolute; inset: 0; width: 40%; background: var(--accent); animation: slide 1.1s ease-in-out infinite; will-change: transform; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
