/* JH Consult | folha de estilo principal
   Paleta: vidro preto e fachada branca do Victoria Office Tower, ouro envelhecido da marca,
   vermelho da marquise do prédio usado só para marcar divergências. */

:root {
  --ink: #0D1015;
  --ink-2: #161B23;
  --ink-3: #202733;
  --line-dark: #2C3440;
  --gold: #B8945A;
  --gold-light: #D9BD85;
  --gold-deep: #7D5F2E;
  --paper: #F4F5F7;
  --white: #FFFFFF;
  --text: #1A1F27;
  --muted: #4D5563;
  --muted-dark: #AEB4BF;
  --line: #DADDE3;
  --red: #B42318;
  --red-light: #F0625A;
  --wa: #1E9E52;

  --f-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-text: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Montserrat", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 500; }
h1, h2 { font-family: var(--f-display); letter-spacing: -.01em; }
h3 { font-family: var(--f-text); font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
em.gold, .gold-em { font-style: italic; color: var(--gold-deep); }
.sec-ink em.gold, .hero em.gold, .page-hero em.gold { color: var(--gold-light); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sec-ink :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Rótulos, botões ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.sec-ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font-family: var(--f-text); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; text-align: center; line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sec-ink .btn-line, .hero .btn-line, .page-hero .btn-line { color: var(--white); border-color: rgba(255,255,255,.45); }
.sec-ink .btn-line:hover, .hero .btn-line:hover, .page-hero .btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #17843F; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--gold-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.sec-ink .link-arrow { color: var(--gold-light); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 16, 21, .96);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(13, 16, 21, .88); backdrop-filter: blur(10px); }
}
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; letter-spacing: .16em; }
.brand-name small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; min-height: 44px;
  font-size: .92rem; font-weight: 500; color: #E6E8EC; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--gold-light); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-42%);
  width: min(720px, 90vw);
  background: var(--ink-2); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold);
  padding: 20px; display: none;
  grid-template-columns: 1fr 1fr; gap: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.drop-panel.is-open { display: grid; }
.drop-panel a { display: block; padding: 12px 14px; text-decoration: none; color: var(--white); border-left: 2px solid transparent; }
.drop-panel a:hover, .drop-panel a[aria-current="page"] { background: var(--ink-3); border-left-color: var(--gold); }
.drop-panel a span { display: block; font-size: .82rem; color: var(--muted-dark); margin-top: 2px; line-height: 1.4; }
.drop-panel a strong { font-weight: 600; font-size: .95rem; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; color: #E6E8EC; text-decoration: none; font-family: var(--f-mono); font-size: .88rem; padding: 10px 6px; min-height: 44px; }
.header-tel:hover { color: var(--gold-light); }
.header-tel svg { width: 18px; height: 18px; color: var(--gold-light); }
.header-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.menu-btn { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .header-tel span { display: none; }
}
@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .menu-btn { display: inline-flex; }
  .header-tel, .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 120px; overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .nav > a[aria-current="page"] { box-shadow: none; }
  .drop-panel { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 12px; background: transparent; }
  .nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 20px; }
}
.nav-mobile-cta { display: none !important; }
@media (max-width: 420px) {
  .brand-name small { display: none; }
  .brand-name strong { font-size: 1.15rem; }
}

/* ---------- Hero da home ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(13,16,21,.82) 30%, rgba(13,16,21,.25) 70%, rgba(13,16,21,.45) 100%); }
.hero-in { padding-block: clamp(64px, 11vw, 150px) clamp(48px, 7vw, 88px); max-width: 780px; }
.hero h1 { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.6rem); line-height: 1.02; margin-bottom: 28px; font-weight: 500; }
.hero h1 em { display: block; font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #D5D9E0; max-width: 560px; margin-bottom: 36px; }
.hero-note { margin: 22px 0 0; font-size: .92rem; color: var(--muted-dark); }
.hero-note a { color: var(--white); font-family: var(--f-mono); text-decoration-color: var(--gold); text-underline-offset: 4px; }

.pillars { border-top: 1px solid var(--line-dark); position: relative; z-index: 1; background: rgba(13,16,21,.72); }
.pillars ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars li { padding: 26px 28px 28px 0; border-right: 1px solid var(--line-dark); }
.pillars li + li { padding-left: 28px; }
.pillars li:last-child { border-right: 0; }
.pillars a { text-decoration: none; display: block; }
.pillars .num { font-family: var(--f-mono); font-size: .75rem; color: var(--gold); letter-spacing: .12em; }
.pillars strong { display: block; font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; margin: 6px 0 4px; }
.pillars span.d { color: var(--muted-dark); font-size: .92rem; line-height: 1.5; display: block; }
.pillars a:hover strong { color: var(--gold-light); }
@media (max-width: 860px) {
  .hero-media { inset: 0; opacity: .5; }
  .hero-media::after { background: linear-gradient(180deg, rgba(13,16,21,.6) 0%, var(--ink) 92%); }
  .pillars ul { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .pillars li:last-child { border-bottom: 0; }
}

/* ---------- Seções ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.sec-white { background: var(--white); }
.sec-ink { background: var(--ink); color: #E6E8EC; }
.sec-ink h2, .sec-ink h3 { color: var(--white); }
.sec-ink p { color: #C5CAD3; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
.sec-head p { font-size: 1.12rem; color: var(--muted); }
.sec-ink .sec-head p { color: var(--muted-dark); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.6; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Foto com moldura deslocada, eco da moldura do monograma */
.framed { position: relative; margin: 0; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; pointer-events: none; }
.framed img { position: relative; z-index: 1; width: 100%; height: auto; }
.framed figcaption { position: relative; z-index: 1; font-size: .85rem; color: var(--muted); margin-top: 30px; }
@media (max-width: 600px) { .framed::before { inset: 10px -10px -10px 10px; } }

