:root{
  --bg:#0B0B0D;
  --card:#0F1116;
  --card2:#12141B;

  --text:#F6F7FB;
  --muted:#B8BDCF;
  --line:rgba(255,255,255,.12);

  --red:#FF2A2A;        /* rouge principal */
  --red-dark:#C91F1F;  /* rouge plus profond */

  --shadow: 0 18px 60px rgba(0,0,0,.55);

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


*{box-sizing:border-box}
html, body{width:100%; overflow-x:hidden}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:
  radial-gradient(900px 480px at 50% 0%, rgba(255,42,42,.08), transparent 60%),
  var(--bg);

}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}

.container{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(11,11,13,.75);
  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);
  max-height: var(--logo-size);
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.brand__text{font-weight:900; letter-spacing:.3px}
.brand__tag{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.02);
}

/* Nav */
.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:800}
.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:900;
  color:#ffffff;
  background: var(--red);
  border:1px solid var(--red-dark);
  box-shadow: 0 12px 30px rgba(255,42,42,.25);
  transition: all .15s ease;
}

.btn:hover{
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn--ghost{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn--small{padding:10px 12px; border-radius:12px}
.btn--full{width:100%}

.nav__list .nav-contact{
  color:#0B0B0D !important;
}

/* Hero */
.hero{position:relative; padding:44px 0 10px; overflow:hidden;}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .95fr;
  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(255,255,255,.03);
}
.pill .dot{
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255,42,42,.15);
}


h1{
  font-size: clamp(32px, 4vw, 54px);
  line-height:1.08;
  margin:14px 0 12px;
  letter-spacing: -0.4px;
}
.grad{
  color: var(--red);
}

.lead{color:var(--muted); font-size: 16px; max-width: 74ch}
.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(255,255,255,.03);
  border-radius:16px;
  padding:12px 14px;
}
.stat__k{font-weight:900}
.stat__v{color: #E7EAF6; font-size:13px; font-weight:800; opacity:.9}

.hero__card{display:flex; align-items:stretch}
.card{
  width:100%;
  border:1px solid var(--line);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(15,17,22,.95), rgba(18,20,27,.95));
  box-shadow: var(--shadow);
}
.card--glow{position:relative}
.card--glow:before{
  background: rgba(255,42,42,.15);
}

.card__top{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 16px 0;
}
.card__title{font-weight:900}
.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.02);
}
.card__body{padding: 10px 16px 16px}
.muted{color:var(--muted)}
.hint{color: #D6DAEC; 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:-180px;
  width:140%;
  height:340px;
  background:
    radial-gradient(closest-side, rgba(42,168,255,.14), transparent 70%),
    radial-gradient(closest-side, rgba(255,42,42,.14), transparent 70%);
  filter: blur(12px);
  pointer-events:none;
}

/* Sections */
.section{padding: 52px 0}
.section--alt{background: transparent;}
.section--alt > .container{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 16px;
}

.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(15,17,22,.65);
  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(255,255,255,.02);
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
}

/* Steps */
.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(15,17,22,.65);
  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,.03);
  border:1px solid var(--line);
}
.step h3{margin:0 0 4px}
.step p{margin:0; color:var(--muted)}

/* FAQ */
.faq{margin-top:16px; display:grid; gap:10px}
.faq__item{
  border:1px solid var(--line);
  border-radius:18px;
  background: rgba(15,17,22,.65);
  padding:12px 14px;
}
.faq__item summary{cursor:pointer; font-weight:900}
.faq__item p{color:var(--muted); margin:10px 0 0}

/* Info */
.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:900}
.info__v{font-weight:900}

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

/* Floating buttons */
.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,.55);
  z-index: 80;
  transition: transform .15s ease, filter .15s ease;
}
.waFloat{
  bottom: 18px;
 background: var(--red);
color:#0B0B0D;
}
.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.06)}

/* Footer */
.footer{
  padding: 22px 0;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.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:900}
.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(11,11,13,.94);
    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)}

  .brand__img{
    width: var(--logo-size-mobile);
    max-height: var(--logo-size-mobile);
  }
  .section--alt > .container{padding: 22px 16px}
}

.header::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--red),
    transparent
  );
  background-size: 200% 100%;
  animation: redLineMove 4s linear infinite;
  opacity:.8;
}

@keyframes redLineMove{
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.heroTitle{
  position:relative;
  display:inline-block;
  padding-bottom:18px;
}

.heroTitle::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:60%;
  height:3px;
  background: var(--red);
  animation: lineGrow 1.2s ease forwards;
}

