:root{
  --bg0:#02070f;
  --bg1:#071a2f;
  --panel:rgba(6,18,37,.72);
  --panel2:rgba(10,24,48,.52);
  --text:#e9f7ff;
  --muted:#a9c6e6;
  --accent:#00e5ff;
  --accent2:#7c4dff;
  --border:rgba(233,247,255,.16);
  --shadow: 0 18px 56px rgba(0,0,0,.35);
  --r:18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  --fx-grid-op:.22;
  --fx-sweep-op:.55;
  --fx-sweep-anim: sweep 5.2s ease-in-out infinite;

  --hdr-glow-op:.9;
  --hdr-grid-op:.06;
  --hdr-scan-op:.35;
  --hdr-scan-anim: headerScan 4.5s linear infinite;
  --hdr-noise-op:.06;

  --hdrfx-grid-op:.18;
  --hdrfx-scan-op:.35;
  --hdrfx-scan-anim: headerScan 4.5s linear infinite;
  --hdrfx-noise-op:.06;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background: radial-gradient(1200px 900px at 10% 18%, rgba(0,229,255,.16), transparent 55%),
              radial-gradient(900px 720px at 92% 12%, rgba(124,77,255,.14), transparent 58%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  /* Garder le background fixe lors du défilement */
  background-attachment: fixed;
  overflow-x:hidden;
}

/* HUD grid */
body:before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  opacity:var(--fx-grid-op);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 28px);
  mix-blend-mode: overlay;
  z-index:-1;
}
body:after{
  content:"";
  position:fixed; inset:-10%;
  pointer-events:none;
  opacity:var(--fx-sweep-op);
  background:
    linear-gradient(110deg, transparent 0 45%, color-mix(in srgb, var(--accent) 24%, transparent) 52%, transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px);
  mix-blend-mode: overlay;
  filter: blur(.2px);
  animation: var(--fx-sweep-anim);
  z-index:-1;
}
@keyframes sweep{
  0%,100%{ transform: translateX(-10%) translateY(-2%) skewX(-6deg); opacity:.25; }
  45%{ opacity:.62; }
  50%{ transform: translateX(10%) translateY(1%) skewX(-6deg); opacity:.55; }
}

a{color:inherit}
.container{max-width:1360px;margin:0 auto;padding:22px 16px 70px}

/* ====== NEW HEADER (v2) ====== */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(2,10,18,.46);
  backdrop-filter: blur(14px);
  isolation: isolate;
}
.header::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(800px 180px at 18% -10%, rgba(0,229,255,.18), transparent 55%),
    radial-gradient(740px 220px at 82% -20%, rgba(160,255,220,.12), transparent 55%);
  opacity:var(--hdr-glow-op);
  pointer-events:none;
  z-index:-1;
}
.header__grid{
  position:absolute; inset:-80px -120px -80px -120px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 1px, transparent 1px 34px);
  opacity:var(--hdr-grid-op);
  transform: perspective(700px) rotateX(58deg) translateY(-90px);
  pointer-events:none;
  z-index:-2;
}
.header__inner{
  max-width:1360px;
  margin:0 auto;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  /* keep header fluid on tablet/mobile (avoid overlap/overflow) */
  min-width: 0;
  flex: 1 1 auto;
}
.logo__icon{
  width: 92px; height: 92px;
  display:grid; place-items:center;
  position: relative;
  isolation: isolate;
  overflow:hidden;
  /* Logo square with rounded corners */
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.14));
  /* Noyau dynamique (inspiré de la sphère) */
  background:
    radial-gradient(40px 40px at 50% 50%, color-mix(in srgb, var(--accent) 62%, rgba(255,255,255,.40)), transparent 72%),
    radial-gradient(130px 95px at 28% 18%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(120px 90px at 82% 74%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 64%),
    /* micro-grille HUD */
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow:
    0 22px 60px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 34px color-mix(in srgb, var(--accent) 18%, transparent);
}
.logo__icon svg{ width: 34px; height: 34px; color: color-mix(in srgb, var(--accent) 92%, white 0%); }

/* HUD overlays (logo) */
.logoScan,
.logoNoise{ position:absolute; inset:0; pointer-events:none; }
.logoScan{ z-index: 1; }
.logoNoise{ z-index: 1; }
.logoScan{
  opacity:.36;
  mix-blend-mode: overlay;
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(255,255,255,.12) 52%, transparent 66%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px);
  transform: translateX(-75%);
  animation: logoScan 2.9s linear infinite;
}
@keyframes logoScan{ 0%{ transform: translateX(-80%); } 100%{ transform: translateX(80%); } }

.logoNoise{
  opacity: .10;
  mix-blend-mode: overlay;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 7px);
  animation: noiseShift 1.15s steps(2,end) infinite;
}
@keyframes noiseShift{ 0%{ transform: translate(0,0); } 100%{ transform: translate(2px,-2px); } }

.logoMorph{
  position:absolute; inset:0;
  display:grid; place-items:center;
  z-index: 3;
  isolation: isolate;
}
/* Icônes orbitantes (investigation en ligne) */
.logoOrbits{
  position:absolute; inset:0;
  z-index: 2;
  pointer-events:none;
  opacity: .62;
  mix-blend-mode: screen;
}
.orbitIcon{
  position:absolute;
  top:50%; left:50%;
  width: 18px; height: 18px;
  transform: translate(-50%,-50%);
  color: color-mix(in srgb, var(--accent) 72%, rgba(255,255,255,.60));
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 22%, transparent));
  opacity: .75;
}
.orbitIcon.o1{ animation: orbitA 7.5s linear infinite; }
.orbitIcon.o2{ animation: orbitB 9.2s linear infinite; }
.orbitIcon.o3{ animation: orbitC 8.3s linear infinite; }
.orbitIcon.o4{ animation: orbitD 10.4s linear infinite; }
.orbitIcon.o5{ animation: orbitE 6.9s linear infinite; }
.orbitIcon.o6{ animation: orbitF 11.2s linear infinite; }

@keyframes orbitA{ from{ transform: translate(-50%,-50%) rotate(0deg) translateX(26px) rotate(0deg); } to{ transform: translate(-50%,-50%) rotate(360deg) translateX(26px) rotate(-360deg);} }
@keyframes orbitB{ from{ transform: translate(-50%,-50%) rotate(70deg) translateX(32px) rotate(-70deg);} to{ transform: translate(-50%,-50%) rotate(430deg) translateX(32px) rotate(-430deg);} }
@keyframes orbitC{ from{ transform: translate(-50%,-50%) rotate(140deg) translateX(22px) rotate(-140deg);} to{ transform: translate(-50%,-50%) rotate(500deg) translateX(22px) rotate(-500deg);} }
@keyframes orbitD{ from{ transform: translate(-50%,-50%) rotate(210deg) translateX(30px) rotate(-210deg);} to{ transform: translate(-50%,-50%) rotate(570deg) translateX(30px) rotate(-570deg);} }
@keyframes orbitE{ from{ transform: translate(-50%,-50%) rotate(280deg) translateX(20px) rotate(-280deg);} to{ transform: translate(-50%,-50%) rotate(640deg) translateX(20px) rotate(-640deg);} }
@keyframes orbitF{ from{ transform: translate(-50%,-50%) rotate(330deg) translateX(28px) rotate(-330deg);} to{ transform: translate(-50%,-50%) rotate(690deg) translateX(28px) rotate(-690deg);} }