/* ---------- Posicionamento: linhas do papel de trabalho ---------- */
.statement { font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 3.4vw, 3.9rem); line-height: 1.08; margin: 0 0 20px; color: var(--ink); }
.statement em { font-style: italic; color: var(--gold-deep); display: block; }
.sec-ink .statement { color: var(--white); }
.sec-ink .statement em { color: var(--gold-light); }

.worksheet { list-style: none; border-top: 1px solid var(--line); }
.worksheet li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.worksheet .ref { font-family: var(--f-mono); font-size: .8rem; color: var(--gold-deep); padding-top: 4px; display: flex; align-items: center; gap: 8px; }
.worksheet .ref svg { width: 18px; height: 18px; color: var(--gold); }
.worksheet p { margin: 0; font-size: 1.08rem; }
.worksheet strong { color: var(--ink); }
.sec-ink .worksheet { border-color: var(--line-dark); }
.sec-ink .worksheet li { border-color: var(--line-dark); }
.sec-ink .worksheet .ref { color: var(--gold-light); }
.sec-ink .worksheet strong { color: var(--white); }

.signature-line { font-family: var(--f-mono); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-top: 28px; }
.signature-line span { display: inline-block; margin-right: 18px; }
.sec-ink .signature-line { color: var(--gold-light); }

/* ---------- Trilha do passivo (elemento de assinatura) ---------- */
.trail-wrap { position: relative; }
.trail { list-style: none; counter-reset: t; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.trail::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-dark); }
.trail li { position: relative; padding-right: 10px; }
.trail .tick {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--ink); border: 1px solid var(--line-dark); position: relative; z-index: 1;
  color: var(--gold-light);
}
.trail .tick svg { width: 22px; height: 22px; }
.trail .tick path { stroke-dasharray: 30; stroke-dashoffset: 0; }
.trail small { display: block; font-family: var(--f-mono); font-size: .7rem; color: var(--gold); letter-spacing: .12em; margin-top: 16px; }
.trail strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--white); margin-top: 4px; }
.trail li:last-child .tick { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.trail-light .trail::before { background: var(--line); }
.trail-light .trail .tick { background: var(--white); border-color: var(--line); color: var(--gold-deep); }
.trail-light .trail strong { color: var(--ink); }
.trail-light .trail small { color: var(--gold-deep); }

.js .trail.is-armed .tick path { stroke-dashoffset: 30; }
.js .trail.is-armed.is-visible .tick path { transition: stroke-dashoffset .5s var(--ease); stroke-dashoffset: 0; }
.js .trail.is-armed.is-visible li:nth-child(2) path { transition-delay: .15s; }
.js .trail.is-armed.is-visible li:nth-child(3) path { transition-delay: .3s; }
.js .trail.is-armed.is-visible li:nth-child(4) path { transition-delay: .45s; }
.js .trail.is-armed.is-visible li:nth-child(5) path { transition-delay: .6s; }
.js .trail.is-armed.is-visible li:nth-child(6) path { transition-delay: .75s; }
.js .trail.is-armed.is-visible li:nth-child(7) path { transition-delay: .9s; }
.js .trail.is-armed.is-visible li:nth-child(8) path { transition-delay: 1.05s; }

@media (max-width: 980px) {
  .trail { grid-template-columns: 1fr; gap: 0; }
  .trail::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .trail li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; align-items: center; padding: 0 0 14px; }
  .trail small { margin-top: 0; grid-column: 2; grid-row: 1; align-self: end; }
  .trail strong { grid-column: 2; margin-top: 0; }
  .trail .tick { grid-row: 1 / span 2; }
}

