/* ========== Design system ========== */
:root{
  --bg: #02030a;                /* noir profond */
  --panel: rgba(255,255,255,.05);
  --panel2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.10);

  /* accents premium */
  --brand: #8b5cf6;             /* violet */
  --brand2:#22d3ee;             /* cyan */
  --ok:#34d399;
  --warn:#fbbf24;
  --bad:#fb7185;

  --radius: 18px;
  --radius2: 26px;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow2: 0 10px 26px rgba(0,0,0,.42);
  --blur: blur(16px);
  --max: 1100px;
  --pad: 18px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
.logo{
  height: 70px;     /* 👈 taille (change ici) */
  width: auto;
  display: block;
}

/* position + alignement logo dans le header */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}

.brand{
  margin-left: 6px;  /* 👈 décaler à gauche/droite */
}

.logo{
  margin-top: 2px;   /* 👈 monter/descendre */
}


*{box-sizing:border-box}
html,body{height:100%}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  
  

  /* 🌑 Noir premium + halos radiaux */
  background:
  
    radial-gradient(900px 520px at 15% 10%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(800px 480px at 85% 15%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, #02030a 0%, #010208 100%);
    
}



/* Links */
a{color:inherit}
a:hover{opacity:.92}
.muted{color:var(--muted)}
.error{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid rgba(251,113,133,.35);
  background: rgba(251,113,133,.10);
  border-radius: 12px;
  color: #ffd7df;
}

/* Layout */
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
main.wrap{padding-top:28px;padding-bottom:40px;padding-left: 32px; padding-right: 32px};

/* Top nav */
.top{
  position:sticky;top:0;z-index:50;
  backdrop-filter: var(--blur);
  background: rgba(11,15,26,.55);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand a{
  text-decoration:none;
  font-weight:800;
  letter-spacing:-.02em;
  display:flex;align-items:center;gap:10px;
}
.brand a::before{
  content:"";
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow: 0 0 0 6px rgba(110,231,255,.10);
}
nav{display:flex;gap:10px;flex-wrap:wrap}
nav a{
  text-decoration:none;
  color: var(--muted);
  font-size: 14px;
  padding:8px 10px;
  border-radius: 12px;
}
nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.auth{display:flex;gap:10px;align-items:center}

/* Buttons – noir / gris premium */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, #1a1d24, #0d0f15);
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border .12s ease, box-shadow .12s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
}

.btn:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, #20232b, #11131a);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 12px 28px rgba(0,0,0,.55);
}

.btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,.45);
}

/* bouton secondaire */
.btn.btn-ghost{
  background: linear-gradient(180deg, #12141b, #090b11);
  border-color: rgba(255,255,255,.12);
  color: var(--muted);
}

.btn.btn-ghost:hover{
  background: linear-gradient(180deg, #181b22, #0e1016);
  color: var(--text);
}

/* bouton principal – noir premium */
.btn.btn-primary{
  border:1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, #2a2e38, #151821);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 30px rgba(0,0,0,.65);
}

.btn.btn-primary:hover{
  background: linear-gradient(180deg, #343845, #1b1e28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 16px 40px rgba(0,0,0,.75);
}
/* 🎯 Bouton objectif 507h – accent premium */
.btn-objectif{
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  color: #ffffff !important;
  border: none;
  font-weight: 900;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.35),
    0 18px 50px rgba(0,0,0,.85);
}

.btn-objectif:hover{
  background: linear-gradient(135deg, #f9fafb, #d1d5db);
  box-shadow:
    0 18px 50px rgba(0,0,0,.85),
    0 0 0 6px rgba(255,255,255,.18);
}


/* Cards */
.card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
  backdrop-filter: var(--blur);
}

/* Hero */
.hero{
  padding: 34px 0 22px;
  padding-left: 24px; /* marge à gauche */
  padding-right: 24px;
}

.hero .badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}
.hero h1{
  margin: 14px 0 14px;
  font-size: clamp(40px, 5vw, 68px); /* plus grand */
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero p{
  max-width: 70ch;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-left: 4px; /* petit alignement optique */
}

.row{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}

/* Grid */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:14px}
@media (max-width:900px){.grid3,.grid2{grid-template-columns:1fr} nav{display:none}}

/* List items */
.list{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.item{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration:none;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, border .12s ease;
}
.item:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
}
.item-title{font-weight:800;letter-spacing:-.01em}
.item-meta{color: var(--muted);font-size: 14px}

/* Forms */
label{
  display:block;
  margin-top: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}
input,select,textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,12,22,.60);
  color: var(--text);
  outline: none;
}
input:focus,select:focus,textarea:focus{
  border-color: rgba(110,231,255,.40);
  box-shadow: 0 0 0 4px rgba(110,231,255,.12);
}
textarea{resize:vertical;min-height:120px}

/* Pills & zones */
.pillrow{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}
.pill{
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}
.zone{
  display:inline-flex;align-items:center;gap:8px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
}
.zone::before{
  content:"";
  width:8px;height:8px;border-radius:999px;
}
.zone-vert{background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.25)}
.zone-vert::before{background: var(--ok)}
.zone-orange{background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.25)}
.zone-orange::before{background: var(--warn)}
.zone-rouge{background: rgba(251,113,133,.12); border-color: rgba(251,113,133,.25)}
.zone-rouge::before{background: var(--bad)}

/* Tables */
.table{width:100%;border-collapse:separate;border-spacing:0 10px}
.table th{
  text-align:left;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 0 10px 6px;
}
.table td{
  padding: 12px 10px;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.table tr td:first-child{
  border-left: 1px solid rgba(255,255,255,.12);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}
.table tr td:last-child{
  border-right: 1px solid rgba(255,255,255,.12);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Footer */
.foot{
  padding: 26px 0 40px;
  color: var(--muted);
}
.foot a{color: var(--muted); text-decoration:none}
.foot a:hover{color: var(--text)}
/* Clickable cards */
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  
}
a.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
}
a.card:active {
  transform: translateY(0);
}
/* ====== Bandeau "Ils nous font confiance" ====== */
.trust{
  margin-top: 18px;
}

.trust-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.trust h2{
  margin: 0;
  font-size: 20px;
}

.marquee{
  overflow: hidden;
  position: relative;
}

.marquee-track{
  display:flex;
  gap: 12px;
  width: max-content;
  animation: marquee 22s linear infinite;
  padding: 10px 4px;
}

.marquee:hover .marquee-track{
  animation-play-state: paused;
}

/* Petits "logos" en attendant les vrais (style label premium) */
.marquee-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====== Témoignages ====== */
.testimonial .t-head{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 10px;
    padding: 34px 0 22px;
  padding-left: 24px; /* marge à gauche */
  padding-right: 24px;
}

.avatar{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}

.t-name{
  font-weight: 900;
  letter-spacing: -.01em;
}

.t-role{
  font-size: 13px;
}

.t-text{
  margin: 10px 0 0;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
}

.t-foot{
  margin-top: 12px;
  font-size: 13px;
}
.partner-logo{
  height: 56px; /* ou 32px */
}
/* ===== Background video ===== */
/* ===== Video background homepage ===== */
.home-video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.home-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