/* Noyau de type "sphère" derrière les icônes morph */
.logoMorph::before{
  content:"";
  position:absolute;
  inset: 18%;
  border-radius: 999px;
  z-index: 0;
  pointer-events:none;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.35)) 0%, color-mix(in srgb, var(--accent) 28%, transparent) 45%, transparent 72%),
    radial-gradient(closest-side at 30% 30%, rgba(255,255,255,.20), transparent 70%);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--accent) 30%, transparent),
    0 0 56px color-mix(in srgb, var(--accent2) 18%, transparent);
  animation: coreBreath 2.6s ease-in-out infinite;
  filter: blur(.2px);
}
.logoMorph::after{
  content:"";
  position:absolute;
  inset:-45%;
  border-radius: 999px;
  z-index: 0;
  pointer-events:none;
  opacity: .75;
  mix-blend-mode: screen;
  background:
    conic-gradient(from 90deg, rgba(0,0,0,0) 0 260deg, color-mix(in srgb, var(--accent) 30%, transparent) 300deg, rgba(0,0,0,0) 360deg),
    conic-gradient(from 280deg, rgba(0,0,0,0) 0 290deg, color-mix(in srgb, var(--accent2) 24%, transparent) 330deg, rgba(0,0,0,0) 360deg);
  filter: blur(.25px);
  animation: coreSpin 7.8s linear infinite;
}

@keyframes coreSpin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }
@keyframes coreBreath{
  0%,100%{ transform: scale(1); opacity: .82; }
  50%{ transform: scale(1.08); opacity: .98; }
}

/* S'assurer que les SVG au-dessus restent nets */
.logoMorph > svg,
.logoMorph > .morphIcon{ position: relative; z-index: 1; }
.morphIcon{
  position:absolute;
  width: 46px; height: 46px;
  opacity: 0;
  transform: scale(.86) rotate(-6deg);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 22%, transparent));
  animation: morphCycle 56s ease-in-out infinite;
}
.morphIcon.m2{ animation-delay: 4s; }
.morphIcon.m3{ animation-delay: 8s; }
.morphIcon.m4{ animation-delay: 12s; }
.morphIcon.m5{ animation-delay: 16s; }
.morphIcon.m6{ animation-delay: 20s; }
.morphIcon.m7{ animation-delay: 24s; }
.morphIcon.m8{ animation-delay: 28s; }
.morphIcon.m9{ animation-delay: 32s; }
.morphIcon.m10{ animation-delay: 36s; }
.morphIcon.m11{ animation-delay: 40s; }
.morphIcon.m12{ animation-delay: 44s; }
.morphIcon.m13{ animation-delay: 48s; }
.morphIcon.m14{ animation-delay: 52s; }
.logo__icon::before{
  content:"";
  position:absolute; inset:-10px;
  z-index: 0;
  background: radial-gradient(240px 140px at 30% 20%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
              radial-gradient(220px 140px at 80% 70%, color-mix(in srgb, var(--accent2) 20%, transparent), transparent 65%);
  opacity: .85;
  filter: blur(10px);
  pointer-events:none;
  animation: logoPulse 4.2s ease-in-out infinite;
}

.logo__icon::after{
  content:"";
  position:absolute; inset:-55%;
  z-index: 0;
  pointer-events:none;
  opacity: .72;
  mix-blend-mode: screen;
  background:
    conic-gradient(from 180deg, rgba(0,0,0,0) 0 285deg, color-mix(in srgb, var(--accent) 28%, transparent) 320deg, rgba(0,0,0,0) 360deg),
    conic-gradient(from 30deg, rgba(0,0,0,0) 0 300deg, color-mix(in srgb, var(--accent2) 18%, transparent) 332deg, rgba(0,0,0,0) 360deg);
  animation: logoRing 6.2s linear infinite;
  filter: blur(.3px);
}
@keyframes logoRing{ 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); } }
@keyframes logoPulse{
  0%,100%{ transform: scale(1); opacity:.75; }
  50%{ transform: scale(1.06); opacity:.95; }
}
@keyframes morphCycle{
  0%{   opacity:0; transform: scale(.84) rotate(-8deg); }
  1.6%{ opacity:1; transform: scale(1) rotate(0deg); }
  5.4%{ opacity:1; transform: scale(1.03) rotate(1deg); }
  7.15%{opacity:0; transform: scale(1.14) rotate(9deg); }
  100%{ opacity:0; transform: scale(.84) rotate(-8deg); }
}

.logo__text{ display:flex; flex-direction:column; line-height:1.12; min-width:0; }
.logo__title{ text-wrap: balance; }
/*
  Ensure the site title is always fully readable.
  We allow wrapping rather than truncating with ellipsis.
*/
.logo__title{ font-weight: 980; letter-spacing: .2px; white-space:normal; overflow:visible; text-overflow:unset; }
.logo__sub{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .86;
  margin-top: 4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.header__nav{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}
.navLink{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-decoration:none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(7,10,16,.56), rgba(7,10,16,.22)) padding-box,
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 58%, #2f81f7 42%),
      rgba(255,255,255,.12)) border-box;
  font-family: var(--mono);
  font-weight: 920;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(0,0,0,.26);
  backdrop-filter: blur(8px);
  transition: transform .16s ease, box-shadow .16s ease;
}
.navLink::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(220px 70px at 18% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.14), rgba(255,255,255,0));
  transform: translateX(-140%);
  opacity:.0;
  z-index:0;
  pointer-events:none;
}
.navLink::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 70%, #2f81f7 30%);
  opacity: .0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity .18s ease, transform .18s ease;
  z-index:0;
  pointer-events:none;
}
.navLink:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 54px rgba(0,0,0,.34);
}
.navLink:hover::before{
  animation: navSheen 1.05s ease-out forwards;
  opacity:.85;
}
.navLink:hover::after{
  opacity: .95;
  transform: scaleX(1);
}
.navLink:active{ transform: translateY(0); }
.navLink:focus-visible{ outline: 3px solid color-mix(in srgb, var(--accent) 34%, transparent); outline-offset: 3px; }

@keyframes navSheen{
  0%{ transform: translateX(-140%); }
  100%{ transform: translateX(140%); }
}
.header__cta{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-shrink: 0;
}

/* Bigger, more modern Udemy CTA */
.btn.udemy{
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(0,229,255,.34);
  background:
    radial-gradient(320px 120px at 20% 0%, rgba(0,229,255,.24), transparent 55%),
    linear-gradient(180deg, rgba(0,229,255,.22), rgba(255,255,255,.05));
  box-shadow: 0 18px 50px rgba(0,0,0,.36);
  position:relative;
}
.btn.udemy::after{
  content:"";
  position:absolute; inset:-2px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(0,229,255,.0), rgba(0,229,255,.35), rgba(160,255,220,.28), rgba(0,229,255,.0));
  opacity:.0;
  filter: blur(10px);
  transition: opacity .25s ease;
  pointer-events:none;
}
.btn.udemy:hover::after{ opacity:.9; }
.btn.udemy:hover{ transform: translateY(-1px) scale(1.01); }
.udemy__icon{
  width: 38px; height: 38px;
  border-radius: 18px;
  display:grid; place-items:center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.20);
  font-weight: 980;
}
.udemy__text{ display:flex; flex-direction:column; line-height:1.12; }
.udemy__top{ font-weight: 980; }
.udemy__bottom{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing:.06em;
  opacity: .86;
  margin-top: 3px;
}

/* Hamburger */
.menuBtn{
  width: 48px; height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  display:none;
}
.menuBtn span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.90);
  margin: 4px auto;
  border-radius: 99px;
}

/* Mobile panel */
.menuPanel{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(2,10,18,.72);
  backdrop-filter: blur(14px);
}

