/* Concierge Patrimonial — Home Extras
 * Stats / Antes-Depois / Calculadora / Estamos em
 * Carregado APENAS em /index.html. Zero impacto em outras páginas.
 */

:root{
  --he-marrom-md:#2a1f12;
  --he-marrom-dp:#1a1410;
  --he-marfim-sub:rgba(232,230,223,0.62);
  --he-ease:cubic-bezier(0.16,1,0.3,1);
}

/* ───────── Bloco 1A: Proof bar (2 cols) ───────── */
.he-proof{position:relative;z-index:2;padding:80px 1.5rem;background:var(--marrom-dk);border-top:1px solid rgba(206,157,98,.18);border-bottom:1px solid rgba(206,157,98,.18)}
.he-proof-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);gap:48px;text-align:center}
@media(max-width:700px){.he-proof-grid{grid-template-columns:1fr;gap:32px}}
.he-proof-num{font-family:var(--serif);font-weight:300;font-size:clamp(40px,5vw,62px);line-height:1;color:var(--dourado);margin-bottom:10px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.he-proof-num em{font-style:italic}
.he-proof-label{font-family:var(--sans);font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:rgba(232,230,223,.55)}

/* ───────── Bloco 1B: Live metrics ticker ───────── */
.he-ticker{position:relative;padding:22px 0;background:var(--he-marrom-dp);border-top:1px solid rgba(206,157,98,.15);border-bottom:1px solid rgba(206,157,98,.15);overflow:hidden}
.he-ticker-track{display:flex;gap:48px;white-space:nowrap;animation:heTickerRoll 60s linear infinite;will-change:transform;align-items:center}
@keyframes heTickerRoll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.he-ticker-item{display:inline-flex;align-items:center;gap:12px;font-family:var(--sans);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:rgba(232,230,223,.65);padding-right:48px;border-right:1px solid rgba(206,157,98,.18)}
.he-ticker-item strong{font-family:var(--serif);font-weight:300;font-style:italic;font-size:18px;color:var(--dourado);letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums}
.he-ticker-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--dourado);box-shadow:0 0 10px rgba(206,157,98,.7);animation:heTickerPulse 2.5s ease-in-out infinite}
@keyframes heTickerPulse{0%,100%{opacity:.5}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.he-ticker-track{animation:none}.he-ticker-dot{animation:none}}

/* ───────── Bloco 1C: Marquee separator ───────── */
.he-marquee{position:relative;padding:32px 0;background:var(--he-marrom-md);border-top:1px solid rgba(206,157,98,.18);border-bottom:1px solid rgba(206,157,98,.18);overflow:hidden}
.he-marquee-content{white-space:nowrap;font-family:var(--serif);font-style:italic;font-size:clamp(22px,3vw,40px);line-height:1;color:var(--dourado);letter-spacing:-.01em;animation:heMarqueeRoll 36s linear infinite;will-change:transform}
.he-marquee-content span{padding:0 36px;opacity:.85}
.he-marquee-content span::after{content:'·';margin-left:36px;opacity:.5}
@keyframes heMarqueeRoll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.he-marquee-content{animation:none}}

