/* João Martins — Advocacia
   Base clara + painéis grafite-petróleo + dourado champanhe.
   Plus Jakarta Sans (texto/títulos) + Instrument Serif itálica (destaques). */

:root {
  --ink: #0E1A1D;
  --ink-2: #13262A;
  --ink-3: #1C3338;
  --paper: #F6F3EC;
  --white: #FFFFFF;
  --text: #172124;
  --muted: #5B6769;
  --line: #E4DED2;
  --gold: #B8996A;
  --gold-2: #E2CDA4;
  --gold-3: #8C7148;
  --on-dark: #EEF0EE;
  --on-dark-muted: #A3B0B1;

  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html, body { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(88px, 12vw, 160px) 0; }

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold-2); }
.h2 {
  margin: 0; font-weight: 500; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.035em;
}
.h2 em { color: var(--gold-3); font-size: 1.08em; }
.h2--light { color: var(--white); }
.h2--light em { color: var(--gold-2); }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(44px, 6vw, 72px); }
.head .h2 { max-width: 12ch; }
.head__aside { max-width: 380px; margin: 0; color: var(--muted); padding-left: 20px; border-left: 1px solid var(--gold); }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center .h2 { max-width: 16ch; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --ic: var(--gold-2); --icbg: rgba(255,255,255,.08);
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate;
  height: 58px; padding: 0 8px 0 26px; border-radius: 14px; background: var(--bg); color: var(--fg);
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: box-shadow .5s var(--ease), background .4s;
}
.btn i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: var(--icbg); color: var(--ic); font-size: 17px; transition: transform .5s var(--ease);
}
.btn:hover i { transform: rotate(45deg); }
.btn > span { position: relative; }
/* brilho metálico que atravessa o botão */
.btn::after {
  content: ''; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg) translateX(0); transition: none;
}
.btn:hover::after { transform: skewX(-18deg) translateX(420%); transition: transform 1.1s var(--ease); }
.btn--gold {
  --fg: var(--ink); --ic: var(--gold-2); --icbg: var(--ink);
  background: linear-gradient(115deg, #B08F5E 0%, #E8D6B1 38%, #C5A777 62%, #A9895A 100%);
  background-size: 220% 100%; animation: sheen 6s ease-in-out infinite;
  box-shadow: 0 10px 40px -12px rgba(184,153,106,.7), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--gold:hover { box-shadow: 0 16px 50px -10px rgba(184,153,106,.9), inset 0 1px 0 rgba(255,255,255,.6); }
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn--line { --bg: transparent; --fg: var(--white); border: 1px solid rgba(255,255,255,.22); }
.btn--line:hover { --bg: rgba(255,255,255,.06); }
.btn--dark { --bg: var(--ink); }
.btn--sm { height: 46px; padding: 0 6px 0 18px; font-size: 14px; border-radius: 12px; }
.btn--sm i { width: 34px; height: 34px; border-radius: 9px; font-size: 15px; }
.btn--lg { height: 66px; padding-left: 30px; font-size: 17px; }
.btn--lg i { width: 50px; height: 50px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-3); }
.link svg { transition: transform .4s var(--ease); }
.link:hover svg { transform: translate(3px, -3px); }

.ico {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px;
  background: #F3EEE3; color: var(--gold-3); font-size: 22px; border: 1px solid #ECE4D3;
}
.ico--dark { background: rgba(14,26,29,.55); border-color: rgba(255,255,255,.14); color: var(--gold-2); backdrop-filter: blur(8px); }
.ico--glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--gold-2); }

/* ---------- abertura ---------- */
.intro { display: none; }
html.js .intro {
  clip-path: inset(0% 0% 0% 0%);
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--ink); color: var(--gold-2);
}
.intro__seal svg { width: 74px; height: 74px; }
.intro__name { overflow: hidden; font: italic 400 clamp(30px, 4vw, 44px)/1.1 var(--serif); color: var(--white); }
.intro__name span { display: block; }
html.ready .intro { pointer-events: none; }
html.ready:not(.has-anim) .intro { display: none; }