/* Safety: never show the mobile menu panel on desktop widths */
@media (min-width: 1121px){
  .menuPanel{ display:none !important; }
}
.menuPanel__inner{
  max-width:1360px;
  margin:0 auto;
  padding: 12px 16px 16px;
  display:grid;
  gap: 10px;
}
.menuLink{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(7,10,16,.60), rgba(7,10,16,.28)) padding-box,
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 52%, #2f81f7 48%),
      rgba(255,255,255,.12)) border-box;
  text-decoration:none;
  font-family: var(--mono);
  font-weight: 920;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 52px rgba(0,0,0,.40);
  backdrop-filter: blur(10px);
  transition: transform .16s ease, box-shadow .16s ease;
}
.menuLink::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(260px 90px at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 62%),
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.12), rgba(255,255,255,0));
  transform: translateX(-140%);
  opacity:.0;
  z-index:0;
  pointer-events:none;
}
.menuLink:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 68px rgba(0,0,0,.52);
}
.menuLink:hover::before{
  animation: navSheen 1.10s ease-out forwards;
  opacity:.82;
}
.menuLink:active{ transform: translateY(0); }
.menuLink:focus-visible{ outline: 3px solid color-mix(in srgb, var(--accent) 34%, transparent); outline-offset: 3px; }
.btnFull{ width: 100%; justify-content:flex-start; }

.header.is-scrolled{
  background: rgba(2,10,18,.62);
  border-bottom-color: rgba(0,229,255,.16);
}

/* Tablet/mobile: switch to hamburger to guarantee zero overlap */
@media (max-width: 1120px){
  .header__nav{ display:none; }
  .menuBtn{ display:inline-grid; place-items:center; }
  /* keep only gear + hamburger in the top row; the Udemy CTA is available in the menu panel */
  .header__cta > .udemyBtn{ display:none; }
}

@media (max-width: 720px){
  .header__inner{ padding: 10px 12px; gap: 10px; }
  .logo__icon{ width: 72px; height: 72px; border-radius: 16px; }
  .logo__icon svg{ width: 30px; height: 30px; }
  .logo__sub{ display:none; }
  .logo__title{ font-size: 14px; }
  .styleIcon{ width: 48px; height: 48px; border-radius: 16px; }
  .menuBtn{ width: 46px; height: 46px; border-radius: 16px; }
}

@media (max-width: 420px){
  .logo__icon{ width: 64px; height: 64px; }
  .logo__title{ font-size: 13px; }
}

.topbar{
  position:sticky; top:0;
  backdrop-filter: blur(12px);
  background: rgba(2,12,22,.55);
  border-bottom:1px solid rgba(255,255,255,.10);
  z-index:10;
}
.topbar .inner{
  max-width:1360px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;padding:14px 16px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:950;letter-spacing:.2px;
}
.badge-dot{
  width:10px;height:10px;border-radius:99px;
  background: rgba(0,229,255,.95);
  box-shadow: 0 0 0 9px rgba(0,229,255,.12);
}
.brand small{display:block;font-family:var(--mono);opacity:.85;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.nav{
  display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end
}
.nav a{
  text-decoration:none;
  padding:9px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-family:var(--mono);font-weight:900;
  font-size:12px;letter-spacing:.10em;text-transform:uppercase;
}
.nav a:hover{background: rgba(255,255,255,.10); transform: translateY(-1px)}
.hero{
  border:1px solid var(--border);
  border-radius: calc(var(--r) + 4px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero .img{
  aspect-ratio: 1920/720;
  background-size: cover;
  background-position:center;
}
.hero .content{padding:18px 18px 20px}
.kicker{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
  font-family:var(--mono);
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(233,247,255,.85);
}
.kicker .pill{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,229,255,.10);
}

.hIcon{
  display:inline-flex;
  width: 18px; height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  color: rgba(0,229,255,.92);
  filter: drop-shadow(0 0 10px rgba(0,229,255,.18));
}
.hIcon svg{ width: 18px; height: 18px; }
.hIcon--h1{ width: 20px; height: 20px; vertical-align: -4px; }
.hIcon--h1 svg{ width: 20px; height: 20px; }

h1{
  margin:12px 0 10px;
  font-size: clamp(1.55rem, 1.1rem + 2vw, 2.35rem);
  line-height:1.12;
}
.lead{margin:0;max-width:80ch;color:rgba(233,247,255,.88);font-size:1.02rem;line-height:1.45}
.cta{
  margin-top:14px;
  display:flex;gap:10px;flex-wrap:wrap;
}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  text-decoration:none;
  padding:12px 16px;border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  font-weight:950;
  /* IMPORTANT: <button> n'hérite pas toujours de la couleur dans certains navigateurs */
  color: var(--text);
  font: inherit;
}
.btn[type="button"],
button.btn{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  color: var(--text);
}
.btn:hover{transform: translateY(-1px);background: rgba(255,255,255,.10)}
.btn.primary{
  border-color: rgba(0,229,255,.32);
  background: linear-gradient(180deg, rgba(0,229,255,.18), rgba(255,255,255,.04));
}
.section{
  margin-top:18px;
  border:1px solid var(--border);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding:16px;
}
.section h2{margin:0 0 10px;font-size:1.2rem}
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.card{
  grid-column: span 6;
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  overflow:hidden;
}
.card .head{
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
}
.card h3{margin:0;font-size:1.05rem}
.card p{margin:6px 0 0;color:rgba(233,247,255,.80);line-height:1.4}
.tag{
  font-family:var(--mono);font-weight:900;
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(124,77,255,.10);
  flex:0 0 auto;
  color: rgba(233,247,255,.92);
}
.preview{
  padding:12px 14px 16px;
}
.preview .frame{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}
.preview iframe{
  width:100%;
  height:320px;
  border:0;
  display:block;
  background:#0b0f14;
}
.preview .placeholder{
  height:320px;
  display:grid;place-items:center;
  color: rgba(233,247,255,.72);
  font-family:var(--mono);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
}
.preview .actions{
  margin-top:10px;
  display:flex;gap:10px;flex-wrap:wrap;
}
.small{
  font-family:var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  opacity:.92;
}
.footer{
  margin-top:18px;
  opacity:.78;
  font-size:.95rem;
  line-height:1.4;
}
.two-col{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:12px;
}
.note{
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:12px 14px;
  background: rgba(0,0,0,.16);
  color: rgba(233,247,255,.84);
  line-height:1.45;
}
.kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.kv .kvitem{
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:12px 14px;
  background: rgba(255,255,255,.05);
}
.kv .k{
  font-family:var(--mono);font-weight:900;
  letter-spacing:.12em;text-transform:uppercase;
  font-size:11px;opacity:.82;
}
.kv .v{margin-top:6px;font-weight:850}

/* =========================
   PROGRAMME SECTION (HOME)
   - wider feature boxes
   - comfortable padding in the "Détective / enquêteur" callout
   ========================= */
#programme .two-col{
  grid-template-columns: 1.55fr .45fr;
  gap:14px;
}
#programme .programme-main{min-width:0;}
#programme .kv{
  /* Desktop: 4 boxes alignées en une rangée (évite les trous + aligne la hauteur avec "Pour qui ?") */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
#programme .kv .kvitem{
  padding:14px 16px;
}
#programme .kv .v{
  font-weight:820;
  line-height:1.35;
}
#programme .programme-callout{
  grid-column: 1 / -1;
  margin-top:0; /* la grille gère déjà l'espacement via gap */
}
#programme .programme-callout .head{
  padding:16px 16px 16px;
}
#programme .programme-callout p{
  line-height:1.55;
  margin-top:8px;
}

@media (max-width: 1180px){
  /* Tablettes & mobile : empiler la colonne 'Pour qui ?' sous les 4 items (dont Recherche & OSINT) */
  #programme .two-col{ grid-template-columns: 1fr; }
  #programme .kv{ grid-template-columns: 1fr; }
}