/* ───────── Bloco 2: Antes/Depois ───────── */
.he-ba-section{padding:120px 1.5rem;background:var(--he-marrom-md);position:relative}
.he-ba-head{text-align:center;max-width:880px;margin:0 auto 40px}
.he-ba-head .section-tag{font-family:var(--sans);font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--dourado);margin-bottom:18px;display:inline-flex;align-items:center;gap:14px}
.he-ba-head .section-tag::before,.he-ba-head .section-tag::after{content:'';display:inline-block;width:36px;height:1px;background:var(--dourado);opacity:.5}
.he-ba-head h2{font-family:var(--serif);font-weight:300;font-size:clamp(34px,5vw,58px);line-height:1.05;color:var(--marfim);letter-spacing:-.018em;margin:0 0 18px}
.he-ba-head h2 em{font-style:italic;color:var(--dourado)}
.he-ba-head p{font-family:var(--serif);font-style:italic;font-size:15px;color:var(--he-marfim-sub);margin:0}
.he-ba{position:relative;max-width:1000px;margin:0 auto;aspect-ratio:16/10;border:1px solid rgba(206,157,98,.25);overflow:hidden;user-select:none;-webkit-user-select:none;touch-action:none}
.he-ba-before,.he-ba-after{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:32px}
.he-ba-before{background:linear-gradient(135deg,#1a1410,#2a1f12);color:var(--marfim)}
.he-ba-after{background:linear-gradient(135deg,var(--dourado-lt),var(--dourado));color:var(--marrom-dk);clip-path:polygon(0 0,50% 0,50% 100%,0 100%)}
.he-ba-content{text-align:center;max-width:380px}
.he-ba-content h4{font-family:var(--sans);font-size:9px;letter-spacing:.4em;text-transform:uppercase;margin:0 0 14px;opacity:.65}
.he-ba-content h3{font-family:var(--serif);font-weight:300;font-size:clamp(22px,3vw,36px);line-height:1.15;margin:0 0 16px}
.he-ba-content h3 em{font-style:italic}
.he-ba-content p{font-family:var(--serif);font-style:italic;font-size:14px;line-height:1.55;opacity:.78;margin:0}
.he-ba-handle{position:absolute;top:0;bottom:0;width:2px;background:var(--dourado);left:50%;cursor:ew-resize;z-index:3;box-shadow:0 0 18px rgba(206,157,98,.7)}
.he-ba-handle::before{content:'⇆';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;background:var(--dourado);color:var(--marrom-dk);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:bold;box-shadow:0 0 24px rgba(206,157,98,.7);cursor:ew-resize}
@media(max-width:700px){.he-ba{aspect-ratio:4/5}.he-ba-content{padding:0 8px}}

/* ───────── Bloco 3: Calculadora ───────── */
.he-calc-section{padding:120px 1.5rem;background:linear-gradient(180deg,var(--marrom-dk),var(--he-marrom-md))}
.he-calc-head{text-align:center;max-width:880px;margin:0 auto 48px}
.he-calc-head .section-tag{font-family:var(--sans);font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--dourado);margin-bottom:18px;display:inline-flex;align-items:center;gap:14px}
.he-calc-head .section-tag::before,.he-calc-head .section-tag::after{content:'';display:inline-block;width:36px;height:1px;background:var(--dourado);opacity:.5}
.he-calc-head h2{font-family:var(--serif);font-weight:300;font-size:clamp(34px,5vw,58px);line-height:1.05;color:var(--marfim);letter-spacing:-.018em;margin:0}
.he-calc-head h2 em{font-style:italic;color:var(--dourado)}
.he-calc-wrap{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
@media(max-width:900px){.he-calc-wrap{grid-template-columns:1fr;gap:32px}}
.he-calc-control{padding:18px 0;border-bottom:1px solid rgba(206,157,98,.15)}
.he-calc-control:last-child{border-bottom:none}
.he-calc-label{font-family:var(--sans);font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--dourado);margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}
.he-calc-label span{font-family:var(--serif);font-size:20px;color:var(--marfim);letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums}
.he-calc-control input[type=range]{width:100%;-webkit-appearance:none;appearance:none;background:transparent;height:18px;cursor:pointer}
.he-calc-control input[type=range]::-webkit-slider-runnable-track{height:2px;background:rgba(206,157,98,.25);border-radius:0}
.he-calc-control input[type=range]::-moz-range-track{height:2px;background:rgba(206,157,98,.25)}
.he-calc-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;background:var(--dourado);border-radius:50%;margin-top:-8px;box-shadow:0 0 14px rgba(206,157,98,.6);cursor:pointer;border:none}
.he-calc-control input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--dourado);border-radius:50%;box-shadow:0 0 14px rgba(206,157,98,.6);cursor:pointer;border:none}
.he-calc-result{padding:48px 36px;background:rgba(206,157,98,.06);border:1px solid rgba(206,157,98,.25);text-align:center}
.he-calc-result-label{font-family:var(--sans);font-size:9px;letter-spacing:.36em;text-transform:uppercase;color:var(--dourado);margin-bottom:18px}
.he-calc-result-value{font-family:var(--serif);font-weight:300;font-size:clamp(40px,6vw,72px);color:var(--dourado);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-bottom:14px}
.he-calc-result-desc{font-family:var(--serif);font-style:italic;font-size:13px;color:var(--he-marfim-sub);line-height:1.55}

