/* ===========================================
   KONTEL — Sistema visual
   Banco privado clássico × consultoria boutique
   =========================================== */

:root {
  /* Tinta & papel */
  --ink:          oklch(0.18 0.02 252);
  --ink-soft:     oklch(0.32 0.02 252);
  --muted:        oklch(0.48 0.012 252);
  --paper:        oklch(0.965 0.012 82);
  --paper-deep:   oklch(0.93 0.016 82);
  --paper-warm:   oklch(0.91 0.02 78);

  /* Navy — herdado do logo, mas dessaturado para sobriedade */
  --navy:         oklch(0.22 0.05 252);
  --navy-deep:    oklch(0.16 0.045 254);
  --navy-soft:    oklch(0.34 0.045 252);

  /* Acento bronze quente — substitui o ciano "tech" */
  --bronze:       oklch(0.60 0.085 62);
  --bronze-deep:  oklch(0.48 0.08 60);
  --bronze-soft:  oklch(0.78 0.06 70);

  /* Linhas e estruturas */
  --rule:         oklch(0.85 0.01 80);
  --rule-strong:  oklch(0.72 0.012 80);
  --rule-dark:    oklch(0.30 0.04 252);

  /* Tipografia */
  --serif:        "Instrument Serif", "Source Serif 4", Georgia, serif;
  --sans:         "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono:         "Geist Mono", ui-monospace, monospace;

  /* Escala */
  --container:    1320px;
  --gutter:       clamp(20px, 4vw, 56px);
}

/* Modo escuro/navy — alternativa via tweak */
:root[data-mode="navy"] {
  --ink:          oklch(0.95 0.008 80);
  --ink-soft:     oklch(0.82 0.012 80);
  --muted:        oklch(0.62 0.015 80);
  --paper:        oklch(0.14 0.04 254);
  --paper-deep:   oklch(0.11 0.04 254);
  --paper-warm:   oklch(0.18 0.045 252);
  --rule:         oklch(0.28 0.04 252);
  --rule-strong:  oklch(0.38 0.04 252);
  --navy:         oklch(0.95 0.008 80);
  --navy-deep:    oklch(0.98 0.005 80);
  --navy-soft:    oklch(0.78 0.014 80);
}

/* Acento alternativo: só azul, sem bronze */
:root[data-accent="blue"] {
  --bronze:       oklch(0.58 0.10 248);
  --bronze-deep:  oklch(0.45 0.10 250);
  --bronze-soft:  oklch(0.75 0.06 250);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--navy); color: var(--paper); }

/* ----------- Container e helpers ----------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--rule-strong);
  display: inline-block;
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--bronze);
}

.rule { height: 1px; background: var(--rule); border: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { color: var(--ink-soft); text-wrap: pretty; }

/* ----------- Botões ----------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  border-radius: 2px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-link {
  padding: 0;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--bronze-deep); }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------- Header ----------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-mark {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-mark .dot { color: var(--bronze); }
.logo-text {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  line-height: 1.4;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-portal {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-portal:hover { color: var(--navy); }

/* ----------- Hero ----------- */

.hero {
  padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-meta-right {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.hero-meta-right strong { color: var(--ink); font-weight: 500; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 56px;
}
.hero-title em {
  font-style: italic;
  color: var(--bronze-deep);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  margin-top: 32px;
}
.hero-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 52ch;
}
.hero-lead .first-line {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--navy);
  display: block;
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-aside {
  border-left: 1px solid var(--rule);
  padding-left: clamp(20px, 3vw, 36px);
}
.hero-aside-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero-attribution {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.hero-attribution strong { display: block; color: var(--ink); font-weight: 500; }

/* ----------- Trust strip ----------- */

.trust {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 0;
  background: var(--paper-deep);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.trust-num span {
  font-size: 44px;
  letter-spacing: -0.015em;
}
.trust-num sup {
  font-size: 22px;
  vertical-align: top;
  color: var(--bronze);
  margin-left: 4px;
}
.trust-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.trust-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ----------- Generic section ----------- */

section.block {
  padding: clamp(80px, 11vw, 160px) 0;
}
.section-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 96px);
  align-items: start;
}
.section-header-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section-title {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--bronze-deep); }
.section-intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 24px;
}

