:root{
  --bg0:#05070d;
  --bg1:#070b14;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.04);
  --border:rgba(255,255,255,.10);
  --border2:rgba(59,130,246,.45);
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.55);
  --accent:#3B82F6;

  --radius:22px;
  --shadow: 0 18px 46px rgba(0,0,0,.45);
  --shadowSoft: 0 10px 30px rgba(0,0,0,.30);

  --container: 1100px;
  --headerH: 74px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",system-ui,Arial,sans-serif;
  background:var(--bg0);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit}

.page-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(900px 520px at 50% 5%, rgba(59,130,246,.34) 0%, rgba(59,130,246,0) 65%),
    radial-gradient(900px 520px at 20% 60%, rgba(14,165,233,.18) 0%, rgba(14,165,233,0) 70%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  pointer-events:none;
}

.container{
  width:min(var(--container), calc(100% - 56px));
  margin:0 auto;
}

/* HEADER */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--headerH);
  display:flex;
  align-items:center;
  background: rgba(6,9,16,.58);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}
.logo{
  width:34px;height:34px;
  border-radius:10px;
  object-fit:cover;
  filter: drop-shadow(0 0 8px rgba(0,0,0,.35));
}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-name{font-weight:800;font-size:16px;letter-spacing:.2px}
.brand-sub{font-size:12px;color:var(--muted2);margin-top:3px}

/* NAV DESKTOP */
.nav{display:flex;align-items:center;gap:18px}
.nav-link{
  font-size:14px;
  color:rgba(255,255,255,.82);
  transition:color .18s ease;
}
.nav-link:hover{color:var(--accent)}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  min-height:44px;
  white-space:nowrap;
}
.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
  box-shadow:var(--shadowSoft);
}
.btn-accent{
  background:linear-gradient(180deg, rgba(59,130,246,.95), rgba(59,130,246,.72));
  border-color:rgba(59,130,246,.55);
  color:white;
}
.btn-accent:hover{
  border-color:rgba(59,130,246,.75);
  box-shadow:0 18px 46px rgba(59,130,246,.15), var(--shadowSoft);
}
.btn-lg{padding:12px 18px;border-radius:16px;font-weight:650;min-height:48px}

/* BURGER */
.burger{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}
.burger span{
  display:block;
  width:18px;height:2px;
  background:rgba(255,255,255,.86);
  margin:5px auto;
  border-radius:999px;
}

/* MOBILE NAV (déroulant) */
/* MOBILE NAV (plein écran, pas coupé à droite) */
.mobile-nav{
  display:none;
  position: fixed;
  top: var(--headerH);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9998;

  background: rgba(6,9,16,.94);
  backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid rgba(255,255,255,.08);
}

.mobile-nav.open{display:block;}

.mobile-nav-inner{
  padding: 14px 0 18px;
}

.mobile-nav .nav-link{
  display:block;
  padding: 14px 0;
  font-size: 16px;
}

.mobile-cta{
  width:100%;
  margin-top: 10px;
}
.mobile-nav-inner{
  padding: 14px 0 18px;
}
.mobile-nav .nav-link{
  display:block;
  padding: 12px 0;
  font-size: 16px;
}
.mobile-cta{
  width:100%;
  margin-top: 10px;
}

/* MAIN */
main{padding-top: var(--headerH);}

/* HERO */
.hero{padding:38px 0 52px}
.hero-wrap{text-align:center;max-width:980px}
.hero-title{
  margin:0;
  font-size:46px;
  line-height:1.08;
  letter-spacing:-.7px;
}
.subtitle{
  margin:14px auto 0;
  max-width:760px;
  font-size:16px;
  color:var(--muted);
  line-height:1.65;
}
.hero-actions{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Scroll indicator */
.scroll-indicator{
  margin:26px auto 0;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.82);
  cursor:pointer;
  transition:transform .22s ease, opacity .22s ease, border-color .22s ease, box-shadow .22s ease;
  user-select:none;
}
.scroll-indicator:hover{
  transform:translateY(2px);
  opacity:1;
  border-color:rgba(59,130,246,.35);
  box-shadow:var(--shadowSoft);
}
.scroll-text{font-size:13px;color:rgba(255,255,255,.75)}
.scroll-mouse{
  width:16px;height:22px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.35);
  position:relative;
}
.scroll-mouse::after{
  content:"";
  width:4px;height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  position:absolute;
  left:50%;
  top:5px;
  transform:translateX(-50%);
  animation: wheel 1.6s infinite;
}
@keyframes wheel{
  0%{transform:translate(-50%,0);opacity:.9}
  60%{transform:translate(-50%,10px);opacity:.25}
  100%{transform:translate(-50%,0);opacity:.9}
}

/* Sections */
.section{padding:56px 0}
.section-head{
  text-align:center;
  max-width:820px;
  margin:0 auto 18px;
}
.section-title{
  margin:0;
  font-size:30px;
  letter-spacing:-.3px;
}
.section-sub{margin:8px 0 0;color:var(--muted)}
.muted{color:var(--muted)}

/* Cards & grid */
.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
  margin-top:18px;
}
.card{
  grid-column:span 4;
  border:1px solid var(--border);
  background:linear-gradient(180deg, var(--card), var(--card2));
  border-radius:var(--radius);
  padding:20px;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  will-change:transform;
}
.card:hover{
  transform:translateY(-4px);
  border-color:var(--border2);
  box-shadow:var(--shadow);
  background:linear-gradient(180deg, rgba(59,130,246,.10), rgba(255,255,255,.02));
}
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.78);
  font-size:12px;
}
.card-title{margin-top:12px;font-weight:800;font-size:17px}
.card-desc{margin-top:8px;color:var(--muted);line-height:1.65;font-size:14.5px}

.step{
  width:28px;height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(59,130,246,.12);
  display:flex;align-items:center;justify-content:center;
  color:rgba(147,197,253,1);
  font-weight:900;
  font-size:12px;
  margin-bottom:10px;
}

/* Contact */
.contact-row{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.contact{
  width:min(560px, 100%);
  max-width:560px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
}
.iconbox{
  width:52px;height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  display:flex;align-items:center;justify-content:center;
}

.footer{
  margin-top:32px;
  padding:26px 0 40px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.60);
  font-size:13px;
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none !important;}
  .burger{display:inline-flex;align-items:center;justify-content:center;}
  .hero-title{font-size:34px}
  .subtitle{font-size:15px}
  .card{grid-column:span 12}
}
@media (max-width: 640px){
  .hero-title{font-size:32px}
}