:root{
  --bg:#070A0F;
  --card:#0C1220;
  --card2:#0A1020;
  --text:#E9EEFF;
  --muted:#A8B1D6;
  --line:rgba(255,255,255,.09);
  --accent:#6EE7FF;
  --accent2:#A78BFA;
  --shadow: 0 18px 60px rgba(0,0,0,.45);

  --logo-size: 72px;
  --logo-size-mobile: 56px;
}

*{box-sizing:border-box}
html, body{
  width: 100%;
  overflow-x: hidden;
}

html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 420px at 15% 10%, rgba(110,231,255,.15), transparent 55%),
              radial-gradient(900px 420px at 85% 0%, rgba(167,139,250,.14), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
.container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 16px; /* évite le débordement mobile */
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,10,15,.65);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:12px}
.brand__img{
  width: var(--logo-size);
  height: auto;
  max-height: var(--logo-size);
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 8px 24px rgba(110,231,255,.25);
}
.brand__text{font-weight:800; letter-spacing:.2px}
.brand__tag{
  font-size:12px; color:var(--muted);
  border:1px solid var(--line);
  padding:4px 10px; border-radius:999px;
}

.nav{position:relative}
.nav__list{
  display:flex; align-items:center; gap:18px;
  margin:0; padding:0; list-style:none;
}
.nav__list a{color:var(--muted); font-weight:600}
.nav__list a:hover{color:var(--text)}

.nav__burger{
  display:none;
  width:44px; height:44px; border-radius:12px;
  background:transparent;
  border:1px solid var(--line);
  cursor:pointer;
}
.nav__burger span{
  display:block;
  height:2px; width:20px;
  margin:5px auto;
  background: var(--text);
  opacity:.9;
  border-radius:2px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  background: linear-gradient(135deg, rgba(110,231,255,.92), rgba(167,139,250,.92));
  color:#0B1020;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover{transform: translateY(-1px); filter:saturate(1.06)}
.btn--ghost{
  background: transparent;
  color: var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn--small{padding:10px 12px; border-radius:12px}
.btn--full{width:100%}

/* Hero */
.hero{position:relative; padding:44px 0 10px; overflow:hidden;}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap:24px;
  align-items:stretch;
}
.hero__content{padding: 22px 0}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid var(--line);
  color:var(--muted);
  padding:8px 12px;
  border-radius:999px;
  background: rgba(12,18,32,.55);
}
.pill .dot{
  width:10px; height:10px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(110,231,255,.08);
}
h1{
  font-size: clamp(32px, 4vw, 50px);
  line-height:1.1;
  margin:14px 0 12px;
}
.grad{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{color:var(--muted); font-size: 16px; max-width: 60ch}
.hero__cta{display:flex; gap:12px; margin:18px 0 14px; flex-wrap:wrap}
.hero__stats{display:flex; gap:14px; flex-wrap:wrap; margin-top:18px;}
.stat{
  flex: 1 1 170px;
  border:1px solid var(--line);
  background: rgba(12,18,32,.45);
  border-radius:16px;
  padding:12px 14px;
}
.stat__k{font-weight:800}
.stat__v{color:var(--muted); font-size:13px}

.hero__card{display:flex; align-items:stretch}
.card{
  width:100%;
  border:1px solid var(--line);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(12,18,32,.9), rgba(10,16,32,.9));
  box-shadow: var(--shadow);
}
.card--glow{position:relative}
.card--glow:before{
  content:"";
  position:absolute; inset:-2px;
  border-radius:20px;
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(167,139,250,.18));
  filter: blur(18px);
  z-index:-1;
}
.card__top{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 16px 0;
}
.card__title{font-weight:800}
.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.03);
}
.card__body{padding: 10px 16px 16px}
.muted{color:var(--muted)}
.hint{color:var(--muted); font-size:12px; margin-top:10px}
.check{padding-left:18px; margin:12px 0}
.check li{margin:6px 0}

.hero__bg{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -160px;
  width: 140%;
  max-width: 140%;
  height: 320px;
  background: radial-gradient(closest-side, rgba(110,231,255,.14), transparent 70%),
              radial-gradient(closest-side, rgba(167,139,250,.12), transparent 70%);
  filter: blur(10px);
  pointer-events:none;
}


