/* ===========================
   CYTHER / NEON / SAAS THEME
   =========================== */

/* --- Font (optional): keep system by default. If you want Orbitron/Space Mono later, we'll add @import --- */

:root{
  /* Core palette */
  --bg-0:#05060b;
  --bg-1:#080a12;
  --bg-2:#0c1020;

  --text:#e9f0ff;
  --muted:#a6b2c7;
  --muted-2:#7f8aa3;

  /* Neon accents */
  --neon-a:#7c3aed;   /* violet */
  --neon-b:#22d3ee;   /* cyan */
  --neon-c:#a3ff12;   /* acid green (tiny touches) */
  --warn:#ff3d81;

  /* Surfaces */
  --card:rgba(255,255,255,.05);
  --card-2:rgba(255,255,255,.035);
  --line:rgba(255,255,255,.10);
  --line-2:rgba(255,255,255,.07);

  /* Radius / spacing */
  --r-xl:22px;
  --r-lg:18px;
  --r-md:14px;
  --r-sm:12px;

  /* Glows */
  --glow-a: 0 0 22px rgba(34,211,238,.25), 0 0 64px rgba(34,211,238,.14);
  --glow-b: 0 0 22px rgba(124,58,237,.28), 0 0 70px rgba(124,58,237,.16);

  /* Shadows */
  --shadow: 0 20px 60px rgba(0,0,0,.55);

  /* Layout */
  --pad:18px;
  --gap:18px;
  --nav-h:66px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(1000px 700px at 18% 10%, rgba(124,58,237,.18), transparent 58%),
    radial-gradient(900px 600px at 92% 35%, rgba(34,211,238,.14), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-0));
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  overflow:hidden; /* no scroll */
}

a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; }

/* ===========================
   BACKGROUND FX
   =========================== */
.bg{
  position:fixed; inset:0;
  pointer-events:none;
  z-index:-1;
}
.bg__grid{
  position:absolute; inset:-2px;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity:.08;
  transform: perspective(900px) rotateX(58deg) translateY(-18%);
  filter: blur(.2px);
}
.bg__glow{
  position:absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(34px);
  opacity:.32;
}
.bg__glow--a{
  left:-120px; top:-140px;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.9), transparent 62%);
}
.bg__glow--b{
  right:-160px; top:40px;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.9), transparent 62%);
}
.bg__noise{
  position:absolute; inset:0;
  opacity:.06;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.bg__scanline{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.06) 50%, transparent 100%);
  opacity:.08;
  transform: translateY(-40%);
  animation: scan 6.5s linear infinite;
}
@keyframes scan{
  0%{ transform: translateY(-45%); }
  100%{ transform: translateY(145%); }
}

/* ===========================
   NAV
   =========================== */
.nav{
  height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px var(--pad);
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand__mark{
  width:42px; height:42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(34,211,238,.85), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(124,58,237,.85), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--glow-a), var(--glow-b);
}
/* ===========================
   HEADER AVATAR
   =========================== */
