:root{
  --bg:#050711;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.09);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --muted2:rgba(255,255,255,.52);
  --a:#A78BFA;
  --b:#22D3EE;
  --shadow: 0 24px 70px rgba(0,0,0,.58);
  --r: 22px;
  --r2: 28px;
  --max: 1140px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 72% 10%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(900px 520px at 18% 30%, rgba(167,139,250,.16), transparent 60%),
    linear-gradient(180deg, #070A12, #04060F 70%);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
/* Topbar */
.topbar{
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(14px);
  background: rgba(5,7,17,.82);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px}
.brand img{height:40px; width:auto}
.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--muted);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.nav a:hover{background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.12); color:var(--text); transform: translateY(-1px)}
.nav .cta{background:linear-gradient(90deg,var(--a),var(--b)); color:#071018; font-weight:1000; border:0}
.hamburger{display:none}
@media (max-width: 980px){
  .nav{display:none}
  .hamburger{display:inline-flex; align-items:center; gap:10px; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); color:var(--text); font-weight:900}
}

/* Hero */
.hero{padding:28px 0 10px}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:stretch;
}
@media (max-width: 980px){ .hero-grid{grid-template-columns:1fr} }
.card{
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
}
.hero-copy{padding:22px 22px 18px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:800;
}
.kicker .dot{width:10px; height:10px; border-radius:999px; background:linear-gradient(90deg,var(--a),var(--b));}
h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  line-height:1.02;
  letter-spacing:-.8px;
}
.sub{margin:0 0 16px; color:var(--muted); font-size:18px; line-height:1.55}
.actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:6px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight:900;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.07)}
.btn.primary{background:linear-gradient(90deg,var(--a),var(--b)); color:#071018; border:0}
.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.pill{
  padding:8px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--muted2);
  font-weight:800;
  font-size: 13px;
}
.trust{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:16px;
}
.stat{
  flex:1;
  min-width: 160px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding:12px;
}
.stat b{display:block; font-size:18px}
.stat span{color:var(--muted); font-size:13px; line-height:1.35}

.hero-media{position:relative; overflow:hidden}
.frame{
  border-radius: var(--r2);
  overflow:hidden;
  aspect-ratio: 16/11;
  border:1px solid rgba(255,255,255,.10);
}
.frame img,.frame video{width:100%; height:100%; object-fit:cover; display:block}
.overlay{
  position:absolute; inset:0;
  display:flex; align-items:flex-end; justify-content:flex-start;
  padding:14px;
  pointer-events:none;
}
.chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-weight:1000;
}
/* Sections */
.section{padding:26px 0}
.section h2{margin:0 0 8px; font-size: 26px; letter-spacing:-.3px}
.lead{margin:0 0 16px; color:var(--muted); line-height:1.6}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
@media (max-width: 980px){ .grid-3{grid-template-columns:1fr} }
.feature{padding:16px}
.icon{
  width:46px; height:46px; border-radius: 16px;
  background: linear-gradient(90deg,var(--a),var(--b));
  display:grid; place-items:center;
  color:#071018; font-weight:1000;
}
.feature h3{margin:10px 0 6px; font-size:18px}
.feature p{margin:0; color:var(--muted); line-height:1.55}
/* Offer */
.offer{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width: 980px){ .offer{grid-template-columns:1fr} }
.offer .box{padding:16px}
.badge2{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight:900;
  font-size:13px;
}
.checks{margin:12px 0 0; padding-left:18px; color:var(--muted); line-height:1.75}
/* Work */
.work-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
@media (max-width: 980px){ .work-grid{grid-template-columns:1fr} }
.work{
  overflow:hidden;
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .15s ease, background .15s ease;
}
.work:hover{transform: translateY(-2px); background: rgba(255,255,255,.05)}
.work img{width:100%; height:240px; object-fit:cover; display:block}
.work .meta{padding:12px 12px 14px}
.work .meta b{display:block; margin-bottom:4px}
.work .meta span{color:var(--muted); font-size:14px}
/* FAQ */
.faq details{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding:12px 14px;
}
.faq details + details{margin-top:10px}
.faq summary{cursor:pointer; font-weight:1000}
.faq p{color:var(--muted); line-height:1.65; margin:10px 0 0}
/* Contact */
.split{display:grid; grid-template-columns: 1fr 1fr; gap:14px; align-items:start}
@media (max-width: 980px){ .split{grid-template-columns:1fr} }
.form{display:grid; gap:10px}
.in{
  width:100%;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
.in:focus{border-color:rgba(34,211,238,.55)}
textarea.in{min-height:110px; resize:vertical}
.small{font-size:13px; color:rgba(255,255,255,.45)}
.sep{height:1px; background: rgba(255,255,255,.08); margin:14px 0}
.footer{padding:26px 0 40px; border-top:1px solid rgba(255,255,255,.08); color: var(--muted)}

/* Animations (subtle) */
@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease}
  .reveal.on{opacity:1; transform: translateY(0)}
}

