/* Google Fonts: Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ======================================
   TOKENS / THÈME (override intégré)
   ====================================== */
:root {

  /* COULEURS */
  --bg: #040420;
  --page-bg:#ffffff;
  --surface: #111936;
  --surface2: #0c1330;
  --brand: #c2307b;
  --brand-600: #6645ff;
  --brand-900: #c2307b;
  --accent: #00ffd0;
  --dot-color: #ff7b47;
  --text: #eaf0ff;
  --muted: #a8b2d8;
    --muted-txt: #272727;


  /* TOKENS SPECIFIQUES */
  --ss-height-d: 100svh;
  --ss-height-m: 90svh;
  --ss-overlay-1: rgba(0,0,0,.35);
  --ss-overlay-2: rgba(0,0,0,.20);
  --ss-title-size: clamp(44px, 6vw, 115px);
  --ss-sub-size: clamp(18px, 2.2vw, 28px);
  --ss-text-size: clamp(14px, 2.2vw, 18px);


  /* RAYONS / OMBRES */
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);

  /* TYPO */
  --fs-xxl: clamp(42px, 6vw, 72px);
  --fs-xl: clamp(24px, 3.5vw, 34px);
  --fs-l: 20px;
  --fs-m: clamp(14px, 2.5vw, 18px);
  --fs-s: clamp(10px, 1vw, 12px);
  --fs-section-title: clamp(44px, 6vw, 115px);

  /* TAILLES "par défaut" */
  --fs-hook-1: clamp(15px, 4.2vw, 20px);
  --fs-hook-2: clamp(14px, 3.6vw, 18px);
  --lh-hook: 1.35;
  --hook-max: 75ch;

  /* LAYOUT */
  --gap: 36px;
  --side-pad: 24px;
  --ease-spring: cubic-bezier(.2, .7, .1, 1);

  /* HERO SPACING */
  --hero-pad-top: clamp(60px, 8dvh, 110px);
  --hero-pad-bottom: clamp(48px, 6vh, 80px);
  --hero-gap-1: clamp(12px, 3vh, 36px);
  --hero-gap-2: clamp(10px, 2.5vh, 28px);
  --hero-gap-3: clamp(14px, 3vh, 34px);

  /* SPACING */
  --sec-pad-d: 88px;
  --sec-pad-m: 56px;
  --sec-pad-s: 10px;

  /* DEGRADE */
  --grad-1: #03031b;
  --grad-2: #03031b;
  --hero-img-h: 1100px;
  --blend: 300px;
  --cut-start: var(--hero-img-h);

  /* COULEURS DYNAMIQUES (pilotées par JS) */
  --hero-title-color: var(--text);
  --hero-sub-color: var(--brand);
  --hero-hook-color: var(--brand);
  --focus-color: var(--brand);
  --focus-color-25: rgba(237, 133, 1, .25);

  /* BOUTONS DYNAMIQUES */
  --btn-accent: #c2307b;
  --btn-glow-1: #ffcc00;
  --btn-glow-2: #ff9800;
  --btn-glow-3: #ff5722;

  /* SAFE GUARD IOS */
  --vv-bottom: 0px;
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --bottom-guard: calc(var(--vv-bottom) + var(--safe-bot));
}

/* ======================================
   BASE
   ====================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
p,
li {
  font-size: var(--fs-m);
  line-height: 1.55;
}

.font-spec-weight {
  font-weight: 800;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  isolation: isolate;
  position: relative;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* DEGRADE VERTICAL */
body::before { content:none !important; }
body::after { content: none !important; }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, .12) 1px, transparent 1px),
    radial-gradient(1px 1px at 75% 75%, rgba(255, 255, 255, .10) 1px, transparent 1px),
    radial-gradient(1px 1px at 50% 50%, rgba(0, 0, 0, .25) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px, 2px 2px;
}

/* Liens / base */
a {
  color: var(--muted-txt);
  text-decoration: none;
  font-weight:600;
}
a.js-tel{
  color: var(--btn-accent);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: var(--brand-900);
}

img {
  max-width: 100%;
  display: block;
}
.svg-img-logo { filter: invert(1); }
.svg-img-logo-coeur { filter:none; }
.svg-img-logo-invider { filter:none; }