.findings { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 40px; }
.findings li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--ink-2); border: 1px solid var(--line-dark); border-left: 3px solid var(--red-light); font-size: .95rem; color: #E6E8EC; line-height: 1.45; }
.findings svg { width: 18px; height: 18px; color: var(--red-light); flex: none; margin-top: 2px; }
.trail-light + .findings li, .findings.light li { background: var(--white); border-color: var(--line); border-left-color: var(--red); color: var(--text); }
.findings.light svg { color: var(--red); }

/* ---------- Áreas de atuação ---------- */
.areas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area {
  grid-column: span 2; background: var(--white); padding: clamp(24px, 3vw, 36px);
  text-decoration: none; display: flex; flex-direction: column; gap: 10px; position: relative;
  transition: background-color .25s var(--ease);
}
.area::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.area:hover::after, .area:focus-visible::after { width: 100%; }
.area:hover { background: #FBFBFC; }
.area .num { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; color: var(--gold-deep); }
.area h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); line-height: 1.15; margin: 0; }
.area p { margin: 0; color: var(--muted); font-size: .98rem; }
.area .more { margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 600; color: var(--gold-deep); display: inline-flex; gap: 8px; align-items: center; }
.area .more svg { width: 16px; height: 16px; transition: transform .2s; }
.area:hover .more svg { transform: translateX(4px); }
.area.feature { grid-column: span 3; background: var(--ink); color: var(--white); min-height: 320px; }
.area.feature:hover { background: var(--ink-2); }
.area.feature h3 { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); }
.area.feature p { color: var(--muted-dark); }
.area.feature .num, .area.feature .more { color: var(--gold-light); }
.area.small { grid-column: span 2; }
@media (max-width: 1000px) {
  .areas { grid-template-columns: 1fr 1fr; }
  .area, .area.feature, .area.small { grid-column: span 1; }
  .area.feature { min-height: 0; }
}
@media (max-width: 620px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Seletor de situação ---------- */
.selector { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; text-align: left;
  min-height: 48px; padding: 11px 16px;
  background: var(--ink-2); color: #E6E8EC; border: 1px solid var(--line-dark); border-radius: var(--radius);
  cursor: pointer; font-size: .95rem; line-height: 1.35;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip .box { width: 18px; height: 18px; border: 1px solid var(--muted-dark); flex: none; display: grid; place-items: center; }
.chip .box svg { width: 14px; height: 14px; opacity: 0; color: var(--ink); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { border-color: var(--gold); background: #231F17; color: var(--white); }
.chip[aria-pressed="true"] .box { background: var(--gold); border-color: var(--gold); }
.chip[aria-pressed="true"] .box svg { opacity: 1; }
.selector-out { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink-2); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold); padding: 24px; }
.selector-out h3 { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; }
.selector-out .preview { font-size: .95rem; color: #D5D9E0; white-space: pre-line; min-height: 120px; margin-bottom: 18px; background: var(--ink); padding: 16px; border: 1px dashed var(--line-dark); }
.selector-out .btn { width: 100%; }
.selector-out .hint { font-size: .85rem; color: var(--muted-dark); margin: 12px 0 0; }
@media (max-width: 900px) { .selector { grid-template-columns: 1fr; } .selector-out { position: static; } }

/* ---------- Método ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); position: relative; }
.steps li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 14px; }
.steps h3 { font-family: var(--f-mono); font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
.sec-ink .steps, .sec-ink .steps li { border-color: var(--line-dark); }
.sec-ink .steps p { color: var(--muted-dark); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li:not(:nth-child(3n+1)) { padding: 26px 20px 26px 0; border-left: 0; }
  .steps li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .sec-ink .steps li:nth-child(even) { border-color: var(--line-dark); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps .n { font-size: 2.6rem; }
}

/* Método em linha do tempo (página própria) */
.timeline { list-style: none; position: relative; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.timeline .n { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: .9; color: var(--gold); }
.timeline h2 { font-family: var(--f-mono); font-size: 1rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; color: var(--ink); }
.timeline p { margin: 0; font-size: 1.12rem; max-width: 640px; }
.timeline .ask { margin-top: 14px; font-size: .95rem; color: var(--muted); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 64px 1fr; gap: 14px; } }

/* ---------- Grade de motivos / listas de serviço ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); list-style: none; }
.reasons li { background: var(--ink); padding: 30px 28px; }
.reasons h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; color: var(--white); margin-bottom: 10px; }
.reasons p { margin: 0; color: var(--muted-dark); font-size: .98rem; }
.reasons .ico { width: 34px; height: 34px; color: var(--gold-light); margin-bottom: 18px; }
.reasons.light { background: var(--line); border-color: var(--line); }
.reasons.light li { background: var(--white); }
.reasons.light h3 { color: var(--ink); }
.reasons.light p { color: var(--muted); }
.reasons.light .ico { color: var(--gold-deep); }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

.ledger { list-style: none; columns: 2; column-gap: 48px; counter-reset: l; border-top: 1px solid var(--line); }
.ledger li { break-inside: avoid; display: grid; grid-template-columns: 40px 1fr 22px; gap: 12px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); counter-increment: l; font-size: 1.02rem; }
.ledger li::before { content: counter(l, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; color: var(--gold-deep); }
.ledger svg { width: 18px; height: 18px; color: var(--gold); align-self: center; }
@media (max-width: 760px) { .ledger { columns: 1; } }

.cards-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(24px, 3vw, 36px); }
.card .tag { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 10px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .cards-4 { grid-template-columns: 1fr; } }

/* Equação da visão integrada */
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; }
.equation li { font-family: var(--f-mono); font-size: clamp(.8rem, .7rem + .4vw, 1rem); letter-spacing: .1em; text-transform: uppercase; padding: 14px 18px; border: 1px solid var(--line-dark); color: var(--white); background: var(--ink-2); }
.equation li.op { border: 0; background: none; color: var(--gold); padding: 0 2px; font-size: 1.3rem; }

/* Destaque (citação) */
.quote { border-left: 2px solid var(--gold); padding: 6px 0 6px 24px; margin: 32px 0 0; font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.3; color: var(--gold-light); }
.quote.dark { color: var(--gold-deep); }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); line-height: 1.05; margin-bottom: 22px; }
.page-hero .lead { color: #D5D9E0; margin-bottom: 30px; max-width: 620px; }
.page-hero .framed::before { border-color: var(--gold); }
.page-hero .framed img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .page-hero-in { grid-template-columns: 1fr; } .page-hero .framed { max-width: 560px; } }

