:root{
  --bg:#0b0f14;
  --bg2:#070a0e;
  --surface:#101720;
  --surface2:#0d131b;
  --border:rgba(255,255,255,.10);
  --text:#eef2f7;
  --muted:rgba(238,242,247,.72);
  --muted2:rgba(238,242,247,.55);
  --accent:#35d07f;
  --accent2:#27c46f;
  --shadow: 0 22px 60px rgba(0,0,0,.55);
  --radius:18px;
  --radius2:14px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 10% 10%, rgba(53,208,127,.14), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(53,208,127,.10), transparent 60%),
    radial-gradient(900px 600px at 70% 90%, rgba(53,208,127,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:22px}

.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:16px;top:16px;width:auto;height:auto;padding:10px 14px;background:#fff;color:#000;border-radius:10px;z-index:9999}

header{
  position:sticky;top:0;z-index:1000;
  background: rgba(11,15,20,.74);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
}
.brand{
  display:flex;align-items:center;gap:12px;min-width:0;
}
.brandlogo{height:38px;max-width:220px;width:auto;display:block;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(0,0,0,.35));}
@media (max-width:720px){.brandlogo{height:30px;max-width:170px;}}
.brand .mark{width:42px;height:42px;border-radius:14px;overflow:hidden;border:1px solid var(--border);background:rgba(255,255,255,.04)}
.brand .name{display:flex;flex-direction:column;line-height:1.05}
.brand .name strong{font-size:15px;letter-spacing:.02em}
.brand .name span{font-size:12px;color:var(--muted2)}

.navlinks{display:flex;align-items:center;gap:10px}
.pill{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 14px;border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
}
.pill:hover{border-color:rgba(53,208,127,.35)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(53,208,127,.25);
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  color:#06130c;
  font-weight:900;
  box-shadow: 0 18px 40px rgba(53,208,127,.14);
}
.btn:hover{filter:brightness(1.05)}
.iconbtn{
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  display:inline-flex;align-items:center;justify-content:center;
}
.lang{font-weight:900;letter-spacing:.06em}

.hero{
  padding:26px 0 10px;
}
.heroGrid{
  display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:start;
}
.kicker{
  color:rgba(53,208,127,.95);
  font-weight:900;
  letter-spacing:.16em;
  font-size:12px;
  text-transform:uppercase;
  margin-bottom:10px;
}
h1{
  margin:0 0 12px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.02em;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}
.ctaRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

.card{
  background: rgba(16,23,32,.86);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h2{margin:0 0 12px;font-size:18px}
.card p{margin:0 0 12px;color:var(--muted);line-height:1.7}
.card p:last-child{margin-bottom:0}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.section{padding:18px 0}
.section h2{margin:0 0 10px;font-size:24px;letter-spacing:-.01em}
.section p{margin:0;color:var(--muted);line-height:1.75}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.75}

.split{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
}

.badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
}

.faq details{
  background: rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding:14px 14px;
  margin-bottom:10px;
}
.faq summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq .ans{color:var(--muted);margin-top:10px;line-height:1.75}

form{display:grid;gap:12px}
.field{display:grid;gap:6px}
label{font-size:13px;color:var(--muted2)}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  color:var(--text);
  outline:none;
}
input:focus,select:focus,textarea:focus{border-color:rgba(53,208,127,.45);box-shadow:0 0 0 4px rgba(53,208,127,.12)}
textarea{min-height:120px;resize:vertical}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.note{color:var(--muted2);font-size:13px;line-height:1.65}

footer{
  border-top:1px solid var(--border);
  margin-top:26px;
}
.footerInner{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;padding:16px 0;color:var(--muted2);font-size:13px}

/* Mobile */
@media (max-width: 960px){
  .heroGrid{grid-template-columns:1fr}
}
@media (max-width: 760px){
  h1{font-size:30px;line-height:1.12}
  .navlinks{display:none}
  .split{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .row2{grid-template-columns:1fr}
}

/* Drawer menu */
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;z-index:1200}
.drawer{
  position:fixed;top:0;right:0;height:100%;width:min(360px,92vw);
  background: rgba(11,15,20,.96);
  border-left:1px solid var(--border);
  transform: translateX(110%);
  transition: transform .22s ease;
  z-index:1300;
  padding:16px;
}
.drawer.open{transform:translateX(0)}
.backdrop.open{display:block}
.drawerTop{display:flex;align-items:center;justify-content:space-between}
.drawer a{
  display:flex;align-items:center;gap:10px;
  padding:12px;border-radius:14px;border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  margin-top:10px;
}
.drawer a:hover{border-color:rgba(53,208,127,.35)}
/* Subtle reveal animation (safe) */
.reveal{opacity:0;transform:translateY(10px);transition:opacity .55s ease, transform .55s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
}


