/* =========================================================
   Prado Pientzenauer Advogados
   Theming: light (default) + dark, via [data-theme="dark"]
   ========================================================= */

:root {
  /* Brand constants */
  --coral:     #D36D6D;
  --coral-dk:  #B85555;
  --sand:      #CFC7BE;
  --paper:     #F4F2EF;
  --ink:       #0F1F2A;
  --ink-2:     #1E2D3A;

  /* Page tokens — LIGHT (default) */
  --bg:        #F4F2EF;
  --bg-2:      #EDEAE4;
  --surface:   #FFFFFF;
  --fg:        #0F1F2A;
  --fg-muted:  #1E2D3A;
  --fg-soft:   rgba(15, 31, 42, 0.62);
  --line:      rgba(15, 31, 42, 0.12);

  /* Inverted section tokens — opposite of page in current theme */
  --inv-bg:    #0F1F2A;
  --inv-bg-2:  #1E2D3A;
  --inv-fg:    #F4F2EF;
  --inv-fg-soft: rgba(244, 242, 239, 0.72);
  --inv-line:  rgba(244, 242, 239, 0.14);

  --serif: "DM Serif Display", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #0F1F2A;
  --bg-2:      #16242F;
  --surface:   #1E2D3A;
  --fg:        #F4F2EF;
  --fg-muted:  rgba(244, 242, 239, 0.82);
  --fg-soft:   rgba(244, 242, 239, 0.6);
  --line:      rgba(244, 242, 239, 0.14);

  --inv-bg:    #F4F2EF;
  --inv-bg-2:  #EDEAE4;
  --inv-fg:    #0F1F2A;
  --inv-fg-soft: rgba(15, 31, 42, 0.62);
  --inv-line:  rgba(15, 31, 42, 0.12);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s ease, color .5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============================================================
   TYPE
============================================================ */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.h-display {
  font-family: var(--serif);
  font-size: clamp(54px, 9.2vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.h-1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h-3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--coral);
}
.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--fg-muted);
  font-weight: 400;
}
.dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  background: var(--coral);
  border-radius: 999px;
  vertical-align: 0.04em;
  margin-left: 0.02em;
}

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { position: relative; transition: background .5s ease, color .5s ease; }
.section-pad { padding: clamp(72px, 10vw, 140px) 0; }

/* invert section colors vs current theme */
.s-invert { background: var(--inv-bg); color: var(--inv-fg); }
.s-invert .eyebrow,
.s-invert .accent-text { color: var(--coral); }

/* ============================================================
   LOGO (image mark + HTML text tagline)
   - Mark image swaps dark/light by theme + invert context
   - "ADVOGADOS" tagline rendered as HTML text — always sharp
============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  gap: 12px;
  color: inherit;
}
.logo-img {
  display: block;
  height: var(--logo-h, 38px);
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
}
.logo-tagline {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: calc(var(--logo-h, 38px) * 0.18);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  padding-left: 14px;
  border-left: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

/* default: light theme → dark logo visible */
.logo-img--dark { display: block; }
.logo-img--light { display: none; }

/* dark theme → light logo visible */
[data-theme="dark"] .logo-img--dark { display: none; }
[data-theme="dark"] .logo-img--light { display: block; }

/* .s-invert sections invert again */
.s-invert .logo-img--dark { display: none; }
.s-invert .logo-img--light { display: block; }
[data-theme="dark"] .s-invert .logo-img--dark { display: block; }
[data-theme="dark"] .s-invert .logo-img--light { display: none; }

/* NAV over-invert (over hero) */
.nav--over-invert .logo-img--dark { display: none; }
.nav--over-invert .logo-img--light { display: block; }
[data-theme="dark"] .nav--over-invert .logo-img--dark { display: block; }
[data-theme="dark"] .nav--over-invert .logo-img--light { display: none; }
/* once scrolled, nav back to normal */
.nav.scrolled.nav--over-invert .logo-img--dark { display: block; }
.nav.scrolled.nav--over-invert .logo-img--light { display: none; }
[data-theme="dark"] .nav.scrolled.nav--over-invert .logo-img--dark { display: none; }
[data-theme="dark"] .nav.scrolled.nav--over-invert .logo-img--light { display: block; }