.page{
  padding-top: 6px;
}

.embed{
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(0,0,0,.20);
}
.embed iframe{
  width:100%;
  height: calc(100vh - 240px);
  min-height: 620px;
  border:0;
  background:#0b0f14;
}

@media (max-width: 980px){
  .card{grid-column: span 12;}
  .two-col{grid-template-columns: 1fr;}
  .embed iframe{height: calc(100vh - 280px);}
}



/* =========================
   PREMIUM HEADER + COUPONS
   ========================= */

.header--premium{
  border-bottom: 1px solid rgba(0,229,255,.14);
}
.header--premium::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px;
  height:2px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 0%, transparent),
    color-mix(in srgb, var(--accent) 70%, transparent),
    color-mix(in srgb, var(--accent2) 50%, transparent),
    color-mix(in srgb, var(--accent) 0%, transparent)
  );
  opacity:.55;
  pointer-events:none;
}

.headerFx{
  position:absolute; inset:0;
  pointer-events:none;
  overflow:hidden;
}
.headerFx__grid{
  position:absolute; inset:-40px;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity:var(--hdrfx-grid-op);
  transform: perspective(700px) rotateX(52deg);
  transform-origin: top;
}
.headerFx__scan{
  position:absolute;
  left:-20%;
  top: 0;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--accent) 78%, transparent),
    transparent
  );
  filter: blur(0.2px);
  opacity:var(--hdrfx-scan-op);
  animation: var(--hdrfx-scan-anim);
}
@keyframes headerScan{
  0%{ transform: translateY(-20px); opacity:.0; }
  12%{ opacity:.35; }
  50%{ opacity:.18; }
  100%{ transform: translateY(84px); opacity:0; }
}
.headerFx__noise{
  position:absolute; inset:0;
  opacity:var(--hdrfx-noise-op);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.headerRibbon{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 0 18px 14px;
  max-width: 1220px;
  margin: 0 auto;
}
@media (max-width: 980px){
  .headerRibbon{ padding: 0 14px 12px; }
}
.tickerWhite{
  flex:1;
  height: 34px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: rgba(2,10,18,.92);
  border: 1px solid rgba(0,0,0,.08);
  overflow:hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
}
.tickerWhite__track{
  display:flex;
  width: max-content;
  height: 100%;
  align-items:center;
  gap: 36px;
  padding: 0 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
  animation: tickerMove 24s linear infinite;
}
@keyframes tickerMove{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

.couponMiniLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.couponMiniLink:hover{ transform: translateY(-1px); background: rgba(0,0,0,.26); border-color: rgba(0,229,255,.26); }

/* Larger, more premium Udemy button */
.udemyBtn{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,229,255,.52);
  background:
    linear-gradient(135deg, rgba(0,229,255,.30), rgba(168,85,247,.22), rgba(34,197,94,.18)),
    radial-gradient(520px 160px at 20% 0%, rgba(0,229,255,.30), transparent 62%),
    radial-gradient(480px 180px at 90% 60%, rgba(168,85,247,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  background-size: 220% 220%;
  animation: udemyShift 7.5s ease-in-out infinite;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  text-decoration:none;
  color: rgba(255,255,255,.92);
  position: relative;
  overflow:hidden;
  min-height: 56px;
}
.udemyBtn::before{
  content:"";
  position:absolute; inset:-2px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(0,229,255,0), rgba(0,229,255,.55), rgba(168,85,247,.45), rgba(34,197,94,.35), rgba(0,229,255,0));
  background-size: 220% 100%;
  animation: udemySheen 3.2s linear infinite;
  opacity:.0;
  filter: blur(12px);
  transition: opacity .18s ease;
}
.udemyBtn::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(300px 120px at 75% 40%, rgba(255,255,255,.14), transparent 55%);
  opacity:.7;
  pointer-events:none;
}
.udemyBtn:hover{ transform: translateY(-1px); }
.udemyBtn:hover::before{ opacity:.85; }

.udemyBtn__play{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.10);
  font-size: 14px;
}
.udemyBtn__copy{ display:flex; flex-direction:column; line-height: 1.05; }
.udemyBtn__title{ font-weight: 900; letter-spacing: .02em; font-size: 15px; }
.udemyBtn__sub{ font-size: 12px; opacity:.88; margin-top: 3px; }
.udemyBtn__arrow{
  margin-left: 2px;
  width: 32px; height: 32px;
  display:grid; place-items:center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  opacity:.95;
}
.udemyBtn--full{ width: 100%; justify-content: space-between; }

@media (max-width: 980px){
  .udemyBtn{ min-height: 54px; }
  .udemyBtn__sub{ display:none; }
}

/* Coupons */
.couponGrid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .couponGrid{ grid-template-columns: 1fr; }
}
.couponCard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.couponCard__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
}
.couponCode{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(0,229,255,.20);
}
.couponMeta{ font-size: 12px; opacity:.82; margin-top: 8px; }
.couponActions{
  display:flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.couponBtn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(255,196,0,.22), rgba(0,229,255,.14), rgba(168,85,247,.12)), rgba(255,255,255,.04);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.couponBtn:hover{ transform: translateY(-1px); border-color: rgba(0,229,255,.22); background: rgba(0,229,255,.08); }

/* Compact coupons (tools page) */
.couponInline{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 980px){
  .couponInline{ grid-template-columns: 1fr; }
}
.couponInline .couponCard{ padding: 12px; }
.couponInline .couponActions{ margin-top: 10px; }
.couponInline .couponCode{ font-size: 14px; }


/* Site toast */
.siteToast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  z-index: 99999;
  max-width: min(740px, calc(100% - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.78);
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  transition: opacity .18s ease, transform .18s ease;
  font-size: 14px;
}
.siteToast.is-on{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.heroUdemy{ width: fit-content; }


.srOnly{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;}

/* ===== Premium Udemy buttons (v4) ===== */
.udemyBtn{
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(123,211,255,.55);
  background:
    linear-gradient(135deg, rgba(0,229,255,.30), rgba(168,85,247,.22), rgba(34,197,94,.18)),
    radial-gradient(520px 160px at 20% 0%, rgba(0,229,255,.30), transparent 62%),
    radial-gradient(480px 180px at 90% 60%, rgba(168,85,247,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  background-size: 220% 220%;
  animation: udemyShift 7.5s ease-in-out infinite;
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.udemyBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(168,255,222,.65);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
}
.udemyBtn__play{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(0,0,0,.28);
  border:1px solid rgba(123,211,255,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 44px rgba(0,0,0,.35);
}
.udemyBtn--xl{min-height: 64px; padding: 16px 18px; border-radius: 20px;}
.udemyBtn--xl .udemyBtn__title{font-size: 16px;}
.udemyBtn--xl .udemyBtn__sub{font-size: 12.5px;}
.udemyBtn__arrow{font-size: 18px;}

/* Hero overlay */
.hero{position:relative;}
.heroOverlay{
  position:absolute;
  inset:auto 18px 18px 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.heroOverlay__mini{display:flex; gap:10px; flex-wrap:wrap;}
@media (max-width: 980px){
  .heroOverlay{inset:auto 12px 12px 12px;}
  .heroOverlay__mini{width:100%;}
  .udemyBtn--xl{width:100%;}
}

/* Bullets (liste premium) */
.bullets{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.bullets li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: rgba(233,247,255,.86);
  line-height:1.42;
}
.bullets li::before{
  content:"✓";
  color: var(--cyan);
  font-weight:900;
  flex:0 0 auto;
  margin-top:1px;
}


/* =========================================================
   Premium CTA Buttons (Udemy + Coupons) — v7
   (Overrides for a more "vendeur" look, CSI/HUD style)
========================================================= */

@keyframes udemyShine {
  0%   { transform: translateX(-130%) skewX(-18deg); opacity: .0; }
  12%  { opacity: .65; }
  50%  { opacity: .65; }
  100% { transform: translateX(130%) skewX(-18deg); opacity: .0; }
}

.udemyBtn{
  padding: 16px 18px;
  border-radius: 22px;
  min-height: 68px;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, rgba(255,255,255,.10));
  background:
    radial-gradient(620px 180px at 14% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 62%),
    radial-gradient(420px 160px at 88% 45%, rgba(255,255,255,.12), transparent 58%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 26%, transparent), rgba(255,255,255,.06));
  box-shadow:
    0 34px 92px rgba(0,0,0,.60),
    0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent) inset,
    0 0 26px color-mix(in srgb, var(--accent) 10%, transparent);
  transform: translateZ(0);
}

.udemyBtn::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.18) 45%,
    rgba(255,255,255,0) 100%);
  animation: udemyShine 2.8s linear infinite;
  pointer-events:none;
  opacity:.55;
}

