/* Nowaski Advocacia & Assessoria Jurídica — Edição Arquitetônica 3D Clara & Alto Contraste (2026)
   Paleta oficial inspirada no selo (Marfim/Alabastro, Verde Sálvia/Floresta e Bege Champagne)
   com textura 3D sutil de escritório executivo e H1 calibrado em 2 linhas na primeira dobra */

:root {
  --background: #F4EFE6;
  --background-sand: #EAE2D3;
  --background-beige: #DFD5C3;
  --foreground: #0B1912;
  --card: rgba(255, 255, 255, 0.95);
  --card-solid: #FFFFFF;
  --card-hover: #FFFFFF;
  --primary: #1B3B2C;
  --primary-hover: #25503C;
  --primary-foreground: #FAF8F4;
  --sage: #8EC592;
  --sage-deep: #2B5E44;
  --sage-tint: rgba(142, 197, 146, 0.22);
  --champagne: #7D5C22;
  --champagne-soft: #C5A059;
  --muted: #E8E0D0;
  --muted-foreground: #22332B;
  --subtle-foreground: #3D4F46;
  --border: rgba(24, 52, 39, 0.18);
  --border-strong: rgba(24, 52, 39, 0.32);
  --shadow-3d-sm: 0 2px 4px rgba(11, 25, 18, 0.05), 0 12px 28px -10px rgba(11, 25, 18, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-3d-md: 0 4px 10px rgba(11, 25, 18, 0.07), 0 24px 48px -14px rgba(11, 25, 18, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  position: relative;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  line-height: 1.74;
  overflow-x: hidden;
}

/* Textura Arquitetônica 3D Sutil de Escritório com Alto Contraste para os Textos */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, rgba(250, 248, 243, 0.80) 0%, rgba(242, 235, 222, 0.72) 50%, rgba(231, 238, 229, 0.78) 100%),
    repeating-linear-gradient(90deg, rgba(27, 59, 44, 0.024) 0px, rgba(27, 59, 44, 0.024) 1px, transparent 1px, transparent 56px),
    url('/assets/img/bg-office-3d.webp');
  background-size: cover, auto, cover;
  background-position: center, center, center;
  transform: translateZ(0);
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
:is(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }

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

/* Escala Tipográfica Executiva — H1 Calibrado em 2 Linhas */
h1, h2, h3 {
  letter-spacing: -0.028em;
  margin: 0 0 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.20;
  color: var(--foreground);
}
h1 {
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1.22;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
h2 { font-size: clamp(21px, 2.0vw, 28px); line-height: 1.24; }
h3 { font-size: clamp(18px, 1.5vw, 21.5px); line-height: 1.3; }
em { color: var(--sage-deep); font-style: italic; font-weight: 600; }
p { color: var(--muted-foreground); margin: 0 0 18px; }

.container {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  background: var(--primary);
  color: #FFFFFF;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  position: fixed;
  top: -100px;
  left: 20px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { top: 14px; }

/* Reading Progress Bar (Articles) */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--sage), var(--champagne-soft));
  z-index: 80;
  transition: width 0.1s linear;
}

/* Sticky Frosted 3D Header (Compact so Hero fits 100% in First Fold) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px -10px rgba(11, 25, 18, 0.08);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.97);
  box-shadow: 0 10px 30px -14px rgba(11, 25, 18, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.brand {
  flex-shrink: 0;
  width: 196px;
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 100%;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.site-header nav a {
  position: relative;
  padding-block: 6px;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--primary);
}
.site-header nav a:hover::after,
.site-header nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header-contact {
  white-space: nowrap;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--primary);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 4px 12px -4px rgba(11, 25, 18, 0.10);
  transition: all 0.22s ease;
}
.header-contact span {
  color: var(--champagne);
  font-size: 15px;
  transition: transform 0.22s ease;
}
.header-contact:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.header-contact:hover span {
  color: var(--sage);
  transform: translate(2px, -2px);
}

/* Eyebrow & 3D Buttons */
.eyebrow {
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--champagne);
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
}
.eyebrow span {
  background: var(--sage-deep);
  width: 22px;
  height: 2px;
  display: inline-block;
}