/* nav: no tagline (too small) */
.nav .logo-tagline { display: none; }

/* footer: stacked layout, larger — uses full logo SVG */
.logo-stacked {
  --logo-h: clamp(80px, 11vw, 144px);
}
.logo-stacked .logo-img {
  /* full logo SVG includes ADVOGADOS — let it be its own height */
  height: var(--logo-h);
}

/* ============================================================
   NAV
   - .nav: cores normais (do tema)
   - .nav--over-invert: cores invertidas (sobre seção .s-invert)
============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  transition: background .4s ease, padding .4s ease, border-color .4s ease, color .4s ease;
  border-bottom: 1px solid transparent;
  color: var(--fg);
}
.nav--over-invert { color: var(--inv-fg); }
.nav--over-invert .lang-switch,
.nav--over-invert .theme-toggle,
.nav--over-invert .menu-btn {
  border-color: var(--inv-line);
}
.nav--over-invert .lang-switch button.active {
  background: var(--inv-fg);
  color: var(--inv-bg);
}
.nav--over-invert .nav-cta {
  background: var(--inv-fg);
  color: var(--inv-bg);
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 14px 0;
  border-bottom-color: var(--line);
  color: var(--fg);
}
.nav.scrolled.nav--over-invert {
  /* once scrolled, the page bg sits behind the nav — back to normal tokens */
  color: var(--fg);
}
.nav.scrolled.nav--over-invert .lang-switch,
.nav.scrolled.nav--over-invert .theme-toggle,
.nav.scrolled.nav--over-invert .menu-btn {
  border-color: var(--line);
}
.nav.scrolled.nav--over-invert .lang-switch button.active {
  background: var(--fg);
  color: var(--bg);
}
.nav.scrolled.nav--over-invert .nav-cta {
  background: var(--fg);
  color: var(--bg);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* lang switch ----------- */
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: inherit;
  transition: border-color .25s;
}
.lang-switch button {
  padding: 5px 10px;
  border-radius: 999px;
  transition: background .2s, color .2s;
  color: inherit;
  opacity: 0.7;
}
.lang-switch button.active {
  background: var(--fg);
  color: var(--bg);
  opacity: 1;
}
.lang-switch button:hover:not(.active) { opacity: 1; }

/* theme toggle ----------- */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: inherit;
  transition: background .2s, border-color .25s, transform .3s;
}
.theme-toggle:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }

/* CTA ----------- */
.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--coral); color: var(--paper); }

/* MENU BUTTON (modern icon) -----------
   Composição: dois traços assimétricos + ponto coral.
   Hover: traços alinham; aberto: vira "X". */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  transition: background .2s, border-color .25s, color .2s;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.menu-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.menu-btn__icon {
  position: relative;
  width: 18px; height: 18px;
  display: inline-flex; flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: 0 0 18px;
}
.menu-btn__icon .bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: width .35s cubic-bezier(.7,0,.2,1),
              transform .35s cubic-bezier(.7,0,.2,1),
              opacity .25s;
}
.menu-btn__icon .bar-1 { width: 16px; margin-left: 0; }
.menu-btn__icon .bar-2 { width: 10px; margin-left: 6px; }
.menu-btn__icon .dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--coral);
  border-radius: 999px;
  bottom: 2px;
  left: 0;
  transition: transform .35s cubic-bezier(.7,0,.2,1), opacity .25s;
}
.menu-btn:hover .menu-btn__icon .bar-2 { width: 16px; margin-left: 0; }
.menu-btn:hover .menu-btn__icon .dot   { transform: translateX(14px); }

/* legacy nav-toggle (mobile small breakpoint hides label) */
.menu-btn__label { white-space: nowrap; }

/* ============================================================
   OVERLAY MENU
============================================================ */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.overlay-menu.open {
  display: block;
}
/* solid background — works without animation-dependent reveal */
.overlay-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  pointer-events: none;
}
[data-theme="dark"] .overlay-bg { background: var(--paper); }
/* subtle decorative panel rules (vertical) */
.overlay-bg::before,
.overlay-bg::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--inv-line);
}
[data-theme="dark"] .overlay-bg::before,
[data-theme="dark"] .overlay-bg::after { background: var(--line); }
.overlay-bg::before { left: 33.33%; }
.overlay-bg::after  { left: 66.66%; }

