/* ============================================================
   ALDO NUNES ADVOCACIA — Design System
   Preto · Dourado · Branco — luxo editorial
   ============================================================ */

:root {
  --black: #060605;
  --black-2: #0d0c0a;
  --black-3: #14120e;
  --ink: #1a1815;
  --gold: #c9a227;
  --gold-light: #d3b355;
  --gold-pale: #e0c87e;
  --gold-deep: #8a6d2f;
  --ivory: #f6f2e9;
  --ivory-dim: #cfc8b8;
  --muted: #8d8674;
  --line: rgba(201, 162, 39, 0.22);
  --line-soft: rgba(246, 242, 233, 0.08);
  --grad-gold: linear-gradient(105deg, #7a6026 0%, #a8861f 40%, #c19a26 52%, #a8861f 64%, #7a6026 100%);
  --gold-solid: #a8861f;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--black); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---- grain overlay ---- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.container { width: min(1560px, 94vw, calc(100% - 56px)); margin-inline: auto; }

/* ============ typography helpers ============ */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.gold-text {
  background: linear-gradient(120deg, #b18f27 0%, #c9a227 45%, #b18f27 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold-deep);
}

/* ============ header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease-out), height 0.45s var(--ease-out), box-shadow 0.45s;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(6, 6, 5, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: min(1600px, 95vw, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 46px; width: auto; transition: height 0.45s var(--ease-out); }
.site-header.scrolled .brand img { height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--ivory);
  text-transform: uppercase;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav a:hover::after, .nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  translate: -50% 0;
  min-width: 250px;
  background: rgba(13, 12, 10, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.35s var(--ease-out);
}
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .sub a {
  display: block;
  padding: 11px 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.nav .sub a::after { display: none; }
.nav .sub a:hover { background: rgba(201, 162, 39, 0.08); padding-left: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.4s var(--ease-out), border-color 0.4s;
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-solid);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--black); }
.btn:hover::before { transform: translateY(0); }
.btn.solid {
  background: var(--gold-solid);
  color: #0b0a08;
  border-color: var(--gold-solid);
}
.btn.solid::before { display: none; }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 130;
}
.burger span {
  width: 26px; height: 1.5px;
  background: var(--gold-light);
  transition: 0.4s var(--ease-out);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 10px) 0 74px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(201, 162, 39, 0.075), transparent 65%),
    radial-gradient(700px 500px at 8% 85%, rgba(201, 162, 39, 0.04), transparent 60%);
  pointer-events: none;
}
.hero-crest {
  position: absolute;
  right: -6%;
  top: 50%;
  translate: 0 -50%;
  width: min(38vw, 520px);
  opacity: 0.025;
  filter: grayscale(1) brightness(2.4);
  pointer-events: none;
  animation: crestFloat 12s ease-in-out infinite;
}
@keyframes crestFloat {
  0%, 100% { translate: 0 -50%; }
  50% { translate: 0 -53%; }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 2.9vw + 2vh, 82px);
  margin: 22px 0 12px;
}
.hero .quote-attr {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.hero .lede {
  font-size: clamp(16px, 1vw + 0.4vh, 20px);
  color: var(--ivory-dim);
  max-width: 52ch;
  font-weight: 300;
  margin-bottom: 36px;
}
.hero-cta .btn { padding: 17px 36px; font-size: 13px; }
.hero .lede strong { color: var(--gold-light); font-weight: 600; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 4vw, 72px);
  align-items: center;
}
.hero-figure {
  position: relative;
  justify-self: end;
  width: min(100%, calc((100svh - 210px) * 1.5), 860px);
}
.hero-figure .frame {
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 1px solid var(--line);
  z-index: 0;
  transition: inset 0.6s var(--ease-out);
}
.hero-figure:hover .frame { inset: -14px 14px 14px -14px; }
.hero-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: contrast(1.02);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.hero-figure .badge {
  position: absolute;
  z-index: 2;
  left: -34px;
  bottom: 40px;
  background: rgba(6, 6, 5, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 18px 24px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-figure .badge img {
  width: 52px; height: 52px;
  aspect-ratio: 1;
  box-shadow: none;
  filter: none;
  position: static;
}
.hero-figure .badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.hero-figure .badge span { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

.hero > .container { width: min(1600px, 95vw, calc(100% - 56px)); }
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: max(calc((100vw - 1320px) / 2), 3vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: cueDrop 2.2s var(--ease-out) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ marquee ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--black-2);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 15px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ sections ============ */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section.tint { background: var(--black-2); }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  margin-top: 22px;
}
.section-head p { color: var(--ivory-dim); margin-top: 18px; font-weight: 300; font-size: 17px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { display: none; }

/* ============ sobre ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}
.about-media {
  position: relative;
  padding: 0 clamp(30px, 4.5vw, 78px) clamp(64px, 9vw, 132px) 0;
}
.about-media .shot-main { position: relative; }
.about-media .shot-main img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: contrast(1.02);
}
/* moldura dourada deslocada atrás da foto principal */
.about-media .shot-main::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--line);
  z-index: 0;
  transition: inset 0.6s var(--ease-out);
}
.about-media:hover .shot-main::before { inset: 16px -16px -16px 16px; }
/* segunda foto, menor, sobreposta no canto inferior direito
   (cobre só a mesa da foto de trás — nunca um rosto) */
.about-media .shot-b {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  height: auto;
  border: 7px solid var(--black);
  box-shadow: 0 34px 64px -18px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s var(--ease-out);
}
.about-media:hover .shot-b { transform: translate(-6px, -6px); }

.about-copy h2 { font-size: clamp(34px, 4vw, 56px); margin: 22px 0 26px; }
.about-copy p { color: var(--ivory-dim); font-weight: 300; margin-bottom: 18px; }
.about-copy p strong { color: var(--ivory); font-weight: 600; }

.pillars { margin: 34px 0 40px; display: grid; gap: 0; }
.pillar {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}
.pillar:last-child { border-bottom: 1px solid var(--line-soft); }
.pillar i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  min-width: 40px;
}
.pillar div b { display: block; font-size: 15px; letter-spacing: 0.04em; margin-bottom: 4px; }
.pillar div span { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ============ áreas ============ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area-card {
  background: var(--black);
  padding: clamp(36px, 4.5vw, 64px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.5s var(--ease-out);
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 300px at var(--mx, 50%) var(--my, 0%), rgba(201, 162, 39, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.area-card:hover::before { opacity: 1; }
.area-card .num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.area-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1.1;
}
.area-card p { color: var(--ivory-dim); font-weight: 300; font-size: 15px; flex: 1; }
.area-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-card .tags em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
  transition: 0.3s;
}
.area-card:hover .tags em { border-color: var(--line); color: var(--ivory-dim); }
.area-card .link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 8px;
}
.area-card .link svg { transition: transform 0.4s var(--ease-out); width: 18px; height: 18px; }
.area-card:hover .link svg { transform: translateX(8px); }

/* ============ depoimentos ============ */
.testi-wrap { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}
.testi-slide {
  flex: 0 0 100%;
  padding: 0 clamp(0px, 6vw, 90px);
  text-align: center;
}
.testi-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ivory);
  max-width: 60ch;
  margin: 0 auto 34px;
}
.testi-slide blockquote::before { content: "“"; color: var(--gold); }
.testi-slide blockquote::after { content: "”"; color: var(--gold); }
.testi-slide cite {
  font-style: normal;
  display: block;
}
.testi-slide cite b {
  display: block;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.testi-slide cite span { font-size: 13px; color: var(--muted); }
.testi-quote-mark {
  font-family: var(--font-display);
  font-size: 130px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  display: block;
  text-align: center;
  margin-bottom: 30px;
}
.testi-nav {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}
.testi-btn {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  background: none;
  color: var(--gold-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.35s;
}
.testi-btn:hover { background: rgba(201, 162, 39, 0.1); border-color: var(--gold); }
.testi-dots { display: flex; gap: 10px; }
.testi-dots button {
  width: 26px; height: 2px;
  border: 0;
  background: var(--line-soft);
  cursor: pointer;
  transition: 0.35s;
}
.testi-dots button.active { background: var(--gold); }

/* ============ blog cards ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--black-2);
  border: 1px solid var(--line-soft);
  transition: 0.45s var(--ease-out);
  overflow: hidden;
}
.post-card:hover { border-color: var(--line); transform: translateY(-6px); }
.post-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black-3);
}
.post-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.8s;
  filter: grayscale(0.25);
}
.post-card:hover .thumb img { transform: scale(1.06); filter: grayscale(0); }
.post-card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card time {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.post-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  flex: 1;
}
.post-card .read {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.post-card .read svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}
.post-card:hover .read { color: var(--gold-light); }
.post-card:hover .read svg { transform: translateX(4px); }

/* ============ CTA banda ============ */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(90px, 12vw, 160px) 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 50% 120%, rgba(201, 162, 39, 0.16), transparent 70%);
}
.cta-band .crest-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(70vw, 560px);
  opacity: 0.045;
  filter: grayscale(1) brightness(2.6);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(36px, 5.4vw, 78px);
  max-width: 18ch;
  margin: 24px auto 40px;
}
.cta-band .eyebrow { justify-content: center; }
.cta-band .eyebrow::before { display: none; }