.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .85rem; color: var(--muted-dark); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.crumbs a { color: #E6E8EC; text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold-light); }

.prose { max-width: 720px; }
.prose p { font-size: 1.1rem; }

.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; list-style: none; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 500; line-height: 1.35; min-height: 64px; }
.related a:hover { border-color: var(--gold); }
.related svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }

/* Faixa de contato dentro da página */
.cta-band { background: var(--ink); color: var(--white); border-top: 2px solid var(--gold); }
.cta-band-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); color: var(--white); }
.cta-band p { color: var(--muted-dark); margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band-in { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Chamada final da home */
.final { position: relative; isolation: isolate; color: var(--white); background: var(--ink); overflow: hidden; }
.final-media { position: absolute; inset: 0; z-index: -1; }
.final-media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.final-in { padding-block: clamp(80px, 11vw, 150px); max-width: 860px; }
.final h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); color: var(--white); }
.final p { font-size: 1.2rem; color: #D5D9E0; margin-bottom: 36px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 1.08rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--gold-deep); transition: transform .2s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 760px; }
.faq .ans p:last-child { margin: 0; }

/* Onde estamos */
.place { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.place-photo { margin: 0; }
.place-photo button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; width: 100%; }
.place-photo img { width: 100%; height: auto; }
.place-photo .zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(13,16,21,.85); color: var(--white); font-size: .78rem; padding: 6px 10px; display: inline-flex; gap: 6px; align-items: center; }
.place-photo .zoom svg { width: 14px; height: 14px; }
.place-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.place-info { display: flex; flex-direction: column; gap: 20px; }
.place-info address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }
.place-info address strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; display: block; margin-bottom: 4px; }
.map { position: relative; flex: 1; min-height: 320px; border: 1px solid var(--line); background: var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 760px) { .place { grid-template-columns: 1fr; } .place-photo { max-width: 300px; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(22px, 4vw, 40px); }
.form h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  background: var(--paper); border: 1px solid #B9BFC9; border-radius: var(--radius); color: var(--text);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--gold-deep); background: var(--white); }
.field .err { color: var(--red); font-size: .85rem; min-height: 1em; }
.field [aria-invalid="true"] { border-color: var(--red); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.geo { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; padding: 14px 16px; background: var(--paper); border: 1px dashed #B9BFC9; }
.geo .btn { min-height: 44px; padding: 10px 16px; font-size: .88rem; }
.geo p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1 1 200px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: .85rem; flex: 1 1 220px; }

.direct { display: grid; gap: 12px; }
.direct a { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 18px 20px; background: var(--ink); color: var(--white); text-decoration: none; border: 1px solid var(--ink); min-height: 76px; }
.direct a:hover { border-color: var(--gold); }
.direct .i { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--gold-light); }
.direct .i svg { width: 22px; height: 22px; }
.direct small { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.direct strong { font-weight: 600; font-size: 1.05rem; word-break: break-word; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.foot-brand p { margin: 18px 0 0; max-width: 360px; }
.foot-brand .motto { font-family: var(--f-display); font-style: italic; color: var(--gold-light); font-size: 1.15rem; }
.site-footer h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: #E6E8EC; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.foot-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: .85rem; }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--gold-light); padding: 0; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Contato fixo ---------- */
.mbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 72px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--ink); border-top: 1px solid var(--line-dark);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: var(--radius); }
  .mbar svg { width: 20px; height: 20px; }
  .mbar .call { color: var(--white); border: 1px solid var(--line-dark); }
  .mbar .wa { background: var(--wa); color: var(--white); }
}
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 60px; min-width: 60px; padding: 0 18px; border-radius: 30px;
  background: var(--wa); color: var(--white); text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: gap .25s var(--ease), padding .25s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 220px; }
