/* =========================================================
   data-hub.css — AION Data Hub (PREMIUM)
   - HERO glass + lighting
   - Sticky nav premium
   - Cards / items premium + micro-contrastes
   - Mobile : compact, lisible
   ========================================================= */

/* -------------------------
   Tokens
------------------------- */
:root{
  --dh-bg:#f6f8f7;
  --dh-ice:#eef3f4;
  --dh-ink:#0b1218;
  --dh-deep:#1f2a32;
  --dh-muted:rgba(31,42,50,.78);

  --dh-accent:#ff5a3c;
  --dh-steel:#7fa4b8;

  --dh-stroke:rgba(31,42,50,.14);
  --dh-stroke2:rgba(31,42,50,.10);
  --dh-white:rgba(255,255,255,1);

  --dh-shadow:0 26px 70px rgba(9,15,22,.10);
  --dh-shadow2:0 14px 36px rgba(9,15,22,.08);
  --dh-shadow3:0 10px 22px rgba(9,15,22,.06);
  --dh-shadowHover:0 34px 90px rgba(9,15,22,.14);

  --dh-r:26px;
  --dh-r2:18px;

  --dh-max:1180px;
  --dh-pad:22px;

  --dh-glass:rgba(255,255,255,.10);
  --dh-glass2:rgba(255,255,255,.14);
  --dh-glassBorder:rgba(255,255,255,.22);
  --dh-glassBlur:14px;

  --dh-ease:cubic-bezier(.2,.8,.2,1);
}

@media (max-width:900px){
  :root{ --dh-pad:16px; }
}

/* -------------------------
   Base / reset scoped
------------------------- */
.dh-wrap{
  width:100vw;
  position:relative;
  left:50%;
  margin-left:-50vw;
  overflow:hidden;
  background:var(--dh-bg);
  color:var(--dh-deep);
}

.dh-wrap *{ box-sizing:border-box; }
.dh-wrap a{ color:inherit; text-decoration:none; }

.dh-container{
  max-width:var(--dh-max);
  margin:0 auto;
  padding:0 var(--dh-pad);
}

/* -------------------------
   HERO premium (photo + glass + grain)
------------------------- */
.dh-hero{
  position:relative;
  padding:118px 0 76px;
  min-height:560px;
  display:flex;
  align-items:flex-end;
  isolation:isolate;
  overflow:hidden;
}

.dh-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 760px at 48% 45%, rgba(255,255,255,.10), rgba(11,18,24,.06) 55%, rgba(11,18,24,.38) 100%),
    linear-gradient(180deg, rgba(11,18,24,.62) 0%, rgba(11,18,24,.22) 48%, rgba(246,248,247,1) 100%),
    url("/medias/aion.png") center/cover no-repeat;
  transform:scale(1.03);
  filter:saturate(1.03) contrast(1.06) brightness(.96);
  z-index:-3;
}

.dh-hero::after{
  content:"";
  position:absolute;
  inset:-140px;
  background:
    radial-gradient(900px 520px at 12% 22%, rgba(255,90,60,.18) 0%, rgba(255,90,60,0) 66%),
    radial-gradient(900px 520px at 86% 22%, rgba(127,164,184,.20) 0%, rgba(127,164,184,0) 66%);
  z-index:-2;
  pointer-events:none;
}

/* Grain ultra léger (premium) */
.dh-wrap::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:4px 4px;
  opacity:.08;
  mix-blend-mode:overlay;
  z-index:0;
}

/* Hero card glass */
.dh-heroCard{
  position:relative;
  width:min(980px,100%);
  border-radius:calc(var(--dh-r) + 2px);
  background:var(--dh-glass);
  border:1px solid var(--dh-glassBorder);
  box-shadow:0 28px 90px rgba(0,0,0,.22);
  backdrop-filter:blur(var(--dh-glassBlur));
  -webkit-backdrop-filter:blur(var(--dh-glassBlur));
  padding:28px 28px 24px;
  z-index:1;
}

.dh-heroCard::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06)),
    radial-gradient(900px 520px at 20% 12%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(900px 520px at 78% 82%, rgba(255,90,60,.10), transparent 60%);
  pointer-events:none;
  opacity:.95;
}

.dh-heroCard::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    inset 0 16px 26px rgba(255,255,255,.06),
    inset 0 -18px 30px rgba(0,0,0,.10);
  pointer-events:none;
  opacity:.95;
}

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .dh-heroCard{ background:rgba(11,18,24,.55); }
  .dh-heroCard::before{ opacity:.45; }
}

@media (max-width:900px){
  .dh-hero{ padding:108px 0 64px; min-height:auto; }
  .dh-heroCard{ padding:22px 18px 18px; border-radius:22px; }
}