/* ============ footer-viewport (CTA + contato + mapa + footer em 100svh) ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black-2);
  position: relative;
  overflow: hidden;
  height: 100svh;
  display: flex;
  flex-direction: column;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 18% 20%, rgba(201, 162, 39, 0.09), transparent 65%);
  pointer-events: none;
}
.footer-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 110px);
  padding-top: calc(78px + 2vh);
  padding-bottom: clamp(22px, 3.5vh, 46px);
}
.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 0;
}
.footer-left .eyebrow { font-size: 13px; margin-bottom: 20px; }
.footer-left h2 {
  font-size: clamp(32px, 2.1vw + 2.3vh, 70px);
  max-width: 14ch;
  margin-bottom: 26px;
}
.footer-left .note {
  font-size: clamp(14.5px, 0.75vw + 0.35vh, 17px);
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 30px;
  max-width: 44ch;
}
.footer-left .btn { padding: 17px 38px; font-size: 13px; }
.footer-phone {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: clamp(38px, 2.7vw + 2.8vh, 88px);
  letter-spacing: 0.04em;
  color: var(--gold-light);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 8px;
  transition: 0.35s;
}
.footer-phone:hover { color: var(--gold-pale); border-color: var(--gold-pale); }
.footer-right {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 36px);
  min-height: 0;
}
.footer-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3.4vh, 40px) clamp(28px, 3vw, 60px);
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a, .footer-col li span {
  font-size: clamp(14px, 0.72vw + 0.3vh, 16px);
  color: var(--ivory-dim);
  font-weight: 300;
  transition: 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-col .ext::after { content: " ↗"; color: var(--gold); }
.footer-maps {
  flex: 1;
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.5vw, 24px);
}
.fmap {
  position: relative;
  border: 1px solid var(--line);
  min-height: 150px;
}
.fmap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.14);
}
.fmap figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(6, 6, 5, 0.88);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.footer-bottom a { color: var(--ivory-dim); }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 1060px) {
  .site-footer { height: auto; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-maps { grid-template-columns: 1fr; }
  .fmap { min-height: 240px; }
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-solid);
  color: #0b0a08;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s var(--ease-out);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 26px; height: 26px; }

/* ============ subpáginas (hero interno) ============ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(70px, 9vw, 130px)) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 480px at 85% 20%, rgba(201, 162, 39, 0.12), transparent 65%);
}
.page-hero .crumbs {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.page-hero .crumbs a:hover { color: var(--gold-light); }
.page-hero .crumbs i { font-style: normal; color: var(--gold); }
.page-hero h1 { font-size: clamp(42px, 6vw, 86px); max-width: 14ch; }
.page-hero .lede {
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ivory-dim);
  font-weight: 300;
  max-width: 58ch;
}

/* área detail */
.area-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: start;
}
.area-copy p { color: var(--ivory-dim); font-weight: 300; margin-bottom: 20px; font-size: 16.5px; }
.area-copy p:first-of-type { font-size: 19px; color: var(--ivory); }
.spec-list { margin-top: 40px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec-item {
  background: var(--black);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: 0.35s;
}
.spec-item:hover { background: var(--black-3); padding-left: 38px; }
.spec-item i {
  font-style: normal;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.1em;
  min-width: 34px;
}
.spec-item b { font-weight: 500; font-size: 17px; font-family: var(--font-display); letter-spacing: 0.03em; }
.area-side { position: sticky; top: 120px; display: grid; gap: 28px; }
.area-side .media { position: relative; }
.area-side .media img { width: 100%; height: auto; }
.area-side .media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}
.side-card {
  border: 1px solid var(--line);
  background: var(--black-2);
  padding: 34px;
  text-align: center;
}
.side-card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}
.side-card p { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 24px; }