.overlay-inner {
  position: relative;
  height: 100%;
  color: var(--paper);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 28px;
  padding-bottom: 32px;
}
[data-theme="dark"] .overlay-inner { color: var(--ink); }

.overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--inv-line);
}
[data-theme="dark"] .overlay-head { border-bottom-color: var(--line); }
.overlay-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
}
.menu-close {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--inv-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit;
  transition: background .2s, transform .3s;
}
[data-theme="dark"] .menu-close { border-color: var(--line); }
.menu-close:hover { background: color-mix(in srgb, currentColor 10%, transparent); transform: rotate(90deg); }
.menu-close svg { width: 18px; height: 18px; }

.overlay-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 20px 0;
}
.o-link {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--inv-line);
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: inherit;
  transition: padding-left .35s cubic-bezier(.7,0,.2,1), color .25s;
  text-decoration: none;
}
[data-theme="dark"] .o-link { border-bottom-color: var(--line); }
.o-link .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--coral);
  align-self: center;
}
.o-link .lbl { display: inline-block; }
.o-link .arr {
  font-family: var(--serif);
  font-size: 0.5em;
  opacity: 0;
  transform: translateX(-12px);
  color: var(--coral);
  transition: opacity .3s, transform .35s cubic-bezier(.7,0,.2,1);
  align-self: center;
}
.o-link:hover {
  padding-left: 18px;
  color: var(--coral);
}
.o-link:hover .arr { opacity: 1; transform: translateX(0); }

.overlay-foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--inv-line);
}
[data-theme="dark"] .overlay-foot { border-top-color: var(--line); }
.overlay-col p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, currentColor 78%, transparent);
}
.overlay-col--meta .overlay-meta-row {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  display: flex; gap: 10px; align-items: center;
}
.overlay-col--meta .meta-sep { color: color-mix(in srgb, currentColor 30%, transparent); }
.overlay-col--meta .lang-mini,
.overlay-col--meta .theme-mini { color: color-mix(in srgb, currentColor 80%, transparent); }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: clamp(140px, 18vw, 220px) 0 0;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: end;
}
.hero h1 { margin: 0; color: inherit; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--coral); font-style: italic; }
.hero-meta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 56px 0 64px;
  border-top: 1px solid var(--inv-line);
  margin-top: 56px;
}
.s-invert .hero-meta { border-top-color: var(--inv-line); }
.hero-meta p {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--inv-fg-soft);
  max-width: 52ch;
}
.hero-meta .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn {
  font-size: 14px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn-primary {
  background: var(--coral);
  color: var(--paper);
}
.btn-primary:hover { background: var(--inv-fg); color: var(--inv-bg); }
.btn-ghost {
  background: transparent;
  color: var(--inv-fg);
  border: 1px solid var(--inv-line);
}
.btn-ghost:hover { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.btn .arrow { width: 14px; height: 14px; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ticker */
.ticker {
  border-top: 1px solid var(--inv-line);
  border-bottom: 1px solid var(--inv-line);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 38px);
}
.ticker-track {
  display: inline-flex;
  gap: 56px;
  animation: tick 38s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker .dot-sep {
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 999px;
  display: inline-block;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CONCEITO / STATS
============================================================ */
.concept {
  background: var(--bg);
  padding: clamp(80px, 10vw, 140px) 0;
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.concept-grid .left { position: sticky; top: 100px; }
.concept p.lede + p { margin-top: 24px; color: var(--fg-muted); }
.concept-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
}
.stat .num sup {
  font-size: 0.4em;
  color: var(--coral);
  font-family: var(--sans);
  font-weight: 500;
  margin-left: 4px;
  vertical-align: top;
  letter-spacing: 0.1em;
}
.stat .lbl {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ============================================================
   ÁREAS
============================================================ */
.areas .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.areas h2 { margin: 18px 0 0; }
.areas .head p {
  font-size: 16px;
  color: var(--inv-fg-soft);
  max-width: 44ch;
  margin: 0;
}
.area-list { border-top: 1px solid var(--inv-line); }
.area-row {
  border-bottom: 1px solid var(--inv-line);
  cursor: pointer;
  transition: background .3s;
}
.area-row:hover { background: color-mix(in srgb, var(--inv-fg) 4%, transparent); }
.area-row.open { background: color-mix(in srgb, var(--coral) 8%, transparent); }
.area-head {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 32px 8px;
}
.area-num {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--coral);
}
.area-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: transform .4s cubic-bezier(.7,0,.2,1);
}
.area-row.open .area-title { transform: translateX(8px); }
.area-tags {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--inv-fg) 50%, transparent);
  white-space: nowrap;
}
.area-toggle {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--inv-line);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, transform .4s, color .25s;
}
.area-row.open .area-toggle {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--paper);
  transform: rotate(45deg);
}
.area-toggle svg { width: 14px; height: 14px; }
.area-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.7,0,.2,1);
}
.area-row.open .area-body { grid-template-rows: 1fr; }
.area-body-inner { overflow: hidden; }
.area-content {
  display: grid;
  grid-template-columns: 60px 1.1fr 1fr;
  gap: 32px;
  padding: 0 8px 48px;
}
.area-content .desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--inv-fg-soft);
  margin: 0;
}
.area-content .sub-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--inv-fg) 70%, transparent);
}
.area-content .sub-list li { display: flex; gap: 12px; align-items: flex-start; }
.area-content .sub-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 999px;
  margin-top: 8px;
  flex: 0 0 6px;
}