@media (max-width: 860px) { .wa-float { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(8, 10, 13, .9); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.lightbox p { color: #E6E8EC; text-align: center; margin: 12px 0 0; font-size: .95rem; }
.lightbox .close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; background: var(--ink); color: var(--white); border: 1px solid var(--line-dark); cursor: pointer; display: grid; place-items: center; }
.lightbox .close svg { width: 22px; height: 22px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound .code { font-family: var(--f-display); font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; color: var(--gold); margin: 0 0 12px; }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; }
.sec-ink .note { color: var(--muted-dark); border-color: var(--line-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js .trail.is-armed .tick path { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .mbar, .wa-float, .site-footer .foot-top, .map { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}

/* ---------- Ajustes finos ---------- */
.nav > a, .nav-drop > button, .header-tel, .header-cta .btn { white-space: nowrap; }
.brand-name small { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 1061px) {
  .header-in { gap: 14px; }
  .nav > a, .nav-drop > button { padding-inline: 9px; }
  .header-tel span { display: none; }
  .brand-name small { display: none; }
}
.sec-head .eyebrow, .sec-ink .sec-head .eyebrow { font-size: .78rem; }
.sec-ink .eyebrow, .sec-ink p.eyebrow { color: var(--gold-light); }
.findings { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .findings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .findings { grid-template-columns: 1fr; } }
.area h3, .pillars strong, .card h3, .reasons h3, .place-info address strong { font-weight: 600; }
.split .statement { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.3rem); }
.final .btn-line, .cta-band .btn-line { color: var(--white); border-color: rgba(255,255,255,.45); }
.final .btn-line:hover, .cta-band .btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.final :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-light); }
p.eyebrow, .final p.eyebrow, .sec-head p.eyebrow { font-size: .78rem; }
.final p.eyebrow, .cta-band p.eyebrow { color: var(--gold-light); }
/* Trilha e etapas quando ficam em meia coluna */
.split .trail { grid-template-columns: 1fr; gap: 0; }
.split .trail::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
.split .trail li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; align-items: center; padding: 0 0 14px; }
.split .trail small { margin-top: 0; grid-column: 2; grid-row: 1; align-self: end; }
.split .trail strong { grid-column: 2; margin-top: 0; }
.split .trail .tick { grid-row: 1 / span 2; }
@media (min-width: 901px) {
  .split .steps { grid-template-columns: 1fr 1fr; }
  .split .steps li, .split .steps li:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .split .steps li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
}
.site-footer a.brand { display: flex; padding: 0; }
@media (max-width: 1060px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
}

/* ---------- Tipografia comum: Montserrat nos títulos, Open Sans no texto ---------- */
h1, h2, .statement, .area h3, .card h3, .reasons h3, .pillars strong, .place-info address strong, .brand-name strong { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; font-style: normal; }
h1 { line-height: 1.12; }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem); line-height: 1.08; }
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); }
.sec-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
.statement, .split .statement { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.15; }
.final h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); }
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.area h3 { font-size: 1.2rem; line-height: 1.3; }
.area.feature h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); }
.pillars strong { font-size: 1.15rem; }
.reasons h3, .card h3 { font-size: 1.2rem; }
.place-info address strong { font-size: 1.2rem; }

/* destaque em ouro sem itálico */
.hero h1 em, .statement em, em.gold, .gold-em { font-style: normal; }
.quote { font-family: var(--f-text); font-style: normal; font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; }
.foot-brand .motto { font-family: var(--f-text); font-style: normal; font-weight: 600; font-size: 1rem; }