.btn {
  color: #FFFFFF;
  letter-spacing: 0.15px;
  border: 1px solid #142E22;
  background: linear-gradient(180deg, #244F3B 0%, #173527 100%);
  border-radius: var(--radius);
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 26px -8px rgba(23, 53, 39, 0.48);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease;
  display: inline-flex;
  cursor: pointer;
}
.btn:hover {
  background: linear-gradient(180deg, #2B5E46 0%, #1D4130 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 32px -8px rgba(23, 53, 39, 0.58);
  color: #FFFFFF;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-3d-sm);
}
.btn-secondary:hover {
  background: #FFFFFF;
  color: var(--foreground);
  border-color: var(--primary);
  box-shadow: var(--shadow-3d-md);
}

.text-link {
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
}
.text-link svg { transition: transform 0.2s ease; }
.text-link:hover { color: var(--champagne); }
.text-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   HERO 3D INTEGRADO — CLARO E CLEAN À ESQUERDA (TEXTO + CTA NA 1ª DOBRA)
   TRANSIÇÃO EM DEGRADÊ 3D ESCURECENDO À DIREITA PARA DESTACAR O MARCELO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(490px, calc(100svh - 128px), 590px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(27, 59, 44, 0.24);
  background:
    radial-gradient(circle at 20% 45%, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 243, 0.86) 38%, transparent 64%),
    linear-gradient(96deg, #FCFBF8 0%, #F7F3EA 36%, #E5DDD0 50%, #24382E 68%, #0E1B14 100%);
  box-shadow: inset 0 -1px 0 rgba(197, 160, 89, 0.35), 0 18px 40px -22px rgba(11, 25, 18, 0.28);
}

/* Moldura arquitetônica 3D sutil interna */
.hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  border: 1px solid rgba(197, 160, 89, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  z-index: 3;
  pointer-events: none;
}

/* Retrato do Marcelo integrado em degradê contínuo do claro (esquerda) ao escuro (direita) */
.hero-stage-photo {
  position: absolute;
  inset: 0 0 0 36%;
  z-index: 1;
  pointer-events: none;
}
.hero-stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
  filter: contrast(1.06) saturate(0.96);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 12%, rgba(0, 0, 0, 0.68) 26%, #000000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 12%, rgba(0, 0, 0, 0.68) 26%, #000000 42%);
}
/* Vinheta 3D escura no canto direito/inferior para destacar o retrato */
.hero-stage-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #F7F3EA 0%, rgba(247, 243, 234, 0.58) 14%, rgba(20, 38, 29, 0.08) 42%, rgba(12, 25, 19, 0.34) 80%, rgba(9, 19, 14, 0.72) 100%),
    linear-gradient(180deg, rgba(12, 25, 19, 0.18) 0%, transparent 26%, transparent 68%, rgba(9, 19, 14, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 590px) 1fr;
  align-items: end;
  gap: 32px;
}

.hero-copy {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(250, 248, 243, 0.66) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(27, 59, 44, 0.13);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 20px 44px -20px rgba(11, 25, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero-copy h1 {
  font-size: clamp(23px, 2.35vw, 33px);
  line-height: 1.22;
  margin-bottom: 14px;
  color: #091710;
}

@media (min-width: 960px) {
  .hero-copy h1 {
    white-space: nowrap;
  }
}

.hero-description {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.66;
  margin-bottom: 20px;
  color: #1D2E26;
  font-weight: 450;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.hero-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(27, 59, 44, 0.20);
  color: var(--foreground);
  box-shadow: 0 2px 6px rgba(11, 25, 18, 0.05);
  transition: all 0.2s ease;
}
.hero-pill:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 59, 44, 0.15);
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}
.hero-signature small {
  letter-spacing: 1.3px;
  color: var(--champagne);
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  display: block;
}
.signature-line {
  background: linear-gradient(180deg, var(--primary), var(--champagne-soft));
  width: 3px;
  height: 32px;
  border-radius: 3px;
}

/* Selo flutuante 3D sobre o lado direito escuro do retrato */
.hero-right-badge {
  justify-self: end;
  max-width: 320px;
  background: rgba(15, 30, 23, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-left: 3px solid var(--sage);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FAF8F4;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.55);
}
.hero-right-badge strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #FAF8F4;
}
.hero-right-badge span {
  font-size: 11px;
  line-height: 1.45;
  color: #D2DDD6;
  display: block;
  margin-top: 2px;
}
.hero-right-seal {
  background: #FAF8F4;
  border-radius: 8px;
  padding: 4px;
  width: 40px;
  flex-shrink: 0;
}