/* ----------- Sobre ----------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.about-image {
  aspect-ratio: 4/5;
  position: relative;
}

/* Ficha do escritório: substitui a foto por uma carta editorial sóbria */
.about-card {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 0.5px), var(--rule) calc(33.33% - 0.5px) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px) calc(66.66% - 0.5px), var(--rule) calc(66.66% - 0.5px) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px));
  opacity: 0.35;
  pointer-events: none;
}
.about-card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.about-card-mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(72px, 8vw, 108px);
  line-height: 0.85;
  color: var(--navy);
  letter-spacing: -0.04em;
}
.about-card-mono span { color: var(--bronze); }
.about-card-logo {
  display: flex;
  align-items: flex-start;
}
.about-card-logo img {
  display: block;
  width: clamp(140px, 16vw, 200px);
  height: auto;
  object-fit: contain;
}

/* Destaque azul editorial */
.hl-blue {
  color: oklch(0.55 0.14 250);
  font-style: italic;
}
:root[data-mode="navy"] .hl-blue {
  color: oklch(0.72 0.13 250);
}

/* ===========================================
   Animações — fade-up sutis, sem ruído
   =========================================== */

@media (prefers-reduced-motion: no-preference) {
  /* Reveal-on-scroll: aplica em qualquer elemento .reveal e em filhos diretos de .reveal-group */
  .reveal,
  .reveal-group > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .reveal.is-visible,
  .reveal-group.is-visible > * {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger interno em grupos: cada filho entra 80ms depois do anterior */
  .reveal-group > *:nth-child(1)  { transition-delay: 0ms; }
  .reveal-group > *:nth-child(2)  { transition-delay: 80ms; }
  .reveal-group > *:nth-child(3)  { transition-delay: 160ms; }
  .reveal-group > *:nth-child(4)  { transition-delay: 240ms; }
  .reveal-group > *:nth-child(5)  { transition-delay: 320ms; }
  .reveal-group > *:nth-child(6)  { transition-delay: 400ms; }
  .reveal-group > *:nth-child(7)  { transition-delay: 480ms; }
  .reveal-group > *:nth-child(n+8) { transition-delay: 560ms; }

  /* Hero title: entrada linha-a-linha, sem precisar de scroll */
  .hero-title-stagger .line {
    display: block;
    opacity: 0;
    transform: translateY(18px);
    animation: heroLineIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero-title-stagger .line:nth-child(1) { animation-delay: 0.10s; }
  .hero-title-stagger .line:nth-child(2) { animation-delay: 0.22s; }
  .hero-title-stagger .line:nth-child(3) { animation-delay: 0.36s; }
  @keyframes heroLineIn {
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-stagger .line { display: block; }
}
.about-card-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  margin-top: 8px;
}
.about-card-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.about-card-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.about-card-row .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-card-row .v {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
  line-height: 1.3;
}
.about-card-quote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.35;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.about-callouts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.about-callout {
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
}
.about-callout h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0;
}
.about-callout p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.about-text p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.about-text p.lead {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 28px;
}

/* ----------- Serviços ----------- */

.services-section { background: var(--paper-deep); }
.services-list {
  border-top: 1px solid var(--rule-strong);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 40px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: padding 0.3s ease, background 0.3s ease;
  position: relative;
  cursor: pointer;
}
.service-row:hover {
  padding-inline: 8px;
}
.service-row:hover .service-arrow { color: var(--bronze); transform: translateX(4px); }
.service-num {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  color: var(--bronze);
  letter-spacing: -0.02em;
  line-height: 1;
}
.service-title-h {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.service-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}
.service-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.service-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
}
.service-arrow {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink-soft);
  transition: all 0.25s ease;
  align-self: center;
  text-align: right;
}

/* ----------- Setores ----------- */