.udemyBtn::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(260px 90px at 22% 0%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(280px 110px at 70% 55%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  opacity:.70;
  pointer-events:none;
  mix-blend-mode: screen;
}

.udemyBtn:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 88%, rgba(255,255,255,.10));
  box-shadow:
    0 40px 110px rgba(0,0,0,.66),
    0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent) inset,
    0 0 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.udemyBtn:active{ transform: translateY(-1px) scale(.996); }
.udemyBtn:focus-visible{ outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 3px; }

.udemyBtn__play{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 22px color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 14px;
}

.udemyBtn__title{
  font-size: 15px;
  letter-spacing: .2px;
}

.udemyBtn__sub{
  font-size: 12px;
  opacity: .92;
}

.udemyBtn__arrow{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.10);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.udemyBtn:hover .udemyBtn__arrow{
  transform: translateX(4px);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, rgba(255,255,255,.12));
}

.udemyBtn--xl{
  min-height: 74px;
  padding: 18px 20px;
}

@media (max-width: 980px){
  .udemyBtn{ min-height: 62px; }
  /* Mobile: afficher le texte "Mot de passe : univers" sur les boutons "Accéder à la formation" */
  .udemyBtn__sub{ display:block; }
}

/* Coupon CTA (bouton “Voir les coupons”) */
@keyframes couponShine {
  0%   { transform: translateX(-120%) skewX(-18deg); opacity:.0; }
  15%  { opacity:.55; }
  60%  { opacity:.55; }
  100% { transform: translateX(120%) skewX(-18deg); opacity:.0; }
}

.couponCta{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 58px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.22);
  background:
    radial-gradient(360px 120px at 15% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: rgba(255,255,255,.92);
  text-decoration:none;
  position:relative;
  overflow:hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,.38);
}

.couponCta::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(0,229,255,.18) 45%,
    rgba(255,255,255,0) 100%);
  animation: couponShine 3.4s linear infinite;
  pointer-events:none;
}

.couponCta:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.28);
  background:
    radial-gradient(360px 120px at 15% 0%, rgba(0,229,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

.couponCta:active{ transform: translateY(0); }
.couponCta:focus-visible{ outline: 3px solid rgba(0,229,255,.28); outline-offset: 3px; }

.couponCta__icon{
  width: 36px; height: 36px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.14);
  box-shadow: 0 14px 30px rgba(0,0,0,.34);
  color: rgba(0,229,255,.95);
}
.couponCta__icon svg{ width: 20px; height: 20px; }
.couponCta__copy{ display:flex; flex-direction:column; line-height:1.15; }
.couponCta__title{ font-weight: 900; letter-spacing:.2px; }
.couponCta__sub{ font-size: 12px; opacity:.86; margin-top: 2px; }
.couponCta__arrow{
  margin-left: auto;
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.10);
  transition: transform .16s ease;
}
.couponCta:hover .couponCta__arrow{ transform: translateX(3px); }

/* Coupon buttons inside cards */
.couponBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: .15px;
  text-decoration:none !important;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.couponBtn--primary{
  border: 1px solid rgba(0,229,255,.55);
  background:
    radial-gradient(240px 90px at 20% 0%, rgba(0,229,255,.26), transparent 62%),
    linear-gradient(180deg, rgba(0,229,255,.18), rgba(255,255,255,.04));
  box-shadow: 0 18px 46px rgba(0,0,0,.40);
}

.couponBtn--ghost{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}

.couponBtn:hover{ transform: translateY(-1px); }
.couponBtn--primary:hover{
  border-color: rgba(0,229,255,.80);
  background:
    radial-gradient(240px 90px at 20% 0%, rgba(0,229,255,.32), transparent 62%),
    linear-gradient(180deg, rgba(0,229,255,.22), rgba(255,255,255,.05));
  box-shadow: 0 22px 60px rgba(0,0,0,.50), 0 0 28px rgba(0,229,255,.12);
}
.couponBtn--ghost:hover{
  border-color: rgba(0,229,255,.22);
  background: rgba(0,229,255,.08);
}


@keyframes udemyShift{
  0%{ background-position: 0% 0%; }
  50%{ background-position: 100% 100%; }
  100%{ background-position: 0% 0%; }
}
@keyframes udemySheen{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 220% 50%; }
}

.couponBtn{ position:relative; overflow:hidden; }
.couponBtn::before{
  content:"";
  position:absolute; inset:-2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.22), rgba(255,255,255,0));
  transform: translateX(-120%);
  opacity:.55;
  pointer-events:none;
  animation: couponShine 4.4s ease-in-out infinite;
}
@keyframes couponShine{
  0%{ transform: translateX(-120%); opacity:.0; }
  25%{ opacity:.55; }
  55%{ transform: translateX(120%); opacity:.0; }
  100%{ transform: translateX(120%); opacity:0; }
}


/* ====== STYLE (bouton discret + modal) ====== */
.styleIcon{
  all: unset;
  width: 56px;
  height: 56px;
  display:inline-grid;
  place-items:center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82);
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.styleIcon:hover{ transform: translateY(-1px); background: rgba(255,255,255,.075); border-color: rgba(0,229,255,.28); }
.styleIcon:active{ transform: translateY(0px); }
.styleIcon__glyph{ font-size: 20px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.25)); }