/* Trust Strip */
.trust-strip {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-block: 18px;
}
.trust-strip span {
  color: var(--foreground);
  font-weight: 600;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  display: flex;
}
.trust-strip svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Sections & 3D Elevated Cards */
.section { padding-block: 76px; }
.section-topless { padding-top: 0; }
.section-sand {
  background: rgba(234, 226, 211, 0.72);
  backdrop-filter: blur(6px);
  border-block: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 38px;
}
.section-head h2 { margin: 0; }
.section-head > p {
  max-width: 390px;
  margin: 0;
  font-size: 14.5px;
  color: var(--muted-foreground);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-3d-sm);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, border-color 0.26s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--sage), var(--champagne-soft));
  opacity: 0.65;
  transition: opacity 0.26s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-3d-md);
}
.service-card:hover::before { opacity: 1; }

.card-number {
  color: var(--champagne);
  letter-spacing: 2px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-number svg { color: var(--sage-deep); transition: transform 0.22s ease; }
.service-card:hover .card-number svg { transform: translate(3px, -3px); color: var(--primary); }
.service-card h3, .service-card h2 {
  font-size: 20.5px;
  line-height: 1.28;
  margin-bottom: 10px;
}
.service-card h3 a:hover, .service-card h2 a:hover { color: var(--primary); }
.service-card p {
  font-size: 14.2px;
  line-height: 1.70;
  margin-bottom: 18px;
  flex: 1;
}

/* Method Section */
.method-section {
  background: rgba(234, 226, 211, 0.72);
  backdrop-filter: blur(6px);
  border-block: 1px solid var(--border);
}
.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.method-flow li {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-3d-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.method-flow li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d-md);
}
.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--sage-tint);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.method-flow h3 { font-size: 20.5px; margin-bottom: 8px; }
.method-flow p { font-size: 14.2px; margin: 0; }

.method-note {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-left: 4px solid var(--champagne-soft);
  border-radius: 12px;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 22px 26px;
  box-shadow: var(--shadow-3d-sm);
  display: flex;
}
.method-note > span {
  letter-spacing: 1.8px;
  color: var(--champagne);
  font-weight: 700;
  min-width: 185px;
  font-size: 10.5px;
}
.method-note p { margin: 0; font-size: 14.5px; color: var(--muted-foreground); }
.method-note strong { color: var(--foreground); font-weight: 700; }

/* Editorial Split */
.editorial-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.editorial-split .editorial-lead {
  color: var(--foreground);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.48;
  margin-bottom: 16px;
}