/* CSS de .he-presence removido — vive em /assets/css/presence.css agora */

/* ───────── Bloco 4: Roadmap do cliente (5 pontos) ───────── */
.he-roadmap-section{padding:120px 1.5rem 140px;background:linear-gradient(180deg,var(--he-marrom-md),var(--marrom-dk));position:relative}
.he-roadmap-head{text-align:center;max-width:980px;margin:0 auto 90px}
.he-roadmap-head .section-tag{font-family:var(--sans);font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--dourado);margin-bottom:24px;display:inline-flex;align-items:center;gap:14px}
.he-roadmap-head .section-tag::before,.he-roadmap-head .section-tag::after{content:'';display:inline-block;width:36px;height:1px;background:var(--dourado);opacity:.5}
.he-roadmap-head h2{font-family:var(--serif);font-weight:300;font-size:clamp(36px,5.6vw,68px);line-height:1.05;color:var(--marfim);letter-spacing:-.018em;margin:0}
.he-roadmap-head h2 em{font-style:italic;color:var(--dourado)}
.he-roadmap{position:relative;max-width:1280px;margin:0 auto;padding:0 24px}
.he-roadmap-line{position:absolute;top:32px;left:7%;right:7%;height:1px;background:linear-gradient(90deg,transparent,rgba(206,157,98,.45) 8%,rgba(206,157,98,.45) 92%,transparent);z-index:1}
.he-roadmap-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;position:relative;z-index:2}
.he-roadmap-step{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:0}
.he-roadmap-dot{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--dourado);background:var(--marrom-dk);margin-bottom:36px;position:relative;transition:all .4s cubic-bezier(.16,1,.3,1)}
.he-roadmap-step.active .he-roadmap-dot{background:var(--dourado);box-shadow:0 0 0 6px rgba(206,157,98,.18),0 0 24px rgba(206,157,98,.55)}
.he-roadmap-when{font-family:var(--serif);font-style:italic;font-size:14px;color:rgba(232,230,223,.55);margin-bottom:14px;letter-spacing:.02em}
.he-roadmap-title{font-family:var(--serif);font-weight:300;font-size:clamp(20px,1.8vw,26px);line-height:1.2;color:var(--marfim);margin-bottom:14px;letter-spacing:-.01em}
.he-roadmap-title em{font-style:italic;color:var(--dourado)}
.he-roadmap-desc{font-family:var(--serif);font-style:italic;font-size:13px;line-height:1.55;color:rgba(232,230,223,.62);max-width:220px}
@media(max-width:900px){
  .he-roadmap-section{padding:80px 1rem 100px}
  .he-roadmap-grid{grid-template-columns:1fr;gap:48px}
  .he-roadmap-line{display:none}
  .he-roadmap-step{align-items:flex-start;text-align:left;padding-left:42px;position:relative}
  .he-roadmap-step .he-roadmap-dot{position:absolute;left:0;top:6px;margin-bottom:0}
  .he-roadmap-desc{max-width:none}
}

/* Hero — palavras-chave destacadas no subtitle */
.hero-subtitle .hero-key{color:var(--dourado);font-weight:500}

/* Hero pilares — narrativa do desejo */
.hero-pillar .want{font-family:var(--serif);font-weight:300;font-size:clamp(20px,1.8vw,26px);line-height:1.2;color:var(--marfim);margin:8px 0 14px;letter-spacing:-.005em}
.hero-pillar .want em{font-style:italic;color:var(--dourado)}