.styleModal{
  position: fixed;
  inset: 0;
  z-index: 120;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.styleModal[hidden]{ display:none; }
.styleModal__panel{
  width: min(640px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(233,247,255,.16);
  background: linear-gradient(180deg, rgba(6,18,37,.96), rgba(6,18,37,.70));
  box-shadow: 0 30px 90px rgba(0,0,0,.62);
  overflow:hidden;
}
.styleModal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.styleModal__title{ font-weight: 880; letter-spacing:.2px; }
.styleModal__close{
  all: unset;
  cursor:pointer;
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.styleModal__close:hover{ background: rgba(255,255,255,.08); border-color: rgba(0,229,255,.26); }
.styleModal__grid{
  display:grid;
  gap: 10px;
  padding: 14px 16px;
}
.styleModal__sep{ height:1px; background: rgba(233,247,255,.10); margin: 2px 2px; }
.stylePick{
  all: unset;
  cursor:pointer;
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.stylePick:hover{ transform: translateY(-1px); background: rgba(255,255,255,.075); border-color: rgba(0,229,255,.22); }
.stylePick[aria-checked="true"]{ background: rgba(0,229,255,.10); border-color: rgba(0,229,255,.40); }
.stylePick__txt{ display:grid; gap: 3px; }
.stylePick__t{ font-weight: 900; }
.stylePick__s{ font-size: 12px; color: rgba(169,198,230,.90); }
.swatch{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.swatch--x1{ background: radial-gradient(16px 16px at 30% 35%, rgba(0,229,255,.95), rgba(0,229,255,0) 70%), radial-gradient(18px 18px at 75% 70%, rgba(124,77,255,.90), rgba(124,77,255,0) 70%), linear-gradient(135deg, #020a14, #062a4d); }
.swatch--x2{ background: radial-gradient(18px 18px at 30% 35%, rgba(72,255,185,.92), rgba(72,255,185,0) 70%), radial-gradient(18px 18px at 70% 75%, rgba(0,229,255,.75), rgba(0,229,255,0) 70%), linear-gradient(135deg, #03110e, #031f32); }
.swatch--x3{ background: radial-gradient(18px 18px at 35% 35%, rgba(255,120,240,.92), rgba(255,120,240,0) 70%), radial-gradient(18px 18px at 70% 75%, rgba(0,229,255,.75), rgba(0,229,255,0) 70%), linear-gradient(135deg, #0a0516, #061a2f); }
.swatch--c1{ background: linear-gradient(135deg, #070a10, #0b0f14); }
.swatch--c2{ background: linear-gradient(135deg, #0a1220, #132238); }

.styleModal__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

/* ====== THEMES (3 CSI extrêmes + 2 épurés) ====== */
html{ --fx-before-anim: none; --fx-after-anim: var(--fx-sweep-anim); }

/* CSI extrême — Neon Grid */
html[data-style="csi-x1"]{
  --accent:#00e5ff;
  --accent2:#7c4dff;
  --bg0:#02070f;
  --bg1:#071a2f;
  --fx-grid-op:.34;
  --fx-sweep-op:.80;
  --fx-sweep-anim: sweep 3.1s ease-in-out infinite;
  --hdrfx-grid-op:.34;
  --hdrfx-scan-op:.62;
  --hdrfx-noise-op:.12;
}
html[data-style="csi-x1"] body{
  background:
    radial-gradient(1200px 900px at 12% 14%, rgba(0,229,255,.22), transparent 55%),
    radial-gradient(980px 760px at 92% 12%, rgba(124,77,255,.20), transparent 58%),
    radial-gradient(640px 520px at 70% 88%, rgba(160,255,220,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
}
html[data-style="csi-x1"] body:before{
  animation: neonParallax 9.5s ease-in-out infinite;
}
@keyframes neonParallax{
  0%,100%{ transform: translateY(0px); opacity: var(--fx-grid-op); }
  50%{ transform: translateY(6px); opacity: calc(var(--fx-grid-op) + .06); }
}

/* CSI extrême — Radar Ops */
html[data-style="csi-x2"]{
  --accent:#48ffb9;
  --accent2:#00e5ff;
  --bg0:#02100b;
  --bg1:#041a2a;
  --fx-grid-op:.20;
  --fx-sweep-op:.72;
  --fx-sweep-anim: radarSweep 2.6s linear infinite;
  --hdrfx-grid-op:.22;
  --hdrfx-scan-op:.52;
  --hdrfx-noise-op:.10;
}
html[data-style="csi-x2"] body{
  background:
    radial-gradient(1200px 900px at 16% 18%, rgba(72,255,185,.18), transparent 60%),
    radial-gradient(900px 720px at 92% 12%, rgba(0,229,255,.12), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
}
/* Remplacer le sweep diagonal par un radar circulaire (via pseudo after) */
html[data-style="csi-x2"] body:after{
  inset:-45%;
  background:
    radial-gradient(circle at 40% 36%, rgba(72,255,185,.10) 0 36%, transparent 37%),
    repeating-radial-gradient(circle at 40% 36%, rgba(255,255,255,.08) 0 1px, transparent 1px 38px),
    conic-gradient(from 180deg at 40% 36%, rgba(72,255,185,0) 0 310deg, rgba(72,255,185,.26) 330deg, rgba(72,255,185,0) 360deg);
  mix-blend-mode: screen;
  filter: blur(.4px);
  animation: radarSweep 2.35s linear infinite;
}

@media (min-width: 1200px){
  html[data-style="csi-x2"] body:after{ inset:-65%; }
}
@keyframes radarSweep{ 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); } }

/* CSI extrême — Glitch Lab */
html[data-style="csi-x3"]{
  --accent:#ff78f0;
  --accent2:#00e5ff;
  --bg0:#080317;
  --bg1:#071a2f;
  --fx-grid-op:.26;
  --fx-sweep-op:.75;
  --fx-sweep-anim: glitchSweep 1.9s steps(6,end) infinite;
  --hdrfx-grid-op:.26;
  --hdrfx-scan-op:.70;
  --hdrfx-noise-op:.18;
}
html[data-style="csi-x3"] body{
  background:
    radial-gradient(1100px 820px at 18% 18%, rgba(255,120,240,.16), transparent 60%),
    radial-gradient(980px 760px at 92% 12%, rgba(0,229,255,.12), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
}
html[data-style="csi-x3"] body:after{
  background:
    linear-gradient(90deg, rgba(0,229,255,0), rgba(0,229,255,.16), rgba(0,229,255,0)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,120,240,.10) 0 2px, transparent 2px 18px);
  mix-blend-mode: difference;
  filter: blur(.15px);
  animation: glitchSweep 1.8s steps(7,end) infinite;
}
@keyframes glitchSweep{
  0%{ transform: translateX(-14%) translateY(-2%) skewX(-7deg); opacity:.12; }
  20%{ opacity:.55; }
  40%{ transform: translateX(6%) translateY(2%) skewX(-7deg); opacity:.32; }
  60%{ transform: translateX(-2%) translateY(-1%) skewX(-7deg); opacity:.62; }
  100%{ transform: translateX(14%) translateY(1%) skewX(-7deg); opacity:.10; }
}

/* Épuré · Sombre (sans effets) */
html[data-style="clean-1"]{
  --bg0:#070a10;
  --bg1:#0b0f14;
  --accent:#7dd3fc;
  --accent2:#a78bfa;
  --fx-grid-op:0;
  --fx-sweep-op:0;
  --fx-sweep-anim:none;
  --hdrfx-grid-op:0;
  --hdrfx-scan-op:0;
  --hdrfx-noise-op:0;
  --hdr-glow-op:0;
  --hdr-grid-op:0;
}
html[data-style="clean-1"] body{ background: linear-gradient(180deg, var(--bg0), var(--bg1)); background-attachment: fixed; }
html[data-style="clean-1"] .headerFx{ display:none; }
html[data-style="clean-1"] .header::before{ display:none; }
html[data-style="clean-1"] .header__grid{ display:none; }

/* Épuré · Ardoise (sans effets) */
html[data-style="clean-2"]{
  --bg0:#0a1220;
  --bg1:#132238;
  --accent:#5eead4;
  --accent2:#60a5fa;
  --fx-grid-op:0;
  --fx-sweep-op:0;
  --fx-sweep-anim:none;
  --hdrfx-grid-op:0;
  --hdrfx-scan-op:0;
  --hdrfx-noise-op:0;
  --hdr-glow-op:0;
  --hdr-grid-op:0;
}
html[data-style="clean-2"] body{ background: linear-gradient(180deg, var(--bg0), var(--bg1)); background-attachment: fixed; }
html[data-style="clean-2"] .headerFx{ display:none; }
html[data-style="clean-2"] .header::before{ display:none; }
html[data-style="clean-2"] .header__grid{ display:none; }

/* Accents supplémentaires (plus spectaculaire) */
html[data-style="csi-x1"] .card,
html[data-style="csi-x1"] .embed{ border-color: color-mix(in srgb, var(--accent) 32%, rgba(255,255,255,.14)); box-shadow: 0 26px 78px rgba(0,0,0,.45), 0 0 34px color-mix(in srgb, var(--accent) 16%, transparent); }
html[data-style="csi-x2"] .card,
html[data-style="csi-x2"] .embed{ border-color: color-mix(in srgb, var(--accent) 26%, rgba(255,255,255,.14)); box-shadow: 0 24px 74px rgba(0,0,0,.45), 0 0 28px color-mix(in srgb, var(--accent) 14%, transparent); }
html[data-style="csi-x3"] .card,
html[data-style="csi-x3"] .embed{ border-color: color-mix(in srgb, var(--accent) 22%, rgba(255,255,255,.14)); box-shadow: 0 26px 78px rgba(0,0,0,.48), 0 0 32px color-mix(in srgb, var(--accent) 12%, transparent); }

html[data-style="csi-x3"] h1,
html[data-style="csi-x3"] h2,
html[data-style="csi-x3"] h3{ text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 18%, transparent); }

/* Respecter la préférence utilisateur */
@media (prefers-reduced-motion: reduce){
  :root{
    --fx-sweep-anim:none;
    --hdrfx-scan-anim:none;
  }
  body:before,
  body:after{ animation: none !important; }
  .udemyBtn{ animation: none !important; }
  .logoMorph .morphIcon{ animation: none !important; }
  .logo__icon::before,
  .logo__icon::after,
  .logoMorph::before,
  .logoMorph::after,
  .orbitIcon{ animation: none !important; }
  .tickerWhite__track{ animation: none !important; }
}


/* Assurer un background fixe même si un thème redéfinit background (shorthand) */
body{ background-attachment: fixed !important; }



/* =========================================================
   v14 — CTA UDEMY + COUPONS (2 couleurs + effets dynamiques)
   Objectif: ultra vendeur, moderne, lisible.
========================================================= */

/* UDEMY CTA — 2 couleurs (Accent + Steel Blue) — sobre, technique, pro */
.udemyBtn{
  --u1: color-mix(in srgb, var(--accent) 88%, #2f81f7 12%);
  --u2: color-mix(in srgb, #2f81f7 80%, var(--accent) 20%);
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(7,10,16,.82), rgba(7,10,16,.58)) padding-box,
    linear-gradient(135deg, var(--u1), var(--u2)) border-box;
  box-shadow:
    0 26px 70px rgba(0,0,0,.48),
    0 0 0 1px color-mix(in srgb, var(--u1) 18%, transparent),
    0 0 34px color-mix(in srgb, var(--u1) 14%, transparent),
    0 0 38px color-mix(in srgb, var(--u2) 10%, transparent);
  transform: translateZ(0);
  isolation:isolate;
}
.udemyBtn > *{ position:relative; z-index:2; }

/* gradient vivant (accent + bleu, sans couleurs pastel) */
.udemyBtn::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(520px 220px at 16% 22%, color-mix(in srgb, var(--u1) 40%, transparent), transparent 60%),
    radial-gradient(520px 220px at 82% 60%, color-mix(in srgb, var(--u2) 32%, transparent), transparent 62%),
    linear-gradient(120deg,
      color-mix(in srgb, var(--u1) 22%, transparent),
      color-mix(in srgb, var(--u2) 22%, transparent),
      color-mix(in srgb, var(--u1) 22%, transparent));
  background-size: 160% 160%;
  animation: ctaDrift 7.6s ease-in-out infinite;
  opacity:.92;
  z-index:1;
}

/* sheen qui balaie (accroche l'oeil sans être agressif) */
.udemyBtn::after{
  content:"";
  position:absolute;
  top:-55%;
  left:-40%;
  width: 60%;
  height: 220%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.38) 50%,
    rgba(255,255,255,0) 100%);
  transform: rotate(16deg);
  animation: ctaSheen 3.4s linear infinite;
  opacity:.46;
  z-index:1;
  pointer-events:none;
}

/* micro pulse (délicat) */
.udemyBtn{
  animation: ctaPulse 3.1s ease-in-out infinite;
}
.udemyBtn:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 32px 84px rgba(0,0,0,.52),
    0 0 0 1px color-mix(in srgb, var(--u1) 22%, transparent),
    0 0 44px color-mix(in srgb, var(--u1) 18%, transparent),
    0 0 52px color-mix(in srgb, var(--u2) 14%, transparent);
}
.udemyBtn:active{ transform: translateY(0) scale(.995); }

.udemyBtn__play{
  border: 1px solid rgba(255,255,255,.20) !important;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(135deg, color-mix(in srgb, var(--u1) 18%, transparent), color-mix(in srgb, var(--u2) 14%, transparent));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--u1) 10%, transparent),
    0 10px 28px rgba(0,0,0,.25);
}
.udemyBtn__arrow{
  border: 1px solid rgba(255,255,255,.18) !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--u1) 18%, transparent), color-mix(in srgb, var(--u2) 14%, transparent)),
    rgba(0,0,0,.10);
}
.udemyBtn:hover .udemyBtn__arrow{
  transform: translateX(4px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--u1) 22%, transparent), color-mix(in srgb, var(--u2) 18%, transparent)),
    rgba(0,0,0,.10);
  border-color: color-mix(in srgb, var(--u1) 28%, rgba(255,255,255,.18)) !important;
}
/* COUPON CTA — Amber + Blue — sobre, pro, style "ticket" */
.couponCta{
  --c1:#ffb703;
  --c2: color-mix(in srgb, #2f81f7 70%, var(--accent) 30%);
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(7,10,16,.78), rgba(7,10,16,.55)) padding-box,
    linear-gradient(135deg, var(--c1), var(--c2)) border-box;
  box-shadow:
    0 22px 62px rgba(0,0,0,.46),
    0 0 0 1px color-mix(in srgb, var(--c1) 14%, transparent),
    0 0 30px color-mix(in srgb, var(--c1) 14%, transparent),
    0 0 30px color-mix(in srgb, var(--c2) 10%, transparent),
    inset 10px 0 0 -9px rgba(255,255,255,.12),
    inset -10px 0 0 -9px rgba(255,255,255,.12);
  transform: translateZ(0);
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.couponCta > *{ position:relative; z-index:2; }

/* fond vivant + micro texture (plus discrète) */
.couponCta::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(520px 220px at 18% 18%, color-mix(in srgb, var(--c1) 28%, transparent), transparent 62%),
    radial-gradient(520px 220px at 82% 70%, color-mix(in srgb, var(--c2) 22%, transparent), transparent 62%),
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.05) 0px,
      rgba(255,255,255,.05) 1px,
      rgba(255,255,255,0) 8px,
      rgba(255,255,255,0) 14px);
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: ctaDrift 9.0s ease-in-out infinite;
  opacity:.88;
  z-index:1;
}

/* shine */
.couponCta::after{
  content:"";
  position:absolute;
  top:-50%;
  left:-45%;
  width: 62%;
  height: 220%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.32) 50%,
    rgba(255,255,255,0) 100%);
  transform: rotate(18deg);
  animation: ctaSheen 3.9s linear infinite;
  opacity:.44;
  z-index:1;
  pointer-events:none;
}

.couponCta:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 28px 78px rgba(0,0,0,.52),
    0 0 0 1px color-mix(in srgb, var(--c1) 16%, transparent),
    0 0 40px color-mix(in srgb, var(--c1) 18%, transparent),
    0 0 44px color-mix(in srgb, var(--c2) 14%, transparent),
    inset 10px 0 0 -9px rgba(255,255,255,.16),
    inset -10px 0 0 -9px rgba(255,255,255,.16);
}
.couponCta:active{ transform: translateY(0) scale(.995); }