/* depoimentos page */
.testi-masonry {
  columns: 2;
  column-gap: 32px;
}
.testi-card {
  break-inside: avoid;
  margin-bottom: 32px;
  border: 1px solid var(--line-soft);
  background: var(--black-2);
  padding: clamp(30px, 3.4vw, 48px);
  transition: 0.4s;
  position: relative;
}
.testi-foto {
  position: absolute;
  top: clamp(24px, 3vw, 40px);
  right: clamp(24px, 3vw, 40px);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
  filter: saturate(0.92);
}
.testi-card:hover { border-color: var(--line); transform: translateY(-4px); }
.testi-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 90px;
  line-height: 0.4;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 26px;
}
.testi-card p {
  font-family: var(--font-display);
  font-size: 19.5px;
  line-height: 1.5;
  color: var(--ivory);
  margin-bottom: 26px;
}
.testi-card cite { font-style: normal; display: block; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.testi-card cite b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.testi-card cite span { font-size: 12.5px; color: var(--muted); }

/* blog article */
.article {
  width: min(780px, 92vw, calc(100% - 48px));
  margin-inline: auto;
}
.article-content { font-weight: 300; color: var(--ivory-dim); font-size: 17px; }
.article-content p { margin-bottom: 22px; }
.article-content h2, .article-content h3, .article-content h4 {
  font-family: var(--font-display);
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.2;
  margin: 40px 0 18px;
}
.article-content h2 { font-size: 32px; }
.article-content h3 { font-size: 26px; }
.article-content h4 { font-size: 21px; }
.article-content strong, .article-content b { color: var(--ivory); font-weight: 600; }
.article-content a { color: var(--gold-light); border-bottom: 1px solid var(--line); }
.article-content a:hover { color: var(--gold-pale); }
.article-content img {
  margin: 34px auto;
  max-height: 640px;
  width: auto;
  max-width: 100%;
  border: 1px solid var(--line-soft);
}
.article-content ul, .article-content ol { margin: 0 0 22px 22px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 26px;
  margin: 30px 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ivory);
}
.article-content figure { margin: 34px 0; }
.article-content iframe { max-width: 100%; }
.article-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 50px;
}
.article-back svg { width: 15px; height: 15px; flex: none; transition: transform 0.35s var(--ease-out); }
.article-back:hover svg { transform: translateX(-4px); }