/* Articles Grid & Covers */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.article-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-3d-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-3d-md);
}
.article-card-link { height: 100%; display: flex; flex-direction: column; }
.article-cover {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #EFE9DC 0%, #DFEBDC 100%);
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 162px;
  padding: 22px;
  display: flex;
  position: relative;
}
.article-cover.cover-1 { background: linear-gradient(135deg, #E3EDE1 0%, #EFE6D8 100%); }
.article-cover.cover-2 { background: linear-gradient(135deg, #EDE5D5 0%, #DBE8DE 100%); }
.article-cover > .eyebrow { font-size: 9.5px; margin-bottom: 8px; }
.article-cover > svg:not(.cover-arrow) { color: var(--primary); margin-bottom: 10px; }
.cover-topic {
  color: var(--primary);
  max-width: 84%;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
}
.cover-arrow {
  color: var(--primary);
  position: absolute;
  bottom: 20px;
  right: 20px;
  transition: transform 0.22s ease;
}
.article-card:hover .cover-arrow { transform: translate(3px, -3px); }
.article-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-meta {
  color: var(--champagne);
  font-weight: 700;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  display: flex;
}
.article-meta span { color: var(--subtle-foreground); font-weight: 600; }
.article-card h3, .article-card h2 { font-size: 19.5px; line-height: 1.32; margin-bottom: 10px; }
.article-card p { font-size: 13.8px; line-height: 1.68; flex: 1; margin-bottom: 14px; }

/* FAQ Accordion */
.faq-home {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.faq-list {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding-inline: 26px;
  box-shadow: var(--shadow-3d-sm);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--background-sand);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.24s ease, background-color 0.24s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
}
.faq-answer {
  padding: 0 12px 20px 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted-foreground);
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-section { max-width: 920px; }

/* Contact Band */
.contact-band {
  background: linear-gradient(135deg, rgba(238, 230, 214, 0.92) 0%, rgba(219, 233, 217, 0.92) 100%);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-strong);
  padding-block: 60px;
}
.contact-band > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.contact-band h2 { margin-bottom: 10px; }
.contact-band p:not(.eyebrow) { margin: 0; font-size: 15px; }
.microcopy {
  color: var(--subtle-foreground);
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  display: flex;
  font-size: 12px;
  font-weight: 500;
}
.microcopy svg { color: var(--primary); flex-shrink: 0; }

/* Subpages, Breadcrumbs, Prose (Elevated 3D Reading Surface), Sidebar */
.page-intro {
  padding-block: 34px 42px;
}
.updated {
  font-size: 12.5px;
  color: var(--subtle-foreground);
  margin-top: 28px;
}
.breadcrumbs {
  color: var(--subtle-foreground);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--primary); font-weight: 700; }
.page-intro h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1.22;
}
.lead {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--muted-foreground);
  margin-bottom: 0;
}
.page-intro .btn { margin-top: 20px; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(250px, 1fr);
  align-items: start;
  gap: 44px;
  padding-block: 12px 68px;
}
.content-layout > .prose,
main.container > .prose {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 38px;
  box-shadow: var(--shadow-3d-sm);
}
.prose { font-size: 15.8px; line-height: 1.84; color: var(--muted-foreground); }
.prose h2 { margin-top: 40px; margin-bottom: 14px; scroll-margin-top: 100px; font-size: clamp(21px, 2.0vw, 26px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19.5px; margin-top: 26px; margin-bottom: 10px; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--foreground); font-weight: 700; }
.prose ul, .prose ol { margin: 16px 0 24px; padding-left: 22px; color: var(--muted-foreground); }
.prose li { margin-bottom: 9px; padding-left: 4px; }
.prose li::marker { color: var(--primary); font-weight: 700; }
.prose a:not(.btn):not(.text-link) {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:not(.btn):not(.text-link):hover { color: var(--champagne); }

.answer-box {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: #F4EFE5;
  margin-bottom: 32px;
  padding: 22px 26px;
}
.answer-box h3 { margin-top: 0; margin-bottom: 8px; font-size: 18.5px; color: var(--primary); }
.answer-box p { color: var(--foreground); margin: 0; font-size: 15.5px; line-height: 1.72; }

.context-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  font-size: 13px;
  position: sticky;
  top: 98px;
  box-shadow: var(--shadow-3d-sm);
}
.context-sidebar nav { display: flex; flex-direction: column; gap: 11px; }
.context-sidebar nav a {
  color: var(--muted-foreground);
  font-weight: 500;
  line-height: 1.45;
  padding-left: 10px;
  border-left: 2px solid transparent;
}
.context-sidebar nav a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}
.context-sidebar hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.context-sidebar strong { color: var(--foreground); font-weight: 700; display: block; font-size: 14px; }
.context-sidebar small { color: var(--champagne); font-weight: 700; margin-top: 4px; margin-bottom: 14px; font-size: 11px; display: block; }
.context-sidebar .btn { width: 100%; font-size: 12.5px; padding: 11px 16px; min-height: 44px; }

.sources {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FAF8F4;
  margin-top: 36px;
  padding: 22px 24px;
}
.sources h3 { margin-top: 0; font-size: 18.5px; }
.sources li, .sources p { font-size: 13.5px; line-height: 1.72; }
.sources p:last-child { margin-bottom: 0; }

.byline {
  border-top: 1px solid var(--border);
  color: var(--subtle-foreground);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 820px;
  margin-top: 20px;
  padding-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
}