/* Harmoniser icône + flèche avec l'ambre */
.couponCta__icon{
  color: var(--c1) !important;
  border-color: color-mix(in srgb, var(--c1) 22%, rgba(255,255,255,.18)) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 22px color-mix(in srgb, var(--c1) 10%, transparent) !important;
}
.couponCta__arrow{
  border-color: color-mix(in srgb, var(--c2) 20%, rgba(255,255,255,.16)) !important;
}
.couponCta:hover .couponCta__arrow{
  background: color-mix(in srgb, var(--c2) 14%, rgba(0,0,0,.10));
  border-color: color-mix(in srgb, var(--c2) 28%, rgba(255,255,255,.16)) !important;
}
/* Boutons dans cartes coupons */
.couponBtn{
  border: 1px solid transparent;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.couponBtn--primary{
  --u1: var(--accent);
  --u2: color-mix(in srgb, #2f81f7 80%, var(--accent) 20%);
  background:
    linear-gradient(180deg, rgba(7,10,16,.72), rgba(7,10,16,.50)) padding-box,
    linear-gradient(135deg, var(--u1), var(--u2)) border-box;
}
.couponBtn--ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
}
.couponBtn:hover{ transform: translateY(-1px); }

/* Animations */
@keyframes ctaDrift{
  0%{ background-position: 0% 0%, 100% 50%, 0 0; }
  50%{ background-position: 100% 70%, 0% 30%, 0 0; }
  100%{ background-position: 0% 0%, 100% 50%, 0 0; }
}
@keyframes ctaSheen{
  0%{ transform: translateX(-30%) rotate(16deg); opacity:.15; }
  15%{ opacity:.55; }
  45%{ opacity:.35; }
  100%{ transform: translateX(220%) rotate(16deg); opacity:.12; }
}
@keyframes ctaPulse{
  0%,100%{ filter: saturate(1); }
  50%{ filter: saturate(1.12); }
}

@media (prefers-reduced-motion: reduce){
  .udemyBtn, .udemyBtn::before, .udemyBtn::after,
  .couponCta, .couponCta::before, .couponCta::after{
    animation: none !important;
  }

  .navLink:hover::before, .menuLink:hover::before{ animation: none !important; }
}



/* =========================
   PROGRAMME (HOME) — MOBILE REFINEMENTS
   ========================= */
@media (max-width: 640px){
  #programme h2{
    font-size: clamp(1.12rem, 4.8vw, 1.28rem);
    line-height:1.25;
  }

  #programme .kv{
    grid-template-columns: 1fr;
    gap:10px;
  }
  #programme .kv .kvitem{
    padding:15px 16px;
    border-radius:16px;
  }
  #programme .kv .v{
    line-height:1.55;
    font-weight:820;
    font-size: .98rem;
  }

  /* "Détective / enquêteur" callout */
  #programme .programme-callout .head{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:10px;
    padding:18px 16px 16px;
  }
  #programme .programme-callout h3{
    font-size:1.02rem;
    line-height:1.25;
  }
  #programme .programme-callout p{
    margin-top:6px;
    line-height:1.6;
  }
  #programme .programme-callout .tag{
    margin-top:2px;
  }

  /* "Pour qui ?" note */
  #programme .note{
    padding:16px 16px;
    border-radius:16px;
  }
  #programme .note h2{
    font-size: clamp(1.12rem, 4.8vw, 1.28rem);
    line-height:1.25;
  }
  #programme .note p{
    margin-top:10px;
    line-height:1.6;
  }
  #programme .note .small{
    margin-top:10px;
    display:block;
  }
}



