/* --------- RESET & TOKENS --------- */
:root{
  --bg-top: #0C1726;
  --bg-bottom: #0C1F30;
  --text: #EAF2FF;
  --muted: #A9B7C6;
  --primary: #2DB6FF;
  --primary-strong: #00D2FF;
  --orange: #FF7A2F;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(45,182,255,0.18);
  --card-shadow: 0 10px 30px rgba(45,182,255,0.10), inset 0 1px 0 rgba(255,255,255,0.06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --section-y: clamp(80px, 12vw, 140px);
  --gutter: 32px;
  --maxw: 1200px;
  --btn-h: 56px;
  --btn-pad-x: 32px;
  --focus: 0 0 0 3px rgba(45,182,255,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(120deg, var(--bg-top) 60%, #1B263B 100%) fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ height: 100%; display: block; }
figure { padding: 0 !important; }
figure img { z-index: 2; max-width: 400px; margin-left: auto; margin-right: auto; }
a{ color: var(--text); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------- Layout helpers --------- */
/* .container{ width: min(100% - 2rem, var(--maxw)); margin-inline: auto; } */ /* OG */
.container{ width: 80%; margin-left: auto; margin-right: auto;}
.section{ padding-block: var(--section-y); position: relative; }
.section-title{
  font-weight: 900;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.12;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
  text-align: center;
}
.lead{
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  margin-bottom: 18px;
}
.center{ text-align: center; }

/* --------- Glass Card --------- */
.card,
.feature,
.faq-item,
.testimonial {
  background: linear-gradient(135deg, rgba(45,182,255,0.08), rgba(255,255,255,0.02));
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 32px rgba(45,182,255,0.10), 0 1px 0 rgba(255,255,255,0.08) inset;
  backdrop-filter: blur(16px) saturate(120%);
  transition: box-shadow .2s;
  padding: 32px 28px;
}

/* .faq-item{
  margin-left:auto;
  margin-right:auto;
} */

.card:hover,
.feature:hover,
.faq-item:hover,
.testimonial:hover {
  box-shadow: 0 4px 48px rgba(45,182,255,0.18);
}

/* Halo de fond décoratif */
.bg-glows{
  position: fixed;
  left: -10%;
  right: -10%;
  top: -20%;
  height: 60%;
  background:
    radial-gradient(700px 400px at 85% 15%, rgba(255,122,47,0.45), transparent 60%),
    radial-gradient(600px 380px at 20% 25%, rgba(45,182,255,0.35), transparent 60%);
  pointer-events: none; z-index: -1;
  filter: saturate(140%) blur(2px);
}

/* --------- Hero, Diff, CTA visual halo --------- */
.hero__visual--halo,
.diff__visual--halo,
.cta__visual--halo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.hero__visual--halo img,
.diff__visual--halo img,
.cta__visual--halo img {
  position: relative;
  z-index: 2;
  /* max-width: 400px; */
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.hero__visual--halo::before,
.diff__visual--halo::before,
.cta__visual--halo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(45,182,255,0.45) 0%, rgba(45,182,255,0.12) 60%, transparent 100%);
  filter: blur(12px) saturate(120%);
  z-index: 1;
  pointer-events: none;
}

/* --------- Header --------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(12,23,38,0.85), rgba(12,31,48,0.55));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.brand{ display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.08em; }
.brand__logo{ width: 32px; height: 32px; }
.brand__text{ opacity: .9; }

/* Navigation */
.nav{ display: block; }
.nav__list{ display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; }
.nav__list a{ color: var(--text); font-weight: 600; font-size: 18px; opacity: 0.9;}
.nav__list a:hover{ color: var(--text); }
.nav__list li{ margin: auto; }  
.header-ctas{ display: flex; gap: 18px; }

#navbar-btn-primary{opacity: 1; } 

/* --------- Hamburger --------- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  z-index: 100;
  align-self: center;
  margin-right: 0;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 6px 0;
  background: #2DB6FF;
  border-radius: 2px;
  transition: 0.3s;
}

/* --------- Responsive Navigation --------- */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
  }
  .nav__list {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0C1726 90%, #1B263B 100%);
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 32px rgba(45,182,255,0.18);
    border-bottom: 1px solid rgba(45,182,255,0.12);
    display: none;
  }
  .nav__list.open {
    display: flex;
  }
  .nav__list li {
    border-bottom: 1px solid rgba(45,182,255,0.08);
    padding: 18px 0;
    text-align: center;
  }
  .hamburger {
    display: block;
    margin-left: 16px;
    margin-right: 0;
  }
}

/* --------- Correction largeur navbar mobile --------- */
@media (max-width: 900px) {
  .site-header {
    width: 100%;
    left: 0%;
    right: 0%;
    /* margin-left: -50vw;
    margin-right: -50vw; */
    position: relative; /* mettre relatif pour animation navbar au défilement */
  }
  .site-header .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  .site-header,
  .site-header .container,
  .nav__list {
    width: 100%;
    max-width: 100%;
  }
}

/* --------- Boutons --------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--btn-h); padding-inline: var(--btn-pad-x);
  border-radius: 999px; font-weight: 600; border: 1.5px solid rgba(45,182,255,0.35);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 20px;
  box-shadow: 0 0 0 0 transparent;
  transition: transform .08s, box-shadow .25s, background .25s, border-color .25s;
  will-change: transform, box-shadow;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(90deg, #2DB6FF 0%, #00D2FF 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(45,182,255,0.25);
  border: 1.5px solid #2DB6FF;
}
.btn-primary:hover {
  box-shadow: 0 0 36px #2DB6FF;
  background: linear-gradient(90deg, #00D2FF 0%, #2DB6FF 100%);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1.5px solid rgba(45,182,255,0.18);
}
.btn-ghost:hover {
  border-color: #2DB6FF;
}

/* --------- HERO --------- */
.hero__grid{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.logo-line{ display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; opacity: .9; }
.logo-line__mark{ width: 28px; height: 28px; }
.hero__title{ font-size: clamp(48px, 7vw, 72px); line-height: 1.05; margin: 0 0 18px; font-weight: 900; letter-spacing: -0.02em; }
.accent{ color: #fff; }
.hero__subtitle{ color: var(--muted); font-size: clamp(20px, 2vw, 24px); margin-bottom: 28px; }
.cta-row{ display: flex; gap: 24px; flex-wrap: wrap; }
.hero__visual{ padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.02); border: 1.5px dashed rgba(45,182,255,0.18); }

/* --------- DIFFERENCIATEURS --------- */
.diff__grid{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.bullet-list{ list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.bullet{ display: grid; grid-template-columns: 98px auto; align-items: start; gap: 18px; padding: 4px; border-radius: var(--radius-md); }
.bullet:hover{ background: rgba(255,255,255,0.03); }
.bullet__icon{ width: 98px; height: 98px; filter: drop-shadow(0 0 10px rgba(45,182,255,0.5)); }
.bullet__text{ color: #fff; font-size: 22px; font-weight: 600; margin: auto 0 auto 0; }
.diff__visual img{ text-align: center; max-width: 100% !important; margin-left: auto; margin-right: auto; }
/* --------- POURQUOI --------- */
.grid{ display: grid; gap: 32px; }
.features-grid{ grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature{ padding: 24px 24px; text-align: center; }
.feature__icon{ width: 112px; height: 112px; margin-bottom: 14px; margin-left:auto; margin-right: auto; filter: drop-shadow(0 0 10px rgba(45,182,255,.45)); }
.feature__title{ font-size: 22px; margin: 4px 0 12px; font-weight: 700; color: #fff; }
.feature__desc{ color: var(--muted); font-size: 18px; }

/* --------- TRUST --------- */
.logo-row{
  display: grid; grid-template-columns: repeat(4, minmax(140px,1fr));
  gap: 32px; list-style: none; margin: 8px 0 38px; padding: 0;
  place-items: center;
}
.logo-row img{
  opacity: 1;
  max-height: 38px;
  filter: grayscale(0) drop-shadow(0 0 8px #2DB6FF);
  margin: 0 12px;
}

.testimonials{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.testimonial{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 28px;
  position: relative;
}
.quote-badge{
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FF9B4D, #FF7A2F);
  box-shadow: 0 6px 20px rgba(255,122,47,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial__text{
  margin: 0 0 16px 0;
  color: #fff;
  font-size: 20px;
}
.testimonial__author{
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.testimonial__author span{
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

/* --------- FAQ --------- */
.faq-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.faq-item{
  border-radius: var(--radius-md);
  border: 1.5px solid var(--card-border);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 2px 32px rgba(45,182,255,0.10);
  padding: 32px 28px;
  text-align:center;
}
.faq-item__icon{ width: 128px; height: 128px; margin-bottom: 12px; margin-left:auto;margin-right:auto; }
.faq-item__q{ font-size: 22px; margin: 2px 0 12px; font-weight: 700; color: #fff; }
.faq-item__a{ color: var(--muted); font-size: 18px; }

/* --------- CTA final --------- */
.cta__grid{ display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: center; }
.cta__content .lead{ margin-top: 8px; margin-bottom: 18px; }
.cta__visual{ padding: 24px; text-align: center; }

/* --------- Footer --------- */
.site-footer{
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 38px; color: var(--muted);
}
.footer-inner{ display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a{ color: var(--muted); }
.site-footer a:hover{ color: var(--text); }

/* --------- Responsif --------- */
@media (max-width: 1100px){
  .features-grid{ grid-template-columns: repeat(2,1fr); }
  .hero__grid, .diff__grid, .cta__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  /* --------- Mobile optimization --------- */
  .section { padding-block: 32px; }
  .container { width: 98%; }
  .section-title { font-size: 28px; }
  .lead { font-size: 18px; }
  .hero__content { width: 90%; }
  .hero__grid,
  .diff__grid,
  .cta__grid { grid-template-columns: 1fr; gap: 24px; }
  .features-grid,
  .faq-grid,
  .testimonials { grid-template-columns: 1fr; gap: 24px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card, .feature, .faq-item, .testimonial { padding: 16px 8px; }
  .bullet{ grid-template-columns: 30px auto; gap: 12px; }
  .bullet__icon,
  .feature__icon,
  .faq-item__icon { width: 64px; height: 64px; }
  .quote-badge { width: 48px; height: 48px; }
  .testimonial { flex-direction: row; gap: 12px; }
  .header-inner { grid-template-columns: 1fr; gap: 8px; }
  .nav__list { gap: 16px; font-size: 16px; }
  .btn { font-size: 16px; height: 44px; padding-inline: 16px; }


  .hero__visual--halo::before, .diff__visual--halo::before, .cta__visual--halo::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
  }


  .hero__visual--halo img, .diff__visual--halo img, .cta__visual--halo img {
    max-width: 90%;
  }

  /* .section,
  .container,
  .features-grid,
  .faq-grid,
  .testimonials {
    text-align: center;
    justify-items: center;
    align-items: center;
  }
  .features-grid,
  .faq-grid,
  .testimonials {
    margin-left: auto;
    margin-right: auto;
  }
  .feature,
  .faq-item,
  .testimonial {
    margin-left: auto;
    margin-right: auto;
  } */
}

@media (max-width: 600px) {
  .section-title { font-size: 20px; }
  .lead { font-size: 15px; }
  .card, .feature, .faq-item, .testimonial { padding: 8px 2px; }
  .logo-row img { max-height: 18px; }
  .bullet__icon,
  .feature__icon,
  .faq-item__icon { width: 40px; height: 40px; }
  .quote-badge { width: 32px; height: 32px; }
  .testimonial__text, .testimonial__author { font-size: 15px; }
  .faq-item__q { font-size: 16px; }
  .faq-item__a { font-size: 14px; }
  .btn { font-size: 14px; height: 36px; padding-inline: 8px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}