.brand__avatar{
  width:42px;
  height:42px;
  border-radius: 14px;
  object-fit: cover;

  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--glow-a), var(--glow-b);
  background: rgba(255,255,255,.06);
}
.brand__avatar{
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.brand__avatar:hover{
  transform: translateY(-1px);
  border-color: rgba(34,211,238,.35);
  box-shadow: var(--glow-a), var(--glow-b), 0 0 0 2px rgba(34,211,238,.10) inset;
}

.brand__text{ min-width:0; }
.brand__name{
  font-weight:900;
  letter-spacing:.2px;
  font-size:15px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand__tag{
  margin-top:2px;
  font-size:12.5px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nav__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* ===========================
   CHIPS / BUTTONS
   =========================== */
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border:1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 13px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
  user-select:none;
}
.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
}
.chip--primary{
  border-color: rgba(34,211,238,.35);
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(124,58,237,.10));
  box-shadow: 0 0 0 1px rgba(34,211,238,.18) inset, var(--glow-a);
}
.chip--primary:hover{
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 0 0 1px rgba(34,211,238,.28) inset, var(--glow-a), var(--glow-b);
}
.chip--ghost{
  opacity:.92;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border:1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  font-weight: 800;
  font-size: 13.5px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{
  border-color: rgba(124,58,237,.38);
  background: linear-gradient(135deg, rgba(124,58,237,.26), rgba(34,211,238,.12));
  box-shadow: 0 0 0 1px rgba(124,58,237,.20) inset, var(--glow-b);
}
.btn--primary:hover{
  border-color: rgba(124,58,237,.62);
  box-shadow: 0 0 0 1px rgba(124,58,237,.28) inset, var(--glow-b), var(--glow-a);
}
.btn--ghost{
  background: rgba(255,255,255,.035);
}
.btn--full{
  width:100%;
}

.link{
  color: rgba(34,211,238,.92);
  font-weight: 800;
  font-size: 13px;
  opacity:.95;
}
.link:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   WRAP / PANELS (60/40)
   =========================== */
.wrap{
  height: calc(100vh - var(--nav-h));
  padding: 0 var(--pad) var(--pad);
  display:grid;
  gap: var(--gap);
  overflow:hidden; /* no scroll */
}
.wrap--6040{
  grid-template-columns: 3fr 2fr; /* 60/40 */
}
.panel{
  background: rgba(10,12,20,.66);
  border:1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow:hidden;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.panel--left{
  padding: 18px 18px 14px;
}
.panel--right{
  padding: 18px;
}

/* ===========================
   HERO
   =========================== */
.hero{ padding: 2px 2px 10px; }
.hero__kicker{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 10px;
  border-radius:999px;
  border:1px solid var(--line-2);
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-weight:800;
  font-size:12px;
}
.pill--neon{
  color: rgba(34,211,238,.95);
  border-color: rgba(34,211,238,.25);
  box-shadow: 0 0 0 1px rgba(34,211,238,.10) inset, var(--glow-a);
}
/* ===========================
   PILLS : hover neon (no fixed highlight)
   =========================== */
.pill{
  transition: transform .12s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
/* ===========================
   PILLS : active state (default)
   =========================== */
.pill--active{
  color: rgba(34,211,238,.95);
  border-color: rgba(34,211,238,.28);
  background: rgba(34,211,238,.06);
  box-shadow: 0 0 0 1px rgba(34,211,238,.10) inset, var(--glow-a);
}


.pill:hover{
  transform: translateY(-1px);
  color: rgba(34,211,238,.95);
  border-color: rgba(34,211,238,.28);
  background: rgba(34,211,238,.06);
  box-shadow: 0 0 0 1px rgba(34,211,238,.10) inset, var(--glow-a);
}

.hero__title{
  margin:0;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -.2px;
  font-weight: 950;
}
.hero__sub{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 62ch;
}
.hero__cta{
  display:flex;
  gap:10px;
  margin-top: 12px;
  flex-wrap:wrap;
}
.neon{
  color: rgba(34,211,238,.95);
  text-shadow: 0 0 16px rgba(34,211,238,.25), 0 0 34px rgba(34,211,238,.14);
}
.neon--alt{
  color: rgba(124,58,237,.95);
  text-shadow: 0 0 16px rgba(124,58,237,.25), 0 0 40px rgba(124,58,237,.14);
}

/* ===========================
   METRICS
   =========================== */
.proofs{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top: 10px;
}
.metric{
  background: var(--card);
  border:1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 10px 10px 9px;
  position:relative;
  overflow:hidden;
}
.metric::before{
  content:"";
  position:absolute; inset:-1px;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(124,58,237,.12), transparent 60%);
  opacity:.35;
  pointer-events:none;
}
.metric__value{
  font-size: 18px;
  font-weight: 950;
  letter-spacing:.1px;
  position:relative;
}
.metric__label{
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  position:relative;
}
/* ===========================
   METRICS : active state + zoom
   =========================== */
.proofs .metric{
  transition: transform .14s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  transform-origin: center;
}

.proofs .metric:hover{
  transform: translateY(-1px) scale(1.01);
}

.proofs .metric.metric--active{
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(163,255,18,.26);
  box-shadow: 0 0 0 1px rgba(163,255,18,.12) inset, 0 0 24px rgba(163,255,18,.10);
}

/* option: hover sur l'active = un poil plus */
.proofs .metric.metric--active:hover{
  transform: translateY(-2px) scale(1.02);
}

/* ===========================
   METRICS : active = hover look
   =========================== */

/* le glow interne doit être visible aussi quand actif */
.proofs .metric.metric--active::after{
  opacity: 1;
}

/* on garde le hover normal */
.proofs .metric:hover::after{
  opacity: 1;
}

/* ===========================
   METRICS : per-card hover (neon green)
   =========================== */
.proofs .metric{
  position: relative;
  overflow: hidden;
}

.proofs .metric::after{
  /* on garde ton glow existant sur metric::before (si tu l'as),
     ici on ajoute un hover layer dédié */
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(
      360px 220px at 50% 50%,
      rgba(163,255,18,.18),
      transparent 62%
    );
  opacity:0;
  transition: opacity .22s ease;
  pointer-events:none;
}

.proofs .metric:hover::after{
  opacity:1;
}


/* ===========================
   SERVICES CARDS
   =========================== */
.services{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top: 10px;
  flex: 1; /* fill remaining height */
  min-height: 0;
}
.card{
  background: var(--card-2);
  border:1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
  min-height: 0;
  position:relative;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute;
  width:180px; height:180px;
  right:-90px; bottom:-90px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.24), transparent 60%);
  opacity:.55;
  filter: blur(8px);
}
.card--highlight{
  border-color: rgba(34,211,238,.25);
  box-shadow: 0 0 0 1px rgba(34,211,238,.12) inset;
}
.card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  position:relative;
}
.card__icon{
  height: 30px;
  padding: 0 10px;
  display:inline-flex;
  align-items:center;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(34,211,238,.9);
  font-weight: 950;
  font-size: 12px;
  letter-spacing:.8px;
  text-transform: uppercase;
}
.card__title{
  margin:0;
  font-size: 14px;
  font-weight: 950;
  letter-spacing:.2px;
  text-transform: uppercase;
  color: rgba(233,240,255,.96);
}
.card__text{
  margin:0;
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.45;
  position:relative;
}
.card__tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  position:relative;
}
.tag{
  font-size: 11.5px;
  padding: 6px 8px;
  border-radius: 999px;
  border:1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 800;
}
.tag--neon{
  color: rgba(34,211,238,.95);
  border-color: rgba(34,211,238,.22);
  box-shadow: 0 0 0 1px rgba(34,211,238,.10) inset;
}

