/* Hero mobile accueil (≤ 760 px) — desktop inchangé */
.hh-mobile{display:none}
@media (max-width:760px){
  .opening-baseline .hh-desktop{display:none}
  .opening-baseline .hh-mobile{display:inline}
  .opening-home-copy > :not(.hh-hero){display:none !important}
  .opening-home-pole{display:none !important}
  .opening-home-copy .hh-hero{display:block;text-align:left}
  .hh-kicker{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;opacity:.7;margin:0 0 14px}
  .hh-title{text-shadow:0 2px 18px rgba(0,0,0,.45);font-size:clamp(27px,8vw,36px);line-height:1.12;font-weight:800;letter-spacing:-.02em;margin:0 0 16px}
  .hh-lead{font-size:15.5px;line-height:1.55;opacity:.82;margin:0 0 16px}
  .hh-domains{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.6;margin:0 0 22px;white-space:nowrap}
  .hh-actions{display:flex;flex-direction:column;gap:10px;margin:0 0 20px}
  .hh-actions .btn{width:100%;justify-content:center}
  .hh-house{font-size:13px;line-height:1.5;opacity:.62;margin:0}
  .hh-house a{color:inherit;text-decoration:underline;text-underline-offset:3px}
  @media (max-height:700px){
    .hh-kicker{margin-bottom:10px}
    .hh-title{font-size:clamp(25px,7.4vw,32px);margin-bottom:12px}
    .hh-lead{font-size:14.5px;margin-bottom:12px}
    .hh-domains{margin-bottom:16px}
    .hh-actions{margin-bottom:14px}
  }
  @media (max-width:340px){.hh-domains{font-size:9.5px;letter-spacing:.08em}}
}

/* Transition ouverture → bloc mobile : fondus successifs, jamais superposés (≤ 760 px). */
@media (max-width:760px){
  .logada-opening .opening-content{
    opacity:calc(1 - min(max((var(--intro-progress) - .84)*16,0),1))!important;
  }
  .logada-opening .opening-home-ui{
    opacity:calc(min(max((var(--intro-progress) - .905)*15,0),1))!important;
  }
}

/* Lisibilité du bloc mobile sur le fond animé (≤ 760 px). La planète descend
   doucement et s'atténue pendant l'apparition du texte ; un voile radial diffus
   assombrit la zone de lecture sans rectangle opaque. */
@media (max-width:760px){
  .logada-opening{--hh-f:min(max((var(--intro-progress) - .84)*7,0),1)}
  /* Descente de la planète via transform (compositeur), sans filtre animé :
     l'atténuation est assurée par un voile radial en opacity, bien moins coûteux. */
  .logada-opening .opening-orb,.logada-opening.is-ending .opening-orb{
    transform:translate(-50%,calc(-50% - (var(--intro-progress) * 7vh) + var(--hh-f) * 24vh)) scale(calc(.17 + var(--intro-progress)*.50))!important;
  }
  .logada-opening .opening-sticky::after{
    content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
    background:radial-gradient(circle at 50% 70%,rgba(2,2,6,.85),rgba(2,2,6,.5) 46%,transparent 74%);
    opacity:calc(var(--hh-f)*.45);
  }
  .opening-home-copy .hh-hero{position:relative;isolation:isolate}
  .opening-home-copy .hh-hero::before{
    content:"";position:absolute;z-index:-1;inset:-40px -40px -30px;pointer-events:none;
    background:radial-gradient(120% 75% at 40% 45%,rgba(6,6,14,.62) 0%,rgba(6,6,14,.42) 45%,rgba(6,6,14,0) 78%);
  }
  .hh-lead,.hh-domains,.hh-house{text-shadow:0 1px 12px rgba(0,0,0,.55)}
  .hh-actions .btn-ghost{background:rgba(10,10,20,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
}