/* rótulos simples, sem traço e sem espaçamento exagerado */
.eyebrow, p.eyebrow, .sec-head p.eyebrow, .final p.eyebrow { font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; gap: 0; }
.eyebrow::before { display: none; }
.brand-name strong { font-size: 1.15rem; letter-spacing: .04em; }
.brand-name small, .site-footer h2, .direct small, .selector-out h3, .card .tag, .area .num, .pillars .num, .trail small, .worksheet .ref, .ledger li::before, .signature-line { font-family: var(--f-display); font-weight: 600; letter-spacing: .04em; }
.brand-name small { font-size: .66rem; }
.steps .n, .timeline .n { font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; }
.timeline .n { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.steps h3, .timeline h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 1.15rem; }
.timeline h2 { font-size: 1.4rem; }
.header-tel, .hero-note a { font-family: var(--f-text); font-weight: 600; }
.signature-line { text-transform: none; font-size: 1rem; letter-spacing: 0; }
.equation li { font-family: var(--f-display); font-weight: 600; letter-spacing: .02em; }
.notfound .code { font-family: var(--f-display); font-weight: 700; }
.worksheet li { grid-template-columns: 36px 1fr; }

/* Logomarca do cliente */
.brand img.brand-logo { width: auto; height: 60px; }
.site-footer .foot-brand .brand { flex-direction: column; align-items: flex-start; gap: 14px; }
.site-footer img.foot-logo { height: 150px; width: auto; }
@media (max-width: 1060px) { .brand img.brand-logo { height: 52px; } }
.site-header .brand-name small { display: none; }

/* Botão do WhatsApp pulsando */
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 158, 82, .65); }
  70% { box-shadow: 0 0 0 16px rgba(30, 158, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 158, 82, 0); }
}
@keyframes wa-pulse-sm {
  0% { box-shadow: 0 0 0 0 rgba(30, 158, 82, .7); }
  70% { box-shadow: 0 0 0 8px rgba(30, 158, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 158, 82, 0); }
}
.wa-float { animation: wa-pulse 2s ease-out infinite; }
.wa-float:hover, .wa-float:focus-visible { animation: none; }
.mbar .wa { animation: wa-pulse-sm 2s ease-out infinite; }

/* Cabeçalho só com o nome */
.site-header .brand-name small { display: block; }
.site-header .brand-name strong { font-size: 1.3rem; }
@media (max-width: 1400px) and (min-width: 1061px) { .site-header .brand-name small { display: none; } }
@media (max-width: 420px) { .site-header .brand-name small { display: none; } }

/* Modalidades da transação em faixa */
.modes { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.modes li {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--ink);
}

/* Topo da home no celular: foto inteira em cima do título */
@media (max-width: 860px) {
  .hero-media { position: relative; inset: auto; opacity: 1; height: clamp(220px, 62vw, 380px); z-index: 0; }
  .hero-media img { object-position: 78% 45%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(13,16,21,0) 45%, var(--ink) 100%); }
  .hero-in { padding-top: 8px; }
}

/* Logomarca de volta no cabeçalho */
.brand img.brand-logo { height: 64px; width: auto; }
.site-header .brand-name small { display: none; }
@media (min-width: 1401px) { .site-header .brand-name small { display: block; } }
@media (max-width: 1060px) { .brand img.brand-logo { height: 54px; } }
.logo-destaque { width: 100%; max-width: 280px; height: auto; margin-top: 28px; background: var(--ink); padding: 18px; }

/* Topo da home com a logomarca no fundo */
.hero-logo { inset: 0 0 0 44%; display: flex; align-items: center; justify-content: center; padding: 40px 4vw 40px 0; }
.hero-logo::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(184, 148, 90, .22), rgba(184, 148, 90, .06) 60%, transparent);
  pointer-events: none;
}
.hero-logo::after { display: none; }
.hero-logo img { position: relative; width: 100%; height: 100%; max-height: 640px; object-fit: contain; object-position: center; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo img { animation: logo-in 1.2s var(--ease) both; }
  @keyframes logo-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) and (min-width: 861px) { .hero-logo { inset: 0 0 0 50%; opacity: .55; } }