/* ---------- barra de progresso e cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0); }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-anim .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference;
  }
  .cursor span {
    display: block; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff;
    transition: transform .45s var(--ease), opacity .3s;
  }
  .cursor.is-link span { transform: scale(4.2); }
  .cursor.is-off span { opacity: 0; }
}

/* ---------- menu ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; width: min(calc(100% - 28px), 1240px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 10px 0 22px; border-radius: 18px;
  color: var(--white); border: 1px solid transparent;
  transition: transform .6s var(--ease), background .4s, border-color .4s, color .4s, backdrop-filter .4s;
}
.nav.is-solid { background: rgba(14,26,29,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: rgba(255,255,255,.08); }
.nav.is-hidden { transform: translate(-50%, -130%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; color: var(--gold-2); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.brand__txt small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .65; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 500; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 12px; background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px 24px 40px; background: var(--ink); color: var(--white);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font-size: clamp(30px, 8vw, 44px); font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid rgba(255,255,255,.08); }
.menu nav a small { font-size: 12px; color: var(--gold-2); letter-spacing: .1em; }

/* ---------- hero ---------- */
.hero { padding: 10px; }
.hero__panel {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg);
  min-height: calc(100svh - 20px); padding: 140px var(--gut) 36px;
  background: radial-gradient(120% 90% at 85% 0%, #1E3A40 0%, var(--ink) 55%), var(--ink);
  color: var(--white); display: flex; flex-direction: column;
}
.hero__aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__aura i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__aura i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: 30%; background: radial-gradient(circle, rgba(184,153,106,.55), transparent 65%); animation: drift 18s ease-in-out infinite; }
.hero__aura i:nth-child(2) { width: 36vw; height: 36vw; right: 8vw; top: -10vw; background: radial-gradient(circle, rgba(64,120,128,.55), transparent 65%); animation: drift 22s ease-in-out infinite reverse; }
.hero__aura i:nth-child(3) { width: 26vw; height: 26vw; left: 40%; bottom: -10vw; background: radial-gradient(circle, rgba(226,205,164,.3), transparent 65%); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(6vw,-4vw) scale(1.12); } 66% { transform: translate(-4vw,3vw) scale(.92); } }
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.hero__spot { position: absolute; z-index: -1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(226,205,164,.14), transparent 60%); opacity: 0; transition: opacity .6s; }
.hero__panel:hover .hero__spot { opacity: 1; }

.hero__grid { flex: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: var(--max); width: 100%; margin: 0 auto; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px 8px 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2);
  border: 1px solid rgba(226,205,164,.25); border-radius: 100px; background: rgba(226,205,164,.06);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(226,205,164,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(226,205,164,.6); } 70%,100% { box-shadow: 0 0 0 10px rgba(226,205,164,0); } }