/* === SERVICES : hover cypher blue === */
/* ===========================
   SERVICES : smooth fill from bottom-right (no arc edge)
   =========================== */

/* base */
.services .card{
  position: relative;
  overflow: hidden;
}

/* spot visible at rest (keep your existing ::after if you want, but make it softer) */
.services .card::after{
  content:"";
  position:absolute;
  width:220px; height:220px;
  right:-120px; bottom:-120px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.22), transparent 70%);
  opacity:.55;
  filter: blur(12px);
  pointer-events:none;
  transition: opacity .25s ease;
}

/* smooth fill layer that expands from the same spot */
.services .card::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;

  /* Key: feathered gradient (no hard edge) */
  background:
    radial-gradient(700px 460px at 92% 112%,
      rgba(34,211,238,.18) 0%,
      rgba(34,211,238,.12) 22%,
      rgba(34,211,238,.06) 45%,
      rgba(34,211,238,.00) 72%
    );

  /* Start as a small circle around the spot */
  clip-path: circle(80px at 92% 112%);
  opacity: 0;
  filter: blur(10px);              /* softens the edge */
  transition: clip-path .55s ease, opacity .22s ease, filter .55s ease;
}

/* Hover OR Active => fill grows, spot fades */
.services .card:hover::before,
.services .card.card--active::before{
  opacity: 1;
  clip-path: circle(180% at 92% 112%);
  filter: blur(14px);
}