.table-scroll {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FFFFFF;
  margin-bottom: 30px;
  overflow-x: auto;
}
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 13.5px; line-height: 1.65; }
.table-scroll caption { text-align: left; color: var(--primary); background: var(--background-sand); padding: 13px 18px; font-weight: 700; }
.table-scroll th, .table-scroll td { text-align: left; border-top: 1px solid var(--border); vertical-align: top; padding: 13px 18px; }
.table-scroll thead { background: #F4EFE5; }
.table-scroll th { color: var(--foreground); font-weight: 700; }
.table-scroll td { color: var(--muted-foreground); }

.editorial-note {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 20px;
}
.editorial-note strong { color: var(--champagne); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
.editorial-note p { margin-top: 8px; font-size: 13px; }

/* Author Bio Box (Item 19 E-E-A-T) */
.author-bio-card {
  margin-top: 36px;
  padding: 24px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F3EDE1 0%, #E4EFE3 100%);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 20px;
}
.author-bio-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.author-bio-body h3 {
  font-size: 19px;
  margin: 2px 0 4px;
}
.author-bio-reg {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--champagne);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.author-bio-body p {
  font-size: 13.8px;
  line-height: 1.65;
  margin-bottom: 8px;
}

/* Office & Principles */
.narrow { max-width: 860px; }
.office-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-3d-md);
}
.office-split > img {
  object-fit: cover;
  object-position: 60% center;
  height: 440px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-3d-sm);
}
.office-split .registration {
  color: var(--champagne);
  font-weight: 700;
  letter-spacing: 1.8px;
  font-size: 12px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
}
.principles article {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-3d-sm);
}

/* Blog Toolbar & Search */
.blog-toolbar {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow-3d-sm);
  display: flex;
  flex-wrap: wrap;
}
.blog-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.category-button {
  min-height: 34px;
  color: var(--muted-foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.category-button:hover { border-color: var(--primary); color: var(--primary); }
.category-button.active {
  color: #FFFFFF;
  background: var(--primary);
  border-color: var(--primary);
}
.search-field {
  background: #FFFFFF;
  color: var(--muted-foreground);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  min-width: 240px;
  padding-inline: 14px;
  display: flex;
}
.search-field input {
  border: 0;
  background: transparent;
  width: 100%;
  height: 36px;
  font-size: 13px;
  outline: none;
}
.result-count { margin: 20px 0; font-size: 12.5px; font-weight: 600; }
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-3d-sm);
}