[hidden] {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.h {
  font-size: var(--fs-section-title);
  line-height: .95;
  letter-spacing: -0.5px;
  font-weight: 900;
  margin: 0 0 16px;
}

.muted {
  color: var(--muted-txt);
}

.title-formation{
  color: var(--muted-txt);
}
#about-text,
.about-text {
  color: var(--muted-txt);
}

.surface {
  background: #ffffff;
}

/* ======================================
   STYLE DE BASE DES HOOKS
   ====================================== */
.hook {
  color: var(--hero-hook-color, #ed8501) !important;
  line-height: var(--lh-hook);
  margin-top: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: var(--hook-max);
  font-size: var(--fs-hook-1);
  font-weight: 300;
}

/* ======================================
   HEADER
   ====================================== */
.site-header {
  position: relative;
  background: transparent;
  z-index: 2;
  padding: 14px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-slot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-label {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, border-color .2s;
}

.header-phone:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.header-phone svg {
  flex-shrink: 0;
}

.eni-logo {
  width: 80px;
  height: auto;
}

/* ======================================
   BANDEAU PLAFONNEMENT CPF
   ====================================== */
.cpf-banner {
  background: rgba(4, 120, 87, 0.92);
  color: #ffffff;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  z-index: 3;
}

.cpf-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cpf-banner-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.cpf-banner-text {
  margin: 0;
  text-align: center;
}

.cpf-banner-text strong {
  color: #6ee7b7;
}

.cpf-banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .6);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color .2s;
}

.cpf-banner-close:hover {
  color: #fff;
}

.cpf-banner.hidden {
  display: none;
}

/* ======================================
   HERO — Layout 2 colonnes
   ====================================== */
.hero.fs {
  min-height: 0;
  position: relative;
  overflow-x: visible;
  overflow-y: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--grad-1);
}

.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-top: var(--hero-pad-top);
  padding-bottom: 0;
}

.hero-main {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-main > .container {
  width: 100%;
}

/* GRILLE HERO : 2 colonnes desktop */
.hero-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr min(400px, 35%);
  gap: 24px;
  align-items: start;
}

/* ======================================
   H1 / H2 dynamiques
   ====================================== */
.hero-h1 {
  font-size: clamp(28px, 3.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--hero-title-color, #c2307b);
  margin: 0 0 8px;
  font-weight: 900;
}

.hero-h2 {
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.15;
  color: #ffffff;
  display: inline-block;
  margin: 0 0 12px;
}

/* ======================================
   BADGES FORMATION (inline dans blk-1)
   ====================================== */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(4px);
  font-size: 13px;
  color: #fff;
}

.badge-icon {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(124, 92, 255, .15);
  font-weight: 700;
  font-size: 11px;
}

.badge-text {
  font-size: var(--fs-s);
}

.level-dots {
  display: inline-flex;
  gap: 4px;
}

.level-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
}

.level-dots .dot.on {
  background: var(--dot-color);
  border-color: var(--dot-color);
}

/* ======================================
   URGENCY BAR
   ====================================== */
.urgency-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 200, 0, .08);
  border: 1px solid rgba(255, 200, 0, .2);
  color: #ffd54f;
  font-size: 14px;
  font-weight: 500;
}

.urgency-sep {
  opacity: .4;
}

/* ======================================
   FORMULAIRE — toujours visible, sticky
   ====================================== */
.form-col {
  position: sticky;
  top: 80px;
  z-index: 10;
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.form-header {
  margin-bottom: 20px;
  text-align: center;
}

.form-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}

/* Labels dans wrappers .fld générés par JS */
.fld {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.fld label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  order: 2;
}

/* Progressive form step 2 animation */
#form-step-2:not([hidden]) {
  animation: fadeSlideIn .35s ease-out;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Form status messages */
#form-status { margin-top: 8px; font-size: 13px; text-align: center; }
#form-status.ok { color: #4DD07A; }
#form-status.err { color: #ff5c5c; }

.input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(11, 16, 32, .25);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}

.input:focus,
textarea:focus {
  outline: none;
  border-color: var(--focus-color, var(--brand));
  box-shadow:
    0 0 0 2px rgba(255,255,255,.06),
    0 0 0 4px var(--focus-color-25, rgba(237,133,1,.25));
}

.row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.row.two {
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ======================================
   BOUTONS
   ====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .1s ease, background .2s, box-shadow .2s;
  font-family: inherit;
  font-size: 16px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-submit {
  background: var(--btn-accent, var(--brand));
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 14px 18px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.3), 0 0 30px color-mix(in srgb, var(--btn-accent, var(--brand)) 25%, transparent);
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(0,0,0,.4), 0 0 40px color-mix(in srgb, var(--btn-accent, var(--brand)) 35%, transparent);
}