.sectors-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.sector-col {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
}
.sector-col:last-child { border-right: 0; }
.sector-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 20px;
  font-weight: 500;
}
.sector-col ul { list-style: none; }
.sector-col li {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy);
  padding: 4px 0;
}
.sector-col li::before {
  content: "—";
  color: var(--rule-strong);
  margin-right: 10px;
}

.sectors-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ----------- Diferenciais ----------- */

.diff-section { background: var(--navy); color: var(--paper); }
.diff-section h2, .diff-section h3, .diff-section h4 { color: var(--paper); }
.diff-section .eyebrow { color: var(--bronze-soft); }
.diff-section .eyebrow::before { background: var(--bronze-soft); }
.diff-section .section-title em { color: var(--bronze-soft); }
.diff-section .section-intro { color: oklch(0.78 0.012 80); }
.diff-section .section-num { color: var(--bronze-soft); }

.diff-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.diff-card {
  padding: 48px 36px;
  border-right: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.diff-card:last-child { border-right: 0; }
.diff-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--bronze-soft);
  line-height: 1;
}
.diff-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  color: var(--paper);
}
.diff-card p { color: oklch(0.82 0.012 80); font-size: 15px; line-height: 1.6; }

.diff-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.diff-mini h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--bronze-soft);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.diff-mini p { color: oklch(0.78 0.012 80); font-size: 14px; }

/* ----------- Equipe ----------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card { display: flex; flex-direction: column; gap: 16px; }
.team-photo {
  aspect-ratio: 4/5;
}

/* Cartão de monograma (substituto enquanto não há fotos) */
.monogram-card { gap: 18px; }
.monogram {
  aspect-ratio: 4/5;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}
.monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, transparent calc(50% - 0.5px), var(--rule) calc(50% - 0.5px), var(--rule) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--rule) calc(50% - 0.5px), var(--rule) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  background-size: 100% 100%;
  opacity: 0.45;
  pointer-events: none;
}
.monogram-letters {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(96px, 11vw, 156px);
  line-height: 0.85;
  color: var(--navy);
  letter-spacing: -0.04em;
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: auto;
}
.monogram-letters::after {
  content: ".";
  color: var(--bronze);
}
.monogram-meta {
  position: relative;
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-end;
  margin-left: auto;
}
.monogram-meta span:nth-child(2) { color: var(--rule-strong); }

/* Cartão do signatário (substitui seção de equipe enquanto é um só) */
.signatory {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: clamp(40px, 5vw, 64px) 0;
  align-items: stretch;
}

/* Foto do signatário, retrato editorial */
.signatory-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper-deep);
  align-self: start;
}
.signatory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  /* Tratamento editorial discreto: ligeira dessaturação + ajuste de contraste */
  filter: saturate(0.82) contrast(1.04);
  transition: filter 0.4s ease;
}
.signatory:hover .signatory-photo img { filter: saturate(1) contrast(1.04); }
.signatory-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.16 0.045 254 / 0.45) 0%, transparent 38%);
  pointer-events: none;
}
.signatory-photo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: color-mix(in oklch, var(--navy-deep) 70%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 12px;
  z-index: 1;
}
.signatory-photo-tag span:nth-child(2) { color: var(--bronze-soft); }

.signatory-mono {
  background: var(--navy);
  color: var(--paper);
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.signatory-mono::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, transparent calc(50% - 0.5px), var(--rule-dark) calc(50% - 0.5px), var(--rule-dark) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--rule-dark) calc(50% - 0.5px), var(--rule-dark) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  opacity: 0.45;
  pointer-events: none;
}
.signatory-mono-letters {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(150px, 16vw, 220px);
  line-height: 0.82;
  color: var(--paper);
  letter-spacing: -0.045em;
  margin: auto 0;
}
.signatory-mono-letters span { color: var(--bronze-soft); }
.signatory-mono-meta {
  position: relative;
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-top: auto;
}
.signatory-mono-meta span:nth-child(2) { color: oklch(0.55 0.04 252); }

