:root{
  --bg:#020b1d;
  --panel:#07162f;
  --panel2:#0a1e3e;
  --text:#f6f9ff;
  --muted:#b9c7df;
  --cyan:#28d9ff;
  --violet:#6e35ff;
  --yellow:#ffe24d;
  --line:rgba(111,187,255,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
.site-header{
  position:fixed;z-index:50;top:0;left:0;right:0;
  height:104px;padding:16px clamp(22px,4vw,64px);
  display:flex;align-items:center;gap:28px;
  background:linear-gradient(180deg,rgba(2,8,24,.97),rgba(2,8,24,.91));
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}
.brand{display:flex;align-items:center;gap:16px;min-width:max-content}
.logo{
  width:72px;height:72px;border-radius:22px;display:grid;place-items:center;
  font:800 30px/1 Georgia,serif;color:#071427;
  background:linear-gradient(135deg,#ffd85c 0%,#2ac7ff 52%,#6834ff 100%);
  box-shadow:0 10px 35px rgba(33,166,255,.28);
}
.brand-copy{display:flex;flex-direction:column;line-height:1.1}
.brand-copy strong{font-size:clamp(19px,2vw,30px);font-style:normal;font-weight:500;letter-spacing:-.02em}
.brand-copy em{font-style:normal;color:var(--cyan)}
.brand-copy small{margin-top:8px;color:#aebad0;font-size:15px}
.desktop-nav{margin-left:auto;display:flex;align-items:center;gap:clamp(13px,2vw,28px)}
.desktop-nav a{color:#cdd7ea;font-size:14px}
.desktop-nav a:hover{color:#fff}
.menu-toggle{display:none;margin-left:auto;width:48px;height:48px;border:0;background:transparent;cursor:pointer}
.menu-toggle span{display:block;width:30px;height:3px;background:#fff;margin:6px auto;border-radius:9px;transition:.2s}
.mobile-nav{display:none}

.hero{
  position:relative;
  min-height:100svh;
  padding-top:104px;
  display:flex;align-items:center;
  background:
    linear-gradient(90deg,rgba(2,8,24,.90) 0%,rgba(2,8,24,.68) 46%,rgba(2,8,24,.22) 100%),
    url("assets/andy-blaise-ai-futuriste.png") center center/cover no-repeat;
  isolation:isolate;
}
.hero-shade{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(circle at 32% 36%,rgba(0,175,255,.16),transparent 32%),
    linear-gradient(180deg,rgba(2,8,24,.12),rgba(2,8,24,.52));
}
.hero-content{
  width:min(760px,90vw);
  margin-left:clamp(28px,7vw,120px);
  padding:70px 0 60px;
  text-shadow:0 2px 18px rgba(0,0,0,.55);
}
.eyebrow{
  display:inline-flex;margin:0 0 20px;padding:9px 14px;border:1px solid rgba(48,220,255,.35);
  border-radius:999px;background:rgba(5,31,62,.55);color:#9eecff;font-weight:800;font-size:12px;letter-spacing:.09em
}
.hero h1{font-size:clamp(54px,7vw,92px);line-height:.96;margin:0 0 22px;letter-spacing:-.055em}
.hero h1 span{color:var(--cyan)}
.hero h2{font-size:clamp(30px,4.1vw,58px);line-height:1.08;margin:0 0 24px;letter-spacing:-.035em;font-weight:650}
.hero h2 mark{color:var(--yellow);background:none}
.intro{max-width:700px;margin:0;color:#edf3ff;font-size:clamp(18px,1.8vw,23px);line-height:1.55}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:32px 0}
.benefits div{min-width:0;padding:13px 0}
.benefits b{display:block;font-size:17px;white-space:nowrap}
.benefits small{display:block;margin-top:5px;color:#c4d1e8;font-size:14px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  min-height:58px;padding:0 26px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;gap:18px;
  font-weight:800;font-size:17px;border:1px solid transparent;
}
.primary{background:linear-gradient(90deg,#14bfe8,#164dff 58%,#6c2dff);box-shadow:0 15px 45px rgba(28,92,255,.28)}
.secondary{background:rgba(3,12,35,.64);border-color:rgba(255,255,255,.72)}
.btn span{font-size:24px}
.content-section,.contact-section{padding:96px 24px;background:#030d20}
.content-section.alt{background:linear-gradient(180deg,#05142c,#030d20)}
.section-inner{width:min(1160px,100%);margin:auto}
.section-kicker{color:var(--cyan);font-size:13px;font-weight:800;letter-spacing:.12em}
.section-inner>h2{font-size:clamp(32px,5vw,54px);max-width:850px;line-height:1.08;margin:10px 0 18px}
.section-inner>p:not(.section-kicker){color:var(--muted);font-size:19px;line-height:1.7;max-width:850px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:38px}
.cards article{padding:28px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(11,34,68,.95),rgba(5,17,39,.92));box-shadow:inset 0 1px rgba(255,255,255,.04)}
.cards article>span{font-size:30px}
.cards h3{font-size:21px;margin:13px 0 8px}
.cards p{color:var(--muted);line-height:1.6;margin:0}
.contact-section{padding-top:78px;padding-bottom:78px}
.contact-box{padding:46px;border:1px solid rgba(54,174,255,.35);border-radius:28px;background:linear-gradient(120deg,#0b2850,#07152d)}
.contact-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.contact-links a{padding:12px 16px;border:1px solid var(--line);border-radius:999px;background:#06142a;color:#dff8ff}
footer{padding:34px 24px;text-align:center;color:#8ea2c3;border-top:1px solid var(--line);background:#020919}

@media (max-width:900px){
  .site-header{height:92px;padding:12px 18px}
  .logo{width:64px;height:64px;border-radius:20px;font-size:27px}
  .brand-copy strong{font-size:22px}
  .brand-copy small{font-size:13px;margin-top:6px}
  .desktop-nav{display:none}
  .menu-toggle{display:block}
  .mobile-nav{
    position:fixed;z-index:45;top:92px;left:0;right:0;
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
    padding:16px 18px 20px;background:rgba(2,9,27,.98);
    border-bottom:1px solid var(--line);transform:translateY(-130%);transition:.25s ease;
  }
  .mobile-nav.open{transform:translateY(0)}
  .mobile-nav a{padding:13px 14px;border-radius:12px;background:#07162e;color:#dce7f8}
  .menu-toggle.open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .menu-toggle.open span:nth-child(2){opacity:0}
  .menu-toggle.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

  .hero{
    min-height:100svh;
    padding-top:92px;
    align-items:flex-start;
    background:
      linear-gradient(180deg,rgba(2,8,24,.70) 0%,rgba(2,8,24,.78) 35%,rgba(2,8,24,.94) 100%),
      url("assets/andy-blaise-ai-futuriste.png") 70% center/cover no-repeat;
  }
  .hero-content{
    width:auto;margin:0;padding:56px 22px 34px;
  }
  .eyebrow{margin-bottom:14px;font-size:10px;padding:7px 11px}
  .hero h1{font-size:clamp(44px,13vw,62px);line-height:.98;margin-bottom:17px}
  .hero h2{font-size:clamp(27px,7.5vw,38px);line-height:1.14;margin-bottom:17px}
  .intro{font-size:18px;line-height:1.5}
  .benefits{grid-template-columns:1fr 1fr;gap:6px 18px;margin:21px 0}
  .benefits div{padding:8px 0}
  .benefits b{font-size:16px;white-space:normal}
  .benefits small{font-size:13px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:12px}
  .btn{width:100%;min-height:58px;border-radius:18px;font-size:17px}
  .cards{grid-template-columns:1fr 1fr}
}

@media (max-width:560px){
  .site-header{height:84px;padding:10px 14px}
  .logo{width:58px;height:58px;border-radius:18px;font-size:25px}
  .brand{gap:11px}
  .brand-copy strong{font-size:19px}
  .brand-copy small{font-size:11.5px}
  .menu-toggle{width:42px;height:42px}
  .mobile-nav{top:84px}
  .hero{padding-top:84px;background-position:72% center}
  .hero-content{padding:38px 20px 28px}
  .hero h1{font-size:clamp(42px,12.5vw,55px)}
  .hero h2{font-size:clamp(26px,7.6vw,34px)}
  .intro{font-size:17px}
  .benefits{grid-template-columns:1fr 1fr}
  .cards{grid-template-columns:1fr}
  .content-section,.contact-section{padding:70px 20px}
  .contact-box{padding:30px 20px}
  .contact-links{display:grid}
}

@media (max-width:390px){
  .brand-copy small{display:none}
  .brand-copy strong{font-size:18px}
  .hero-content{padding-left:17px;padding-right:17px}
  .hero h1{font-size:42px}
  .hero h2{font-size:27px}
  .intro{font-size:16px}
  .benefits b{font-size:15px}
  .btn{font-size:16px;padding-inline:18px}
}


/* ===== V7 — GARDE-FOUS RESPONSIVE ===== */
header.site-header{overflow:visible}
@media (max-width:900px){
  .site-header{width:100%;max-width:100vw}
  .desktop-nav{display:none!important}
  .brand{max-width:calc(100vw - 76px);overflow:hidden}
  .brand-copy{min-width:0}
  .brand-copy strong,.brand-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-nav{display:grid!important;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-125%)}
  .mobile-nav.open{visibility:visible!important;pointer-events:auto;opacity:1;transform:translateY(0)}
  .hero{width:100%;max-width:100vw;min-height:100svh;background-attachment:scroll}
  .hero-content{max-width:100%}
}
@media (max-width:560px){
  .site-header{gap:8px}
  .brand-copy strong{font-size:18px}
  .brand-copy small{font-size:10.5px}
  .hero{background-position:69% center}
  .hero-content{padding-top:32px}
  .benefits{gap:4px 14px}
}
@media (max-width:430px){
  .brand-copy small{display:none}
  .logo{width:52px;height:52px;border-radius:16px;font-size:23px}
  .site-header{height:74px}
  .mobile-nav{top:74px;grid-template-columns:1fr}
  .hero{padding-top:74px}
  .hero-content{padding:28px 16px 26px}
  .hero h1{font-size:clamp(39px,12vw,50px)}
  .hero h2{font-size:clamp(24px,7.2vw,31px)}
  .intro{font-size:16px}
  .benefits b{font-size:14px}
  .benefits small{font-size:12px}
}


/* ===== V8 — CORRECTION COMPLÈTE MOBILE / TABLETTE / DESKTOP ===== */
/* Objectif : conserver l'univers futuriste en plein écran sans laisser les textes
   intégrés à l'image gêner le contenu éditorial du site. */
.hero{
  background-image:url("assets/andy-blaise-ai-futuriste.png");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:inherit;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(2,8,24,.93) 0%,rgba(2,8,24,.84) 42%,rgba(2,8,24,.55) 72%,rgba(2,8,24,.34) 100%),
    linear-gradient(180deg,rgba(2,8,24,.20) 0%,rgba(2,8,24,.30) 58%,rgba(2,8,24,.88) 100%);
}
.hero-shade{display:none}
.hero-content{position:relative;z-index:2}
.benefits div{
  padding:14px 15px;
  border:1px solid rgba(92,207,255,.18);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(3,15,38,.82),rgba(7,28,56,.68));
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.benefits b,.benefits small{position:relative;z-index:1}
.hero-actions{position:relative;z-index:2}
.btn{box-shadow:0 12px 34px rgba(0,0,0,.28)}
.secondary{background:rgba(2,10,29,.82);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

@media (max-width:900px){
  .site-header{background:rgba(2,8,24,.97);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  .hero{
    min-height:calc(100svh - 0px);
    background-position:72% center;
    align-items:flex-start;
  }
  .hero::after{
    background:
      linear-gradient(180deg,rgba(2,8,24,.70) 0%,rgba(2,8,24,.80) 27%,rgba(2,8,24,.88) 58%,rgba(2,8,24,.97) 100%),
      linear-gradient(90deg,rgba(2,8,24,.78),rgba(2,8,24,.52));
  }
  .hero-content{
    width:min(100%,760px);
    margin:0 auto;
    padding-left:24px;
    padding-right:24px;
    text-shadow:0 2px 14px rgba(0,0,0,.75);
  }
  .hero h1{font-size:clamp(42px,10vw,62px);margin-bottom:14px}
  .hero h2{max-width:720px;font-size:clamp(28px,6.2vw,40px);line-height:1.12}
  .intro{max-width:700px;font-size:17px;line-height:1.52}
  .benefits{gap:12px;margin:24px 0}
  .benefits div{padding:14px 14px;min-height:88px}
  .benefits b{font-size:16px;line-height:1.25}
  .benefits small{font-size:13px;line-height:1.35}
  .hero-actions{gap:12px}
  .btn{min-height:62px}
}

@media (max-width:560px){
  .hero{background-position:70% center}
  .hero::after{
    background:
      linear-gradient(180deg,rgba(2,8,24,.72) 0%,rgba(2,8,24,.86) 24%,rgba(2,8,24,.93) 58%,rgba(2,8,24,.985) 100%),
      linear-gradient(90deg,rgba(2,8,24,.82),rgba(2,8,24,.56));
  }
  .hero-content{padding:34px 18px 30px}
  .eyebrow{margin-bottom:12px}
  .hero h1{font-size:clamp(40px,11.5vw,52px);line-height:1;margin-bottom:13px}
  .hero h2{font-size:clamp(27px,7.1vw,34px);line-height:1.12;margin-bottom:16px}
  .intro{font-size:16.5px;line-height:1.5}
  .benefits{grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}
  .benefits div{min-height:92px;padding:13px 12px}
  .benefits b{font-size:15px}
  .benefits small{font-size:12.5px}
  .btn{font-size:16.5px;min-height:60px;padding:0 18px}
  .content-section,.contact-section{padding:58px 18px}
  .section-inner>h2{font-size:clamp(30px,8vw,40px)}
  .section-inner>p:not(.section-kicker){font-size:17px;line-height:1.6}
}

@media (max-width:430px){
  .hero{padding-top:74px;background-position:68% center}
  .hero-content{padding:26px 15px 24px}
  .eyebrow{font-size:9.5px;letter-spacing:.07em}
  .hero h1{font-size:39px}
  .hero h2{font-size:25px;line-height:1.14}
  .intro{font-size:15.7px;line-height:1.48}
  .benefits{gap:8px}
  .benefits div{min-height:88px;padding:12px 10px}
  .benefits b{font-size:14px}
  .benefits small{font-size:12px}
  .hero-actions{gap:10px}
  .btn{min-height:58px;border-radius:16px;font-size:15.5px;gap:12px}
  .content-section,.contact-section{padding:52px 16px}
}

/* Évite tout grand espace vide entre le hero et la section suivante. */
.hero + .content-section{margin-top:0}
main{display:block}

/* ===== V9 — MOBILE STABLE, SANS DEBORDEMENT ===== */
html,body{width:100%;max-width:100%;overflow-x:clip}
main,section,.section-inner,.contact-box,.cards,.cards article{min-width:0;max-width:100%}
img,svg,video,iframe{max-width:100%;height:auto}

@media (max-width:900px){
  .content-section,.contact-section{padding-left:22px;padding-right:22px}
  .section-inner{width:100%;margin:0 auto}
  .section-inner>h2,.section-inner>p{overflow-wrap:anywhere}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .cards article{width:100%;padding:22px}
  .contact-box{width:100%;padding:34px 26px}
  .contact-links{display:grid;grid-template-columns:1fr;gap:12px}
  .contact-links a{display:block;width:100%;max-width:100%;padding:14px 16px;white-space:normal;overflow-wrap:anywhere;text-align:left}
  footer{width:100%;padding:30px 22px calc(30px + env(safe-area-inset-bottom));line-height:1.55;overflow-wrap:anywhere}
}

@media (max-width:560px){
  .site-header{left:0;right:0;width:100vw;max-width:100vw}
  .brand{min-width:0;max-width:calc(100vw - 72px)}
  .brand-copy strong{white-space:nowrap}
  .content-section,.contact-section{padding:52px 16px}
  .section-inner{width:100%;padding:0}
  .section-kicker{font-size:12px}
  .section-inner>h2{font-size:clamp(29px,8.4vw,38px);line-height:1.12;margin:10px 0 16px}
  .section-inner>p:not(.section-kicker){font-size:16.5px;line-height:1.58}
  .cards{grid-template-columns:1fr;gap:14px;margin-top:28px}
  .cards article{padding:22px 20px;border-radius:20px}
  .cards h3{font-size:20px}
  .cards p{font-size:15.5px;line-height:1.55}
  .contact-section{padding-top:52px;padding-bottom:52px}
  .contact-box{padding:28px 18px;border-radius:24px}
  .contact-box>h2{font-size:clamp(30px,8.5vw,38px)}
  .contact-links{margin-top:22px}
  .contact-links a{font-size:15.5px;padding:14px 15px;border-radius:18px}
  footer{font-size:14px;padding:28px 16px calc(34px + env(safe-area-inset-bottom))}
}

@media (max-width:430px){
  .content-section,.contact-section{padding-left:15px;padding-right:15px}
  .contact-box{padding:25px 15px}
  .contact-links a{font-size:14.5px}
}