@media (max-width: 860px) {
  .hero-logo { position: relative; inset: auto; opacity: 1; height: auto; padding: 28px var(--gutter) 0; }
  .hero-logo img { width: min(78vw, 340px); height: auto; max-height: none; }
  .hero-logo::before { width: 90%; }
  .hero-in { padding-top: 20px; }
}
/* ajustes do topo com logo */
.site-header .brand-name small { display: none !important; }
.pillars { background: var(--ink); }
@media (min-width: 1101px) {
  .hero-logo { bottom: 172px; padding: 36px 3vw 12px 0; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-logo { position: relative; inset: auto; opacity: 1; padding: 36px var(--gutter) 0; }
  .hero-logo img { width: 380px; height: auto; max-height: none; }
  .hero-in { padding-top: 24px; }
}
.brand-name strong { white-space: nowrap; }

/* ---------- Marca d'água com a logomarca ---------- */
.sec-ink, .page-hero, .cta-band, .site-footer, .sec:not(.sec-ink):not(.sec-white):not(.notfound) { position: relative; isolation: isolate; overflow: clip; }
.sec-ink::before, .page-hero::before, .cta-band::before, .site-footer::before, .sec:not(.sec-ink):not(.sec-white):not(.notfound)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(640px, 78vw); aspect-ratio: 640 / 590;
  background: url("../img/logo-jh-consult-marca-dagua.webp") center / contain no-repeat;
}
/* faixas escuras: dourado bem suave, à direita */
.sec-ink::before { right: -90px; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: .06; }
/* topo das páginas internas: atrás do texto, à esquerda, sem disputar com a foto */
.page-hero::before { left: -140px; bottom: -120px; width: min(560px, 80vw); opacity: .07; }
/* faixa de chamada */
.cta-band::before { right: 6%; top: 50%; width: 300px; transform: translateY(-50%); opacity: .07; }
/* rodapé */
.site-footer::before { right: -60px; bottom: -80px; width: 460px; opacity: .06; }
/* faixas claras: quase imperceptível, em tom de gravação */
.sec:not(.sec-ink):not(.sec-white):not(.notfound)::before { left: -120px; top: 40px; opacity: .06; filter: grayscale(1) contrast(1.2); }
@media (max-width: 760px) {
  .sec-ink::before { right: -30%; opacity: .05; }
  .page-hero::before { left: -30%; bottom: -60px; }
  .cta-band::before { display: none; }
}
@media print { .sec-ink::before, .page-hero::before, .cta-band::before, .site-footer::before, .sec::before { display: none; } }
.sec:not(.sec-ink):not(.sec-white):not(.notfound)::before { left: auto; right: -80px; top: 10px; opacity: .08; filter: sepia(.4) saturate(.8); width: min(520px, 70vw); }
@media (max-width: 760px) { .sec:not(.sec-ink):not(.sec-white):not(.notfound)::before { right: -25%; opacity: .06; } }

/* ---------- Marca d'água: mais presença, ainda sutil ---------- */
.sec-white:not(.notfound) { position: relative; isolation: isolate; overflow: clip; }
.sec-white:not(.notfound)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(560px, 74vw); aspect-ratio: 640 / 590;
  background: url("../img/logo-jh-consult-marca-dagua.webp") center / contain no-repeat;
  left: -110px; bottom: -60px; opacity: .08; filter: sepia(.35) saturate(.85);
}
/* alterna o lado nas faixas brancas seguidas */
.sec-white:not(.notfound):nth-of-type(even)::before { left: auto; right: -110px; bottom: auto; top: 30px; }

/* faixas escuras: maior, mais visível e com brilho dourado atrás */
.sec-ink::before { width: min(720px, 84vw); opacity: .11; right: -70px; }
.sec-ink::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  right: -120px; top: 50%; width: min(760px, 90vw); aspect-ratio: 1; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(184, 148, 90, .10), transparent 70%);
}
.page-hero::before { opacity: .11; width: min(620px, 84vw); }
.cta-band::before { opacity: .12; width: 340px; }
.site-footer::before { opacity: .10; width: 520px; }
.sec:not(.sec-ink):not(.sec-white):not(.notfound)::before { opacity: .10; }

@media (max-width: 760px) {
  .sec-ink::before { opacity: .09; right: -28%; }
  .sec-white:not(.notfound)::before { opacity: .07; left: -30%; }
  .sec-white:not(.notfound):nth-of-type(even)::before { right: -30%; }
  .sec-ink::after { right: -40%; }
}
@media print { .sec-white::before, .sec-ink::after { display: none; } }

/* ---------- Galeria do prédio ---------- */
.place-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 16 / 7; }
.pg-item { position: relative; display: block; padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; overflow: hidden; min-height: 0; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pg-item:hover img { transform: scale(1.03); }
.pg-main { grid-row: 1 / span 2; }
.pg-item .zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(13,16,21,.85); color: var(--white); font-size: .78rem; padding: 6px 10px; display: inline-flex; gap: 6px; align-items: center; }
.pg-item .zoom svg { width: 14px; height: 14px; }
.pg-cap { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.place-bottom { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); margin-top: clamp(28px, 4vw, 44px); align-items: stretch; }
.place-bottom .place-info { justify-content: center; }
.place-bottom .map { min-height: 300px; }
.place-bottom:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .place-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; }
  .pg-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .pg-side { aspect-ratio: 4 / 3; }
  .place-bottom { grid-template-columns: 1fr; }
}
.place-gallery .pg-side:last-child img { object-position: center 88%; }

