/* ==========================================================================
   Bridge S&F Advisory — landing page
   Linguagem: cantos retos, hairlines 1px, Sora Light, navy / creme / dourado
   ========================================================================== */

:root {
  --navy: #0A1016;
  --navy-2: #111C26;
  --navy-3: #182633;
  --gold: #C4A971;
  --gold-d: #8A7443;
  --sand: #DFDAD0;
  --cream: #F1ECE0;
  --ink: #0A1016;
  --ink-soft: rgba(10, 16, 22, .68);
  --paper-soft: rgba(241, 236, 224, .72);
  --line-d: rgba(196, 169, 113, .22);
  --line-l: rgba(10, 16, 22, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(24px, 8.4vw, 120px);
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy); color: var(--cream);
  font-family: var(--font); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--gold); color: var(--navy); }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; transform-origin: left; transition: transform 1s var(--ease); }
.on-light .eyebrow { color: var(--gold-d); }
.reveal:not(.in) .eyebrow::before, .eyebrow.reveal:not(.in)::before { transform: scaleX(0); }

.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; line-height: 1.16; letter-spacing: -.01em; }
.lead { font-size: 16px; color: var(--paper-soft); max-width: 520px; }
.on-light .lead { color: var(--ink-soft); }

/* ---------- Botões ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border: 1px solid var(--gold); background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  overflow: hidden; isolation: isolate; transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), color .35s, background .35s, border-color .35s;
}
.btn::before { /* brilho que varre o botão */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: rgba(196, 169, 113, .1); }
.btn--dark { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.btn--dark::before { background: linear-gradient(100deg, transparent 30%, rgba(196, 169, 113, .35) 50%, transparent 70%); }
.btn--block { width: 100%; justify-content: center; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Barra de progresso de leitura */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: background .5s, backdrop-filter .5s, border-color .5s, padding .5s; border-bottom: 1px solid transparent; }
.header__in { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; transition: padding .5s var(--ease); }
.header.solid { background: rgba(10, 16, 22, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-d); }
.header.solid .header__in { padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 22px; font-weight: 600; letter-spacing: .24em; color: var(--cream); }
.logo small { margin-top: 6px; font-size: 8px; font-weight: 500; letter-spacing: .32em; color: var(--gold); }
.header__r { display: flex; align-items: center; gap: 36px; }
.lang { display: flex; gap: 10px; font-size: 11px; letter-spacing: .12em; color: rgba(241, 236, 224, .5); }
.lang button { all: unset; cursor: pointer; padding: 4px 2px; transition: color .2s; }
.lang button:hover { color: var(--cream); }
.lang button.on { color: var(--cream); font-weight: 600; }
.lang button:focus-visible { outline: 1px solid var(--cream); outline-offset: 2px; }
.header .btn { padding: 14px 24px; font-size: 11px; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero { position: relative; min-height: max(100vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero__bg { position: absolute; inset: -4%; z-index: -3; transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px + var(--sy, 0px) * .25), 0); transition: transform .6s var(--ease); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10, 16, 22, .92) 0%, rgba(10, 16, 22, .68) 38%, rgba(10, 16, 22, .1) 72%), linear-gradient(0deg, rgba(10, 16, 22, .9) 0%, transparent 34%); }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--gx, 70%) var(--gy, 40%), rgba(196, 169, 113, .13), transparent 60%); transition: background .2s; }
.hero__body { padding-top: 170px; padding-bottom: 70px; }
.hero .eyebrow { margin-bottom: 32px; }
.hero h1 { font-size: clamp(34px, 3.7vw, 54px); font-weight: 300; line-height: 1.14; letter-spacing: -.015em; max-width: 720px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .07s); }
@keyframes rise { to { transform: none; } }
.hero__sub { margin-top: 32px; max-width: 540px; font-size: 17px; color: var(--paper-soft); }
.hero__cta { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__sig { font-size: 13px; color: rgba(241, 236, 224, .6); max-width: 200px; line-height: 1.5; padding-left: 20px; border-left: 1px solid var(--line-d); }
.hero .fade { opacity: 0; animation: fadeup 1.1s var(--ease) forwards; animation-delay: var(--d, .9s); }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Ponte: arco dourado que se desenha sobre a água */
.bridge-arc { position: absolute; left: 34%; right: 0; bottom: 116px; height: 190px; z-index: -1; pointer-events: none; }
.bridge-arc svg { width: 100%; height: 100%; overflow: visible; }
.bridge-arc .span { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s .9s var(--ease) forwards; opacity: .7; }
.bridge-arc .glint { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: .05 1; stroke-dashoffset: .05; opacity: 0; animation: glint 6s 4.2s linear infinite; filter: drop-shadow(0 0 5px var(--gold)); }
.bridge-arc .bn { position: absolute; bottom: -4px; width: 9px; height: 9px; background: var(--navy); border: 1px solid var(--gold); transform: rotate(45deg); opacity: 0; animation: fadeIn 1s 3.8s forwards; }
.bridge-arc .bn--l { left: -5px; } .bridge-arc .bn--r { right: 40px; }
@keyframes glint { 0% { stroke-dashoffset: .05; opacity: 0; } 8% { opacity: 1; } 55% { stroke-dashoffset: -1; opacity: 1; } 62%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: .8; } }