/* Typography hero */
.dh-kicker{
  margin:0 0 10px;
  font-size:12px;
  font-weight:950;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:rgba(255,255,255,.86);
  position:relative;
  z-index:1;
}

.dh-h1{
  margin:0 0 10px;
  font-size:clamp(30px,4.6vw,56px);
  font-weight:950;
  letter-spacing:-.02em;
  line-height:1.05;
  color:rgba(255,255,255,.96);
  text-shadow:0 12px 46px rgba(0,0,0,.28);
  position:relative;
  z-index:1;
}

.dh-sub{
  margin:0 0 14px;
  color:rgba(255,255,255,.90);
  font-size:16.5px;
  line-height:1.75;
  max-width:920px;
  position:relative;
  z-index:1;
}

.dh-small{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:14.8px;
  line-height:1.7;
  max-width:920px;
  position:relative;
  z-index:1;
}

/* Meta row */
.dh-metaRow{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  position:relative;
  z-index:1;
}

.dh-chip{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:9px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.92);
  font-size:12.2px;
  font-weight:850;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 14px 34px rgba(0,0,0,.16);
}

.dh-dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--dh-accent);
  box-shadow:0 0 0 6px rgba(255,90,60,.18);
  flex:0 0 auto;
}

/* Buttons */
.dh-cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  position:relative;
  z-index:1;
}

.dh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:999px;
  font-size:14px;
  font-weight:950;
  border:1px solid rgba(255,255,255,.24);
  color:rgba(255,255,255,.94);
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 16px 48px rgba(0,0,0,.18);
  transition:transform .18s var(--dh-ease), box-shadow .18s var(--dh-ease), border-color .18s var(--dh-ease), background .18s var(--dh-ease);
  white-space:nowrap;
}

.dh-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 64px rgba(0,0,0,.22);
  border-color:rgba(255,90,60,.40);
}

.dh-btn.primary{
  background:rgba(255,90,60,.92);
  border-color:rgba(255,90,60,.92);
  color:rgba(11,18,24,.92);
}

.dh-btn.primary:hover{
  box-shadow:0 22px 70px rgba(255,90,60,.26);
}

.dh-btn.secondary{
  background:rgba(127,164,184,.18);
  border-color:rgba(127,164,184,.28);
}

/* -------------------------
   Sticky nav premium
------------------------- */
.dh-nav{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(246,248,247,.80);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(31,42,50,.10);
}

.dh-navInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}

.dh-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:950;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
  color:rgba(31,42,50,.92);
  white-space:nowrap;
}

.dh-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dh-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 11px;
  border-radius:999px;
  font-size:12.5px;
  font-weight:950;
  color:rgba(31,42,50,.88);
  border:1px solid rgba(31,42,50,.14);
  background:rgba(255,255,255,.82);
  box-shadow:0 12px 28px rgba(9,15,22,.06);
  transition:transform .16s var(--dh-ease), box-shadow .16s var(--dh-ease), border-color .16s var(--dh-ease);
}

.dh-link:hover{
  transform:translateY(-1px);
  box-shadow:var(--dh-shadow2);
  border-color:rgba(255,90,60,.40);
}

@media (max-width:900px){
  .dh-chips{
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    flex-wrap:nowrap;
    padding-bottom:2px;
  }
  .dh-link{ white-space:nowrap; }
}

/* -------------------------
   Sections + headings
------------------------- */
.dh-sec{
  padding:78px 0;
  position:relative;
}

.dh-sec.alt{
  background:
    radial-gradient(1100px 520px at 50% 0%, rgba(127,164,184,.14) 0%, rgba(127,164,184,0) 70%),
    linear-gradient(180deg, var(--dh-ice), var(--dh-bg));
}

.dh-sec + .dh-sec::before{
  content:"";
  position:absolute; top:0; left:0; right:0;
  height:1px;
  background:linear-gradient(90deg, rgba(31,42,50,0), rgba(31,42,50,.10), rgba(31,42,50,0));
}

.dh-title{
  margin:0 0 10px;
  font-size:30px;
  font-weight:950;
  letter-spacing:-.01em;
  padding-left:14px;
  position:relative;
  color:var(--dh-deep);
}

.dh-title::before{
  content:"";
  position:absolute;
  left:0; top:.24em;
  width:4px; height:1.05em;
  border-radius:3px;
  background:var(--dh-accent);
}

.dh-sub2{
  margin:0 0 22px;
  color:rgba(31,42,50,.84);
  font-size:16.5px;
  line-height:1.75;
  max-width:980px;
}

/* -------------------------
   Layout
------------------------- */
.dh-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
@media (max-width:900px){
  .dh-two{ grid-template-columns:1fr; gap:14px; }
}