/* ============ reveal animations ============ */
html.js .reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .gold-text, .btn.solid, .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ responsive ============ */
@media (max-width: 1380px) {
  .nav a { font-size: 12px; letter-spacing: 0.1em; }
  .brand-name { font-size: 17px; }
  .header-cta { padding: 12px 22px; font-size: 11px; }
}

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: start; margin-top: 20px; max-width: min(100%, 340px); }
  .hero { padding-bottom: 90px; }
  .hero-crest { opacity: 0.035; }
  .about-grid { grid-template-columns: 1fr; }
  .area-body { grid-template-columns: 1fr; }
  .area-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 5, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
    z-index: 120;
    overflow-y: auto;
    padding: 90px 0 50px;
  }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { font-size: 17px; }
  /* submenu: escondido junto com o menu; visível só com .open (filho com
     visibility:visible explícito escaparia do pai hidden — nunca fazer isso) */
  .nav .sub {
    position: static;
    translate: none;
    transform: none;
    border: 0;
    background: none;
    text-align: center;
    padding: 0;
    display: grid;
    gap: 12px;
    margin-top: 14px;
    opacity: 0;
    visibility: inherit;
    pointer-events: none;
  }
  .nav.open .sub { opacity: 1; pointer-events: auto; }
  .nav .sub a { font-size: 13px; color: var(--muted); padding: 0; }
  .header-cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 700px) {
  .container, .hero > .container { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 32px); }
  .article { width: calc(100% - 40px); }
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .scroll-cue { display: none; }

  /* badge do hero: discreto, sem cobrir rostos */
  .hero-figure .badge {
    left: 10px;
    bottom: 10px;
    padding: 10px 14px;
    gap: 10px;
  }
  .hero-figure .badge img { width: 30px; height: 30px; }
  .hero-figure .badge b { font-size: 13px; }
  .hero-figure .badge span { font-size: 9px; letter-spacing: 0.14em; }
  .hero-figure .frame { display: none; }

  /* tipografia de seção mais proporcional */
  .section-head h2 { font-size: clamp(30px, 9vw, 40px); }
  .hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
  .hero .lede { font-size: 15px; }
  .page-hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .page-hero .lede { font-size: 15px; }
  .footer-left h2 { font-size: clamp(26px, 7.6vw, 34px); }
  .footer-phone { font-size: clamp(30px, 9vw, 40px); }

  .about-media { padding: 0; }
  .about-media .shot-main::before { display: none; }
  .about-media .shot-b {
    position: static;
    width: 78%;
    margin: -18% 0 0 auto;
    border-width: 5px;
  }
  .areas-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .testi-masonry { columns: 1; }
  .hero-figure .badge { left: 12px; }
  .brand-name { display: none; }
}