.signatory-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.signatory-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.signatory-name {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: -4px;
}
.signatory-bio {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}
.signatory-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.signatory-cred { display: flex; flex-direction: column; gap: 4px; }
.signatory-cred .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.signatory-cred .v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  line-height: 1.3;
}

/* LinkedIn link no card do signat\u00e1rio */
.signatory-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  align-self: flex-start;
  transition: all 0.25s ease;
  border-radius: 2px;
}
.signatory-linkedin:hover {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.signatory-linkedin svg { transition: transform 0.25s ease; }
.signatory-linkedin .arrow {
  font-size: 14px;
  transition: transform 0.25s ease;
}
.signatory-linkedin:hover .arrow { transform: translate(2px, -2px); }

.team-note {
  margin-top: 40px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  line-height: 1.15;
  margin-top: 6px;
}
.team-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-top: 2px;
}
.team-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 8px;
}
.team-creds {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* ----------- Insights / Blog ----------- */

.insights-section { background: var(--paper-warm); }

/* Featured insight + upcoming */
.insights-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
.insights-featured.single {
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin: 0 auto;
}
.insights-featured.single .insight-feature {
  grid-template-columns: 0.55fr 1fr;
}
.insight-feature {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
}
.insight-feature:hover { border-color: var(--rule-strong); }
.insight-feature:hover .insight-feature-title { color: var(--bronze-deep); }
.insight-feature:hover .arrow { transform: translateX(4px); }

.insight-feature-cover {
  background: oklch(0.16 0.045 254);
  color: oklch(0.965 0.012 82);
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.insight-feature-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 calc(20% - 0.5px), color-mix(in srgb, oklch(0.965 0.012 82) 6%, transparent) calc(20% - 0.5px) calc(20% + 0.5px), transparent calc(20% + 0.5px));
  pointer-events: none;
}
.insight-feature-cover-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, oklch(0.965 0.012 82) 18%, transparent);
}
.insight-feature-cover-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.75 0.06 250);
}
.insight-feature-cover-issue {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.72 0.012 80);
}
.insight-feature-cover-issue sup {
  font-size: 0.7em;
  vertical-align: 0.4em;
  margin-left: 1px;
}
.insight-feature-cover-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.insight-feature-cover-tags .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.965 0.012 82);
  border: 1px solid color-mix(in srgb, oklch(0.965 0.012 82) 28%, transparent);
  padding: 4px 8px 3px;
  border-radius: 999px;
}
.insight-feature-cover-tags .tag:first-child {
  background: var(--bronze);
  border-color: var(--bronze);
  color: oklch(0.14 0.04 254);
}
.insight-feature-cover-statement {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: oklch(0.965 0.012 82);
  margin: auto 0;
  display: flex;
  flex-direction: column;
}
.insight-feature-cover-statement .line { display: block; }
.insight-feature-cover-statement em {
  font-style: italic;
  color: oklch(0.75 0.06 250);
}
.insight-feature-cover-foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, oklch(0.965 0.012 82) 18%, transparent);
}
.insight-feature-cover-foot-l,
.insight-feature-cover-foot-r {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insight-feature-cover-foot-r { text-align: right; }
.insight-feature-cover-foot .k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.75 0.06 250);
}
.insight-feature-cover-foot .v {
  font-family: var(--serif);
  font-size: 14px;
  color: oklch(0.965 0.012 82);
  line-height: 1.2;
}