/* Header: desktop vs mobile */
.navactions-mobile{display:none}
@media (max-width: 900px){
  .navlinks-desktop{display:none !important}
  .navactions-mobile{display:flex !important; align-items:center; gap:10px}
}


/* Planifier (CTA) card spacing */
.planifier p{margin-top:8px; max-width:72ch}
.planifier .ctaRow{margin-top:16px}


@media (max-width: 900px){
  .mobile-cta{display:block;margin-top:10px}
}


/* Sticky bottom CTA (mobile only) */
.sticky-cta{display:none}
@media (max-width: 900px){
  .sticky-cta{
    display:flex;
    position:fixed;
    left:12px; right:12px; bottom:12px;
    gap:10px;
    padding:10px;
    border-radius:18px;
    border:1px solid var(--border);
    background: rgba(15,17,21,.82);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    z-index:1200;
  }
  .sticky-pill,.sticky-btn{
    display:inline-flex; align-items:center; justify-content:center;
    text-decoration:none; white-space:nowrap;
    font-size:13px;
    overflow:hidden;
    text-overflow:ellipsis;
    min-width:0;
    padding:10px 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgba(12,15,21,.60);
    color:var(--text);
    font-weight:700;
    flex:1 1 auto;
  }
  .sticky-btn{
    border:0;
    background: linear-gradient(135deg, var(--accent), #2fd27a);
    color:#07120c;
    font-weight:900;
    flex:1.5 1 auto;
  }
  /* prevent content being hidden behind sticky bar */
  body{padding-bottom:84px}
}

@media (min-width: 901px){
  .sticky-cta{
    display:flex;
    position:fixed;
    right:24px; bottom:24px;
    left:auto;
    gap:12px;
    padding:10px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background: rgba(11,15,20,.70);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    z-index:1200;
  }
  .sticky-pill,.sticky-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    white-space:nowrap;
    font-size:13px;
    padding:10px 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(12,15,21,.55);
    color:var(--text);
    font-weight:800;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
  }
  .sticky-btn{
    font-size:14px;
    padding:12px 16px;
    border:0;
    background: linear-gradient(135deg, var(--accent), #2fd27a);
    color:#07120c;
    font-weight:950;
    box-shadow: 0 10px 26px rgba(30,216,122,.18);
  }
  .sticky-pill:hover{background: rgba(12,15,21,.70); border-color: rgba(255,255,255,.18); transform: translateY(-1px)}
  .sticky-btn:hover{transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30,216,122,.22)}
  .sticky-pill:active,.sticky-btn:active{transform: translateY(0)}
  .sticky-pill:focus-visible,.sticky-btn:focus-visible{
    outline:3px solid rgba(255,255,255,.22);
    outline-offset:3px;
  }
}


/* === Premium Sticky CTA (Harmonized Mobile + Desktop) === */
@keyframes hydronetCtaIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile/Tablet: premium floating bar with safe-area support */
@media (max-width: 900px){
  .sticky-cta{
    left:14px;
    right:14px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width:auto;
    padding:10px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.06);
    background: rgba(10,14,20,.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 42px rgba(0,0,0,.42);
    animation: hydronetCtaIn .25s ease both;
  }

  .sticky-pill{
    background: rgba(12,15,21,.45);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--text);
    font-weight: 850;
  }

  .sticky-btn{
    background: linear-gradient(135deg, #17b868, #26cf7a);
    color:#07120c;
    font-weight: 950;
    box-shadow: 0 10px 26px rgba(23,184,104,.16);
  }

  .sticky-pill:focus-visible,
  .sticky-btn:focus-visible{
    outline:3px solid rgba(255,255,255,.22);
    outline-offset:3px;
  }
}

/* Desktop: refine premium floating CTA (less neon, more corporate) */
@media (min-width: 901px){
  .sticky-cta{
    background: rgba(11,15,20,.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 60px rgba(0,0,0,.40);
    animation: hydronetCtaIn .22s ease both;
  }
  .sticky-btn{
    background: linear-gradient(135deg, #17b868, #23c975);
    box-shadow: 0 12px 34px rgba(23,184,104,.14);
  }
  .sticky-btn:hover{
    box-shadow: 0 16px 46px rgba(23,184,104,.16);
  }
}
