/* ============================================================
   Leonardo Santos — Motion System v1 — 2026-08-18
   Motion design aplicado à narrativa da página, sem bibliotecas.
   Princípios: easing, offset/delay, fade, morph, masking,
   dimension, parallax e zoom. Progressive enhancement.
   ============================================================ */
:root{
  --motion-ease-premium:cubic-bezier(.22,1,.36,1);
  --motion-ease-soft:cubic-bezier(.16,1,.3,1);
  --motion-ease-ui:cubic-bezier(.4,0,.2,1);
  --motion-fast:360ms;
  --motion-base:680ms;
  --motion-slow:980ms;
  --motion-gold:#d7a74f;
}

/* Progresso narrativo da página */
.motion-progress{position:fixed;left:0;right:0;top:0;height:2px;z-index:1400;background:rgba(255,255,255,.05);pointer-events:none}
.motion-progress span{display:block;width:100%;height:100%;transform-origin:left center;transform:scaleX(var(--page-progress,0));background:linear-gradient(90deg,#b8873f,#e4bd70);box-shadow:0 0 14px rgba(224,192,138,.38);will-change:transform}

/* Base de motion — conteúdo continua plenamente legível sem a classe motion-ready */
.motion-ready [data-motion="reveal-up"]{opacity:0;transform:translate3d(0,28px,0)}
.motion-ready [data-motion="reveal-up"].motion-in{opacity:1;transform:none;transition:opacity var(--motion-base) var(--motion-ease-premium),transform var(--motion-base) var(--motion-ease-premium)}
.motion-ready [data-motion="quote-focus"]{opacity:0;transform:scale(.965) translateY(12px)}
.motion-ready [data-motion="quote-focus"].motion-in{opacity:1;transform:none;transition:opacity 820ms var(--motion-ease-soft),transform 920ms var(--motion-ease-premium)}

.motion-ready [data-motion="stagger"]>[data-motion-item]{opacity:0;transform:translate3d(0,22px,0)}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]{opacity:1;transform:none;transition:opacity 620ms var(--motion-ease-premium),transform 720ms var(--motion-ease-premium)}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(1){transition-delay:20ms}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(2){transition-delay:90ms}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(3){transition-delay:160ms}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(4){transition-delay:230ms}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(5){transition-delay:300ms}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(6){transition-delay:370ms}
.motion-ready [data-motion="stagger"].motion-in>[data-motion-item]:nth-child(7){transition-delay:440ms}

/* HERO — masking + offset/delay */
.motion-ready .broker-hero [data-motion="mask-hero"]{opacity:.01;transform:translate3d(1.5%,0,0) scale(1.025)}
.motion-ready .broker-hero.motion-hero-in [data-motion="mask-hero"]{opacity:1;transform:translate3d(0,0,0) scale(1);transition:opacity 520ms ease,transform 980ms var(--motion-ease-soft)}
.motion-ready .broker-hero [data-motion="hero-stagger"]>[data-motion-item]{opacity:0;transform:translate3d(0,24px,0)}
.motion-ready .broker-hero.motion-hero-in [data-motion="hero-stagger"]>[data-motion-item]{opacity:1;transform:none;transition:opacity 680ms var(--motion-ease-premium),transform 780ms var(--motion-ease-premium)}
.motion-ready .broker-hero.motion-hero-in [data-motion="hero-stagger"]>[data-motion-item]:nth-child(1){transition-delay:130ms}
.motion-ready .broker-hero.motion-hero-in [data-motion="hero-stagger"]>[data-motion-item]:nth-child(2){transition-delay:250ms}
.motion-ready .broker-hero.motion-hero-in [data-motion="hero-stagger"]>[data-motion-item]:nth-child(3){transition-delay:390ms}
.motion-ready .broker-hero.motion-hero-in [data-motion="hero-stagger"]>[data-motion-item]:nth-child(4){transition-delay:540ms}
.motion-ready .broker-hero.motion-hero-in [data-motion="hero-stagger"]>[data-motion-item]:nth-child(5){transition-delay:690ms}
body[data-service="corretor"] .hero-lines{opacity:.72;transform:translate3d(calc(var(--hero-pointer-x,0px) * .35),calc(var(--hero-pointer-y,0px) * .35),0);transition:transform 700ms var(--motion-ease-soft)}
body[data-service="corretor"] .broker-hero .hero-heading em{position:relative;display:inline-block}
body[data-service="corretor"] .broker-hero .hero-heading em::after{content:"";position:absolute;left:0;right:0;bottom:.03em;height:1px;background:linear-gradient(90deg,transparent,var(--gold-2),transparent);transform-origin:left;transform:scaleX(0);opacity:.8}
.motion-ready .broker-hero.motion-hero-in .hero-heading em::after{transform:scaleX(1);transition:transform 920ms var(--motion-ease-premium) 680ms}

/* 02 — CONFLITO */
.conflict-section{position:relative;background:#07121f;color:#fff;overflow:hidden;padding:126px 0 118px}
.conflict-section::before{content:"";position:absolute;width:620px;height:620px;right:-360px;top:-280px;border:1px solid rgba(224,192,138,.11);border-radius:50%;box-shadow:0 0 0 90px rgba(224,192,138,.018),0 0 0 180px rgba(224,192,138,.01)}
.conflict-shell{display:grid;grid-template-columns:.82fr 1.18fr;gap:82px;align-items:start;position:relative;z-index:1}
.conflict-heading{position:sticky;top:125px;align-self:start}
.conflict-heading .section-kicker{color:rgba(255,255,255,.48)}
.conflict-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(46px,4.8vw,68px);line-height:1.01;font-weight:600;letter-spacing:-.035em;margin:18px 0 24px;color:#fff}
.conflict-heading h2 em{font-style:italic;color:var(--gold-2)}
.conflict-heading p{max-width:520px;margin:0;color:rgba(255,255,255,.59);font-size:15px;line-height:1.75}
.conflict-questions{display:grid;gap:12px;padding-top:6px}
.conflict-questions article{position:relative;display:grid;grid-template-columns:58px 1fr;align-items:center;gap:19px;min-height:106px;padding:20px 26px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:border-color var(--motion-fast) ease,background var(--motion-fast) ease,transform var(--motion-fast) var(--motion-ease-ui)}
.conflict-questions article::after{content:"";position:absolute;left:0;top:18px;bottom:18px;width:2px;background:var(--gold);transform:scaleY(0);transform-origin:center;transition:transform 520ms var(--motion-ease-premium)}
.conflict-questions article:hover{transform:translateX(5px);border-color:rgba(224,192,138,.32);background:rgba(255,255,255,.065)}
.conflict-questions article:hover::after{transform:scaleY(1)}
.conflict-questions article span{font-family:Georgia,"Times New Roman",serif;font-size:25px;color:rgba(224,192,138,.65);border-right:1px solid rgba(255,255,255,.1)}
.conflict-questions article strong{font-family:Georgia,"Times New Roman",serif;font-size:24px;line-height:1.16;font-weight:600;color:#fff}

/* 03 — RISCOS / DIMENSION */
.risk-section{background:#f7f6f3;overflow:hidden}
.risk-section .section-heading.centered{max-width:890px}
.risk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.risk-card{position:relative;min-height:330px;padding:34px 31px 30px;border:1px solid #e2ded6;border-radius:24px;background:#fff;box-shadow:0 10px 36px rgba(7,18,31,.035);transform:scale(.965);opacity:.68;transition:transform 520ms var(--motion-ease-premium),opacity 520ms ease,box-shadow 520ms var(--motion-ease-premium),border-color 520ms ease;background 520ms ease}
.risk-card.is-focus{transform:scale(1);opacity:1;border-color:#d5c4a7;box-shadow:0 25px 65px rgba(7,18,31,.10);background:linear-gradient(150deg,#fff,#fbf8f2)}
.risk-card small{position:absolute;right:26px;top:27px;font-family:Georgia,"Times New Roman",serif;color:#6d604f;font-size:20px}
.risk-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;color:#8e6b37;background:#f1e8da;border:1px solid #e5d7c2}
.risk-icon .ui-icon{--icon-size:22px}
.risk-card h3{margin:62px 0 13px;font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1;color:var(--navy);font-weight:600}
.risk-card p{margin:0;color:#68717a;font-size:13.5px;line-height:1.72}
.risk-statement{max-width:840px;margin:58px auto 0;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(27px,3vw,40px);line-height:1.16;color:#172230}
.risk-statement strong{font-weight:600}

/* 04 — SITUAÇÕES / MORPH */
body[data-service="corretor"] .situation-tabs{position:relative;isolation:isolate}
.situation-active-indicator{position:absolute;z-index:0;left:0;top:0;width:1px;height:1px;transform-origin:0 0;transform:translate3d(var(--tab-x,0px),var(--tab-y,0px),0) scale(var(--tab-sx,1),var(--tab-sy,1));border-radius:18px;background:linear-gradient(145deg,#10263a,#07121f);box-shadow:0 20px 52px rgba(7,18,31,.16);transition:transform 520ms var(--motion-ease-premium);pointer-events:none}
body[data-service="corretor"] .situation-tab{position:relative;z-index:1;background:transparent!important;box-shadow:none!important;border-color:#e5e6e8;transition:color 360ms ease,border-color 360ms ease,transform 360ms var(--motion-ease-ui)}
body[data-service="corretor"] .situation-tab:hover{transform:translateY(-2px)}
body[data-service="corretor"] .situation-tab.is-active{border-color:transparent;color:#fff}
body[data-service="corretor"] .situation-tab.is-active .tab-icon{transform:scale(1.04);transition:transform 460ms var(--motion-ease-premium)}
body[data-service="corretor"] .situation-panel.is-active{animation:panelMorphIn 560ms var(--motion-ease-premium) both}
@keyframes panelMorphIn{from{opacity:0;transform:translate3d(0,12px,0) scale(.992)}to{opacity:1;transform:none}}
body[data-service="corretor"] .pain-item{transition:transform 360ms var(--motion-ease-ui),border-color 360ms ease,box-shadow 360ms ease}
body[data-service="corretor"] .pain-item:hover{transform:translateY(-3px) scale(1.006)}

/* 05 — GUIA / MASKING */
.guide-section{position:relative;background:#07121f;color:#fff;overflow:hidden;padding:120px 0}
.guide-section::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 76% 12%,rgba(224,192,138,.09),transparent 29%),linear-gradient(105deg,#07121f 0%,#091827 55%,#07121f 100%)}
.guide-wipe{position:absolute;left:max(24px,calc((100% - 1220px)/2));top:10%;bottom:10%;width:min(42vw,520px);border-radius:26px;background:linear-gradient(90deg,rgba(184,135,63,.42),rgba(224,192,138,.34));filter:blur(1px);transform:translateX(-115%);z-index:1;pointer-events:none;opacity:0;mix-blend-mode:screen}
.guide-section.guide-wipe-run .guide-wipe{animation:guideWipe 980ms var(--motion-ease-premium) both}
@keyframes guideWipe{0%{transform:translateX(-115%);opacity:0}18%{opacity:.18}45%{transform:translateX(0);opacity:.24}58%{transform:translateX(0);opacity:.18}100%{transform:translateX(115%);opacity:0}}
.guide-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr);gap:68px;align-items:center}
.guide-visual{position:relative;min-height:610px;border-radius:26px;overflow:hidden;border:1px solid rgba(224,192,138,.24);box-shadow:0 32px 80px rgba(0,0,0,.30);background:#0c1723}
html.motion-ready.motion-engine-ready .guide-visual[data-motion="mask-photo"]{clip-path:inset(0 100% 0 0)}
html.motion-ready.motion-engine-ready .guide-visual[data-motion="mask-photo"].motion-in{clip-path:inset(0);transition:clip-path 920ms var(--motion-ease-premium)}
.guide-visual img{width:100%;height:100%;min-height:610px;object-fit:cover;object-position:72% 35%;transform:scale(1.035);transition:transform 1300ms var(--motion-ease-soft)}
.guide-visual.motion-in img{transform:scale(1)}
.guide-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(4,12,21,.15) 68%,rgba(4,12,21,.9) 100%)}
.guide-credential{position:absolute;left:24px;right:24px;bottom:22px;display:flex;align-items:baseline;gap:10px;padding:16px 18px;border:1px solid rgba(224,192,138,.28);border-radius:14px;background:rgba(7,18,31,.70);backdrop-filter:blur(12px)}
.guide-credential strong{font-family:Georgia,"Times New Roman",serif;font-size:35px;line-height:1;color:#fff}
.guide-credential span{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:rgba(255,255,255,.58)}
.guide-copy .section-kicker{color:rgba(255,255,255,.48)}
.guide-copy h2{margin:17px 0 24px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,4.3vw,62px);font-weight:600;line-height:1;letter-spacing:-.035em}
.guide-copy>p{max-width:720px;color:rgba(255,255,255,.62);font-size:14px;line-height:1.78}
.guide-copy .guide-lead{color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:24px;line-height:1.38}
.guide-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin:34px 0 28px;padding:18px 0;border-top:1px solid rgba(255,255,255,.10);border-bottom:1px solid rgba(255,255,255,.10)}
.guide-flow>[data-motion-item]{min-width:0}
.guide-flow span{display:flex;flex-direction:column;gap:2px}
.guide-flow b{font-family:Georgia,"Times New Roman",serif;font-size:19px;color:#fff;font-weight:600}
.guide-flow small{font-size:9px;color:rgba(255,255,255,.43);text-transform:uppercase;letter-spacing:.08em}
.guide-flow i{font-style:normal;color:var(--gold-2);opacity:.58}
.guide-credentials{display:grid;grid-template-columns:.7fr .7fr 1.6fr;gap:9px;margin-bottom:26px}
.guide-credentials span{min-height:72px;display:flex;flex-direction:column;justify-content:center;padding:12px 14px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(255,255,255,.025);color:rgba(255,255,255,.56);font-size:10px;line-height:1.45}
.guide-credentials strong{display:block;color:var(--gold-2);font-size:10px;text-transform:uppercase;letter-spacing:.09em;margin-bottom:5px}

/* 06 — BENEFÍCIOS / OFFSET */
body[data-service="corretor"] .benefits{background:#fff;border-top:0}
body[data-service="corretor"] .benefit-grid{gap:18px 20px;align-items:start}
body[data-service="corretor"] .benefit-card{min-height:335px;transition:transform 430ms var(--motion-ease-premium),box-shadow 430ms var(--motion-ease-premium),border-color 430ms ease}
body[data-service="corretor"] .benefit-card:nth-child(2),body[data-service="corretor"] .benefit-card:nth-child(5){margin-top:30px}
body[data-service="corretor"] .benefit-card:hover{transform:translateY(-7px) scale(1.008)}
body[data-service="corretor"] .benefit-card.featured{background:linear-gradient(150deg,#10263a,#07121f)}

/* Serviços: movimento mais contido */
body[data-service="corretor"] .services{background:#f8f7f4;border-top:1px solid #ece9e3;border-bottom:1px solid #ece9e3}
body[data-service="corretor"] .service-card{transition:transform 420ms var(--motion-ease-premium),border-color 420ms ease,box-shadow 420ms var(--motion-ease-premium)}

/* 07 — PROVA */
.proof-section{position:relative;background:#fff;overflow:hidden}
.proof-shell{display:grid;grid-template-columns:.8fr 1.2fr;gap:74px;align-items:start}
.proof-heading{position:sticky;top:126px}
.proof-heading h2{margin:16px 0 22px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(47px,4.7vw,66px);font-weight:600;line-height:1;letter-spacing:-.035em;color:var(--navy)}
.proof-heading h2 em{font-style:italic;color:#9c7540}
.proof-heading p{max-width:490px;margin:0;color:#69727b;font-size:14px;line-height:1.75}
.proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.proof-grid article{min-height:176px;padding:26px 24px;border:1px solid #e5e1da;border-radius:20px;background:linear-gradient(150deg,#fff,#faf8f4);display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 12px 40px rgba(7,18,31,.035)}
.proof-grid article strong{font-family:Georgia,"Times New Roman",serif;font-size:45px;line-height:1;color:#172637;font-weight:600}
.proof-grid article span{margin-top:13px;color:#747d85;font-size:11px;line-height:1.5;text-transform:uppercase;letter-spacing:.08em}
.proof-grid .proof-wide{grid-column:1/-1;min-height:170px;background:linear-gradient(145deg,#10263a,#07121f);border-color:#07121f}
.proof-grid .proof-wide strong{font-size:33px;line-height:1.08;color:#fff}
.proof-grid .proof-wide span{color:rgba(255,255,255,.51)}
.proof-note{grid-column:2;margin-top:15px;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;padding:14px 16px;border-left:2px solid #c99a4c;background:#faf8f4;color:#747c84}
.proof-note .ui-icon{--icon-size:18px;color:#9d7740;margin-top:2px}
.proof-note p{margin:0;font-size:10px;line-height:1.6}

/* 08 — JORNADA / scroll progress */
body[data-service="corretor"] .journey{position:relative;background:#07121f;color:#fff;border:0;padding:122px 0}
body[data-service="corretor"] .journey>.shell{display:grid;grid-template-columns:.82fr 1.18fr;gap:82px;align-items:start}
body[data-service="corretor"] .journey .section-heading.centered{position:sticky;top:126px;text-align:left;margin:0;max-width:none}
body[data-service="corretor"] .journey .section-heading.centered .section-kicker{justify-content:flex-start;color:rgba(255,255,255,.45)}
body[data-service="corretor"] .journey .section-heading h2{color:#fff;font-size:clamp(45px,4.5vw,64px);font-weight:600}
body[data-service="corretor"] .journey .section-heading.centered>p{margin:20px 0 0;color:rgba(255,255,255,.56)}
body[data-service="corretor"] .journey-grid{display:grid;grid-template-columns:1fr!important;gap:0!important;margin:0;padding-left:72px;position:relative}
body[data-service="corretor"] .journey-grid::before{display:block!important;content:"";position:absolute;left:27px;right:auto;top:28px;bottom:28px;width:1px;height:auto;background:rgba(255,255,255,.11)}
body[data-service="corretor"] .journey-progress{position:absolute;z-index:0;left:27px;top:28px;width:2px;height:calc(100% - 56px);transform-origin:top center;transform:scaleY(var(--journey-progress,0));background:linear-gradient(#e0c08a,#b8873f);box-shadow:0 0 12px rgba(224,192,138,.26);will-change:transform}
body[data-service="corretor"] .journey-step{position:relative;display:block!important;text-align:left!important;min-height:176px;padding:16px 0 34px!important;opacity:.38;transform:translateX(0);transition:opacity 430ms ease,transform 540ms var(--motion-ease-premium)}
body[data-service="corretor"] .journey-step::before{content:"";position:absolute;left:-53px;top:27px;width:17px;height:17px;border-radius:50%;background:#07121f;border:1px solid rgba(224,192,138,.48);box-shadow:0 0 0 7px #07121f;transition:background 360ms ease,transform 360ms var(--motion-ease-premium)}
body[data-service="corretor"] .journey-step>span{width:auto;height:auto;display:block;margin:0 0 12px;background:none;border:0;border-radius:0;box-shadow:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:800;letter-spacing:.16em;color:#e0c08a}
body[data-service="corretor"] .journey-step h3{margin:0 0 10px!important;color:#fff;font-size:34px;font-weight:600}
body[data-service="corretor"] .journey-step p{max-width:520px;color:rgba(255,255,255,.76);font-size:13px;line-height:1.65}
body[data-service="corretor"] .journey-step.is-active{opacity:1;transform:translateX(8px)}
body[data-service="corretor"] .journey-step.is-active::before{background:#d8aa55;box-shadow:0 0 0 7px #07121f,0 0 0 8px rgba(216,170,85,.18);transform:scale(1.08)}
body[data-service="corretor"] .journey-step.is-active>span{color:var(--gold-2)}

/* 09 — TRAJETÓRIA / masking + timeline + parallax */
html.motion-ready.motion-engine-ready .career-photo-card[data-motion="mask-photo"]{clip-path:inset(0 0 100% 0)}
html.motion-ready.motion-engine-ready .career-photo-card[data-motion="mask-photo"].motion-in{clip-path:inset(0);transition:clip-path 980ms var(--motion-ease-premium)}
body[data-service="corretor"] .career-photo-wrap img[data-parallax-image="career"]{transform:translate3d(0,var(--career-parallax,0px),0) scale(1.045);will-change:transform}
body[data-service="corretor"] .career-quote[data-motion="quote-focus"]{transform-origin:left center}
body[data-service="corretor"] .career-timeline::before{left:9%;right:9%;top:31px;height:1px;background:rgba(255,255,255,.10);opacity:1}
body[data-service="corretor"] .career-timeline::after{content:"";position:absolute;left:9%;top:31px;width:82%;height:2px;background:linear-gradient(90deg,#b8873f,#e2b866);transform-origin:left center;transform:scaleX(var(--career-progress,0));box-shadow:0 0 10px rgba(224,192,138,.25);z-index:0}
body[data-service="corretor"] .career-timeline li{opacity:.46;transition:opacity 420ms ease,transform 520ms var(--motion-ease-premium)}
body[data-service="corretor"] .career-timeline li.is-active{opacity:1;transform:translateY(-3px)}
body[data-service="corretor"] .career-timeline li.is-active .career-timeline-icon{background:#11243a;box-shadow:0 0 0 5px #081522,0 0 28px rgba(216,170,85,.14);transform:scale(1.045);transition:transform 460ms var(--motion-ease-premium),background 460ms ease}
body[data-service="corretor"] .career-method article{transition:transform 420ms var(--motion-ease-premium),border-color 420ms ease,background 420ms ease}

/* 10 — CTA / foco final */
body[data-service="corretor"] .final-cta{position:relative;overflow:hidden}
body[data-service="corretor"] .final-cta::after{content:"";position:absolute;width:460px;height:460px;right:-180px;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(224,192,138,.10),rgba(224,192,138,0) 68%);transform:translate3d(var(--cta-orb-x,0),var(--cta-orb-y,0),0)}
body[data-service="corretor"] [data-motion-cta="pulse-once"].motion-pulse{animation:ctaPulse 920ms var(--motion-ease-premium) 1}
@keyframes ctaPulse{0%{transform:scale(1);box-shadow:0 14px 34px rgba(197,163,106,.18)}45%{transform:scale(1.035);box-shadow:0 20px 48px rgba(197,163,106,.32)}100%{transform:scale(1);box-shadow:0 14px 34px rgba(197,163,106,.18)}}

/* Microinterações coerentes */
body[data-service="corretor"] .btn,body[data-service="corretor"] .panel-cta,body[data-service="corretor"] .career-contact-actions>a{transition-timing-function:var(--motion-ease-premium)}
body[data-service="corretor"] .btn:active,body[data-service="corretor"] .career-contact-actions>a:active{transform:translateY(0) scale(.985)}

@media(max-width:1060px){
  .conflict-shell,.proof-shell{gap:52px}
  .guide-grid{gap:42px}
  .guide-flow{grid-template-columns:1fr 1fr;gap:10px}.guide-flow i{display:none}
  .guide-flow span{padding:10px 0}
  body[data-service="corretor"] .journey>.shell{gap:52px}
}

@media(max-width:900px){
  .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof-grid article:nth-child(3){grid-column:1/-1}
  .motion-progress{top:0}
  .guide-wipe{left:17px;right:17px;width:auto;top:7%;bottom:48%;opacity:.78}
  .conflict-section{padding:94px 0 82px}.conflict-shell{grid-template-columns:1fr;gap:40px}.conflict-heading{position:relative;top:auto}.conflict-heading h2{font-size:49px}
  .risk-grid{grid-template-columns:1fr;gap:12px}.risk-card{min-height:0;transform:none;opacity:1}.risk-card.is-focus{transform:none}.risk-card h3{margin-top:38px}
  .guide-section{padding:86px 0}.guide-grid{grid-template-columns:1fr;gap:38px}.guide-visual{min-height:560px}.guide-visual img{min-height:560px;object-position:68% 34%}
  .proof-shell{grid-template-columns:1fr;gap:40px}.proof-heading{position:relative;top:auto}.proof-note{grid-column:auto}
  body[data-service="corretor"] .journey{padding:90px 0}
  body[data-service="corretor"] .journey>.shell{grid-template-columns:1fr;gap:46px}
  body[data-service="corretor"] .journey .section-heading.centered{position:relative;top:auto}
  body[data-service="corretor"] .benefit-card:nth-child(2),body[data-service="corretor"] .benefit-card:nth-child(5){margin-top:0}
}

@media(max-width:650px){
  .conflict-section{padding:76px 0 70px}.conflict-heading h2{font-size:41px}.conflict-heading p{font-size:14px}
  .conflict-questions article{grid-template-columns:40px 1fr;gap:13px;min-height:92px;padding:17px 16px}.conflict-questions article span{font-size:21px}.conflict-questions article strong{font-size:20px}
  .risk-card{padding:26px 23px;border-radius:20px}.risk-card h3{font-size:29px}.risk-statement{margin-top:42px;font-size:29px}
  .situation-active-indicator{border-radius:16px}
  .guide-section{padding:72px 0}.guide-visual{min-height:480px;border-radius:22px}.guide-visual img{min-height:480px;object-position:69% 34%}.guide-credential{left:15px;right:15px;bottom:15px}.guide-credential strong{font-size:29px}.guide-copy h2{font-size:40px}.guide-copy .guide-lead{font-size:22px}.guide-flow{grid-template-columns:1fr 1fr}.guide-credentials{grid-template-columns:1fr 1fr}.guide-credentials span:last-child{grid-column:1/-1}
  .proof-heading h2{font-size:42px}.proof-grid{grid-template-columns:1fr}.proof-grid .proof-wide{grid-column:auto}.proof-grid article{min-height:155px}.proof-grid article strong{font-size:40px}.proof-grid .proof-wide strong{font-size:28px}
  body[data-service="corretor"] .journey{padding:76px 0}
  body[data-service="corretor"] .journey-grid{padding-left:54px}
  body[data-service="corretor"] .journey-grid::before,body[data-service="corretor"] .journey-progress{left:18px}
  body[data-service="corretor"] .journey-step{min-height:152px;padding-bottom:26px!important}
  body[data-service="corretor"] .journey-step::before{left:-44px;top:24px;width:15px;height:15px}
  body[data-service="corretor"] .journey-step h3{font-size:29px}
  body[data-service="corretor"] .journey-step.is-active{transform:translateX(3px)}
  body[data-service="corretor"] .career-timeline{position:relative;padding-left:42px}
  body[data-service="corretor"] .career-timeline::before{display:block!important;left:17px;right:auto;top:28px;bottom:28px;width:1px;height:auto;background:rgba(255,255,255,.10)}
  body[data-service="corretor"] .career-timeline::after{left:17px;top:28px;width:2px;height:calc(100% - 56px);transform-origin:top center;transform:scaleY(var(--career-progress,0))}
  body[data-service="corretor"] .career-timeline li{text-align:left!important;padding:0 0 24px!important;min-height:118px;border-bottom:0!important}
  body[data-service="corretor"] .career-timeline-icon{position:absolute;left:-55px;top:0;width:44px;height:44px;margin:0;box-shadow:0 0 0 5px #081522}
  body[data-service="corretor"] .career-timeline-icon .ui-icon{--icon-size:18px}
  body[data-service="corretor"] .career-timeline p{max-width:none;margin:0!important;text-align:left}
}

@media(pointer:fine) and (min-width:901px){
  body[data-service="corretor"] .benefit-card,body[data-service="corretor"] .service-card,body[data-service="corretor"] .career-method article{will-change:transform}
}


/* Photo visibility safety: the two real Leonardo photos must never depend on motion JS to be visible. */
.guide-visual img,
body[data-service="corretor"] .career-photo-wrap img{opacity:1;visibility:visible;display:block}
html:not(.motion-engine-ready) .guide-visual[data-motion="mask-photo"],
html:not(.motion-engine-ready) body[data-service="corretor"] .career-photo-card[data-motion="mask-photo"]{clip-path:none!important;transform:none!important;opacity:1!important}

@media(prefers-reduced-motion:reduce){
  .motion-progress{display:none}
  .motion-ready [data-motion],.motion-ready [data-motion-item],.motion-ready .broker-hero [data-motion="mask-hero"],.motion-ready .career-photo-card[data-motion="mask-photo"],.motion-ready .guide-visual[data-motion="mask-photo"]{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important;animation:none!important}
  .guide-wipe{display:none!important}
  .risk-card,.risk-card.is-focus,body[data-service="corretor"] .journey-step,body[data-service="corretor"] .journey-step.is-active,body[data-service="corretor"] .career-timeline li,body[data-service="corretor"] .career-timeline li.is-active{opacity:1!important;transform:none!important;transition:none!important}
  body[data-service="corretor"] .career-photo-wrap img[data-parallax-image="career"]{transform:none!important}
  .situation-active-indicator{transition:none!important}
  body[data-service="corretor"] .final-cta::after{display:none}
}

/* ============================================================
   HARD FIX v2 — fotos reais do Leonardo sempre visíveis
   O motion não controla mais a visibilidade das fotos críticas.
   ============================================================ */
html.motion-ready.motion-engine-ready .guide-visual[data-motion="mask-photo"],
html.motion-ready.motion-engine-ready .guide-visual[data-motion="mask-photo"].motion-in,
html.motion-ready.motion-engine-ready body[data-service="corretor"] .career-photo-card[data-motion="mask-photo"],
html.motion-ready.motion-engine-ready body[data-service="corretor"] .career-photo-card[data-motion="mask-photo"].motion-in{
  clip-path:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
body[data-service="corretor"] .guide-visual{
  background-image:url('../img/leonardo-santos-corpo-inteiro.jpg');
  background-size:cover;
  background-position:72% 35%;
  background-repeat:no-repeat;
}
body[data-service="corretor"] .career-photo-wrap{
  background-image:url('../img/leonardo-trajetoria-retrato.webp');
  background-size:cover;
  background-position:center 24%;
  background-repeat:no-repeat;
}
body[data-service="corretor"] img[data-critical-photo]{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  max-width:100%;
}


/* ============================================================
   PATCH — equilíbrio visual da seção de autoridade + blocos com cor
   2026-08-18
   ============================================================ */
.motion-ready [data-motion="reveal-left"]{opacity:0;transform:translate3d(-44px,0,0)}
.motion-ready [data-motion="reveal-left"].motion-in{opacity:1;transform:none;transition:opacity var(--motion-base) var(--motion-ease-premium),transform 820ms var(--motion-ease-premium)}
.motion-ready [data-motion="reveal-right"]{opacity:0;transform:translate3d(44px,0,0)}
.motion-ready [data-motion="reveal-right"].motion-in{opacity:1;transform:none;transition:opacity var(--motion-base) var(--motion-ease-premium),transform 820ms var(--motion-ease-premium)}

/* Cards entrando das laterais, sem perder o stagger já existente */
.motion-ready body[data-service="corretor"] .benefit-grid[data-motion="stagger"]>[data-motion-item]:nth-child(odd),
.motion-ready body[data-service="corretor"] .service-grid[data-motion="stagger"]>[data-motion-item]:nth-child(odd),
.motion-ready body[data-service="corretor"] .proof-grid[data-motion="stagger"]>[data-motion-item]:nth-child(odd){transform:translate3d(-26px,22px,0)}
.motion-ready body[data-service="corretor"] .benefit-grid[data-motion="stagger"]>[data-motion-item]:nth-child(even),
.motion-ready body[data-service="corretor"] .service-grid[data-motion="stagger"]>[data-motion-item]:nth-child(even),
.motion-ready body[data-service="corretor"] .proof-grid[data-motion="stagger"]>[data-motion-item]:nth-child(even){transform:translate3d(26px,22px,0)}

/* Benefícios — menos branco, mais profundidade */
body[data-service="corretor"] .benefits{position:relative;background:linear-gradient(180deg,#fbf7ef 0%,#f4efe6 100%);overflow:hidden;border-top:1px solid #e7dece;border-bottom:1px solid #e7dece}
body[data-service="corretor"] .benefits::before{content:"";position:absolute;left:-180px;top:-160px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(185,135,63,.14);box-shadow:0 0 0 55px rgba(185,135,63,.045),0 0 0 115px rgba(185,135,63,.02);pointer-events:none}
body[data-service="corretor"] .benefits::after{content:"";position:absolute;right:-130px;bottom:-140px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(12,41,70,.08),rgba(12,41,70,0) 68%);pointer-events:none}
body[data-service="corretor"] .benefit-card{border-color:#dfd5c5;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,246,240,.96));box-shadow:0 18px 44px rgba(10,24,39,.05)}
body[data-service="corretor"] .benefit-card::before{content:"";position:absolute;left:0;top:24px;bottom:24px;width:3px;border-radius:999px;background:linear-gradient(180deg,rgba(185,135,63,.82),rgba(185,135,63,0));opacity:.85}
body[data-service="corretor"] .benefit-card:nth-child(3n){background:linear-gradient(180deg,#f8fbff,#f0f5fb)}
body[data-service="corretor"] .benefit-card:nth-child(2n){background:linear-gradient(180deg,#fffdfa,#f8f1e5)}
body[data-service="corretor"] .benefit-card.featured::before{background:linear-gradient(180deg,#ddb777,rgba(221,183,119,0));opacity:1}

/* Serviços — blocos mais vivos */
body[data-service="corretor"] .services{position:relative;background:linear-gradient(180deg,#f3f6fa 0%,#eef3f8 100%);border-top:1px solid #dde6f0;border-bottom:1px solid #dde6f0;overflow:hidden}
body[data-service="corretor"] .services::before{content:"";position:absolute;right:-220px;top:-100px;width:480px;height:480px;border-radius:50%;border:1px solid rgba(12,41,70,.11);box-shadow:0 0 0 70px rgba(12,41,70,.03),0 0 0 140px rgba(12,41,70,.015);pointer-events:none}
body[data-service="corretor"] .services::after{content:"";position:absolute;left:-120px;bottom:-150px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(185,135,63,.12),rgba(185,135,63,0) 70%);pointer-events:none}
body[data-service="corretor"] .service-card{border-color:#d9dee5;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(246,248,251,.98));box-shadow:0 16px 38px rgba(8,27,45,.045)}
body[data-service="corretor"] .service-card::after{content:"";position:absolute;left:-24%;top:0;bottom:0;width:58%;background:linear-gradient(90deg,rgba(185,135,63,.14),rgba(185,135,63,0));transform:skewX(-22deg);opacity:.55;transition:transform 620ms var(--motion-ease-premium),opacity 420ms ease}
body[data-service="corretor"] .service-card:hover::after{transform:translateX(22%) skewX(-22deg);opacity:.85}
body[data-service="corretor"] .service-card:nth-child(2n){background:linear-gradient(180deg,#f9fbfe,#eef4fb)}
body[data-service="corretor"] .service-card:nth-child(3n){background:linear-gradient(180deg,#fffdfa,#f7f1e7)}
body[data-service="corretor"] .service-link{color:#8d6d3c}

/* Provas / autoridade — seção corrigida e integrada */
.proof-section{position:relative;background:linear-gradient(90deg,#fbf7f0 0 45%,#edf3fa 45% 100%);overflow:hidden}
.proof-section::before{content:"";position:absolute;left:-200px;top:-160px;width:430px;height:430px;border-radius:50%;border:1px solid rgba(185,135,63,.16);box-shadow:0 0 0 56px rgba(185,135,63,.048),0 0 0 118px rgba(185,135,63,.022);pointer-events:none}
.proof-section::after{content:"";position:absolute;right:-240px;bottom:-190px;width:540px;height:540px;border-radius:50%;border:1px solid rgba(9,33,56,.10);box-shadow:0 0 0 80px rgba(9,33,56,.03),0 0 0 160px rgba(9,33,56,.015);pointer-events:none}
.proof-shell{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:58px;align-items:start;position:relative;z-index:1}
.proof-heading{position:sticky;top:126px;align-self:start}
.proof-heading::after{content:"";display:block;width:92px;height:2px;margin-top:26px;background:linear-gradient(90deg,#b8873f,rgba(184,135,63,0))}
.proof-heading p{max-width:460px}
.proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.proof-grid article{position:relative;min-height:176px;padding:28px 26px;border:1px solid #dcd4c7;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,246,240,.96));display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 18px 46px rgba(7,18,31,.05);overflow:hidden}
.proof-grid article::before{content:"";position:absolute;left:-18%;top:0;bottom:0;width:42%;background:linear-gradient(90deg,rgba(185,135,63,.22),rgba(185,135,63,0));transform:skewX(-18deg)}
.proof-grid article:nth-child(2){background:linear-gradient(180deg,#f8fbff,#eff4fb)}
.proof-grid article:nth-child(3){background:linear-gradient(180deg,#fffdfa,#f8f1e5)}
.proof-grid article strong{position:relative;z-index:1;font-size:48px;color:#102235}
.proof-grid article span{position:relative;z-index:1;margin-top:14px;color:#67717a;font-size:11px;line-height:1.55;text-transform:uppercase;letter-spacing:.08em;max-width:26ch}
.proof-grid .proof-wide{grid-column:1/-1;min-height:188px;background:linear-gradient(145deg,#10263a,#07121f);border-color:#07121f;box-shadow:0 28px 72px rgba(7,18,31,.18)}
.proof-grid .proof-wide::before{left:-10%;width:50%;background:linear-gradient(90deg,rgba(224,192,138,.22),rgba(224,192,138,0))}
.proof-grid .proof-wide strong{font-size:34px;line-height:1.1;color:#fff;max-width:16ch}
.proof-grid .proof-wide span{color:rgba(255,255,255,.62);max-width:none}
.proof-note{grid-column:2;margin-top:16px;display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;padding:16px 18px;border:1px solid #dfd6c7;border-left:2px solid #c99a4c;border-radius:16px;background:rgba(255,252,247,.8);backdrop-filter:blur(8px);box-shadow:0 12px 30px rgba(7,18,31,.04);color:#6f7881}
.proof-note p{font-size:10px;line-height:1.65}
.proof-note .ui-icon{--icon-size:18px;color:#9d7740;margin-top:2px}

/* Pequenos reforços cromáticos em áreas muito claras */
body[data-service="corretor"] .risk-section{background:linear-gradient(180deg,#f7f5f1 0%,#fcfbf9 100%)}
body[data-service="corretor"] .situations{background:linear-gradient(180deg,#fff 0%,#faf8f4 100%)}
body[data-service="corretor"] .situation-panel{background:linear-gradient(145deg,#f7f5f1,#fbfaf7)}

@media(max-width:1100px){
  .proof-shell{gap:44px}
  .proof-grid article strong{font-size:44px}
  .proof-grid .proof-wide strong{font-size:31px}
}

@media(max-width:900px){
  .proof-section{background:linear-gradient(180deg,#fbf7f0 0%,#edf3fa 100%)}
  .proof-shell{grid-template-columns:1fr;gap:38px}
  .proof-heading{position:relative;top:auto}
  .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof-grid article:nth-child(3){grid-column:1/-1}
  .proof-note{grid-column:auto}
}

@media(max-width:650px){
  .proof-section::before,.proof-section::after,body[data-service="corretor"] .benefits::before,body[data-service="corretor"] .benefits::after,body[data-service="corretor"] .services::before,body[data-service="corretor"] .services::after{display:none}
  .proof-heading::after{width:76px;margin-top:22px}
  .proof-grid{grid-template-columns:1fr;gap:14px}
  .proof-grid article{min-height:150px;padding:24px 22px;border-radius:20px}
  .proof-grid article strong{font-size:40px}
  .proof-grid .proof-wide{grid-column:auto;min-height:164px}
  .proof-grid .proof-wide strong{font-size:27px}
  .proof-note{margin-top:14px;padding:14px 15px;border-radius:14px}
}


/* PageSpeed 2026-08-21 — mobile: design preservado, motion fora do caminho crítico */
@media(max-width:900px){
  html.motion-ready body[data-service="corretor"] [data-motion],
  html.motion-ready body[data-service="corretor"] [data-motion-item],
  html.motion-ready body[data-service="corretor"] .broker-hero [data-motion="mask-hero"]{
    opacity:1!important;
    transform:none!important;
    clip-path:none!important;
    transition:none!important;
    animation:none!important;
  }
  body[data-service="corretor"] .situation-active-indicator{display:none!important}
  body[data-service="corretor"] .situation-tab.is-active{
    background:#07121f!important;
    border-color:#07121f!important;
    color:#fff!important;
  }
  body[data-service="corretor"] .journey-step,
  body[data-service="corretor"] .career-timeline li{opacity:1!important;transform:none!important}
  body[data-service="corretor"] .journey-progress{transform:scaleY(1)!important;box-shadow:none}
  body[data-service="corretor"] .journey-step::before{box-shadow:0 0 0 7px #07121f!important;transition:background .2s ease,transform .2s ease!important}
  body[data-service="corretor"] .career-timeline::after{transform:scaleY(1)!important;box-shadow:none}
  body[data-service="corretor"] .career-timeline-icon{box-shadow:0 0 0 5px #081522!important;transition:transform .2s ease,background .2s ease!important}
  body[data-service="corretor"] .risk-card{opacity:1!important;transform:none!important}
  body[data-service="corretor"] .risk-card small{color:#6d604f!important}
  body[data-service="corretor"] .journey-step>span{color:#e0c08a!important}
  body[data-service="corretor"] .journey-step p{color:rgba(255,255,255,.76)!important}
  body[data-service="corretor"] .guide-wipe{display:none!important}
}