.btn-full {
  width: 100%;
}

.btn-ghost {
  font-size: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .35);
}

:focus-visible {
  outline: 3px solid rgba(255, 174, 53, .6);
  outline-offset: 2px;
}

/* ======================================
   FORM TRUST / REASSURANCE
   ====================================== */
.form-reassurance {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
  opacity: .8;
}

.form-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.trust-badge {
  text-align: center;
  padding: 8px 4px;
}

.trust-badge strong {
  display: block;
  font-size: 18px;
  color: var(--btn-accent, var(--brand));
  line-height: 1.1;
}

.trust-badge span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}

.form-phone-alt {
  text-align: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: var(--muted);
}

.phone-link {
  color: var(--btn-accent, var(--brand)) !important;
  font-weight: 700;
  font-size: 16px;
  margin-left: 8px;
}

/* ======================================
   TRUST BAR INLINE (dans la colonne gauche)
   ====================================== */
.trust-bar-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.trust-bar-item svg {
  color: var(--btn-accent, var(--brand));
}

/* ======================================
   STEPS (Comment ça marche)
   ====================================== */
.steps-section {
  background: var(--page-bg);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  background: #f8f4ff;
  border: 1px solid rgba(194, 48, 123, .1);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted-txt);
  margin: 0 0 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--muted-txt);
  margin: 0;
  opacity: .8;
}

.step-arrow {
  font-size: 28px;
  color: var(--brand);
  font-weight: 900;
  padding-top: 40px;
}

@media (max-width: 700px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ======================================
   SLIDER FORMATIONS
   ====================================== */
#formations-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  z-index: 2;
  position: relative;
}

#formations-slider .card {
  scroll-snap-align: start;
  border-radius: var(--radius);
  padding: 10px 24px 24px;
  background: transparent;
  border: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  cursor: pointer;
}

.slider .thumb {
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1431;
  margin-bottom: 10px;
}

.slider .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#formations-slider{
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 48px,
    #000 calc(100% - 48px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 48px,
    #000 calc(100% - 48px),
    transparent 100%
  );
}

/* ======================================
   SECTIONS & FOOTER
   ====================================== */
.section {
  padding: var(--sec-pad-d) 0;
  z-index: 2;
  position: relative;
}

.faq {
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  padding-top: 56px;
  padding-bottom: 56px;
}

.faq details {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #c2307b;
  border-radius: 12px;
  background: #eab8d2;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color:#ffffff;
}

.contenu-summary{
  color:#ffffff;
}

.confiance{
  padding-top: 55px !important;
  padding-bottom: 55px !important;
}

.container.confiance .h,
.trust-logo-coeur.svg-img-logo-ceour {
    display: inline-block;
    vertical-align: middle;
}
.trust-logo-coeur.svg-img-logo-ceour {
    margin-left: 10px;
}

.container.inside-eni .h,
.trust-logo-invider.svg-img-logo-invider {
    display: inline-block;
    vertical-align: top;
}
.trust-logo-invider.svg-img-logo-invider {
    margin-left: 13px;
}

/* =============================
   SUCCES STORIES
   ============================= */
.ss-hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: var(--sec-pad-d) 0;
}

.ss-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ss-bg-image, url('img/success-default.jpg'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.ss-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.40) 40%, rgba(0,0,0,.5) 100%);
  z-index: 1;
}

.ss-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.ss-sub {
  margin: 0 0 16px;
  font-weight: 700;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 28px);
}

.ss-text {
  margin: 0;
  color: #eaf0ff;
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.55;
  max-width: 75ch;
}

/* ======================================
   TRUST LOGOS
   ====================================== */
.trust-controls{
  display:flex;
  gap: 8px;
  margin: 8px 0 14px;
}
.trust-btn{
  appearance:none;
  border:1px solid rgba(39,39,39,.18);
  background:transparent;
  color:var(--muted-txt);
  border-radius:10px;
  font:inherit;
  line-height:1;
  padding:6px 10px;
  cursor:pointer;
}
.trust-btn:focus-visible{ outline:2px solid var(--accent); }