/* ── convite pra Jornada no hero (mini-porta) ── */
.hero-jornada{display:flex;align-items:center;gap:20px;margin-top:30px;max-width:420px;text-decoration:none;perspective:600px}
.hj-door{flex:0 0 auto;width:56px;height:94px;position:relative;transform-style:preserve-3d;transform-origin:left center;transition:transform .6s cubic-bezier(0.22,1,0.36,1);
  background:linear-gradient(165deg,#352615,#271a0a 55%,#2e2010);border:1px solid rgba(206,157,98,.5);
  box-shadow:inset 0 0 0 4px rgba(20,12,4,.55),inset 0 0 0 5px rgba(206,157,98,.16),0 14px 30px -12px rgba(0,0,0,.8)}
.hj-door::before{content:'';position:absolute;left:16%;right:16%;top:9%;height:34%;border:1px solid rgba(206,157,98,.3);box-shadow:inset 0 4px 9px rgba(0,0,0,.45)}
.hj-door::after{content:'';position:absolute;left:16%;right:16%;bottom:10%;height:26%;border:1px solid rgba(206,157,98,.3);box-shadow:inset 0 4px 9px rgba(0,0,0,.45)}
.hj-door i{position:absolute;right:8px;top:50%;width:7px;height:7px;margin-top:-3px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#1c1207,#0d0803);border:1px solid rgba(206,157,98,.6);transition:box-shadow .4s ease}
.hero-jornada:hover .hj-door{transform:rotateY(-24deg)}
.hero-jornada:hover .hj-door i{box-shadow:0 0 12px rgba(206,157,98,.8)}
.hj-txt{display:flex;flex-direction:column;gap:5px}
.hj-txt b{font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--dourado)}
.hj-txt span{font-family:var(--serif);font-style:italic;font-size:14px;color:rgba(232,230,223,.6);transition:color .35s ease}
.hero-jornada:hover .hj-txt span{color:var(--marfim)}
@media (prefers-reduced-motion: reduce){.hero-jornada:hover .hj-door{transform:none}}

/* ── S1 · sparklines nas métricas + trava do dígito (08/07) ── */
.hx-spark{display:block;width:84px;height:20px;margin:12px auto 0;overflow:visible}
.hx-spark path{fill:none;stroke:var(--dourado);stroke-width:1.6;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1}
.hx-spark circle{fill:var(--dourado-lt);opacity:0}
.he-proof.hx-draw .hx-spark path{stroke-dashoffset:0;transition:stroke-dashoffset 1.5s cubic-bezier(0.22,1,0.36,1) .35s}
.he-proof.hx-draw .hx-spark circle{opacity:1;transition:opacity .4s ease 1.75s}
.he-counter{display:inline-block}
.he-counter.hx-lock{animation:hxLock .45s cubic-bezier(0.34,1.56,0.64,1)}
@keyframes hxLock{0%{transform:scale(1)}35%{transform:scale(1.12)}100%{transform:scale(1)}}

/* ── S4 · sheen na chave-watermark do hero (08/07) ── */
.hx-wm-sheen{position:absolute;inset:0;pointer-events:none;
  -webkit-mask:url('/assets/logo/chave.svg') no-repeat center/contain;
  mask:url('/assets/logo/chave.svg') no-repeat center/contain;
  background:linear-gradient(115deg, transparent 42%, rgba(255,246,228,.5) 50%, transparent 58%);
  background-size:340% 100%;background-repeat:no-repeat;animation:hxSheen 6s linear infinite}
@keyframes hxSheen{0%{background-position:240% 0}12%{background-position:-140% 0}100%{background-position:-140% 0}}
@media (prefers-reduced-motion: reduce){
  .hx-spark path{transition:none}
  .he-counter.hx-lock{animation:none}
  .hx-wm-sheen{display:none}
}