@keyframes lineGrow{
  from{ width:0; }
  to{ width:60%; }
}
.heroTitle::after{
  box-shadow: 0 0 12px rgba(255,42,42,.6);
}

/* =========================
   Tachymètre (effet compteur)
   ========================= */
.tach{
  margin: 14px 0 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.tach__top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.tach__label{
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--muted);
}

.tach__value{
  font-weight: 900;
  font-size: 14px;
  color: var(--text);
}
.tach__unit{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.tach__dial{
  position: relative;
  height: 130px;
  border-radius: 18px;
  background:
    radial-gradient(120px 80px at 50% 70%, rgba(255,255,255,.04), transparent 65%),
    radial-gradient(120px 80px at 50% 70%, rgba(255,42,42,.08), transparent 60%),
    rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

/* Ticks (arc) */
.tach__ticks{
  position:absolute;
  inset:0;
  background:
    conic-gradient(
      from 220deg,
      rgba(255,255,255,.0) 0deg,
      rgba(255,255,255,.15) 10deg,
      rgba(255,255,255,.0) 12deg,
      rgba(255,255,255,.15) 22deg,
      rgba(255,255,255,.0) 24deg,
      rgba(255,255,255,.15) 34deg,
      rgba(255,255,255,.0) 36deg,
      rgba(255,255,255,.15) 46deg,
      rgba(255,255,255,.0) 48deg,
      rgba(255,255,255,.15) 58deg,
      rgba(255,255,255,.0) 60deg,
      rgba(255,255,255,.15) 70deg,
      rgba(255,255,255,.0) 72deg,
      rgba(255,255,255,.15) 82deg,
      rgba(255,255,255,.0) 84deg,
      rgba(255,255,255,.15) 94deg,
      rgba(255,255,255,.0) 96deg,
      rgba(255,255,255,.0) 360deg
    );
  opacity:.55;
  mask: radial-gradient(circle at 50% 72%, transparent 0 44px, #000 44px);
}

/* Needle */
.tach__needle{
  position:absolute;
  left:50%;
  bottom: 18px;
  width: 2px;
  height: 80px;
  background: var(--red);
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-110deg);
  box-shadow: 0 0 14px rgba(255,42,42,.65);
}

.tach__needle::after{
  content:"";
  position:absolute;
  top:-8px;
  left:50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,42,42,.25);
  border: 1px solid rgba(255,42,42,.55);
}

/* Hub */
.tach__hub{
  position:absolute;
  left:50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #0b0b0d;
  border: 2px solid rgba(255,255,255,.22);
  box-shadow: 0 0 14px rgba(0,0,0,.45);
}

/* Numbers */
.tach__scale, .tach__redline{
  position:absolute;
  left:0; right:0;
  display:flex;
  justify-content:space-between;
  padding: 0 18px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing:.02em;
  user-select:none;
}

.tach__scale{
  bottom: 54px;
  color: rgba(255,255,255,.75);
}

.tach__redline{
  bottom: 82px;
  color: rgba(255,42,42,.85);
}

.tach__hint{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* Mobile : plus compact */
@media (max-width: 900px){
  .tach__dial{ height: 118px; }
  .tach__needle{ height: 72px; }
}

.brand{
  display:flex;
  align-items:center;
}

.brand__logoOnly{
  height: 64px;   /* 👈 taille propre et discrète */
  width: auto;
  object-fit: contain;
}


.brand__logoOnly:hover{
  transform: scale(1.05);
}
@media (max-width: 768px){
  .brand__logoOnly{
    height: 42px;
  }
}

.brand__logoOnly{
  filter: drop-shadow(0 6px 18px rgba(255,42,42,.25));
}

.tarifBox{
  text-align:center;
  transition: transform .2s ease, border-color .2s ease;
}

.tarifBox:hover{
  transform: translateY(-4px);
  border-color: rgba(255,42,42,.4);
}

.price{
  font-size: 14px;
  font-weight: 800;
  margin: 8px 0 12px;
  color: var(--muted);
}

.price span{
  display:block;
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
}

.btnStack{
  display:flex;
  flex-direction:column;
  gap:12px;            /* espace entre les boutons */
  margin-top:12px;
}

.btnStack .btn{
  width:100%;
  margin:0;            /* évite les marges bizarres */
  position:relative;   /* évite tout effet absolute/overlay */
  z-index:1;
  white-space:normal;  /* au cas où le texte est long */
}

.btn{
  display:flex;
}

/* Les boutons full width doivent être "block/flex" pour ne pas se chevaucher */
.btn{
  display:flex;
}

.btn--full{
  width:100%;
}

/* Espace automatique entre 2 boutons dans une box */
.box .btn + .btn{
  margin-top:12px;
}