/* ---------- Marca d'água centralizada (pedido do cliente) ---------- */
.sec-ink::before, .page-hero::before, .cta-band::before, .site-footer::before,
.sec:not(.sec-ink):not(.sec-white):not(.notfound)::before,
.sec-white:not(.notfound)::before,
.sec-white:not(.notfound):nth-of-type(even)::before {
  left: 50%; right: auto; top: 50%; bottom: auto;
  transform: translate(-50%, -50%);
  width: min(620px, 82vw);
}
.sec-ink::before { opacity: .09; }
.page-hero::before { opacity: .09; width: min(520px, 80vw); }
.cta-band::before { display: block; opacity: .10; width: min(300px, 60vw); }
.site-footer::before { opacity: .08; width: min(460px, 80vw); }
.sec:not(.sec-ink):not(.sec-white):not(.notfound)::before,
.sec-white:not(.notfound)::before { opacity: .07; }
.sec-ink::after { left: 50%; right: auto; transform: translate(-50%, -50%); }
@media (max-width: 760px) {
  .sec-ink::before, .page-hero::before, .site-footer::before,
  .sec:not(.sec-ink):not(.sec-white):not(.notfound)::before,
  .sec-white:not(.notfound)::before,
  .sec-white:not(.notfound):nth-of-type(even)::before { left: 50%; right: auto; width: 88vw; }
  .sec-ink::after { left: 50%; right: auto; }
}

/* ---------- Logomarca em destaque no topo, sobre o fundo preto do xadrez ---------- */
.hero-mark {
  position: absolute; z-index: 2; pointer-events: none;
  right: 9%; top: 6%; width: auto; height: 50%; max-height: 380px;
  filter: drop-shadow(0 0 28px rgba(217, 189, 133, .28)) drop-shadow(0 0 70px rgba(184, 148, 90, .18));
}
.hero-media::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  right: 3%; top: -6%; width: 52%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(184, 148, 90, .20), rgba(184, 148, 90, .06) 55%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: mark-in 1.4s var(--ease) .2s both; }
  @keyframes mark-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) and (min-width: 861px) { .hero-mark { right: 4%; height: 38%; } }
@media (max-width: 860px) {
  .hero-mark { right: auto; left: 50%; top: 50%; height: 78%; transform: translate(-50%, -50%); animation: none; }
  .hero-media::before { left: 50%; right: auto; top: 50%; width: 80%; transform: translate(-50%, -50%); }
  .hero-media img:first-child { opacity: .45; }
}
.hero-media img.hero-mark { width: auto; height: 50%; max-height: 380px; object-fit: contain; }
@media (max-width: 1100px) and (min-width: 861px) { .hero-media img.hero-mark { height: 38%; } }
@media (max-width: 860px) { .hero-media img.hero-mark { height: 78%; max-height: none; } }
@media (min-width: 1101px) { .hero-media img.hero-mark { top: 3%; height: 41%; max-height: 330px; right: 8%; } .hero-media::before { top: -12%; width: 46%; } }
@media (max-width: 1100px) and (min-width: 861px) { .hero-media img.hero-mark { top: 3%; height: 31%; } }

/* ---------- Topo: logomarca como marca d'água forte, entre os dois cavalos ---------- */
@media (min-width: 861px) {
  .hero-media img.hero-mark {
    left: 44%; right: auto; top: 50%; bottom: auto;
    height: 82%; max-height: 600px;
    transform: translate(-50%, -50%);
    opacity: .6; mix-blend-mode: screen;
    filter: drop-shadow(0 0 40px rgba(217, 189, 133, .25));
  }
  .hero-media::before { left: 44%; right: auto; top: 50%; width: 60%; transform: translate(-50%, -50%); }
  @keyframes mark-in { from { opacity: 0; } to { opacity: .6; } }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-media img.hero-mark { left: 50%; height: 70%; opacity: .45; }
  @keyframes mark-in { from { opacity: 0; } to { opacity: .45; } }
}
@media (min-width: 1101px) {
  .hero-media img.hero-mark { left: 49%; top: 42%; height: 60%; max-height: 470px; }
  .hero-media::before { left: 49%; top: 42%; }
}

/* Topo: logomarca no alto, entre os dois cavalos (posição calculada em js/site.js) */
@media (min-width: 861px) {
  .hero-media img.hero-mark {
    right: auto; bottom: auto; max-height: none; width: auto;
    transform: translateX(-50%);
    opacity: .95; mix-blend-mode: normal;
    filter: drop-shadow(0 0 22px rgba(217, 189, 133, .30)) drop-shadow(0 0 60px rgba(184, 148, 90, .20));
  }
  .hero-media::before { display: none; }
  @keyframes mark-in { from { opacity: 0; } to { opacity: .95; } }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-media img.hero-mark { left: auto; right: 4%; top: 3%; height: 31%; transform: none; }
}