.dh-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}
@media (max-width:900px){
  .dh-grid{ grid-template-columns:1fr; }
}

/* -------------------------
   Premium cards
------------------------- */
.dh-card{
  border-radius:var(--dh-r);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(127,164,184,.14) 0%, rgba(127,164,184,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 100%);
  border:1px solid var(--dh-stroke2);
  box-shadow:var(--dh-shadow);
  padding:22px 22px 20px;
  position:relative;
  overflow:hidden;
}

.dh-card::after{
  content:"";
  position:absolute; inset:-2px;
  border-radius:inherit;
  background:linear-gradient(135deg, rgba(255,90,60,.14), rgba(127,164,184,.12), rgba(255,255,255,0));
  opacity:.60;
  pointer-events:none;
  mix-blend-mode:multiply;
}

.dh-card h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:950;
  letter-spacing:-.01em;
  padding-left:12px;
  position:relative;
  z-index:1;
}

.dh-card h3::before{
  content:"";
  position:absolute;
  left:0; top:.28em;
  width:3px; height:1.05em;
  border-radius:3px;
  background:var(--dh-steel);
}

.dh-card p{
  margin:0;
  color:rgba(31,42,50,.84);
  line-height:1.75;
  font-size:15.2px;
  position:relative;
  z-index:1;
}

.dh-card p + p{ margin-top:10px; }

/* -------------------------
   Grid items premium (dataset blocks)
------------------------- */
.dh-item{
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 100%);
  border:1px solid var(--dh-stroke2);
  box-shadow:var(--dh-shadow2);
  padding:16px 16px 14px;
  transition:transform .18s var(--dh-ease), box-shadow .18s var(--dh-ease), border-color .18s var(--dh-ease);
  position:relative;
  overflow:hidden;
}

.dh-item::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 420px at 15% 30%, rgba(255,90,60,.10) 0%, rgba(255,90,60,0) 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(127,164,184,.12) 0%, rgba(127,164,184,0) 58%);
  opacity:.95;
  pointer-events:none;
}

.dh-item::after{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.26),
    inset 0 14px 22px rgba(255,255,255,.10);
  pointer-events:none;
  opacity:.9;
}

@media (hover:hover) and (pointer:fine){
  .dh-item:hover{
    transform:translateY(-2px);
    box-shadow:var(--dh-shadowHover);
    border-color:rgba(255,90,60,.26);
  }
}

.dh-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  position:relative;
  z-index:1;
}

.dh-pill{
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
  font-weight:950;
  color:rgba(127,164,184,.95);
  margin-bottom:8px;
}

.dh-ico{
  width:34px;height:34px;
  border-radius:12px;
  background:rgba(11,18,24,.05);
  border:1px solid rgba(31,42,50,.10);
  display:grid;
  place-items:center;
  flex:0 0 auto;
  box-shadow:0 10px 22px rgba(9,15,22,.06);
}

.dh-ico svg{ width:18px; height:18px; }

.dh-item h4{
  margin:0 0 8px;
  font-size:16.5px;
  font-weight:950;
  letter-spacing:-.01em;
  color:var(--dh-deep);
  position:relative;
  z-index:1;
}

.dh-tagline{
  margin:0 0 10px;
  color:var(--dh-muted);
  font-size:14.6px;
  line-height:1.6;
  position:relative;
  z-index:1;
}

.dh-list{
  margin:0;
  padding-left:18px;
  color:rgba(31,42,50,.84);
  font-size:14.8px;
  line-height:1.7;
  position:relative;
  z-index:1;
}
.dh-list li{ margin:6px 0; }

/* Note block */
.dh-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,90,60,.18);
  background:
    radial-gradient(800px 420px at 10% 50%, .08 0%, rgba(255,90,60,0) 70%),
    rgba(255,255,255,.92);
  color:rgba(31,42,50,.84);
  line-height:1.7;
  font-size:14.6px;
}

/* -------------------------
   Responsable block
------------------------- */
.dh-responsable{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:center;
}
@media (max-width:900px){
  .dh-responsable{ grid-template-columns:1fr; gap:14px; }
}

.dh-responsable img{
  width:100%;
  border-radius:var(--dh-r);
  box-shadow:var(--dh-shadow);
  object-fit:cover;
  border:1px solid rgba(255,255,255,.42);
}

/* -------------------------
   Reveal animation
------------------------- */
.xs-reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .55s var(--dh-ease), transform .55s var(--dh-ease);
}
.xs-reveal.is-in{
  opacity:1;
  transform:translateY(0);
}

@media (prefers-reduced-motion:reduce){
  .xs-reveal{ transition:none !important; transform:none !important; opacity:1 !important; }
  .dh-btn, .dh-link, .dh-item{ transition:none !important; }
}