.insight-feature-text {
  padding: 36px clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.insight-feature-title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  transition: color 0.25s;
}
.insight-feature-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.insights-upcoming {
  border-top: 1px solid var(--rule-strong);
  padding-top: 16px;
}
.insights-upcoming-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 18px;
}
.insights-upcoming ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.insights-upcoming li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.insights-upcoming li:last-child { border-bottom: 0; }
.upcoming-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.upcoming-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* Cards antigos do insight (mantidos para outras p\u00e1ginas) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}
.insight-image {
  aspect-ratio: 5/3;
}
.insight-meta {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.insight-meta .dot { color: var(--rule-strong); }
.insight-meta .cat { color: var(--bronze-deep); }
.insight-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.insight-card:hover .insight-title { color: var(--bronze-deep); }
.insight-excerpt { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

.insights-all {
  margin-top: 56px;
  text-align: center;
}

/* ----------- Contato ----------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
.contact-form {
  display: grid;
  gap: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 80px; }

.form-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

.contact-info {
  border-left: 1px solid var(--rule);
  padding-left: clamp(24px, 4vw, 56px);
}
.contact-info-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-info-item:first-of-type { padding-top: 0; }
.contact-info-item:last-of-type { border-bottom: 0; }
.contact-info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-info-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  line-height: 1.3;
  font-style: italic;
}
.contact-info-value.plain { font-style: normal; font-size: 18px; }

/* ----------- Footer ----------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}
/* Logo no rodapé — invertido para fundo escuro via filtro */
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* O logo original tem azul escuro no fundo escuro — invertemos a luminosidade */
  filter: brightness(0) invert(1) opacity(0.94);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 44px;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
}
.footer-brand .dot { color: var(--bronze-soft); }
.footer-tagline {
  font-size: 15px;
  color: oklch(0.78 0.012 80);
  margin-top: 18px;
  line-height: 1.55;
  max-width: 32ch;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: oklch(0.82 0.012 80);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  border-top: 1px solid var(--rule-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: oklch(0.62 0.015 80);
}
.footer-legal { display: flex; gap: 24px; }

/* ----------- Placeholder de imagem ----------- */

.img-ph {
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    color-mix(in srgb, var(--ink) 4%, transparent) 14px,
    color-mix(in srgb, var(--ink) 4%, transparent) 15px
  );
}
.img-ph-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
  background: var(--paper);
  padding: 8px 12px;
  border: 1px solid var(--rule);
}
.img-ph-label .pill {
  display: inline-block;
  background: var(--bronze);
  color: var(--paper);
  padding: 2px 8px;
  margin-right: 8px;
  letter-spacing: 0.16em;
  font-size: 9px;
}

/* Variantes do placeholder para destaque visual */
.img-ph.dark { background: var(--navy); }
.img-ph.dark::before {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    color-mix(in srgb, var(--paper) 6%, transparent) 14px,
    color-mix(in srgb, var(--paper) 6%, transparent) 15px
  );
}
.img-ph.dark .img-ph-label { background: var(--navy-deep); border-color: var(--rule-dark); color: var(--bronze-soft); }

/* ----------- WhatsApp flutuante ----------- */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  box-shadow: 0 8px 32px -8px oklch(0.16 0.045 254 / 0.18), 0 2px 8px oklch(0.16 0.045 254 / 0.08);
  text-decoration: none;
  transition: all 0.25s ease;
  font-family: var(--sans);
}
.wa-float:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: 0 12px 36px -8px oklch(0.16 0.045 254 / 0.25), 0 4px 12px oklch(0.16 0.045 254 / 0.12);
}
.wa-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}
.wa-float-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}
.wa-float-label .k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.wa-float-label .v {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    padding: 8px;
    gap: 0;
  }
  .wa-float-label { display: none; }
  .wa-float-icon { width: 44px; height: 44px; }
}

/* ----------- Responsivo ----------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 32px; }
  .section-header { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-primary, .diff-secondary, .team-grid, .insights-grid, .sectors-wrap { grid-template-columns: 1fr; }
  .insights-featured { grid-template-columns: 1fr; }
  .insight-feature { grid-template-columns: 1fr; }
  .insight-feature-cover { min-height: 260px; }
  .signatory { grid-template-columns: 1fr; }
  .diff-card, .sector-col { border-right: 0; border-bottom: 1px solid var(--rule-dark); }
  .sector-col { border-bottom: 1px solid var(--rule); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .service-row > .service-desc, .service-row > .service-arrow { grid-column: 2; }
  .main-nav { display: none; }
  .logo-text { display: none; }
}

@media (max-width: 640px) {
  .header-portal { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-meta-right { text-align: left; }
}