/* YouTube lazy embed cards */
.yt{
  position:relative;
  width:100%;
  height:240px;
  border-radius: var(--r);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  cursor:pointer;
}
.yt-thumb{width:100%; height:100%; object-fit:cover; display:block; filter: saturate(1.05) contrast(1.05);}
.yt-overlay{
  position:absolute; inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:12px;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55));
}
.yt-play{
  width:56px; height:56px;
  border-radius:18px;
  display:grid; place-items:center;
  background: linear-gradient(90deg,var(--a),var(--b));
  color:#071018;
  font-weight:1000;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.yt-meta b{display:block; margin-top:10px}
.yt-meta span{display:block; color: rgba(255,255,255,.72); font-size:13px; line-height:1.35}
.yt iframe{width:100%; height:100%; border:0; display:block}

/* Trust section */
.quote{padding:16px; position:relative}
.quote .qmark{
  width:44px; height:44px; border-radius:16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-weight:1000;
}
.quote p{margin:10px 0 14px; color: rgba(255,255,255,.82); line-height:1.6}
.quote .who{display:flex; flex-direction:column; gap:2px}
.quote .who span{color: rgba(255,255,255,.55); font-size:13px}

.statcard{padding:16px}
.statcard .big{
  font-size:28px;
  font-weight:1000;
  letter-spacing:-.6px;
}
.statcard .small2{
  margin-top:6px;
  color: rgba(255,255,255,.62);
  line-height:1.5;
}

/* Full hero background video (like cinematic banner) */
.hero.hero-video{
  position:relative;
  padding: 0;
  min-height: 72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: blur(7px) saturate(1.05) brightness(.85);
  transform: scale(1.05);
  z-index:0;
}
/* Soft vignette + bottom fade (to match your screenshot) */
.hero-bg-vignette{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 50% 35%, rgba(0,0,0,.15), rgba(0,0,0,.58)),
    radial-gradient(900px 520px at 70% 20%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(900px 520px at 18% 30%, rgba(167,139,250,.12), transparent 60%);
  z-index:1;
}
.hero-bg-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.70) 78%, rgba(0,0,0,.85));
  z-index:2;
}
.hero-inner{position:relative; z-index:3; padding: 56px 18px;}
.hero-center{
  max-width: 980px;
  margin: 0 auto;
  text-align:center;
}
.hero-title{
  margin: 16px 0 10px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.02;
  letter-spacing: -1px;
  font-weight: 1000;
  /* Outline effect */
  text-shadow:
    0 2px 0 rgba(0,0,0,.55),
    0 0 18px rgba(0,0,0,.65);
}
.hero-sub{
  margin: 0 auto 18px;
  max-width: 860px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions{justify-content:center}
/* Mobile: no video, keep it fast */
@media (max-width: 768px){
  .hero-bg-video{display:none}
  .hero.hero-video{min-height: 62vh}
  .hero-title{font-size: clamp(34px, 9vw, 54px)}
  .hero-sub{font-size: 15px}
}

/* Global background video (desktop only) */
.site-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
}
.site-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: blur(0px) saturate(1.05) brightness(.95);
  transform: scale(1.06);
}
.site-bg-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 50% 20%, rgba(0,0,0,.10), rgba(0,0,0,.60)),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.45));
}
@media (max-width: 768px){
  .site-bg{display:none}
}

/* Readability overrides on moving background */
.card{background: rgba(5,7,17,.65) !important;}
.topbar{backdrop-filter: blur(14px);}

/* Compact contact card */
.contact-card{
  padding: 1.2rem 1.4rem !important;
  min-height: unset !important;
}
.contact-card .divider{
  margin: 0.8rem 0;
}

/* FORCE compact contact section */
#contact,
.contact-section{
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  min-height: unset !important;
}

#contact .card,
.contact-card{
  padding: 1rem 1.2rem !important;
  height: auto !important;
  min-height: 0 !important;
}

#contact .card::after{
  display:none;
}

/* Prevent contact card stretching to match form height */
#devis .split > .card{align-self:start; height:auto !important; min-height:unset !important;}


/* Modern custom cursor */
body {
  cursor: none;
}

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #00e5a8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(0,229,168,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .15s ease, width .15s ease, height .15s ease;
}

a:hover ~ .cursor-ring,
button:hover ~ .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: #00e5a8;
}


/* FPV launch micro-animation (runs once on load) */
.fpv-launch{position:fixed;inset:0;pointer-events:none;z-index:9998}
.fpv-drone{position:absolute;width:54px;height:54px;transform:translate(-50%,-50%);opacity:0;filter:drop-shadow(0 18px 30px rgba(0,0,0,.45))}
.fpv-trail{position:absolute;width:180px;height:3px;transform:translate(-50%,-50%);background:linear-gradient(90deg,rgba(34,211,238,0),rgba(34,211,238,.55),rgba(167,139,250,0));border-radius:999px;opacity:0}
@media (prefers-reduced-motion: reduce){.fpv-launch{display:none}}
@media (max-width: 768px){.fpv-launch{display:none}}

/* Custom FPV drone image sizing */
.fpv-drone{
  width: 72px !important;
  height: auto !important;
}


/* WhatsApp floating button */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(10,16,28,.55);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  z-index: 9997; /* under cursor (9999), over bg */
  transition: transform .15s ease, border-color .15s ease;
}
.wa-float:hover{
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(0,229,168,.55);
}
.wa-float img{
  width:34px;
  height:34px;
  display:block;
}
@media (max-width: 768px){
  .wa-float{right:14px; bottom:14px; width:56px; height:56px}
  .wa-float img{width:32px; height:32px}
}
