/* V9.9 · Topo com foto, cabeçalho refinado e profundidade discreta.
   Paleta da marca (auditoria do professor de 10/11, itens 4 e C3-B): marinho, branco e amarelo.
   As cores antigas (petróleo, ciano e verde) são trocadas no build por mapeamento; este arquivo
   acrescenta o novo topo, os efeitos 3D e os ajustes de cabeçalho. Escopo: body.depth-v99.
   Movimento desligado para quem pede "reduzir movimento". */

.depth-v99{--dv-gold:#F5B731;--dv-gold-2:#FFD36B;--dv-ink:#0B1A33;--dv-ease:cubic-bezier(.2,.75,.2,1)}

/* ---------- Botões da marca: amarelo com volume ---------- */
.identity-v7.depth-v99:not(.bf6) :is(.btn--primary,.btn--gold,.btn--buy),
.identity-v7.depth-v99:not(.bf6) .pcard__actions :is(.btn--primary,.btn--buy,.btn--gold){
  --fg:var(--dv-ink);color:var(--dv-ink);border-color:transparent;
  background:linear-gradient(180deg,#FFD25E 0%,#F5B731 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 1px 0 rgba(122,82,0,.30),0 12px 24px -14px rgba(245,183,49,.85)}
.identity-v7.depth-v99:not(.bf6) :is(.btn--primary,.btn--gold,.btn--buy):hover,
.identity-v7.depth-v99:not(.bf6) .pcard__actions :is(.btn--primary,.btn--buy,.btn--gold):hover{
  color:var(--dv-ink);background:linear-gradient(180deg,#FFDE86 0%,#FFC23A 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 1px 0 rgba(122,82,0,.30),0 18px 30px -16px rgba(245,183,49,.9)}
.identity-v7.depth-v99:not(.bf6) .btn--glass{--fg:#fff;--bd:rgba(255,255,255,.30);--bg:rgba(255,255,255,.06)}
.identity-v7.depth-v99:not(.bf6) .btn--glass:hover{--bd:var(--dv-gold-2);--bg:rgba(255,211,107,.10)}
.identity-v7.depth-v99:not(.bf6) :is(.header,.drawer) .btn--ghost{--fg:var(--dv-gold-2);--bd:rgba(245,183,49,.55);--bg:transparent;color:var(--dv-gold-2)}
.identity-v7.depth-v99:not(.bf6) :is(.header,.drawer) .btn--ghost:hover{background:var(--dv-gold);border-color:var(--dv-gold);color:var(--dv-ink)}
.identity-v7.depth-v99:not(.bf6) :is(.btn,.nav__link,.picker__chip,.drawer__link,a):focus-visible{outline:3px solid var(--dv-gold-2);outline-offset:3px}

/* ---------- Cabeçalho ---------- */
.identity-v7.depth-v99:not(.bf6) .header{background:rgba(6,15,32,.96);border-bottom-color:rgba(255,255,255,.07);
  -webkit-backdrop-filter:saturate(1.5) blur(16px);backdrop-filter:saturate(1.5) blur(16px)}
.identity-v7.depth-v99:not(.bf6) .header::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(245,183,49,.0) 18%,rgba(245,183,49,.6) 50%,rgba(245,183,49,0) 82%,transparent 100%)}
.identity-v7.depth-v99:not(.bf6) .header.is-scrolled{background:rgba(5,12,27,.97);box-shadow:0 16px 34px -24px rgba(0,0,0,.85)}
.identity-v7.depth-v99:not(.bf6) .brand img{transition:transform .35s var(--dv-ease)}
.identity-v7.depth-v99:not(.bf6) .brand:hover img{transform:translateY(-1px) scale(1.02)}
.identity-v7.depth-v99:not(.bf6) .nav__link{position:relative;color:#d5deea;background:transparent;transition:color .2s}
.identity-v7.depth-v99:not(.bf6) .nav__link::after{content:'';position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:2px;
  background:var(--dv-gold);transform:scaleX(0);transform-origin:left center;transition:transform .3s var(--dv-ease)}
.identity-v7.depth-v99:not(.bf6) :is(.nav__link:hover,.nav__link:focus-visible,.nav__item.is-open>.nav__link,.nav__link[aria-current='page']){color:#fff;background:transparent;box-shadow:none}
.identity-v7.depth-v99:not(.bf6) :is(.nav__link:hover,.nav__link:focus-visible,.nav__item.is-open>.nav__link,.nav__link[aria-current='page'])::after{transform:scaleX(1)}
.identity-v7.depth-v99:not(.bf6) .mega{transform-origin:28px 0;transform:perspective(900px) rotateX(-10deg) translateY(10px);
  transition:opacity .22s,transform .34s var(--dv-ease),visibility .22s;box-shadow:0 30px 60px -28px rgba(0,0,0,.7)}
.identity-v7.depth-v99:not(.bf6) .nav__item.is-open .mega{transform:perspective(900px) rotateX(0) translateY(0)}
.identity-v7.depth-v99:not(.bf6) :is(.mega__crest,.drawer__link .mega__crest){transition:transform .35s var(--dv-ease)}
.identity-v7.depth-v99:not(.bf6) .mega__link:hover .mega__crest{transform:perspective(260px) rotateY(-16deg) scale(1.06)}

/* ---------- Topo com foto e profundidade ---------- */
.identity-v7.depth-v99:not(.bf6) .hero--depth{position:relative;overflow:hidden;isolation:isolate;color:#c7d4e6;
  background:radial-gradient(52% 70% at 78% 46%,rgba(59,130,246,.30),transparent 72%),
             radial-gradient(34% 46% at 6% 0%,rgba(245,183,49,.10),transparent 70%),
             linear-gradient(160deg,#050f1f 0%,#0a2244 58%,#10336a 100%)}
.hero--depth .hero__floor{position:absolute;z-index:-1;left:-25%;right:-25%;bottom:-1px;height:62%;pointer-events:none;
  background-image:linear-gradient(rgba(148,182,255,.19) 1px,transparent 1px),linear-gradient(90deg,rgba(148,182,255,.19) 1px,transparent 1px);
  background-size:58px 58px;transform:perspective(640px) rotateX(64deg);transform-origin:50% 100%;
  -webkit-mask-image:linear-gradient(to top,#000 0%,rgba(0,0,0,.5) 42%,transparent 86%);mask-image:linear-gradient(to top,#000 0%,rgba(0,0,0,.5) 42%,transparent 86%)}
.identity-v7.depth-v99:not(.bf6) .hero--depth .wrap{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:28px;align-items:center;padding-block:52px 0;min-height:620px}
.hero--depth .hero__text{position:relative;z-index:2;max-width:620px;padding-bottom:72px}
.hero--depth .hero__eyebrow{display:inline-flex;align-items:center;gap:12px;font:800 11px/1 Manrope,Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:var(--dv-gold-2)}
.hero--depth .hero__eyebrow::before{content:'';width:30px;height:2px;border-radius:2px;background:var(--dv-gold)}
.identity-v7.depth-v99:not(.bf6) .hero--depth .hero__title{margin:18px 0 0;max-width:620px;color:#fff;text-transform:none;
  font:700 clamp(2.45rem,4.3vw,3.9rem)/1.06 Manrope,Arial,sans-serif;letter-spacing:-.045em}
.identity-v7.depth-v99:not(.bf6) .hero--depth .hero__title em{font-style:normal;font-weight:800;color:var(--dv-gold-2);-webkit-text-fill-color:var(--dv-gold-2);background:none}
.identity-v7.depth-v99:not(.bf6) .hero--depth .hero__text>.lead{margin-top:20px;max-width:560px;color:#c7d4e6;font-size:17px;line-height:1.75}
.hero--depth .hero__cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.hero--depth .hero__cta .btn--lg{min-height:56px;padding-inline:26px;font-size:15.5px}
.identity-v7.depth-v99:not(.bf6) .hero--depth .hero__proof{display:flex;flex-wrap:wrap;gap:10px 22px;margin:22px 0 0;padding:0;list-style:none;color:#a9bbd3;font-size:13px}
.hero--depth .hero__proof li{display:flex;align-items:center;gap:8px}
.identity-v7.depth-v99:not(.bf6) .hero--depth .hero__proof .icon{color:var(--dv-gold)}

.hero--depth .hero__stage{position:relative;z-index:1;align-self:stretch;min-height:600px}
.hero--depth .stage__halo{position:absolute;left:8%;right:2%;top:2%;aspect-ratio:1;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 50% 46%,rgba(96,165,250,.42),rgba(37,99,235,.12) 46%,transparent 70%)}
.hero--depth .stage__layer{position:absolute;transform:translate3d(calc(var(--mx,0) * var(--d,0) * 16px),calc(var(--my,0) * var(--d,0) * 11px),0)}
.hero--depth .stage__layer--photo{inset:0;z-index:2}
.hero--depth .stage__photo{position:absolute;left:50%;bottom:0;height:100%;max-height:660px;width:auto;max-width:none;
  transform:translateX(-50%);filter:drop-shadow(-18px 24px 34px rgba(0,8,20,.45))}
.hero--depth .stage__orbit{position:absolute;left:3%;width:94%;top:66%;margin-top:-47%;aspect-ratio:1;pointer-events:none;
  transform:perspective(1000px) rotateX(76deg)}
.hero--depth .stage__orbit i{position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(255,211,107,.34) 0deg 230deg,#FFD36B 320deg,rgba(255,211,107,.34) 360deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px));
  filter:drop-shadow(0 0 5px rgba(245,183,49,.55))}
.hero--depth .stage__orbit--back{z-index:1;clip-path:inset(0 0 50% 0)}
.hero--depth .stage__orbit--front{z-index:3;clip-path:inset(50% 0 0 0)}
.hero--depth .stage__layer--book-a{left:-3%;bottom:16%;z-index:4}
.hero--depth .stage__layer--book-b{right:-1%;bottom:26%;z-index:4}
.hero--depth .stage__book{--rx:calc(5deg - var(--my,0) * 7deg);--ry:calc(var(--ry0,-26deg) + var(--mx,0) * 14deg)}
.hero--depth .stage__layer--book-a .book{--w:136px;--d:18px}
.hero--depth .stage__layer--book-b .book{--w:112px;--d:15px}
.hero--depth .stage__layer--card{left:-8%;bottom:9%;z-index:5}
.hero--depth .stage__card{display:flex;align-items:center;gap:14px;padding:12px 18px 12px 12px;border-radius:16px;color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);box-shadow:0 24px 44px -26px rgba(0,0,0,.8);
  transform:perspective(800px) rotateY(calc(var(--mx,0) * -6deg)) rotateX(calc(var(--my,0) * 5deg))}
.hero--depth .stage__medal{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
  font:800 19px/1 Manrope,Arial,sans-serif;letter-spacing:-.02em;color:#1b1300;
  background:radial-gradient(circle at 35% 30%,#FFD978,#F5B731 55%,#B9831A);box-shadow:inset 0 0 0 3px rgba(255,255,255,.45),0 8px 18px -8px rgba(245,183,49,.8)}
.hero--depth .stage__cred{display:grid;gap:2px}
.hero--depth .stage__name{font:800 15px/1.2 Manrope,Arial,sans-serif;color:#fff}
.hero--depth .stage__role{font:600 12.5px/1.35 Manrope,Arial,sans-serif;color:#c7d4e6;max-width:230px}
.hero--depth .nowrap{white-space:nowrap}

@media (prefers-reduced-motion:no-preference){
  .hero--depth .hero__text>*{animation:dv-rise .6s var(--dv-ease) both}
  .hero--depth .hero__text>:nth-child(2){animation-delay:.06s}
  .hero--depth .hero__text>:nth-child(3){animation-delay:.12s}
  .hero--depth .hero__text>:nth-child(4){animation-delay:.18s}
  .hero--depth .hero__text>:nth-child(5){animation-delay:.24s}
  .hero--depth .stage__photo{animation:dv-photo .9s var(--dv-ease) both}
  .hero--depth .stage__halo{animation:dv-fade 1.2s ease both}
  .hero--depth .stage__orbit i{animation:dv-orbit 11s linear infinite}
  .hero--depth .stage__layer--book-a .stage__float{animation:dv-book-in .9s var(--dv-ease) .35s both,dv-float 7s ease-in-out 1.3s infinite}
  .hero--depth .stage__layer--book-b .stage__float{animation:dv-book-in .9s var(--dv-ease) .5s both,dv-float 8.5s ease-in-out 1.5s infinite}
  .hero--depth .stage__pop{animation:dv-pop .8s var(--dv-ease) .7s both}
  .hero--depth .hero__floor{animation:dv-floor 16s linear infinite}
}
@keyframes dv-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes dv-fade{from{opacity:0}to{opacity:1}}
@keyframes dv-photo{from{transform:translateX(-50%) translateY(26px) scale(.985)}to{transform:translateX(-50%) translateY(0) scale(1)}}
@keyframes dv-orbit{to{transform:rotate(360deg)}}
@keyframes dv-book-in{from{opacity:0;transform:translate3d(0,30px,0) scale(.86)}to{opacity:1;transform:none}}
@keyframes dv-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes dv-pop{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
@keyframes dv-floor{to{background-position:0 58px,0 0}}

@media (max-width:1179px){
  .identity-v7.depth-v99:not(.bf6) .hero--depth .wrap{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:18px;min-height:560px}
  .hero--depth .hero__stage{min-height:540px}
  .hero--depth .stage__layer--card{left:-4%}
}
@media (max-width:1023px){
  .identity-v7.depth-v99:not(.bf6) .hero--depth .wrap{grid-template-columns:1fr;min-height:0;padding-top:40px;gap:6px}
  .hero--depth .hero__text{padding-bottom:0;max-width:640px}
  .hero--depth .hero__stage{width:100%;max-width:560px;min-height:460px;justify-self:center}
  .hero--depth .stage__layer--card{left:0;bottom:12%}
}
@media (max-width:600px){
  .identity-v7.depth-v99:not(.bf6) .hero--depth .wrap{padding-top:30px}
  .identity-v7.depth-v99:not(.bf6) .hero--depth .hero__title{font-size:clamp(2rem,8.6vw,2.6rem);line-height:1.1}
  .identity-v7.depth-v99:not(.bf6) .hero--depth .hero__text>.lead{font-size:15px;line-height:1.7}
  .hero--depth .hero__cta{flex-direction:column;align-items:stretch}
  .hero--depth .hero__cta .btn--lg{min-height:52px;font-size:15px}
  .hero--depth .hero__stage{min-height:390px}
  .hero--depth .stage__layer--book-a{left:-2%;bottom:36%}
  .hero--depth .stage__layer--book-b{right:-1%;bottom:40%}
  .hero--depth .stage__layer--book-a .book{--w:92px;--d:12px}
  .hero--depth .stage__layer--book-b .book{--w:78px;--d:10px}
  .hero--depth .stage__layer--card{left:0;right:auto;bottom:11%}
  .hero--depth .stage__card{gap:10px;padding:9px 14px 9px 9px;border-radius:14px}
  .hero--depth .stage__medal{width:38px;height:38px;font-size:16px}
  .hero--depth .stage__name{font-size:13.5px}
  .hero--depth .stage__role{font-size:11.5px;max-width:200px}
}

/* ---------- Profundidade nos cartões (inclinação e brilho só com mouse) ---------- */
.depth-v99 .dv-tilt{position:relative;transform:perspective(1000px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)) translateY(var(--lift,0px));
  transition:transform .45s var(--dv-ease),box-shadow .45s var(--dv-ease)}
.depth-v99 .dv-tilt.is-tilting{transition:transform .1s linear,box-shadow .3s var(--dv-ease)}
.depth-v99 .dv-tilt:hover{--lift:-6px;box-shadow:0 30px 60px -32px rgba(8,20,45,.55)}
.depth-v99 .dv-glare{position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;
  background:radial-gradient(420px circle at var(--gx,50%) var(--gy,0%),rgba(255,255,255,.20),transparent 45%)}
.depth-v99 .dv-tilt:hover .dv-glare{opacity:1}

/* Cartão claro da professora Mair: cargo em dourado escuro, legível sobre fundo claro */
.identity-v7.depth-v99:not(.bf6) .teacher--mair :is(.teacher__role,.teacher__nums span){color:#8a6100}

/* Seletor de concursos com volume */
.depth-v99 .picker__chip{transition:transform .25s var(--dv-ease),box-shadow .25s var(--dv-ease),border-color .2s,background .2s}
.depth-v99 .picker__chip:hover{transform:translateY(-3px);border-color:var(--dv-gold);box-shadow:0 14px 24px -16px rgba(11,26,51,.45)}
.depth-v99 .picker__chip img{transition:transform .35s var(--dv-ease)}
.depth-v99 .picker__chip:hover img{transform:perspective(300px) rotateY(-18deg) scale(1.08)}

/* Entrada ao rolar mais curta e antecipada (auditoria, item 19) */
.depth-v99 .reveal{transform:translateY(10px);transition:opacity .35s var(--dv-ease),transform .35s var(--dv-ease)}
.depth-v99 .reveal.is-in{opacity:1;transform:none}

/* Botão fixo no celular, só na home (auditoria, item 17) */
.dv-sticky{display:none}
@media (max-width:767px){
  .depth-v99 .dv-sticky{display:flex;position:fixed;z-index:80;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));
    align-items:center;justify-content:center;gap:10px;min-height:52px;border-radius:12px;color:var(--dv-ink);text-decoration:none;
    font:800 15px/1 Manrope,Arial,sans-serif;background:linear-gradient(180deg,#FFD25E,#F5B731);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 18px 30px -16px rgba(0,0,0,.6);transform:translateY(160%);transition:transform .35s var(--dv-ease)}
  .depth-v99 .dv-sticky.is-visible{transform:none}
  .depth-v99 .dv-sticky .icon{width:18px;height:18px}
}

@media (prefers-reduced-motion:reduce){
  .depth-v99 .dv-tilt,.depth-v99 .picker__chip,.depth-v99 .reveal,.depth-v99 .dv-sticky{transition:none}
  .depth-v99 .reveal{opacity:1;transform:none}
}