/* ============================================================
   ESCRITÓRIO
============================================================ */
.office {
  background: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
}
.office-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.office-img {
  aspect-ratio: 4/5;
  background: var(--ink-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(244, 242, 239, 0.04) 0 14px,
      rgba(244, 242, 239, 0.08) 14px 28px
    ),
    var(--ink-2);
  color: rgba(244, 242, 239, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.office-text h2 { margin: 16px 0 28px; }
.office-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 0 0 18px;
}
.office-text .signature {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.office-text .signature .name { font-family: var(--serif); font-size: 22px; }
.office-text .signature .role { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   VALORES — composição tipográfica editorial (sem ícones)
============================================================ */
.values {
  background: var(--bg-2);
  padding: clamp(80px, 10vw, 140px) 0;
}
.values .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: end;
}
.values .head h2 { margin: 18px 0 0; max-width: 18ch; }
.values .head p { color: var(--fg-muted); max-width: 50ch; margin: 0; font-size: 16px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-cell {
  background: var(--bg-2);
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background .35s;
  min-height: 380px;
  overflow: hidden;
}
.value-cell:hover { background: var(--bg); }

/* coral rule extending from the LEFT edge — animates on hover */
.value-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 1px;
  background: var(--coral);
  transition: width .55s cubic-bezier(.7,0,.2,1);
}
.value-cell:hover::before { width: 60%; }

/* numeral + composição tipográfica */
.value-mark {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 4px;
}
.value-mark .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(72px, 7vw, 108px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--fg);
  position: relative;
  white-space: nowrap;
}
.value-mark .num::after {
  /* small coral dot anchored to the numeral baseline */
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  background: var(--coral);
  border-radius: 999px;
  right: -10px;
  bottom: 6px;
}
.value-mark .glyph {
  /* a small editorial mark drawn in SVG, unique per card */
  align-self: end;
  margin-bottom: 12px;
  color: var(--fg);
  opacity: 0.55;
  transition: opacity .3s, transform .5s cubic-bezier(.7,0,.2,1);
}
.value-cell:hover .value-mark .glyph { opacity: 1; transform: translateY(-4px); }
.value-mark .glyph svg { width: 28px; height: 28px; display: block; }

.value-cell .micro {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--coral);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.value-cell .micro::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--coral);
}
.value-cell h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.value-cell p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
  margin-top: auto;
}