/* ===========================
   Contact form (global)
   =========================== */
.contact .head .pill{ white-space:nowrap; }
.contactForm{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--border);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(10,24,48,.40), rgba(6,18,37,.20));
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.hpField{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px;
}
.field:first-child{ margin-top:0; }
.label{
  font-weight:700;
  letter-spacing:.2px;
}
.req{ color: var(--accent); }

.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm textarea{
  width:100%;
  color: var(--text);
  background: rgba(0,0,0,.28);
  border:1px solid rgba(233,247,255,.16);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.contactForm textarea{
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.contactForm input::placeholder,
.contactForm textarea::placeholder{
  color: rgba(233,247,255,.55);
}
.contactForm input:focus,
.contactForm textarea:focus{
  border-color: color-mix(in srgb, var(--accent) 75%, white 25%);
  box-shadow: 0 0 0 3px rgba(0,229,255,.14);
  transform: translateY(-1px);
}
.contactActions{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
@media (max-width: 680px){
  .contactGrid{ grid-template-columns: 1fr; }
  .contactActions{ justify-content:flex-start; }
}
@media (prefers-reduced-motion: reduce){
  .contactForm input:focus,
  .contactForm textarea:focus{ transform:none; }
}


/* =========================
   LEXIQUE (page dédiée)
   ========================= */
.lexControls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:14px;
}
.lexSearch, .lexCat{
  flex: 1 1 220px;
  min-width: 220px;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,10,18,.65);
  color: #e9f7ff;
  outline: none;
}
.lexSearch::placeholder{ opacity:.75; }
.lexCount{ flex: 0 0 auto; }

.lexGroup{ margin: 18px 0; }
.lexGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.lexItem{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(9, 14, 24, .55);
  padding: 14px;
  overflow-wrap: anywhere;
}
.lexTerm{
  margin: 0 0 8px 0;
  font-size: 1.02rem;
  line-height: 1.25;
}
.lexDesc{
  margin: 0;
  opacity: .92;
  line-height: 1.45;
  font-size: .95rem;
}

/* Verrouille les pseudo-éléments de fond (certains thèmes animent body:before/after) */
body::before,
body::after{
  animation: none !important;
  transform: none !important;
}

@media (max-width: 520px){
  .lexSearch, .lexCat{ min-width: 0; }
  .lexGrid{ grid-template-columns: 1fr; }
}


/* =========================
   GUIDE PAGE: TOC + LISTES
   ========================= */

.toc{
  margin-top: 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  padding: 12px 14px;
}
.toc > summary{
  cursor:pointer;
  font-weight:950;
  list-style:none;
  outline:none;
}
.toc > summary::-webkit-details-marker{display:none;}
.toc > summary::after{
  content:"";
  display:inline-block;
  margin-left:10px;
  width:10px;height:10px;
  border-right:2px solid rgba(255,255,255,.75);
  border-bottom:2px solid rgba(255,255,255,.75);
  transform: rotate(45deg) translateY(-1px);
}
.toc[open] > summary::after{
  transform: rotate(-135deg) translateY(-1px);
}
.toc ol{
  margin:12px 0 0;
  padding-left: 20px;
}
.toc a{
  text-decoration:none;
  color: rgba(233,247,255,.92);
}
.toc a:hover{ text-decoration: underline; }

.checklist{
  margin: 10px 0 0;
  padding-left: 0;
  list-style:none;
}
.checklist li{
  position:relative;
  padding-left: 28px;
  margin: 10px 0;
  color: rgba(233,247,255,.86);
  line-height: 1.45;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  font-weight: 950;
  color: rgba(0,229,255,.85);
}

.backTop{
  text-decoration:none;
  font-weight: 850;
  color: rgba(233,247,255,.88);
}
.backTop:hover{ text-decoration: underline; }

@media (min-width: 860px){
  .toc ol{
    column-count: 2;
    column-gap: 26px;
  }
  .toc li{ break-inside: avoid; }
}