/* ============ equipe ============ */
.team-divider {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  margin: clamp(48px, 6vw, 84px) 0 clamp(28px, 3.5vw, 46px);
}
.team-divider::before, .team-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.team-divider span {
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3vw, 44px);
}
.team-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  width: min(100%, 72%);
  margin-inline: auto;
}
.team-quote {
  margin-top: clamp(56px, 7vw, 96px);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ivory);
  max-width: 34ch;
  margin-inline: auto;
}
.member {
  display: flex;
  flex-direction: column;
  background: var(--black-2);
  border: 1px solid var(--line-soft);
  transition: 0.45s var(--ease-out);
}
.member:hover { border-color: var(--line); transform: translateY(-5px); }
.member .portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--black-3);
}
.member .portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out);
}
.member:hover .portrait img { transform: scale(1.04); }
.member .info { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.member h3 { font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.15; }
.member .role {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.member p { font-size: 14px; color: var(--ivory-dim); font-weight: 300; margin-bottom: 10px; }
.member p:last-child { margin-bottom: 0; }
.member .role { margin-bottom: 6px; }
.member.pending h3, .member.pending .role, .member.pending p { color: var(--muted); }
.member.pending .info { border-top: 1px dashed var(--line); }
.pending-tag {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px dashed var(--line);
  padding: 4px 10px;
  width: max-content;
}
@media (max-width: 1060px) {
  .team-lead { grid-template-columns: 1fr; }
  .team-grid, .team-grid.cols-2 { grid-template-columns: repeat(2, 1fr); width: 100%; }
}
@media (max-width: 700px) {
  .team-grid, .team-grid.cols-2 { grid-template-columns: 1fr; }
}