.hero__title { margin: 0; font-weight: 500; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.045em; max-width: 15ch; }
.hero__title em { color: var(--gold-2); font-size: 1.1em; }
/* degradê dourado: no elemento inteiro sem JS; em cada palavra/letra quando o texto é dividido */
html:not(.has-anim) .hero__title em, html:not(.has-anim) .contact__title em,
.hero__title em .w > span, .contact__title em .ch {
  background: linear-gradient(100deg, #C9AC7C, #F0E2C4 50%, #B8996A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em;
}
[data-lines] .w { overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w { display: inline-block; }
.w > span { display: inline-block; }
.hero__title .w { overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__lead { max-width: 520px; margin: 30px 0 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--on-dark-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero__img { overflow: hidden; border-radius: 26px; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.1); background: var(--ink-3); }
.hero__img img { width: 100%; height: 112%; object-fit: cover; transform-origin: 50% 30%; }
.hero__cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 14px 18px; border-radius: 18px; background: rgba(14,26,29,.6); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero__cap span { display: flex; flex-direction: column; line-height: 1.25; }
.hero__cap b { font-weight: 600; font-size: 15.5px; }
.hero__cap small { font-size: 12.5px; color: var(--on-dark-muted); }
.hero__play { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-2); color: var(--ink); font-size: 22px; transition: transform .5s var(--ease); }
.hero__play:hover { transform: scale(1.1); }
.hero__badge {
  position: absolute; left: -38px; top: 18%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 16px; background: var(--white); color: var(--text); font-size: 13px; line-height: 1.3;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
}
.hero__badge svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: #F3EEE3; color: var(--gold-3); }
.hero__badge b { font-weight: 600; }

.hero__stats {
  list-style: none; margin: 56px auto 0; padding: 28px 0 0; max-width: var(--max); width: 100%;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stats li { display: flex; align-items: center; gap: 14px; font-size: 13.5px; line-height: 1.35; color: var(--on-dark-muted); }
.hero__stats b { font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.04em; color: var(--white); line-height: 1; }
.hero__where svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); color: var(--gold-2); }
.hero__where span { color: var(--white); }
.hero__where small { color: var(--on-dark-muted); }

/* ---------- faixa ---------- */
.band { position: relative; margin: 54px 0 0; padding: 22px 0; background: var(--ink); color: var(--gold-2); overflow: visible; transform: rotate(-1.4deg); width: 104%; margin-left: -2%; }
.band__track { display: flex; width: max-content; gap: 34px; align-items: center; white-space: nowrap; will-change: transform; }
.band__track span { font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.band__track i { font-style: normal; font-size: 12px; opacity: .6; }
.band .seal { position: absolute; left: 50%; top: 50%; margin: -64px 0 0 -64px; transform: rotate(1.4deg); }

.seal { position: relative; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1px solid rgba(226,205,164,.3); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.seal__ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); stroke: none; fill: var(--gold-2); font: 600 9.6px var(--sans); letter-spacing: .26em; }
.seal__mark { width: 42px; height: 42px; color: var(--gold-2); }
.seal--light { background: rgba(246,243,236,.82); border-color: var(--line); backdrop-filter: blur(10px); }
.seal--light .seal__ring { fill: var(--gold-3); }
.seal--light .seal__mark { color: var(--gold-3); }
.seal--sm { width: 104px; height: 104px; margin: 0 auto 34px; background: rgba(14,26,29,.6); backdrop-filter: blur(10px); }
.seal--sm .seal__mark { width: 34px; height: 34px; }

/* ---------- áreas ---------- */
.areas { padding-top: clamp(120px, 14vw, 190px); }
.cards { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 20px; perspective: 1400px; }
.card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-md);
  padding: 30px; background: var(--white); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: box-shadow .6s var(--ease), border-color .6s;
}
.card:hover { box-shadow: 0 40px 80px -40px rgba(14,26,29,.35); border-color: #D9CDB4; }
.card__glow { position: absolute; z-index: -1; width: 380px; height: 380px; margin: -190px 0 0 -190px; left: var(--mx, 50%); top: var(--my, 0%); border-radius: 50%; background: radial-gradient(circle, rgba(226,205,164,.45), transparent 62%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.card:hover .card__glow { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 64px; }
.card__top small { font: italic 400 26px/1 var(--serif); color: var(--gold); }
.card h3 { margin: 0 0 20px; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; max-width: 14ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 15px; height: 15px; border-radius: 50%; background: #F3EEE3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C7148' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/9px no-repeat; }
.ticks--light { color: rgba(255,255,255,.82); }
.ticks--light li::before { background-color: rgba(226,205,164,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.card--photo { display: flex; flex-direction: column; justify-content: space-between; min-height: 600px; color: var(--white); border-color: transparent; background: var(--ink); }
.card--photo > img { position: absolute; z-index: -2; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.card__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(14,26,29,.15) 0%, rgba(14,26,29,.55) 40%, rgba(14,26,29,.96) 100%); }
.card--photo .card__top { margin-bottom: 0; }
.card--photo .card__top small { color: var(--gold-2); }
.card__quote { margin: -6px 0 22px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 500; color: var(--white); max-width: 15ch; }
.card__quote em { color: var(--gold-2); font-size: 1.1em; }
.card--photo h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; font-weight: 600; max-width: none; }

.areas__foot { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.areas__foot p { margin: 0; color: var(--muted); }
.areas__foot p b { color: var(--text); font-weight: 600; }
.areas__foot .link { margin-left: auto; }
.avatar { position: relative; display: flex; }
.avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); }
.avatar i { display: grid; place-items: center; width: 46px; height: 46px; margin-left: -12px; border-radius: 50%; background: #25D366; color: #fff; font-size: 22px; border: 2px solid var(--paper); }

/* ---------- planejamento ---------- */
.plan { padding: 0 10px; }
.plan__pin { height: 100svh; min-height: 680px; display: flex; align-items: center; }
.plan__panel { position: relative; width: 100%; height: calc(100% - 20px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); }
.plan__media { position: absolute; inset: 0; z-index: -2; }
.plan__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.plan__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,26,29,.97) 0%, rgba(14,26,29,.86) 38%, rgba(14,26,29,.25) 70%, rgba(14,26,29,.55) 100%), linear-gradient(0deg, rgba(14,26,29,.8), transparent 45%); }
.plan__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.plan__copy .h2 { max-width: 12ch; }
.plan__lead { max-width: 440px; margin: 26px 0 36px; color: var(--on-dark-muted); }
.plan__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; justify-self: end; width: min(100%, 420px); }
.plan__checks li {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 18px;
  background: rgba(14,26,29,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.plan__checks .n { font: italic 400 30px/1 var(--serif); color: var(--gold-2); min-width: 34px; }
.plan__checks b { font-weight: 600; font-size: 16.5px; }
.plan__checks p { margin: 2px 0 0; font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.45; }

/* ---------- como funciona ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__line { position: absolute; left: 32px; right: 12%; top: 32px; height: 1px; background: var(--line); }
.steps__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: 0 50%; }
.steps li:not(.steps__line) { position: relative; }
.num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gold); font: italic 400 30px/1 var(--serif); color: var(--gold-3);
  box-shadow: 0 0 0 8px var(--paper);
}
.steps b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 26ch; }

/* ---------- escritório ---------- */
.office { background: var(--white); border-radius: var(--r-lg); margin: 0 10px; }
.office__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.office__media { position: sticky; top: 110px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.office__media figure { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.office__media img { width: 100%; height: 120%; object-fit: cover; }
.office__a { aspect-ratio: 3/4.6; }
.office__b { aspect-ratio: 3/3.6; margin-bottom: 40px !important; }
.office__media .seal { position: absolute; left: 54%; top: 14%; margin-left: -64px; }
.office__copy .h2 { max-width: 13ch; }
.office__lead { margin: 30px 0 40px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; letter-spacing: -.015em; font-weight: 500; }
html.has-anim .office__lead .w { color: #CFC8BB; transition: color .45s; }
html.has-anim .office__lead .w.on { color: var(--text); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.pillars li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pillars b { font-size: 17px; font-weight: 600; }
.pillars p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- dúvidas ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .h2 { max-width: 10ch; }
.faq__note { margin: 24px 0 30px; color: var(--muted); max-width: 32ch; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; text-align: left; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.acc__item button i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-3); font-size: 18px; transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
.acc__item button:hover i { border-color: var(--gold); }
.acc__item.is-open button i { transform: rotate(135deg); background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc__body > div { overflow: hidden; }
.acc__body p { margin: 0; padding: 0 60px 30px 0; color: var(--muted); opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .7s var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__item.is-open .acc__body p { opacity: 1; transform: none; transition-delay: .12s; }

/* ---------- contato ---------- */
.contact { padding: 10px; }
.contact__panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--ink); color: var(--white); padding: clamp(90px, 12vw, 150px) 0 clamp(40px, 5vw, 60px); text-align: center; }
.contact__bg { position: absolute; z-index: -2; right: -5%; top: -10%; width: 55%; height: 120%; object-fit: cover; opacity: .32; filter: grayscale(.4) contrast(1.1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.contact__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 40%, rgba(14,26,29,.6), var(--ink) 80%); }
.contact__title { margin: 0; font: 400 clamp(54px, 10vw, 150px)/.95 var(--serif); letter-spacing: -.02em; }
.contact__title em { color: var(--gold-2); }
.ch { display: inline-block; }
.wd { display: inline-block; white-space: nowrap; }
.contact__lead { max-width: 460px; margin: 22px auto 40px; color: var(--on-dark-muted); font-size: 18px; }
.contact__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; margin-top: clamp(64px, 8vw, 100px); text-align: left; }
.info { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.info small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.info b { display: block; font-weight: 600; font-size: 17px; }
.info p { margin: 4px 0 0; font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.5; }
.map { overflow: hidden; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.09); min-height: 180px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 180px; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.15); }

/* ---------- rodapé ---------- */
.foot { padding: clamp(64px, 8vw, 96px) 0 30px; background: var(--paper); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__grid > div { display: flex; flex-direction: column; gap: 10px; }
.foot__grid a, .foot__grid span { font-size: 15px; color: var(--muted); transition: color .3s; }
.foot__grid a:hover { color: var(--text); }
.foot__brand .brand { color: var(--text); }
.foot__brand .brand__mark { color: var(--gold-3); }
.foot__brand p { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; }
.foot__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; margin-bottom: 4px; }
.foot__word { margin-top: clamp(50px, 7vw, 90px); overflow: hidden; }
.foot__word > span { display: block; font: italic 400 clamp(64px, 15.5vw, 230px)/.86 var(--serif); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px #CDBF9F; white-space: nowrap; text-align: center; }
.foot__legal { display: flex; justify-content: space-between; gap: 30px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot__legal p { margin: 0; max-width: 680px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px;
  border-radius: 50%; background: #25D366; color: #fff; font-size: 30px; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa-float.is-on { transform: scale(1); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- estados iniciais das animações (só com GSAP ativo) ---------- */
html.has-anim:not(.ready) [data-hero],
html.has-anim:not(.ready) .hero__photo { visibility: hidden; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { justify-self: start; max-width: 400px; }
  .hero__badge { left: auto; right: -14px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--photo { grid-row: span 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }
  .office__grid, .faq__grid { grid-template-columns: 1fr; }
  .office__media { position: relative; top: 0; }
  .faq__head { position: static; }
  .contact__info { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { top: 10px; width: calc(100% - 20px); height: 60px; padding: 0 8px 0 14px; }
  .nav__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding: 6px; }
  .hero__panel { padding: 104px 16px 24px; border-radius: 24px; }
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__photo { max-width: none; }
  .hero__badge { top: 16px; right: 12px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; margin-top: 40px; }
  .hero__stats li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12.5px; }
  .hero__stats b { font-size: 30px; }
  .hero__where { grid-column: 1 / -1; flex-direction: row !important; align-items: center !important; }
  .band { margin-top: 30px; padding: 16px 0; }
  .band .seal { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
  .band .seal__mark { width: 30px; height: 30px; }
  .head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cards { grid-template-columns: 1fr; }
  .card--photo { grid-row: auto; min-height: 560px; }
  .card { padding: 24px; }
  .card__top { margin-bottom: 40px; }
  .areas__foot { flex-wrap: wrap; }
  .areas__foot .link { margin-left: 0; }
  .plan { padding: 0 6px; }
  .plan__pin { height: auto; min-height: 0; display: block; }
  .plan__panel { height: auto; border-radius: 24px; }
  .plan__inner { grid-template-columns: 1fr; padding: 64px 16px 16px; gap: 36px; }
  .plan__shade { background: linear-gradient(180deg, rgba(14,26,29,.92) 0%, rgba(14,26,29,.75) 45%, rgba(14,26,29,.95) 100%); }
  .plan__checks { justify-self: stretch; width: 100%; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .steps li:not(.steps__line) { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .num { grid-row: span 2; margin: 0; }
  .office { margin: 0 6px; border-radius: 24px; }
  .office__media .seal { width: 96px; height: 96px; margin-left: -48px; }
  .acc__body p { padding-right: 0; }
  .contact { padding: 6px; }
  .contact__panel { border-radius: 24px; }
  .contact__ctas .btn { width: 100%; justify-content: space-between; }
  .contact__info { grid-template-columns: 1fr; }
  .contact__bg { width: 100%; right: 0; opacity: .18; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .foot__legal { flex-direction: column; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js .intro { display: none; }
}