/* Contact Layout & Form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.contact-layout > div:first-child {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-3d-sm);
}
.contact-direct {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #FAF8F4;
  color: var(--primary);
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  padding: 18px 22px;
  display: flex;
  box-shadow: var(--shadow-3d-sm);
}
.contact-direct:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-3d-md);
  transform: translateY(-2px);
}
.contact-direct > span { flex: 1; font-size: 11.5px; font-weight: 700; color: var(--champagne); text-transform: uppercase; letter-spacing: 1px; }
.contact-direct strong { color: var(--foreground); font-size: 20px; font-weight: 700; text-transform: none; letter-spacing: 0; display: block; margin-top: 2px; }
.contact-detail { color: var(--primary); gap: 14px; margin-bottom: 16px; display: flex; align-items: flex-start; }
.contact-detail p { font-size: 13.8px; line-height: 1.72; margin: 0; }
.contact-detail svg { flex-shrink: 0; margin-top: 4px; }

.contact-form-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #FFFFFF;
  padding: 32px;
  box-shadow: var(--shadow-3d-md);
}
.contact-form label {
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 12.5px;
  display: block;
}
.contact-form input:not([type=hidden]),
.contact-form select {
  background: #FAF8F4;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 100%;
  height: 45px;
  margin-top: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--foreground);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { color: var(--subtle-foreground); font-weight: 400; }
.form-notice { line-height: 1.72; font-size: 12px !important; margin-top: 8px; }
.form-notice a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.form-submit { width: 100%; margin-top: 6px; }
.message-preview {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
}
.message-preview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--foreground);
  background: #F4EFE5;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  margin-bottom: 16px;
}

/* Footer — Showcasing the White/Sage/Beige Emblem Cleanly! */
.site-footer {
  background: #142B20;
  color: #EAE6DD;
  border-top: 3px solid var(--champagne-soft);
  padding-top: 58px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 120px 1.25fr 1fr 1fr;
  align-items: start;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-seal-wrap {
  background: #FAF8F4;
  border: 2px solid rgba(197, 160, 89, 0.65);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-logo {
  width: 92px;
  height: auto;
  border: 0;
}
.site-footer h2 { color: #FAF8F4; font-size: 24px; margin-bottom: 10px; }
.site-footer p { color: #D1DDD6; font-size: 13px; line-height: 1.70; }
.site-footer .eyebrow { color: #DEC28B; margin-bottom: 14px; }
.site-footer .text-link { color: var(--sage); }
.site-footer .text-link:hover { color: #FFFFFF; }
.footer-links > a {
  color: #DCE6E0;
  margin-bottom: 9px;
  font-size: 13px;
  display: block;
}
.footer-links > a:hover { color: var(--sage); transform: translateX(2px); }
.footer-bottom {
  border-top: 1px solid rgba(250, 248, 244, 0.14);
  color: #B8C8BF;
  padding-block: 22px 28px;
  padding-right: 140px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-bottom > div { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-bottom a:hover { color: #FFFFFF; text-decoration: underline; }
.preferences-button {
  background: none;
  border: 0;
  color: #DEC28B;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Floating WhatsApp & Cookie Banner */
.whatsapp-float {
  color: #FFFFFF;
  z-index: 45;
  background: linear-gradient(135deg, #1E563B 0%, #133926 100%);
  border: 1px solid rgba(142, 197, 146, 0.60);
  border-radius: 999px;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  position: fixed;
  bottom: 20px;
  right: 20px;
  box-shadow: 0 12px 28px -8px rgba(11, 25, 18, 0.52);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -8px rgba(11, 25, 18, 0.65);
  color: #FFFFFF;
}

.cookie-banner {
  z-index: 60;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  width: min(460px, calc(100% - 32px));
  padding: 18px 20px;
  position: fixed;
  bottom: 18px;
  left: 18px;
  box-shadow: 0 22px 52px -14px rgba(11, 25, 18, 0.34);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner strong {
  color: var(--foreground);
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
}
.cookie-banner strong svg { color: var(--primary); }
.cookie-banner p { margin: 7px 0 12px; font-size: 12px; line-height: 1.60; }
.cookie-banner a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-button {
  min-height: 34px;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--background-sand);
  color: var(--foreground);
}
.cookie-button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

/* Scroll Reveal Dynamic Feel */
.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1060px) {
  .container { width: calc(100% - 44px); }
  .hero-stage-photo { inset: 0 0 0 28%; }
  .hero-inner { grid-template-columns: minmax(0, 520px) 1fr; }
  .editorial-split, .faq-home, .office-split, .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-grid, .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: 1fr; gap: 32px; }
  .context-sidebar { position: static; order: -1; }
  .footer-grid { grid-template-columns: 110px 1fr 1fr; gap: 32px; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding-block: 8px;
    min-height: 0;
  }
  .brand { width: 156px; }
  .header-contact { padding: 7px 12px; font-size: 11.5px; }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    overflow-x: auto;
  }
  /* Mobile Hero: Retrato no topo fundindo em degradê para o bloco claro com H1 2 linhas + CTA na 1ª dobra! */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, #12241B 0%, #1D3529 28%, #F7F3EA 52%, #FAF8F3 100%);
  }
  .hero::before { display: none; }
  .hero-stage-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 205px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-stage-photo img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: 60% 18%;
  }
  .hero-stage-photo::after {
    background:
      linear-gradient(180deg, rgba(11, 25, 18, 0.25) 0%, transparent 45%, #F7F3EA 99%),
      linear-gradient(90deg, rgba(11, 25, 18, 0.35) 0%, transparent 45%, rgba(11, 25, 18, 0.45) 100%);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 0 26px;
    margin-top: -26px;
    gap: 14px;
  }
  .hero-copy {
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.94);
  }
  .hero-copy h1 {
    font-size: clamp(17.5px, 4.6vw, 20.5px);
    line-height: 1.26;
  }
  .page-intro h1 {
    font-size: clamp(20px, 5.2vw, 23.5px);
    line-height: 1.24;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.58;
    margin-bottom: 16px;
  }
  .actions { gap: 10px; }
  .actions .btn { width: 100%; min-height: 46px; padding: 11px 18px; }
  .hero-pills { display: none; }
  .hero-right-badge { display: none; }
  .section { padding-block: 54px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  .service-grid, .method-flow, .articles-grid, .principles, .form-row { grid-template-columns: 1fr; }
  .content-layout > .prose, main.container > .prose { padding: 24px 20px; }
  .office-split { padding: 20px; }
  .office-split > img { height: 300px; }
  .method-note { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-band > .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .author-bio-card { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-right: 0; padding-bottom: 84px; }
  .whatsapp-float { width: 50px; height: 50px; padding: 0; justify-content: center; bottom: 16px; right: 16px; }
  .whatsapp-float span { display: none; }
  .search-field { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-up { opacity: 1 !important; transform: none !important; }
}