/* ============================================================
   INSIGHTS
============================================================ */
.insights { padding: clamp(80px, 10vw, 140px) 0; }
.insights .head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.insights h2 { margin: 18px 0 0; }
.insights .view-all {
  font-size: 14px;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 4px;
}
.insight-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  cursor: pointer;
}
.insight-card .thumb {
  aspect-ratio: 4/3;
  background: var(--inv-bg-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.insight-card.featured .thumb { aspect-ratio: 4/3.6; }
.insight-card .meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inv-fg-soft);
}
.insight-card .meta .tag { color: var(--coral); }
.insight-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
  transition: color .25s;
}
.insight-card.featured h3 { font-size: clamp(28px, 2.6vw, 40px); }
.insight-card:hover h3 { color: var(--coral); }
.insight-card .read {
  font-size: 13px;
  color: var(--inv-fg-soft);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ============================================================
   CTA / CONTATO  (coral, fixed)
============================================================ */
.cta {
  background: var(--coral);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cta h2 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 76px);
  font-family: var(--serif);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.cta h2 em { font-style: italic; color: var(--ink); }
.cta .eyebrow { color: var(--ink); }
.cta .lede {
  color: rgba(244, 242, 239, 0.92);
  margin-top: 32px;
  max-width: 44ch;
}
.cta-info {
  margin-top: 56px;
  display: grid;
  gap: 18px;
  font-size: 14px;
  color: rgba(244,242,239,0.92);
}
.cta-info > div { display: flex; gap: 14px; align-items: center; }
.cta-info svg { color: var(--paper); flex: 0 0 18px; }

.cta-card {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 3vw, 44px);
  border-radius: 6px;
}
.cta-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 6px;
}
.cta-card .sub { font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  border: 0;
  border-bottom: 1px solid rgba(15,31,42,0.12);
  background: transparent;
  padding: 10px 0;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral); }
.field textarea { resize: vertical; min-height: 80px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral-dk); }
.field .err {
  font-size: 11px;
  color: var(--coral-dk);
  letter-spacing: 0.04em;
  display: none;
}
.field.invalid .err { display: block; }
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 14px;
}
.form-actions .disclaimer {
  font-size: 11px;
  color: var(--ink-2);
  max-width: 28ch;
  line-height: 1.4;
}
.submit-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s;
}
.submit-btn:hover { background: var(--coral); }
.submit-btn .arrow { transition: transform .25s; }
.submit-btn:hover .arrow { transform: translateX(3px); }
.form-success {
  display: none;
  padding: 28px 0;
  text-align: center;
}
.form-success.show { display: block; }
.form-success .ok {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.form-success h4 { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; }
.form-success p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  padding: clamp(60px, 7vw, 100px) 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--inv-line);
}
.foot-brand p {
  font-size: 14px;
  color: var(--inv-fg-soft);
  margin: 22px 0 0;
  max-width: 32ch;
  line-height: 1.55;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 22px;
  font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col li { font-size: 14px; color: var(--inv-fg-soft); }
.foot-col a:hover { color: var(--coral); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: color-mix(in srgb, var(--inv-fg) 55%, transparent);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* SVG icons sizing */
.icon-line { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .lang-switch { display: none; }
  .nav-cta { display: none; }
  .overlay-foot { grid-template-columns: 1fr 1fr; }
  .overlay-col--meta { grid-column: span 2; }
}
@media (max-width: 860px) {
  .menu-btn__label { display: none; }
  .menu-btn { padding: 10px; }
  .hero-meta { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta .actions { justify-content: flex-start; }
  .concept-grid { grid-template-columns: 1fr; gap: 40px; }
  .concept-grid .left { position: static; }
  .concept-stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .areas .head { grid-template-columns: 1fr; }
  .area-head { grid-template-columns: 40px 1fr auto; gap: 20px; padding: 24px 4px; }
  .area-tags { display: none; }
  .area-content { grid-template-columns: 1fr; padding: 0 4px 36px; gap: 18px; }
  .office-grid { grid-template-columns: 1fr; }
  .values .head { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-cell { min-height: 320px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insights .head { flex-direction: column; align-items: flex-start; }
  .cta-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logo { --logo-h: 32px; }
  .o-link { grid-template-columns: 40px 1fr auto; gap: 16px; }
  .overlay-bg { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: flex-start; }
  .value-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .logo { --logo-h: 28px; }
  .overlay-foot { grid-template-columns: 1fr; }
  .overlay-col--meta { grid-column: auto; }
  .overlay-bg { grid-template-columns: repeat(3, 1fr); }
}