.services .card:hover::after,
.services .card.card--active::after{
  opacity: 0;
}



/* ===========================
   SOCIAL PROOF STRIP
   =========================== */
.social{
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--r-lg);
  border:1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.social__logos{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  min-width:0;
}
.logo{
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .6px;
  padding: 6px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(233,240,255,.86);
}
.social__badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.badge{
  font-size: 12px;
  font-weight: 900;
  color: rgba(233,240,255,.92);
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(124,58,237,.22);
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(34,211,238,.06));
  box-shadow: 0 0 0 1px rgba(124,58,237,.10) inset;
}
/* ===========================
   SOCIAL : smooth fill from bottom-right (violet)
   =========================== */

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

/* Spot visible au repos (bottom-right) */
.social::after{
  content:"";
  position:absolute;
  width:240px; height:240px;
  right:-130px; bottom:-130px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.22), transparent 70%);
  opacity:.55;
  filter: blur(12px);
  pointer-events:none;
  transition: opacity .25s ease;
}

/* Fill layer qui s'étale depuis le spot (feathered, smooth) */
.social::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;

  /* PLUS LARGE + PLUS PLAT */
  background:
    radial-gradient(
      1200px 600px at 92% 112%,
      rgba(124,58,237,.20) 0%,
      rgba(124,58,237,.14) 28%,
      rgba(124,58,237,.08) 52%,
      rgba(124,58,237,.04) 70%,
      rgba(124,58,237,.00) 85%
    );

  /* départ depuis le spot */
  clip-path: circle(90px at 92% 112%);
  opacity: 0;
  filter: blur(12px);
  transition: clip-path .6s ease, opacity .22s ease, filter .6s ease;
}

/* Hover OR Active => fill grows, spot fades */
.social:hover::before,
.social.social--active::before{
  opacity: 1;
  clip-path: circle(180% at 92% 112%);
  filter: blur(14px);
}

.social:hover::after,
.social.social--active::after{
  opacity: 0;
}





/* ===========================
   LEFT FOOTER
   =========================== */
.foot{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  margin-top: 10px;
  padding: 0 2px;
  color: var(--muted-2);
  font-size: 12.5px;
}
.foot__dot{ opacity:.6; }
.foot__link {
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s ease;
}

.foot__link:hover {
  opacity: 1;
  text-decoration: underline;
}


/* ===========================
   RIGHT BOOKING
   =========================== */
.booking{
  height:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:0;
}
.booking__head{
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.booking__title{
  margin:0;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.booking__sub{
  margin:6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.booking__fallback{
  margin-top: 6px;
  text-align: center;
  opacity: .7;
  font-size: 12px;
}
.booking__fallback .link:hover{
  opacity: 1;
}
.intent{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:8px;
}
.intent__btn{
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing:.2px;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.intent__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.05);
}
.intent__btn--active{
  border-color: rgba(34,211,238,.28);
  background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(124,58,237,.08));
  box-shadow: 0 0 0 1px rgba(34,211,238,.12) inset, var(--glow-a);
}

.embed{
  flex: 1;
  min-height: 0;
  border-radius: var(--r-lg);
  border:1px solid rgba(34,211,238,.18);
  background:
    radial-gradient(240px 180px at 20% 20%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(240px 180px at 80% 35%, rgba(124,58,237,.10), transparent 60%),
    rgba(255,255,255,.02);
  overflow:hidden;
  position:relative;
}
.embed::before{
  content:"";
  position:absolute; inset:-2px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(34,211,238,.20), rgba(124,58,237,.10), transparent 55%);
  opacity:.22;
  pointer-events:none;
}
.embed__placeholder{
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
  padding: 12px;
}
.embed__title{
  font-weight: 950;
  letter-spacing:.8px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(233,240,255,.92);
}
.embed__hint{
  color: var(--muted);
  font-size: 13px;
}

.booking__actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.booking__links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:space-between;
}