/* Sections */
.section{padding: 52px 0}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap}
.section__head h2{margin:0; font-size: 28px}
.section__head p{margin:0; max-width: 70ch}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:18px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; margin-top:18px}
.box{
  border:1px solid var(--line);
  background: rgba(12,18,32,.5);
  border-radius:18px;
  padding:16px;
}
.box h3{margin:0 0 8px}
.mini{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.mini li{margin:6px 0}
.note{margin:10px 0 0; font-size:12px; color:var(--muted)}

.callout{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background: rgba(12,18,32,.35);
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
}

.steps{list-style:none; padding:0; margin:18px 0 0; display:grid; gap:12px}
.step{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background: rgba(12,18,32,.45);
  display:flex; gap:12px;
}
.step__n{
  width:36px; height:36px; border-radius:14px;
  display:grid; place-items:center;
  font-weight:900;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
}
.step h3{margin:0 0 4px}
.step p{margin:0; color:var(--muted)}

.faq{margin-top:16px; display:grid; gap:10px}
.faq__item{
  border:1px solid var(--line);
  border-radius:18px;
  background: rgba(12,18,32,.45);
  padding:12px 14px;
}
.faq__item summary{cursor:pointer; font-weight:800}
.faq__item p{color:var(--muted); margin:10px 0 0}

.infoList{display:grid; gap:10px; margin-top:10px}
.info{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.info__k{color:var(--muted); font-weight:800}
.info__v{font-weight:700}

.miniCard{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  background: rgba(12,18,32,.35);
}
.miniCard p{margin:8px 0 0}

/* iDrive image (taille maîtrisée) */
.imgBox{
  border:1px solid rgba(255,255,255,.09);
  background: rgba(12,18,32,.45);
  border-radius:18px;
  padding:10px;
  max-width: 520px;
  margin: 0 auto;
}
.imgBox img{
  width:100%;
  height:auto;
  max-height: 420px;
  object-fit: contain;
  display:block;
  border-radius:14px;
}

/* Boutons flottants */
.waFloat,
.igFloat{
  position: fixed;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .5px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  z-index: 80;
  transition: transform .15s ease, filter .15s ease;
}
.waFloat{ bottom: 18px; background: linear-gradient(135deg, rgba(110,231,255,.92), rgba(167,139,250,.92)); color:#0B1020; }
.igFloat{ bottom: 86px; background: rgba(255,255,255,.06); color: var(--text); backdrop-filter: blur(10px); }
.waFloat:hover,
.igFloat:hover{transform: translateY(-1px); filter:saturate(1.05)}

/* Footer */
.footer{
  padding: 22px 0;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.footer__right{display:flex; gap:14px; align-items:center; color:var(--muted); font-weight:700}
.footer__right a:hover{color:var(--text)}
.toTop{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.brand--foot .brand__img--foot{
  width:48px;
  max-height:48px;
  border-radius:12px;
}

/* Responsive */
@media (max-width: 900px){
  .hero__grid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .nav__burger{display:inline-block}

  .nav__list{
    position:absolute; right:0; top:54px;
    width: min(320px, 86vw);
    padding: 12px;
    border-radius:18px;
    border:1px solid var(--line);
    background: rgba(7,10,15,.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .nav__list.is-open{display:flex}
  .nav__list a{padding:10px 10px; border-radius:12px}
  .nav__list a:hover{background: rgba(255,255,255,.04)}
}

@media (max-width: 768px){
  .brand__img{
    width: var(--logo-size-mobile);
    max-height: var(--logo-size-mobile);
  }
  .imgBox{max-width: 100%}
  .imgBox img{max-height: 280px}
}


.nav__list .btn{
  color: #0B1020 !important; /* contraste fort */
  font-weight: 900;
}


/* Par défaut : section normale */
.section{
  padding: 52px 0;
}

/* On enlève le fond full-width */
.section--alt{
  background: transparent;
  border: 0;
}

/* On applique le fond AU CONTAINER pour qu'il soit aligné à la grille */
.section--alt > .container{
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 16px; /* padding interne du “panneau” */
}

/* On évite que le contenu colle en haut/bas */
.section--alt > .container .section__head{
  margin-bottom: 18px;
}