.trust-viewport{
  overflow:hidden;
  width:100%;
}
.trust-track{
  display:flex;
  align-items:center;
  gap: clamp(16px, 3vw, 36px);
  will-change: transform;
  transform: translateX(0);
}

.trust-logo{
  display:block;
  height: clamp(36px, 5vw, 64px);
  width:auto;
  object-fit:contain;
  color: black;
}

.trust-logo-coeur{
  display:block;
  height: clamp(36px, 5vw, 64px);
  width:auto;
  object-fit:contain;
  color: #c2307b;
}

.trust-logo-invider{
  display:block;
  height: clamp(24px, 5vw, 34px);
  width:auto;
  object-fit:contain;
  color: #c2307b;
}

.trust-viewport:hover{ cursor:grab; }

.footer {
  padding: 48px 0;
  text-align: center;
  color:var(--muted-txt);
}

.footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer small {
  opacity: .85;
}

/* ======================================
   SECTION COLORS
   ====================================== */
.section .h,
.section h1,
.section h2,
.section h3,
.section h4 {
  color: #272727;
}

.section--dark .h { color:#fff; }
.section--rose .h { color:#c2307b; }

/* ======================================
   ACCESSOIRES
   ====================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.txt-main-js {
  color: #e4dd9b;
  cursor: pointer;
}

#hero-title,
#hero-sub,
#hero-hook {
  white-space: pre-line;
}

@supports (height: 100dvh) {
  .hero-bg {
    height: 110dvh;
  }
}

/* ======================================
   FAB TELEPHONE STICKY
   ====================================== */
.call-fab {
  position: fixed;
  top: 24vh;
  right: calc(env(safe-area-inset-right, 0px) + 12px);
  z-index: 9999;
  display: grid;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.call-fab__btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background-color: color-mix(in lab, var(--surface, #111936) 88%, black 0%);
  background-image:
    radial-gradient(60% 80% at 50% 20%,
      color-mix(in lab, var(--btn-accent, var(--brand, #ed8501)) 22%, transparent),
      transparent),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.10));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  color: var(--btn-accent, #ED8501);
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 10;
}
.call-fab__btn svg {
  width: 22px; height: 22px; fill: currentColor;
}
.call-fab__btn:hover { transform: translateY(-1px); }
.call-fab__btn:active { transform: translateY(0); }
.call-fab__btn:focus-visible {
  box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 3px color-mix(in lab, var(--btn-accent, #ed8501) 45%, white 0%);
}

.call-fab__btn::after{
  content:"";
  position:absolute;
  inset:-12px;
  border-radius:999px;
  pointer-events:none;
  opacity:0;
  transform:scale(0.6);
  background: radial-gradient(circle at center,
              currentColor 0 32%, rgba(0,0,0,0) 33%);
  filter: blur(0px);
}

.call-fab__btn.pulse::after{
  animation: tel-halo 1000ms ease-out 1;
}

@keyframes tel-halo{
  0%   { opacity:.60; transform:scale(0.60); filter:blur(0px); }
  55%  { opacity:.35; transform:scale(1.35); filter:blur(2px); }
  100% { opacity:0;   transform:scale(1.85); filter:blur(4px); }
}

.call-fab__panel[hidden] { display: none; }

.call-fab__panel {
  pointer-events: auto;
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translate(16px, -50%);
  opacity: 0;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 999px;
  background-color: color-mix(in lab, var(--surface, #111936) 88%, black 0%);
  background-image:
    radial-gradient(60% 80% at 50% 20%,
      color-mix(in lab, var(--btn-accent, var(--brand, #ed8501)) 22%, transparent),
      transparent),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.10));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  color: var(--text, #eaf0ff);
  transition: transform .26s ease, opacity .26s ease;
}

.call-fab[aria-expanded="true"] .call-fab__panel {
  transform: translate(0, -50%);
  opacity: 1;
}

.call-fab__row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-size: 15px;
  line-height: 1;
}
.call-fab__row:hover { text-decoration: underline; }
.call-fab__row-label { font-weight: 600; }
.call-fab__row-num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ======================================
   EXIT-INTENT OVERLAY
   ====================================== */
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.exit-card h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.exit-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
}

.exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.exit-close:hover {
  color: #fff;
}

.exit-form-row {
  display: flex;
  gap: 8px;
}

.exit-form-row .input {
  flex: 1;
}

.exit-form-row .btn {
  flex-shrink: 0;
}

/* ======================================
   MOBILE STICKY CTA
   ====================================== */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 16px calc(12px + var(--bottom-guard));
  background: rgba(4, 4, 32, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.12);
}

.mobile-cta-btn {
  text-decoration: none;
  text-align: center;
}

/* ======================================
   ORIENTATION LOCK
   ====================================== */
#orientation-lock{
  position: fixed;
  inset: 0;
  background: #040420;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 9999;
}

#orientation-lock .orientation-box{
  max-width: 320px;
}

#orientation-lock h3{
  margin: 16px 0 8px;
  font-size: 20px;
}

#orientation-lock p{
  margin: 0;
  font-size: 16px;
  opacity: .8;
}

@media (max-width: 1000px) and (orientation: landscape){
  #orientation-lock{
    display: flex;
  }
  body{
    overflow: hidden;
  }
}

/* ======================================
   DESKTOP (>1000px)
   ====================================== */
@media (min-width: 1001px) {
  :root {
    --hero-pad-top: clamp(32px, 6vh, 90px);
    --fs-hook-1: 18px;
  }

  .hero-bg {
    height: 100dvh;
  }

  .hero.fs {
    min-height: 100dvh;
  }

  .mobile-sticky-cta {
    display: none !important;
  }

  .call-fab{
    top: 24vh;
    right: auto;
    left: calc(env(safe-area-inset-left, 0px) + 30px);
  }

  .call-fab__panel{
    right: auto;
    left: 64px;
    transform: translate(-16px, -50%);
  }

  .call-fab[aria-expanded="true"] .call-fab__panel{
    transform: translate(0, -50%);
  }
}

/* ======================================
   DESKTOP LOW HEIGHT
   ====================================== */
@media (min-width: 1001px) and (max-height: 900px) {
  :root {
    --fs-hook-1: 16px;
  }

  .hero-center { padding-top: 0 !important; }

  .hook {
    font-size: var(--fs-hook-1) !important;
    line-height: 1.35;
  }
}

/* ======================================
   MOBILE (<=1000px)
   ====================================== */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .form-col {
    position: static;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    margin: 20px 0 0;
  }

  .hero-h1 {
    font-size: clamp(26px, 7vw, 42px) !important;
  }

  .hero-h2 {
    font-size: clamp(15px, 4vw, 22px) !important;
  }

  .hero-center {
    padding-top: 10px !important;
    padding-bottom: calc(24px + var(--bottom-guard)) !important;
  }

  .site-header {
    padding-bottom: 4px !important;
  }

  .cpf-banner { font-size: 13px; padding: 8px 0; }
  .cpf-banner-inner { gap: 8px; }
  .cpf-banner-icon { font-size: 16px; }

  .header-phone span {
    display: none;
  }

  .header-phone {
    padding: 10px;
    border-radius: 50%;
  }

  .trust-bar .container {
    gap: 6px;
  }

  .trust-bar-item {
    font-size: 11px;
    padding: 6px 10px;
  }

  .hero-bg {
    height: 100vh;
  }

  .hero-badges {
    gap: 6px;
  }

  .badge-inline {
    padding: 4px 8px;
    font-size: 12px;
  }

  .row.two {
    grid-template-columns: 1fr;
  }

  #formations-slider {
    grid-auto-columns: clamp(280px, 85%, 420px);
  }

  .slider .thumb {
    height: 180px;
  }

  .section {
    padding: 30px 0 0 0;
  }

  .ss-hero { min-height: 90svh; }

  #formations-slider{
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 28px,
      #000 calc(100% - 38px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 28px,
      #000 calc(100% - 38px),
      transparent 100%
    );
  }

  .exit-form-row {
    flex-direction: column;
  }

  .urgency-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .urgency-sep {
    display: none;
  }

  /* Move FAB above sticky CTA on mobile */
  .call-fab {
    top: auto;
    bottom: calc(70px + var(--bottom-guard, 0px));
  }
}

@media (prefers-reduced-motion: reduce){
  .call-fab__btn.pulse::after{ animation:none !important; }
  .call-fab__panel { transition: none; }
  .call-fab__btn { transition: none; }
}

/* Masquer les widgets externes (chat + cookies Axeptio) */
.rcw-launcher,
.rcw-widget-container,
#axeptio_overlay,
#axeptio_btn_holder,
[id^="axeptio"] {
  display: none !important;
}