.trust{
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  display:flex;
  flex-direction:column;
  gap:8px;
  color: var(--muted);
  font-size: 13px;
}
.trust__row{
  display:flex;
  align-items:center;
  gap:10px;
}
.dot{
  width:10px; height:10px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,255,255,.08);
}
.dot--a{ background: rgba(34,211,238,.9); box-shadow: var(--glow-a); }
.dot--b{ background: rgba(124,58,237,.9); box-shadow: var(--glow-b); }
.dot--c{ background: rgba(163,255,18,.9); box-shadow: 0 0 18px rgba(163,255,18,.25); }

/* ===========================
   TICKER (DECOR)
   =========================== */
.ticker{
  position:fixed;
  left:0; right:0; bottom:0;
  height: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  overflow:hidden;
  pointer-events:none;
}
.ticker__inner{
  height:100%;
  display:inline-flex;
  align-items:center;
  gap:16px;
  white-space:nowrap;
  color: rgba(233,240,255,.70);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  /* start off-screen right */
  transform: translateX(100%);
  animation: ticker 18s linear infinite;
}

@keyframes ticker{
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-110%); }
}

/* ===========================
   CUSTOM CURSOR — CYPHER
   =========================== */

   /* ===========================
      CUSTOM CURSOR — SAFE MODE
      =========================== */

   /* On cache le curseur natif SEULEMENT quand le JS a ajouté .cursor-ready */
   body.cursor-ready { cursor: none; }

   /* Custom cursor elements */
   .cursor-dot,
   .cursor-aura{
     position: fixed;
     top: 0;
     left: 0;
     pointer-events: none;
     z-index: 9999;
     opacity: 0;                 /* invisible until ready */
     transform: translate3d(-9999px,-9999px,0);
     transition: opacity .15s ease;
   }

   /* Visible when ready */
   body.cursor-ready .cursor-dot,
   body.cursor-ready .cursor-aura{
     opacity: 1;
   }

   /* dot */
   .cursor-dot{
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: rgba(233,240,255,.95);
     z-index: 10000;
   }

   /* aura */
   .cursor-aura{
     width: 38px;
     height: 38px;
     border-radius: 50%;
     z-index: 9999;
     filter: blur(8px);
     background: radial-gradient(circle,
       rgba(34,211,238,.18),
       rgba(34,211,238,.08) 40%,
       rgba(34,211,238,0) 70%
     );
     transition:
       width .18s ease,
       height .18s ease,
       background .18s ease,
       filter .18s ease,
       opacity .15s ease;
   }

   /* Optional: disable on touch devices */
   @media (hover: none) and (pointer: coarse){
     body.cursor-ready{ cursor: auto; }
     .cursor-dot, .cursor-aura{ display: none; }
   }

   /* =========================
     LEGAL PAGES ONLY
     ========================= */

  .page-legal {
    overflow-y: auto;
  }

  /* Scroll autorisé UNIQUEMENT ici */
  .page-legal,
  .page-legal html,
  .page-legal body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Container plus lisible */
  .page-legal .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Sections respirables */
  .page-legal .section {
    padding: 28px 0;
  }

  /* Cards mieux lisibles */
  .page-legal .card__content p,
  .page-legal .card__content li {
    line-height: 1.65;
  }

  /* ============================================================
   COOKIE BANNER - CYPHER & UX OPTIMIZED
   ============================================================ */