/* Faixa de fatos */
.facts { border-top: 1px solid var(--line-d); background: rgba(10, 16, 22, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { position: relative; padding: 36px 36px 36px 0; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line-d); transition: background .5s; }
.fact + .fact { padding-left: 36px; }
.fact:last-child { border-right: 0; }
.fact::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.fact:hover::after { transform: scaleX(1); }
.fact:hover { background: linear-gradient(180deg, rgba(196, 169, 113, .07), transparent); }
.fact span { font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.fact p { font-size: 14px; color: var(--cream); font-weight: 300; max-width: 300px; }

/* ==========================================================================
   Seções base
   ========================================================================== */
.sec { position: relative; padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; isolation: isolate; }
.on-light { background: var(--cream); color: var(--ink); }
.on-dark { background: var(--navy); color: var(--cream); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 64px; flex-wrap: wrap; }
.sec__head .eyebrow { margin-bottom: 22px; }
.sec__head .lead { margin-bottom: 4px; }

/* Imagem de fundo em baixa opacidade */
.bgimg { position: absolute; inset: -6% 0; z-index: -2; pointer-events: none; }
.bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: var(--o, .1); transform: translate3d(0, var(--bgy, 0px), 0); will-change: transform; filter: saturate(.7); }
.bgimg::after { content: ""; position: absolute; inset: 0; background: var(--fade, linear-gradient(180deg, var(--navy) 0%, transparent 28%, transparent 70%, var(--navy) 100%)); }

/* ==========================================================================
   2. O QUE FAZEMOS (creme) — malha + bússola
   ========================================================================== */
.fazemos { background-image: linear-gradient(rgba(138, 116, 67, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 116, 67, .09) 1px, transparent 1px); background-size: 80px 80px; background-position: -1px -1px; }
.fazemos::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 20% 40%, var(--cream) 30%, transparent 85%); }
.compass { position: absolute; top: -140px; right: -140px; width: 560px; height: 560px; z-index: -1; opacity: .55; transform: rotate(calc(var(--sy, 0) * .02deg)); pointer-events: none; }
.compass circle, .compass line { fill: none; stroke: var(--gold-d); stroke-width: .6; opacity: .5; }
.compass line.ticks { stroke-dasharray: 1 5; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.card { --mx: 50%; --my: 50%; position: relative; padding: 40px 30px 44px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); background: transparent; overflow: hidden; transition: background .5s; }
.card::before { /* holofote dourado que segue o cursor */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(196, 169, 113, .26), transparent 70%);
}
.card:hover::before { opacity: 1; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold-d); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.card:hover::after { transform: scaleX(1); }
.card > * { position: relative; }
.card .ico { width: 44px; height: 44px; margin-bottom: 56px; color: var(--gold-d); }
.card .ico * { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.card.in .ico * { stroke-dashoffset: 0; }
.card:hover .ico { animation: nudge .9s var(--ease); }
@keyframes nudge { 40% { transform: translateY(-6px); } }
.card h3 { font-size: 19px; font-weight: 400; line-height: 1.3; margin-bottom: 16px; }
.card p { font-size: 14px; color: var(--ink-soft); }
.card .n { position: absolute; top: 24px; right: 26px; font-size: 11px; letter-spacing: .18em; color: var(--gold-d); opacity: .7; }

.closing { margin-top: 56px; padding: 36px 44px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--navy); color: var(--cream); border: 1px solid var(--gold); position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(196, 169, 113, .12) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 7s 1.5s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.closing p { font-size: 17px; max-width: 640px; position: relative; }
.closing .btn { position: relative; }

/* ==========================================================================
   3. COMO FUNCIONA (navy) — fundo de skyline + trilho da ponte
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 80px; }
.track { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-d); }
.track i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 14px rgba(196, 169, 113, .7); }
.step { position: relative; padding-top: 44px; }
.step .node { position: absolute; top: 0; left: 0; width: 11px; height: 11px; background: var(--navy); border: 1px solid var(--line-d); transition: background .6s, border-color .6s, box-shadow .6s, transform .6s var(--ease); }
.step.on .node { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(196, 169, 113, .16); transform: rotate(45deg); }
.step .num { font-size: 12px; letter-spacing: .2em; color: var(--gold); margin-bottom: 18px; display: block; }
.step h3 { font-size: 20px; font-weight: 400; line-height: 1.3; margin-bottom: 14px; opacity: .55; transition: opacity .6s; }
.step p { font-size: 14px; color: var(--paper-soft); opacity: .55; transition: opacity .6s; }
.step.on h3, .step.on p { opacity: 1; }

/* ==========================================================================
   4. POR QUE A BRIDGE (creme)
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: 480px 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.frame { position: relative; aspect-ratio: 2 / 3; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold-d); z-index: 0; transition: transform .8s var(--ease); }
.frame:hover::before { transform: translate(-10px, 10px); }
.frame__img { position: absolute; inset: 0; overflow: hidden; z-index: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); background: var(--navy); }
.frame.in .frame__img { clip-path: inset(0 0 0 0); }
.frame__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--fy, 0px), 0) scale(1.06); transition: transform .2s linear; }
.why .h2 { margin: 22px 0 24px; }
.why .btn { margin-top: 36px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; margin-top: 56px; border-top: 1px solid var(--line-l); }
.perk { position: relative; padding: 28px 0 28px 28px; border-bottom: 1px solid var(--line-l); transition: padding .5s var(--ease); }
.perk::before { content: ""; position: absolute; left: 0; top: 36px; width: 8px; height: 8px; background: var(--gold-d); transition: transform .5s var(--ease), background .5s; }
.perk:hover { padding-left: 40px; }
.perk:hover::before { transform: rotate(45deg) scale(1.2); background: var(--gold); }
.perk h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.perk p { font-size: 14px; color: var(--ink-soft); }

/* ==========================================================================
   5. PROJETOS (navy)
   ========================================================================== */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.proj { position: relative; background: var(--navy-2); border: 1px solid var(--line-d); overflow: hidden; transition: border-color .5s, transform .6s var(--ease); }
.proj:hover { border-color: var(--gold); transform: translateY(-6px); }
.proj__img { position: relative; height: 260px; overflow: hidden; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.8); transform: scale(1.02); transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.proj:hover .proj__img img { filter: none; transform: scale(1.09); }
.proj__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-2), transparent 55%); }
.tag { position: absolute; z-index: 2; top: 20px; left: 20px; padding: 7px 14px; background: rgba(10, 16, 22, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line-d); font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.proj__body { padding: 8px 32px 36px; }
.proj h3 { font-size: 19px; font-weight: 400; line-height: 1.35; margin-bottom: 14px; }
.proj p { font-size: 14px; color: var(--paper-soft); }
.proj::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.proj:hover::after { transform: scaleX(1); }
.note { margin-top: 32px; font-size: 12px; color: rgba(241, 236, 224, .4); letter-spacing: .04em; }

/* ==========================================================================
   6. ONDE ATUAMOS (navy) — globo com rotas
   ========================================================================== */
.where__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.where .h2 { margin: 22px 0 24px; }
.where .lead + .lead { margin-top: 14px; font-size: 14px; color: rgba(241, 236, 224, .5); }
.regions { list-style: none; padding: 0; margin: 40px 0; border-top: 1px solid var(--line-d); }
.regions li { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-d); font-size: 16px; cursor: default; transition: padding .5s var(--ease), color .4s; }
.regions li::before { content: ""; width: 8px; height: 8px; background: var(--gold); flex: none; transition: transform .5s var(--ease); }
.regions li small { margin-left: auto; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.regions li.hl { padding-left: 14px; color: var(--gold); }
.regions li.hl::before { transform: rotate(45deg) scale(1.3); }
.globe { position: relative; aspect-ratio: 1; border: 1px solid var(--line-d); background: var(--navy-2); overflow: hidden; }
.globe__stage { position: absolute; inset: 0; transform: translate3d(calc(var(--gx, 0) * 14px), calc(var(--gy, 0) * 14px), 0); transition: transform .5s var(--ease); }
.globe__float { position: absolute; inset: 0; transform: scale(1.3); animation: float 12s ease-in-out infinite alternate; }
.globe__float img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { from { transform: scale(1.3) translateY(0); } to { transform: scale(1.3) translateY(-1.4%); } }
.globe svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.globe .route { fill: none; stroke: var(--gold); stroke-width: .35; stroke-dasharray: 1.2 1.6; animation: flow 3s linear infinite; opacity: .85; }
@keyframes flow { to { stroke-dashoffset: -5.6; } }
.globe .dot { fill: var(--gold); }
.globe .ring { fill: none; stroke: var(--gold); stroke-width: .3; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.globe .m:nth-child(2) .ring { animation-delay: .9s; } .globe .m:nth-child(3) .ring { animation-delay: 1.8s; }
.globe .m.hl .dot { r: 1.7; } .globe .m.hl .ring { stroke-width: .6; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
.globe .dot { transition: r .4s; }
.globe .lbl { position: absolute; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 4px 8px; background: rgba(10, 16, 22, .7); border: 1px solid var(--line-d); transform: translate(-50%, -190%) scale(.77); white-space: nowrap; opacity: 0; transition: opacity .4s; }
.globe .lbl.show { opacity: 1; }

/* ==========================================================================
   7. QUEM ESTÁ À FRENTE (creme)
   ========================================================================== */
/* Retratos individuais, com a mesma hierarquia para os dois sócios. */
.team { background: linear-gradient(135deg, #F7F3EB, var(--cream) 70%); }
.team__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.people { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px 0; }
.people::before { content: ""; position: absolute; inset: 0 28px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); pointer-events: none; }
.person { min-width: 0; margin: 0; background: #F9F6EF; box-shadow: 0 14px 36px rgba(10, 16, 22, .06); }
.person figcaption { padding: 20px 18px; font-size: clamp(13px, 1.15vw, 16px); font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.person figcaption small { display: block; margin-top: 6px; color: var(--gold-d); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.ph { position: relative; aspect-ratio: 3 / 4; background: var(--sand); overflow: hidden; }
.ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(241, 236, 224, .4); pointer-events: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s var(--ease); }
@media (hover: hover) { .person:hover .ph img { transform: scale(1.035); } }
.team__content { min-width: 0; }
.team .h2 { margin: 22px 0 28px; font-size: clamp(30px, 3.1vw, 44px); text-wrap: balance; }
.team .h2 span { color: var(--gold-d); }
.team p:not(.eyebrow):not(.sig) { color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.team p:not(.eyebrow):not(.sig) + p:not(.sig) { margin-top: 18px; }
.team .bio { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(160, 120, 40, .28); }
.team .bio h3 { margin: 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; }
.team .bio .role { margin: 6px 0 14px !important; color: var(--gold-d) !important; font-size: 11px !important; line-height: 1.5 !important; letter-spacing: .16em; text-transform: uppercase; }
.team .bio p:not(.role) + p { margin-top: 12px; }
.team .sig { margin-top: 28px; font-size: clamp(19px, 1.8vw, 24px); text-wrap: balance; }
@media (max-width: 1100px) {
  .team .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__content { grid-row: 1; max-width: 700px; }
  .team .people { width: 100%; max-width: 640px; }
}
.sig { margin-top: 40px; position: relative; display: inline-block; font-size: clamp(20px, 2vw, 26px); color: var(--gold-d); font-weight: 300; padding-bottom: 16px; }
.sig::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold-d); transform: scaleX(0); transform-origin: left; transition: transform 1.6s .4s var(--ease); }
.sig.in::after { transform: scaleX(1); }

/* ==========================================================================
   8. FORMULÁRIO (navy) — fundo sala em baixa opacidade
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .h2 { margin: 22px 0 22px; }
.contact__photo { margin-top: 48px; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-d); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--ease); }
.contact__photo:hover img { transform: scale(1.06); }
.contact__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 22, .55), transparent 50%); }
.form { position: relative; padding: clamp(28px, 4vw, 52px); background: rgba(17, 28, 38, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-d); }
.form::before, .form::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); transition: width .6s var(--ease), height .6s var(--ease); }
.form::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.form::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.form:focus-within::before, .form:focus-within::after { width: 56px; height: 56px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.row--wide { grid-template-columns: 1fr 1.35fr; }
.field { position: relative; margin-bottom: 20px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 17px 18px; background: rgba(10, 16, 22, .55); border: 1px solid var(--line-d); color: var(--cream);
  font: inherit; font-size: 14px; border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--navy-2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(241, 236, 224, .42); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(10, 16, 22, .8); }
.field .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); pointer-events: none; }
.field:focus-within .bar { transform: scaleX(1); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #C97B6B; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { padding: 0; margin-bottom: 14px; font-size: 13px; color: var(--paper-soft); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.chk { position: relative; display: flex; align-items: center; gap: 12px; font-size: 13px; cursor: pointer; padding: 11px 14px; border: 1px solid var(--line-d); transition: border-color .3s, background .3s; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk i { flex: none; width: 12px; height: 12px; border: 1px solid var(--gold); position: relative; transition: background .3s; }
.chk i::after { content: ""; position: absolute; inset: 2px; background: var(--gold); transform: scale(0); transition: transform .3s var(--ease); }
.chk:hover { border-color: var(--gold); }
.chk input:checked + i::after { transform: scale(1); }
.chk:has(input:checked) { background: rgba(196, 169, 113, .1); border-color: var(--gold); }
.chk:has(input:focus-visible) { outline: 1px solid var(--gold); outline-offset: 2px; }
.form .btn { margin-top: 10px; }
.form .btn.sending { pointer-events: none; opacity: .75; }
.fine { margin-top: 18px; font-size: 12px; color: rgba(241, 236, 224, .5); text-align: center; }

/* ==========================================================================
   9. FAQ (creme)
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); }
.faq .h2 { margin-top: 22px; }
.faq__grid > div:first-child { position: sticky; top: 120px; align-self: start; }
.qa { border-bottom: 1px solid var(--line-l); }
.qa:first-child { border-top: 1px solid var(--line-l); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; font-size: 17px; font-weight: 400; color: var(--ink); transition: color .3s, padding .5s var(--ease); }
.qa button:hover { color: var(--gold-d); padding-left: 10px; }
.qa .pm { position: relative; flex: none; width: 14px; height: 14px; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--gold-d); transition: transform .5s var(--ease); }
.qa .pm::after { transform: rotate(90deg); }
.qa.open .pm::after { transform: rotate(0); }
.qa.open .pm::before { transform: rotate(180deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 48px 28px 0; font-size: 15px; color: var(--ink-soft); opacity: 0; transform: translateY(-8px); transition: opacity .6s .1s, transform .6s .1s var(--ease); }
.qa.open .ans p { opacity: 1; transform: none; }
.qa.open button { color: var(--gold-d); }

/* ==========================================================================
   10. RODAPÉ
   ========================================================================== */
.footer { position: relative; padding: 88px 0 36px; overflow: hidden; isolation: isolate; background: var(--navy); border-top: 1px solid var(--line-d); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer p.d { margin-top: 24px; font-size: 14px; color: var(--paper-soft); max-width: 340px; }
.footer h4 { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer li { list-style: none; font-size: 14px; color: var(--paper-soft); margin-bottom: 10px; }
.footer ul { padding: 0; margin: 0; }
.footer a:hover { color: var(--gold); }
.footer__bot { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(241, 236, 224, .5); }
.top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold); background: rgba(10, 16, 22, .8); backdrop-filter: blur(8px); color: var(--gold); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease), background .3s; }
.top.show { opacity: 1; pointer-events: auto; transform: none; }
.top:hover { background: var(--gold); color: var(--navy); }

/* ==========================================================================
   Página de obrigado
   ========================================================================== */
.ty-hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 150px 0 90px; }
.ty-hero .hero__bg { z-index: -3; }
.ty-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(10, 16, 22, .78); }
.check { width: 84px; height: 84px; margin: 0 auto 40px; }
.check rect { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s .3s var(--ease) forwards; }
.check path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s 1.3s var(--ease) forwards; }
.ty-hero h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 300; line-height: 1.12; margin-bottom: 24px; }
.ty-hero .lead { margin: 0 auto; max-width: 600px; }
.ty-steps { max-width: 760px; margin: 64px 0 0; }
.ty-step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-d); }
.ty-step:last-child { border-bottom: 1px solid var(--line-d); }
.ty-step b { font-size: 44px; font-weight: 200; color: var(--gold); line-height: 1; }
.ty-step h3 { font-size: 19px; font-weight: 400; margin-bottom: 8px; }
.ty-step p { font-size: 14px; color: var(--paper-soft); }
.ty-list { list-style: none; padding: 0; margin: 40px 0 0; max-width: 640px; }
.ty-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-l); font-size: 16px; }
.ty-list li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; border: 1px solid var(--gold-d); background: linear-gradient(var(--gold-d), var(--gold-d)) center / 6px 6px no-repeat; }
.ty-band { background: var(--navy); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.ty-band__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding: 72px 0; }
.ty-band .h2 { margin-bottom: 14px; }
.ty-last { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.ty-last .h2 { margin: 22px 0 24px; }
.ty-last .btn { margin-top: 32px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .frame { max-width: 440px; }
  .where__grid, .team__grid, .contact__grid, .faq__grid, .ty-last { grid-template-columns: 1fr; }
  .faq__grid > div:first-child { position: static; }
  .globe { max-width: 560px; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 56px; padding-left: 36px; }
  .track { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .track i { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { padding: 0 0 44px 0; }
  .step .node { left: -36px; top: 4px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .fact:last-child { border-bottom: 0; }
  .bridge-arc { display: none; }
  .hero__body { padding-top: 140px; }
  .header__r { gap: 16px; } .header .btn { padding: 12px 16px; font-size: 10px; letter-spacing: .1em; } .header .btn .arr { display: none; }
}
@media (max-width: 720px) {
  .sec__head { gap: 20px; margin-bottom: 44px; }
  .row--wide { grid-template-columns: 1fr; }
  .cards, .perks, .row, .checks { grid-template-columns: 1fr; }
  .projects { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 16px; scrollbar-width: none; }
  .projects::-webkit-scrollbar { display: none; }
  .proj { flex: 0 0 84%; scroll-snap-align: center; }
  .proj__img img { filter: none; }
  .people { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person figcaption { padding: 16px 12px; }
  .closing { padding: 28px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__cta { gap: 20px; }
  .ty-step { grid-template-columns: 60px 1fr; }
}

/* Movimento reduzido: mantém o conteúdo, tira a animação */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
  .frame__img { clip-path: none; }
  .card .ico * { stroke-dashoffset: 0; }
}