/* 1. État Critique : Force la disparition si l'attribut hidden est présent */
[hidden] {
  display: none !important;
}

/* 2. Fix Z-index : Ton curseur personnalisé doit toujours être au-dessus */
.cursor-dot,
.cursor-aura {
  z-index: 100000 !important;
}

/* 3. Overlay de fond (le voile noir) */
.cookie {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end; /* Ancrage en bas de l'écran */
  justify-content: center;
  padding: 24px;
  z-index: 99990; /* Juste en dessous du curseur */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

/* 4. La Carte (Design "Cypher" harmonisé) */
.cookie__card {
  width: min(850px, 100%);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg-2); /* Utilise ton fond sombre source: */
  box-shadow: 0 20px 80px rgba(0,0,0,0.8), var(--glow-b); /* Glow violet source: */
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* Liseré néon décoratif en haut de la carte */
.cookie__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-b), transparent);
  opacity: 0.5;
}

.cookie__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cookie__title {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}

/* Bouton X de fermeture rapide */
.cookie__x {
  appearance: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cookie__x:hover {
  border-color: var(--neon-b);
  background: rgba(34, 211, 238, 0.1);
}

.cookie__text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 8px 0 20px;
}

.cookie__link {
  color: var(--neon-b);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 5. Actions & Boutons (Alignement UX) */
.cookie__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end; /* Lecture naturelle : validation à droite */
}

.cookie__actions--prefs {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

/* 6. Panneau des Préférences */
.cookie__prefs {
  margin-top: 20px;
  animation: slideUp 0.3s ease-out;
}

.cookie__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cookie__row:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.cookie__rowTitle {
  display: block;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}

.cookie__rowDesc {
  display: block;
  color: var(--muted-2);
  font-size: 12.5px;
  margin-top: 2px;
}

/* Style de la checkbox */
.cookie__row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--neon-b);
  cursor: pointer;
}

/* 7. Animations & Responsive */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .cookie {
    padding: 16px;
  }

  .cookie__card {
    padding: 20px;
  }

  .cookie__actions {
    flex-direction: column;
  }

  .cookie__actions .btn {
    width: 100%;
    order: 2;
  }

  .cookie__actions .btn[data-cookie-accept],
  .cookie__actions .btn[data-cookie-save] {
    order: 1; /* Le bouton principal remonte en haut sur mobile */
  }
}



/* ===========================
   RESPONSIVE (keep no scroll)
   - On small screens, we switch to a stacked layout and hide low-priority elements.
   - We'll add "tabs" later if needed.
   =========================== */
@media (max-width: 980px){
  body{ overflow:auto; } /* allow scroll on small screens if needed */
  .wrap{
    height:auto;
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }
  .wrap--6040{ grid-template-columns: 1fr; }
  .ticker{ position:static; }
}

@media (max-width: 520px){
  .nav__right{ gap:8px; }
  .chip{ height:36px; font-size:12.5px; }
  .hero__title{ font-size: 26px; }
  .proofs{ grid-template-columns: 1fr 1fr; }
  .services{ grid-template-columns: 1fr; }
  .social{ flex-direction:column; align-items:flex-start; }
  .nav{
    height: auto;
    padding: 12px var(--pad);
    align-items: flex-start;
  }
  .brand__tag{
    display: none;
  }

  /* grid header: brand on left, actions on right */
  .nav{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand{
    min-width: 0;
  }

  /* make tagline wrap nicely (or hide if you prefer) */
  .brand__tag{
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25;
    max-width: 26ch;
  }

  /* keep chips side-by-side and smaller */
  .nav__right{
    flex-wrap: nowrap;
    gap: 8px;
    align-items: flex-start;
  }

  .chip{
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* shorten long label only on mobile */
  .nav__right .chip--primary{
    max-width: 140px;         /* keep it tidy */
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

}
