/* =================================================================
   AUREO AFRIKA — FEUILLE DE STYLE FUSIONNEE (style.css + new-style.css)
   Fichier genere par fusion + deduplication structurelle des 2 fichiers.
   - Base structurelle : new-style.css (le plus complet / le plus recent)
   - Les regles de style.css partageant un selecteur avec new-style.css ont
     ete fusionnees dedans (valeur de new-style.css conservee en cas de
     conflit reel de valeur sur une meme propriete).
   - Les regles existant UNIQUEMENT dans style.css (aucun equivalent dans
     new-style.css) sont regroupees a part, section 'HERITE DE STYLE.CSS',
     pour qu'aucune fonctionnalite ne soit perdue silencieusement.
   ================================================================= */

/* ---------- 1. RESET & TOKENS ---------- */

:root {
  --aureo-black: #021633;
  --navy: #071C3C;
  --blue-deep: #0A2A5C;
  --thim-primary-color: #124BC2;
  --blue: #124BC2;
  --blue-bright: #2E6BE6;
  --green: #0FA36E;
  --green-light: #7FE7B4;
  --orange: #FF6B35;
  --orange-light: #FFC9A8;
  --ink: #10131B;
  --grey: #57607A;
  --grey-light: #8A93AC;
  --paper: #F5F7FB;
  --paper-alt: #EBF0F8;
  --white: #FFFFFF;
  --line: #DFE5EF;
  --radius: 22px;
  --aureo-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  --e-global-color-accent: #F5F7FB;
}

* {
  box-sizing: border-box;
}

html {}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2. TYPOGRAPHIE DE BASE ---------- */

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--aureo-black);
}

p {
  margin: 0;
  font-size: 14px;
}

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

img {
  max-width: 100%;
  display: block;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

/* ---------- 3. UTILITAIRES DE MISE EN PAGE ---------- */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 600;
  margin-top: 16px;
}

.section-head p {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  border-radius: 2px;
}

.deco {
  position: absolute;
  color: rgba(255, 255, 255, .5);
  pointer-events: none;
  z-index: 1;
}

/* ---------- 4. BOUTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white) !important;
  /* box-shadow: 0 10px 24px -8px rgba(255, 107, 53, .55); */
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -8px rgba(255, 107, 53, .6);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -10px rgba(7, 28, 60, .5);
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--navy);
}

/* ---------- 5. TOPBAR + HEADER + NAVIGATION ---------- */

.topbar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  padding: 10px 20px;
  position: relative;
  z-index: 60;
}

.topbar b {
  color: var(--orange-light);
  font-weight: 600;
  cursor: pointer;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}

/* ================== LOGO CUSTOM STYLE ================= */
.logo-swap {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 49px;
}

.logo-swap__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .3s ease-in-out;
  will-change: opacity;

}

/* Etat initial */
.logo-swap__img--white {
  opacity: 1;
}

.logo-swap__img--color {
  opacity: 0;
}

/* Etat Apres le scroll */
header.scrolled .logo-swap__img--white {
  opacity: 0;
}

header.scrolled .logo-swap__img--color {
  opacity: 1;
}

/* ================== END LOGO CUSTOM STYLE ================= */

.logo .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  position: relative;
  flex: none;
}

.logo .mark::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-right-color: var(--orange);
  border-top-color: var(--orange);
}

.logo span small {
  display: block;
  font-family: 'Inter';
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--grey);
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 34px;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

nav a.active {
  color: var(--blue);
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width .3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  will-change: border-color;
}

header .icon-btn {
  background-color: transparent;
}

header .icon-btn svg {
  stroke: var(--white);
  will-change: stroke;
}

header.scrolled .icon-btn {
  border: 1px solid var(--aureo-black);
}

header.scrolled .icon-btn svg {
  stroke: var(--aureo-black);
}

.profile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.profile .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
  overflow: hidden;
}

/* ---------- 6. BANNIÈRE DE PAGE (sous-pages) + FIL D'ARIANE + FILTRES ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-deep) 65%, #0B2551 100%);
  color: #fff;
  padding: 70px 0 90px;
  overflow: hidden;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 90% 0%, rgba(46, 107, 230, .32), transparent 60%),
    radial-gradient(500px 400px at 5% 100%, rgba(15, 163, 110, .25), transparent 60%);
  pointer-events: none;
}

.crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.crumb b {
  color: var(--green-light);
  font-weight: 500;
}

.page-hero h1 {
  font-size: 46px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.page-hero p.lead {
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  max-width: 520px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.filters {
  margin-top: 34px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.pill {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  transition: all .3s;
}

.pill.active,
.pill:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ---------- 7. FOOTER ---------- */

footer.foot-simple {
  background: #050F24;
  color: rgba(255, 255, 255, .5);
  padding: 40px 0;
  text-align: center;
  font-size: 12.5px;
}

footer.foot-full {
  background: #050F24;
  color: rgba(255, 255, 255, .7);
  padding: 80px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.foot-brand .logo {
  color: #fff;
}

.foot-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  max-width: 280px;
}

.foot-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

footer.foot-full .wrap .foot-grid .foot-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  transition: all .25s;
}

footer.foot-full .wrap .foot-grid .foot-col ul li a:hover {
  color: var(--white);
  border-color: var(--white);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 60px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4);
}

.foot-social {
  display: flex;
  gap: 12px;
}

footer.foot-full .wrap .foot-grid .foot-brand .foot-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.308);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.308);
  transition: all .5s var(--aureo-ease);
}

footer.foot-full .wrap .foot-grid .foot-brand .foot-social a:hover {
  border-color: rgba(255, 255, 255, 0.973);
  color: var(--white);
}

/* ---------- 8. SYSTÈME DE CARTE "FORMATION" (partagé accueil / catalogue / carousel) ---------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.course-cell {
  position: relative;
  z-index: 1;
}

.course-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
  position: relative;
  z-index: 2;
}

.course-card:hover {
  box-shadow: 0 26px 50px -20px rgba(10, 42, 92, .22);
}

.course-img {
  overflow: hidden;
  position: relative;
  flex: none;
  clip-path: inset(100% 0 0 0);
  aspect-ratio: 16/7;
  height: 190px;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.course-level {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, .92);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}

.course-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-cat {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 8px;
}

.course-body h4 {
  /* min-height: 46px; */
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.course-trainer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--grey);
  margin-bottom: 12px;
}

.course-trainer .av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
  flex: none;
}

.course-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 0 !important;
  flex-wrap: wrap;
}

.course-rating {
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 600;
}

.course-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

.course-price {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.course-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-cta-btn {
  font-size: 12.5px;
  font-weight: 700;
  background: var(--thim-primary-color);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}


/* popover de détail (catalogue Formations) */

.course-popover {
  position: absolute;
  top: 0;
  width: 340px;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 40px 70px -20px rgba(7, 28, 60, .35);
  border: 1px solid var(--line);
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.98);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 10;
  overflow-y: auto;
}

.course-cell:hover .course-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 40;
}

.course-popover.side-right {
  left: calc(100%);
}

.course-popover.side-left {
  right: calc(100%);
}

.pop-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pop-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pop-h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 16px;
}

.pop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.pop-list li {
  font-size: 12.5px;
  color: var(--ink);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pop-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex: none;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--paper-alt);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.pop-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--grey);
}

.pop-infos b {
  color: var(--ink);
  display: block;
  font-size: 12.5px;
}

.course-popover .pop-cta {
  display: block;
  text-align: center;
  margin-top: 18px;
  background: var(--orange);
  color: #fff;
  padding: 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.course-popover .pop-cta:hover {
  color: var(--white);
}

/* carousel (page Formations) */

.carousel-section {
  overflow: hidden;
}

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.carousel-viewport {
  overflow: hidden;
  cursor: grab;
}

.carousel-viewport.dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.car-slide {
  flex: 0 0 340px;
}

.carousel-nav {
  display: flex;
  gap: 12px;
}

.car-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
}

.car-arrow:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all .3s;
}

.car-dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--orange);
}

/* ---------- 9. SYSTÈME D'ÉTAPES NUMÉROTÉES (partagé : accueil / B2B / devenir formateur) ---------- */

.proc-grid,
.proc2-grid,
.ap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.proc-grid::before,
.proc2-grid::before,
.ap-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}

.proc-step,
.proc2-step,
.ap-step {
  text-align: center;
  padding: 0 18px;
  position: relative;
}

.proc-num,
.proc2-num,
.ap-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.proc-step:nth-child(1) .proc-num {
  border-color: var(--blue);
  color: var(--blue);
}

.proc-step:nth-child(2) .proc-num {
  border-color: var(--green);
  color: var(--green);
}

.proc-step:nth-child(3) .proc-num {
  border-color: var(--orange);
  color: var(--orange);
}

.proc-step:nth-child(4) .proc-num {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.proc-step h4,
.proc2-step h4,
.ap-step h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.proc-step p,
.proc2-step p,
.ap-step p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.55;
}

.proc2-step h4,
.ap-step h4 {
  font-size: 15.5px;
}

.proc2-step p,
.ap-step p {
  font-size: 13px;
}

/* =================================================================
   10. PAGE ACCUEIL
   ================================================================= */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-deep) 55%, #0B2551 100%);
  overflow: hidden;
  padding: 100px 0 0;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 85% 10%, rgba(46, 107, 230, .35), transparent 60%),
    radial-gradient(500px 400px at 10% 90%, rgba(15, 163, 110, .28), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  margin: 22px 0 22px;
  color: #fff;
}

.hero h1 .accent {
  color: var(--green-light);
  font-style: normal;
}

.hero h1 .accent2 {
  color: var(--orange-light);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.search-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 480px;
  backdrop-filter: blur(6px);
}

.search-pill input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14.5px;
  font-family: 'Inter';
  padding: 10px 0;
}

.search-pill input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.search-pill button {
  border: none;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  flex: none;
}

.hero-visual {
  position: relative;
  height: 520px;
}

.hero-img-frame {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  clip-path: inset(100% 0% 0% 0% round 28px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  filter: grayscale(.15) contrast(1.08);
}

.duotone {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  background: linear-gradient(160deg, var(--blue-bright) 10%, var(--green) 100%);
  opacity: .55;
}

.duotone-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 28, 60, .55), transparent 45%);
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.float-card .num {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.float-card .lbl {
  font-size: 11.5px;
  color: var(--grey);
  font-weight: 500;
}

.fc1 {
  top: -24px;
  right: 20px;
}

.fc2 {
  bottom: 26px;
  left: -26px;
}

.stats-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 70px;
}

.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 32px;
  gap: 20px;
}

.stat {
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, .15);
  padding-left: 20px;
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat .n {
  font-family: 'Space Grotesk';
  font-size: 34px;
  font-weight: 700;
  color: #fff;
}

.stat .n span {
  color: var(--green-light);
}

.stat .l {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
}

.neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
}

.pulse-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
}

.split-line {
  overflow: hidden;
  display: block;
}

.split-line>span {
  display: inline-block;
  will-change: transform;
}

.letter-reveal span {
  display: inline-block;
  will-change: transform, opacity;
}

.blur-reveal img {
  filter: blur(18px);
  transform: scale(1.1);
}

/* about */

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 460px;
  clip-path: inset(100% 0 0 0 round 22px);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.about-badge {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--green);
  color: #fff;
  padding: 20px 24px;
  border-radius: 0 20px 0 0;
}

.about-badge .n {
  font-family: 'Space Grotesk';
  font-size: 28px;
  font-weight: 700;
}

.about-badge .l {
  font-size: 12px;
  opacity: .9;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 600;
}

.about-text p {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}

.about-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  list-style: none;
  font-size: 15px;
  color: var(--ink);
}

.about-list .chk {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--green);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* categories */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 230px;
  cursor: pointer;
  clip-path: inset(100% 0 0 0 round 20px);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.cat-card:hover img {
  transform: scale(1.32);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 60, 0) 30%, rgba(7, 28, 60, .88) 100%);
}

.cat-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
}

.cat-body .tag {
  font-size: 11.5px;
  color: var(--green-light);
  margin-bottom: 6px;
}

.cat-body h4 {
  font-size: 19px;
  font-weight: 600;
}

.cat-body .arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

.cat-card:hover .arrow {
  background: var(--orange);
}

/* corporate */

.corporate {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.corp-text h2 {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
}

.corp-text p {
  color: rgba(255, 255, 255, .65);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 460px;
}

.steps {
  margin-top: 32px;
  display: grid;
  gap: 22px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step .idx {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  color: var(--orange-light);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step .st {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  padding-top: 5px;
}

.corp-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  clip-path: inset(0 100% 0 0 round 22px);
}

.corp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

/* features (accueil) */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
}

.feat-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-card:nth-child(1) .feat-ico {
  background: #EAF1FF;
  color: var(--blue);
}

.feat-card:nth-child(2) .feat-ico {
  background: #E6F8EF;
  color: var(--green);
}

.feat-card:nth-child(3) .feat-ico {
  background: #FFEEE5;
  color: var(--orange);
}

.feat-card:nth-child(4) .feat-ico {
  background: #EAF1FF;
  color: var(--blue);
}

.feat-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}

/* events — base partagée (grille verticale, utilisée par la page Événements) */

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.event-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}

.event-card:hover {
  box-shadow: 0 26px 50px -20px rgba(10, 42, 92, .22);
  transform: translateY(-5px);
}

.event-img {
  position: relative;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  height: 170px;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.event-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.event-body * {
  margin: 2px 0;
}

.event-date {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}

.event-body h4 {
  font-size: 13.9px;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1;
}

.countdown {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin: 0;
  gap: 10px;
}

.cd {
  background: var(--paper-alt);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  width: 56px;
}

.cd b {
  display: block;
  font-family: 'Space Grotesk';
  font-size: 18px;
  color: var(--navy);
}

.cd span {
  font-size: 9.5px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.event-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seats {
  font-size: 12.5px;
  color: var(--grey);
}

.seats b {
  color: var(--navy);
}

/* events — variante Accueil (carte côte-à-côte image | contenu) */

.events .event-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.events .event-img {
  height: auto;
  clip-path: inset(100% 0 0 0);
}

.events .event-img img {
  height: 200px;
  min-height: 280px;
}

/* gallery */

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 16px;
}

.gal-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  clip-path: inset(100% 0 0 0 round 16px);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
  filter: grayscale(.4);
}

.gal-item:hover img {
  transform: scale(1.32);
  filter: grayscale(0);
}

.gal-item.tall {
  grid-row: span 2;
}

.gal-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.gal-item:hover .gal-cap {
  opacity: 1;
  transform: translateY(0);
}

.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 28, 60, .75));
  opacity: 0;
  transition: opacity .3s;
}

.gal-item:hover::after {
  opacity: 1;
}

/* trust marquee */

.trust {
  background: var(--white);
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust .mono {
  display: block;
  text-align: center;
  color: var(--grey-light);
  margin-bottom: 30px;
}

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 70px;
  width: max-content;
}

.marquee-track .logo-item {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 22px;
  color: var(--grey-light);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-track .logo-item i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange-light);
  display: inline-block;
}

/* testimonials */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
}

.stars {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-card p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testi-who .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
}

.testi-who .name {
  font-weight: 600;
  font-size: 13.5px;
}

.testi-who .role {
  font-size: 11.5px;
  color: var(--grey);
}

/* faq */

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-q h4 {
  font-size: 16.5px;
  font-weight: 600;
}

.faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color .3s, background .3s;
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  background: var(--navy);
  transition: transform .35s;
}

.faq-plus::before {
  width: 12px;
  height: 1.6px;
}

.faq-plus::after {
  width: 1.6px;
  height: 12px;
}

.faq-item.open .faq-plus {
  background: var(--orange);
  border-color: var(--orange);
}

.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after {
  background: #fff;
}

.faq-item.open .faq-plus::after {
  transform: scaleY(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  padding-top: 14px;
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 680px;
}

/* newsletter */

.newsletter {
  background: linear-gradient(120deg, var(--blue-deep), var(--navy) 70%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.news-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.news-inner h2 {
  font-size: 30px;
  font-weight: 600;
  max-width: 420px;
  color: #fff;
}

.news-inner p {
  color: rgba(255, 255, 255, .65);
  margin-top: 10px;
  max-width: 420px;
}

.news-form {
  display: flex;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 6px;
  min-width: 380px;
}

.news-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
}

.news-form input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.news-form button {
  background: var(--orange);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

/* =================================================================
   12. PAGE ÉVÉNEMENTS
   ================================================================= */

.events-list .event-grid {
  grid-template-columns: repeat(3, 1fr);
}

.status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status.live {
  background: var(--green);
  color: #fff;
}

.status.soon {
  background: var(--orange);
  color: #fff;
}

.status.expired {
  background: var(--grey-light);
  color: #fff;
}

.type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, .92);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy);
}

.events-list .event-date {
  display: flex;
  gap: 14px;
}

.event-info {
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: var(--grey);
  margin-bottom: 16px;
}

.event-info span {
  display: flex;
  gap: 8px;
  align-items: center;
}

.event-info i {
  color: var(--blue);
  width: 14px;
}

.speakers {
  display: flex;
  align-items: center;
  gap: -8px;
  margin-bottom: 16px;
}

.speakers .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
  border: 2px solid #fff;
  margin-right: -8px;
}

.seats-txt {
  font-size: 12px;
  color: var(--grey);
}

.seats-txt b {
  color: var(--navy);
}

.ev-cta {
  font-size: 12.5px;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
}

.ev-cta.disabled {
  background: var(--grey-light);
  pointer-events: none;
}

/* =================================================================
   13. PAGE À PROPOS
   ================================================================= */

.mission-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.mission-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 440px;
  clip-path: inset(100% 0 0 0 round 22px);
}

.mission-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.mission-text p {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 20px;
}

.tl-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.tl-row:first-of-type {
  border-top: none;
}

.tl-year {
  font-family: 'Space Grotesk';
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
}

.tl-body h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tl-body p {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 640px;
}

.val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.val-card {
  background: var(--paper-alt);
  border-radius: 20px;
  padding: 28px 22px;
}

.val-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.val-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.val-card p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.55;
}

.stats2 {
  background: var(--navy);
  color: #fff;
}

.stats2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat2 {
  text-align: center;
}

.stat2 .n {
  font-family: 'Space Grotesk';
  font-size: 38px;
  font-weight: 700;
  color: var(--green-light);
}

.stat2 .l {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  margin-top: 6px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.team-img {
  height: 220px;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.team-info {
  padding: 18px;
}

.team-info h4 {
  font-size: 15.5px;
  font-weight: 600;
}

.team-info p {
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 4px;
}

/* =================================================================
   14. PAGE ESPACE B2B
   ================================================================= */

.b2b-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-b2b-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  clip-path: inset(100% 0 0 0 round 22px);
}

.hero-b2b-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prob-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
}

.prob-card .fa-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--paper-alt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.prob-card h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prob-card p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.6;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 28px;
  position: relative;
}

.offer-card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-14px);
}

.offer-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
}

.offer-card.featured .offer-tag {
  color: var(--green-light);
}

.offer-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.offer-price {
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 22px;
}

.offer-card.featured .offer-price {
  color: rgba(255, 255, 255, .65);
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.offer-list li {
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.offer-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.offer-card.featured .offer-list li::before {
  color: var(--green-light);
}

.offer-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  background: var(--navy);
  color: #fff;
}

.offer-card.featured .offer-btn {
  background: var(--orange);
}

.best-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.contact-form {
  background: var(--navy);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-grid h2 {
  color: #fff;
  font-size: 32px;
}

.form-grid p {
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  margin-top: 14px;
  max-width: 400px;
}

.f-field {
  margin-bottom: 16px;
}

.f-field label {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 6px;
}

.f-field input,
.f-field select,
.f-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter';
  outline: none;
}

.f-field input::placeholder,
.f-field textarea::placeholder {
  color: rgba(255, 255, 255, .4);
}

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

/* =================================================================
   15. PAGE DEVENIR FORMATEUR
   ================================================================= */

.f-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-f-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  clip-path: inset(100% 0 0 0 round 22px);
}

.hero-f-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.adv-card {
  background: var(--paper-alt);
  border-radius: 20px;
  padding: 26px 22px;
}

.adv-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.adv-card h4 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.adv-card p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.55;
}

.crit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.crit-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  clip-path: inset(0 100% 0 0 round 22px);
}

.crit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.crit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.crit-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
}

.crit-list .chk {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
}

/* =================================================================
   16. PAGE EMPLOI
   ================================================================= */

.job-list {
  display: grid;
  gap: 16px;
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: box-shadow .3s, transform .3s;
  flex-wrap: wrap;
}

.job-card:hover {
  box-shadow: 0 20px 40px -18px rgba(10, 42, 92, .2);
  transform: translateY(-3px);
}

.job-left {
  display: flex;
  gap: 18px;
  align-items: center;
}

.job-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--paper-alt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none;
}

.job-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.job-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--grey);
  flex-wrap: wrap;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-dept {
  background: var(--paper-alt);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.spontaneous {
  background: linear-gradient(120deg, var(--blue-deep), var(--navy) 70%);
  color: #fff;
  text-align: center;
}

.spontaneous h2 {
  color: #fff;
  font-size: 30px;
  max-width: 560px;
  margin: 0 auto;
}

.spontaneous p {
  color: rgba(255, 255, 255, .65);
  margin-top: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =================================================================
   17. PAGE RÉSULTATS DE RECHERCHE
   ================================================================= */

.search-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.search-bar-big {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 640px;
}

.search-bar-big input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 15px;
  font-family: 'Inter';
  padding: 12px 0;
}

.search-bar-big button {
  border: none;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

.result-count {
  font-size: 14px;
  color: var(--grey);
  margin-top: 16px;
}

.result-count b {
  color: var(--navy);
}

.results-layout {
  padding: 60px 0 100px;
}

.layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  position: sticky;
  top: 100px;
}

.sb-block {
  margin-bottom: 26px;
}

.sb-block:last-child {
  margin-bottom: 0;
}

.sb-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
}

.sb-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 10px;
  cursor: pointer;
}

.sb-option input {
  accent-color: var(--orange);
}

.result-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.r-tab {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--paper-alt);
  color: var(--grey);
  cursor: pointer;
}

.r-tab.active {
  background: var(--navy);
  color: #fff;
}

.result-item {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  margin-bottom: 16px;
}

.r-img {
  width: 170px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}

.r-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.r-type {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.r-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.r-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--grey);
  flex-wrap: wrap;
}

.r-cta {
  font-size: 12.5px;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pg {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
}

.pg.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* =================================================================
   18. PAGE PROFIL UTILISATEUR (dashboard)
   ================================================================= */

.dash-top {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-home {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  background: var(--paper-alt);
  padding: 11px 20px;
  border-radius: 999px;
  transition: .3s;
}

.back-home:hover {
  background: var(--orange);
  color: #fff;
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}

.dash-logo .mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.dash-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: calc(100vh - 65px);
}

.dash-side {
  background: var(--navy);
  color: #fff;
  padding: 34px 22px;
}

.side-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.side-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
  flex: none;
}

.side-name {
  font-weight: 600;
  font-size: 15px;
}

.side-role {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}

.side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.side-nav li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: .25s;
}

.side-nav li i {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}

.side-nav li:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.side-nav li.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.side-nav li.active i {
  color: var(--orange-light);
}

.side-nav li.logout {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 16px;
  color: var(--orange-light);
}

.dash-main {
  padding: 42px 44px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.dash-head {
  margin-bottom: 32px;
}

.dash-head h2 {
  font-size: 26px;
  font-weight: 600;
}

.dash-head p {
  color: var(--grey);
  font-size: 14px;
  margin-top: 6px;
}

.dc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.dc-img {
  height: 130px;
  overflow: hidden;
}

.dc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-body {
  padding: 16px;
}

.dc-body h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 38px;
}

.progress-bar {
  height: 6px;
  background: var(--paper-alt);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 6px;
}

.progress-txt {
  font-size: 11.5px;
  color: var(--grey);
  display: flex;
  justify-content: space-between;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.stat-box .n {
  font-family: 'Space Grotesk';
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}

.stat-box .l {
  font-size: 12px;
  color: var(--grey);
  margin-top: 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--grey);
  padding: 14px 18px;
  background: var(--paper-alt);
}

.table td {
  padding: 14px 18px;
  font-size: 13.5px;
  border-top: 1px solid var(--line);
}

.status-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status-chip.pub {
  background: #E6F8EF;
  color: var(--green);
}

.status-chip.draft {
  background: var(--paper-alt);
  color: var(--grey);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

.cert-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--paper-alt);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
}

.cert-card h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 16px;
}

.quiz-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.quiz-score {
  font-family: 'Space Grotesk';
  font-weight: 700;
  color: var(--green);
  font-size: 16px;
}

.settings-grid {
  display: grid;
  gap: 22px;
}

.set-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.set-block h4 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.set-block .sub {
  font-size: 12.5px;
  color: var(--grey);
  margin-bottom: 18px;
}

.cover-drop {
  height: 140px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--grey);
  font-size: 13px;
  background: var(--paper-alt);
  margin-bottom: 16px;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.avatar-preview {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
  flex: none;
}

.set-block .f-field {
  margin-bottom: 14px;
}

.set-block .f-field label {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
  margin-bottom: 6px;
}

.set-block .f-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter';
  outline: none;
}

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

/* =================================================================
   20. PAGE ÉVÉNEMENT — DÉTAIL (single-evenement.html)
   ================================================================= */

.se-cover {
  position: relative;
  height: 520px;
  overflow: hidden;
  color: #fff;
}

.se-cover-img {
  position: absolute;
  inset: 0;
}

.se-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.1) contrast(1.05);
}

.se-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 28, 60, .33) 100%, rgba(7, 28, 60, .55) 45%, rgba(7, 28, 60, 0.95) 0%);
}

.se-cover-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  padding-bottom: 44px;
}

.se-crumb {
  color: rgba(255, 255, 255, .6);
}

.se-crumb a {
  color: rgba(255, 255, 255, .8);
}

.se-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.se-cover h1 {
  font-size: 38px;
  font-weight: 600;
  max-width: 780px;
  margin-bottom: 20px;
  color: white;
}

.se-meta-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
}

.se-meta-row i {
  color: var(--green-light);
  margin-right: 6px;
}

.se-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.se-block {
  margin-bottom: 40px;
}

.se-block h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.se-block p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.75;
}

.se-list {
  display: grid;
  gap: 10px;
}

.se-list li {
  font-size: 14.5px;
}

.se-agenda {
  display: grid;
  gap: 0;
}

.se-agenda-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.se-agenda-item:first-child {
  border-top: none;
}

.se-agenda-time {
  font-family: 'JetBrains Mono';
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
  padding-top: 2px;
}

.se-agenda-body h4 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.se-agenda-body p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.6;
}

.se-speaker-card {
  display: flex;
  gap: 20px;
  background: var(--paper-alt);
  border-radius: 20px;
  padding: 24px;
}

.se-speaker-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green));
  flex: none;
}

.se-speaker-card h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.se-speaker-role {
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}

.se-speaker-card p {
  color: var(--grey);
  font-size: 13.5px;
  line-height: 1.6;
}

.se-share {
  display: flex;
  gap: 10px;
}

.se-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.se-share a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.se-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.se-adjacent-link {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: .3s;
}

.se-adjacent-link:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 30px -16px rgba(10, 42, 92, .25);
}

.se-adjacent-link.next {
  text-align: right;
}

.se-adjacent-link h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.4;
}

/* .se-sidebar {
  position: sticky;
  top: 100px;
} */

.se-reg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 60px -30px rgba(10, 42, 92, .25);
}

.se-reg-title {
  color: var(--navy);
  margin-bottom: 18px;
}

.se-countdown-wrap {
  background: var(--paper-alt);
  border-radius: 16px;
  padding: 18px;
  /* margin-bottom: 20px; */
}

.se-countdown-label {
  color: var(--grey);
  margin-bottom: 10px;
  display: block;
}

.se-reg-rows {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.se-reg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--grey);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}

.se-reg-row b {
  font-family: 'Space Grotesk';
  font-size: 15px;
  color: var(--ink);
}

.hl-green {
  color: var(--green) !important;
}

.hl-orange {
  color: var(--orange) !important;
}

.se-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.se-pay-icons {
  display: flex;
  gap: 10px;
  font-size: 20px;
  color: var(--grey-light);
}

.se-reg-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.se-cal-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.se-reg-note {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
  display: flex;
  gap: 8px;
}

.se-reg-note i {
  color: var(--blue);
  flex: none;
  margin-top: 2px;
}

/* =================================================================
   21. PAGE FORMATION — DÉTAIL (single-formation.html)
   ================================================================= */

.sf-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-deep) 65%, #0B2551 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.sf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 90% 0%, rgba(46, 107, 230, .32), transparent 60%), radial-gradient(500px 400px at 5% 100%, rgba(15, 163, 110, .25), transparent 60%);
  pointer-events: none;
}

.sf-hero-grid {
  position: relative;
  z-index: 2;
}

.sf-hero-text .crumb {
  color: rgba(255, 255, 255, .55);
}

.sf-hero-text .crumb a {
  color: rgba(255, 255, 255, .8);
}

.sf-hero-text h1 {
  font-size: 34px;
  font-weight: 600;
  max-width: 760px;
  margin: 16px 0 14px;
  color: #fff;
}

.sf-hero-text p.lead {
  color: rgba(255, 255, 255, .68);
  font-size: 15.5px;
  max-width: 640px;
  margin-bottom: 20px;
}

.sf-stats-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 18px;
}

.sf-stats-row .course-rating small {
  color: rgba(255, 255, 255, .55);
  font-weight: 400;
}

.sf-trainer-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
}

.sf-subnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 251, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.sf-subnav-inner {
  display: flex;
  gap: 30px;
  overflow-x: auto;
}

.sf-subnav-link {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.sf-subnav-link.active,
.sf-subnav-link:hover {
  color: var(--navy);
  border-color: var(--orange);
}

.sf-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.sf-block {
  margin-bottom: 44px;
  scroll-margin-top: 80px;
}

.sf-block h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sf-block p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.75;
}

.sf-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.sf-info-grid>div {
  background: var(--paper-alt);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sf-info-grid i {
  color: var(--blue);
  font-size: 16px;
}

.sf-info-grid b {
  display: block;
  font-size: 13.5px;
}

.sf-info-grid span {
  font-size: 11px;
  color: var(--grey);
}

.sf-curriculum {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.sf-chap {
  border-bottom: 1px solid var(--line);
}

.sf-chap:last-child {
  border-bottom: none;
}

.sf-chap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--paper-alt);
  font-size: 14.5px;
  font-weight: 600;
}

.sf-chap-head i {
  margin-right: 10px;
  transition: transform .3s;
  color: var(--blue);
}

.sf-chap.open .sf-chap-head i {
  transform: rotate(180deg);
}

.sf-chap-meta {
  font-size: 12px;
  color: var(--grey);
  font-weight: 500;
}

.sf-chap-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.sf-chap.open .sf-chap-body {
  max-height: 400px;
}

.sf-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.sf-lesson i {
  color: var(--green);
  width: 14px;
}

.sf-lesson span {
  margin-left: auto;
  color: var(--grey);
  font-size: 12px;
}

.sf-trainer-stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--grey);
}

.sf-trainer-stats b {
  color: var(--navy);
  font-family: 'Space Grotesk';
}

.sf-review-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sf-review-score {
  font-family: 'Space Grotesk';
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
}

.sf-review-score span {
  font-size: 15px;
  color: var(--grey);
  font-weight: 400;
}

.sf-review-count {
  font-size: 13px;
  color: var(--grey);
}

.sf-review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.sf-sidebar {
  position: sticky;
  top: 90px;
}

.sf-purchase-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 42, 92, .25);
}

.sf-purchase-img {
  height: 190px;
  overflow: hidden;
}

.sf-purchase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-purchase-body {
  padding: 24px;
}

.sf-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.sf-old-price {
  font-size: 13px;
  color: var(--grey-light);
  text-decoration: line-through;
}

.sf-buy-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.sf-includes {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.sf-includes-title {
  color: var(--navy);
  margin-bottom: 14px;
  display: block;
}

.sf-include-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 12px;
}

.sf-include-row i {
  color: var(--blue);
  width: 16px;
}

/* =================================================================
   19. RESPONSIVE — regroupé par page
   ================================================================= */

.aureo-burger {
  width: 30px;
  height: 20px;
  display: none;
  justify-content: space-between;
  flex-direction: column;
}

.aureo-burger i {
  border: 0.2px solid var(--white);
  width: 100%;
  display: block;
  will-change: border-color;
  transition: border-color .3s ease-in-out;
}

.scrolled .aureo-burger i {
  border: 0.2px solid rgb(66, 66, 66);
  ;
}

.aureo-mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  transform-origin: right;
  transform: translateX(100%);
  z-index: 9999;
  background-color: var(--white);
  min-width: 400px;
  height: 100vh;
  overflow-y: auto;
  transition: all .5s var(--aureo-ease);
}

.aureo-mobile-menu.active {
  transform: translate(0);
}

.aureo-mobile-menu-container {
  height: 100%;
  position: relative;
  padding-top: 80px;
}

.aureo-menu-close {
  position: absolute;
  padding: 10px 0;
  top: 8px;
  left: 8px;
  display: flex;
  justify-content: left;
  align-items: center;
  color: var(--orange);
}

.aureo-menu-close .aureo-close-icon {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aureo-menu-close svg {
  width: 100%;
  height: 100%;
}

.aureo-menu-close svg path {
  stroke-width: 0.5;
  stroke: var(--orange);
}

.mobile-menu-login-register {
  background-color: var(--blue-bright);
  padding: 20px 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu-login-register .aureo-auth {
  padding: 10px;
  background-color: var(--white);
  color: var(--blue-bright);
  border-radius: var(--radius);
}

.aureo-auth a {
  text-align: center;
  display: flex;
  justify-content: center;
}

.top_heading_out.no-line-title {
  display: none !important;
}


/* =================================================================
   REGLES HERITEES DE STYLE.CSS UNIQUEMENT
   (selecteurs sans equivalent dans new-style.css — ex : ancien menu
   utilisateur .aureo-home-profile / .aureo-home-menu, ancien header
   sticky, ancienne nav mobile .aureo-modile-nav)
   ================================================================= */

/* ---------- 5. TOPBAR + HEADER + NAVIGATION ---------- */

header,
.aureo-new-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: rgba(245, 247, 251, 0);
  border-bottom: 1px solid rgba(241, 241, 241, 0.068);
  padding: 12px 0;
  will-change: all;
  transition: all .5s ease-in-out;
}

header.scrolled,
.aureo-new-header.scrolled {
  padding: 0;
  border-color: var(--line);
  background: rgba(245, 247, 251, 0.788);
  backdrop-filter: blur(4px);
}

/* ========== MODIF CUSTOM ============== */
header nav a {
  color: white;
  transition: all .5s var(--aureo-ease);
}

header .nav-inner nav ul li a {
  color: white;
  transition: all .5s var(--aureo-ease);
}

header .nav-inner nav ul li a.active {
  color: var(--orange);
}

header.scrolled .nav-inner nav ul li a {
  color: rgb(77, 77, 77);
}

header.scrolled nav a.active {
  color: var(--orange);
}

/* ========== END MODIF CUSTOM ============== */

.aureo-modile-nav ul {
  flex-direction: column;
  gap: 0;
}

.aureo-modile-nav ul li {
  padding: 6px 20px;
  margin: 0 10px;
  position: relative;
  border-bottom: 1px solid rgb(230, 230, 230);
  border-top: 1px solid rgb(230, 230, 230);
  top: -2px;
}

.aureo-modile-nav ul li a {
  display: flex;
  text-align: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.aureo-modile-nav ul li a::after {
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center;
}

.aureo-home-profile {
  position: relative;
  cursor: pointer;
}

.aureo-home-profile span::after {
  content: "\f107";
  font-family: "eduma-icon";
  margin-left: 4px;
  font-size: 12px;
}

header .nav-inner .nav-right .aureo-home-profile span {
  color: var(--white);
  transition: all .5s var(--aureo-ease);
}

header.scrolled .nav-inner .nav-right .aureo-home-profile span {
  color: var(--blue);
}

.aureo-home-profile span:hover,
.aureo-home-profile:hover span {
  color: var(--orange);
}

.aureo-home-profile.aureo-auth a {
  padding: 5px 12px;
  background: var(--blue);
  color: white;
  border-radius: 30px;
  font-size: 10px;
}

.aureo-home-profile.aureo-auth a:hover {
  background: var(--orange);
}

.aureo-home-menu {
  position: fixed;
  right: 10px;
  top: calc(100px + 10px);
  width: 250px;
  min-height: 50px;
  z-index: 999;
  background: white;
  padding: 10px;
  border-radius: 10px;
  visibility: hidden;
  transform-origin: bottom;
  transform: translateY(-5px);
  opacity: 0;
  transition: all .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.aureo-home-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5px);
}

.aureo-home-menu .loggout {
  color: red;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.aureo-home-menu .aureo-home-avatar * {
  margin: 2px;
}

.aureo-home-menu .aureo-home-avatar a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.aureo-home-menu .aureo-home-avatar a img {
  width: 84px;
  height: 84px;
  border-radius: 45px;
}

.aureo-home-menu-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aureo-home-menu-items ul li {
  margin: 0;
  bottom: -1px;
  transition: all .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.aureo-home-menu-items ul li a {
  text-decoration: none;
  padding: 3px 10px;
  width: 100%;
  display: block;
  font-size: 14px;
}

.aureo-home-menu-items ul li a:hover {
  color: var(--blue);
}

/* ---------- 6. BANNIÈRE DE PAGE (sous-pages) + FIL D'ARIANE + FILTRES ---------- */

.filters,
.aureo_filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.aureo_filter {
  margin: 3px 0;
}

.aureo_pill,
.pill {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  transition: all .3s;
}

.aureo_pill.dark,
.pill.dark {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}

.aureo_pill.light,
.pill.light {
  border: 1px solid rgba(0, 0, 0, .18);
  background: rgba(0, 0, 0, .08);
}

.aureo_pill.active,
.pill.active,
.aureo_pill:hover,
.pill:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* =========== NEW EVENTS FILTER ====================== */
.aureo-ct-filter {
  width: 300px;
  height: auto;
  min-height: 200px;
  padding: 20px;
  background-color: white;
  position: sticky;
  top: 100px;
  z-index: 10;
  transform-origin: left;
  display: flex;
  flex-direction: column;
  align-items: start;
  border-radius: 20px;

}

.select-pill {
  background-color: var(--blue);
  border-color: var(--blue);
  padding: 10px 18px;
  border-radius: 100px;
  color: white;
  margin-bottom: 10px;
  outline-style: none;
  font-size: 14px;
  width: 100%;
}

.aureo-event-filter-close {
  background-color: transparent !important;

  padding: 10px 18px;
  border-radius: 100px;
  color: var(--blue) !important;
  border: 1px solid var(--blue);
}

.aureo-ct-filter.active {
  transform: translateX(0);
}

.aureo-event-filter-cta {
  padding-bottom: 20px;
}

.aureo-ct-filter .filter-title {
  margin-bottom: 10px;
}

.aureo-ct-filter .filter-title h3 {
  color: gray;
  font-size: 15px;
  font-weight: 400;
}


/* ===== PROCESS (how it works) ===== */

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}

.proc-step {
  text-align: center;
  padding: 0 18px;
  position: relative;
}

.proc-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.proc-step h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.proc-step p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.55;
}

/* popover de détail (catalogue Formations) */

.course-cell:hover {
  z-index: 10;
}

/* ===================COUNT DOWN ==================== */

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.digits {
  display: flex;
  justify-content: center;
}

.digit-slot {
  position: relative;
  width: 13px;
  height: 18px;
  overflow: hidden;
  font-weight: 600;
  font-size: 3.1rem;
  line-height: 1;
  color: var(--navy);
}

.digit-face {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
  will-change: transform;
  font-size: 16px !important;
}

.unit-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
}

/* =================================================================
   18. PAGE PROFIL UTILISATEUR (dashboard)
   ================================================================= */

.aureo-profile-tab-content {
  display: none;
}

.aureo-profile-tab-content.active {
  display: block;
}

/* =================================================================
   19. RESPONSIVE — regroupé par page
   ================================================================= */

.aureo-divider {
  border-top: 1px solid rgb(221, 221, 221);
  margin: 15px 0;
}

body.thim-popup-active .ScrollSmoother-wrapper {
  z-index: 99;
}

.se-cover-content .status,
.se-cover-content .type-badge {
  position: inherit !important;
}


/* =================================================================
   MEDIA QUERIES
   ================================================================= */

@media only screen and (max-width: 590px) {

  /* --- regles heritees de style.css uniquement pour cette media query --- */

  .logo span {
    width: 50px;
    height: 50px;
    overflow: hidden;
  }

}

@media screen and (min-width: 768px) {

  /* --- regles heritees de style.css uniquement pour cette media query --- */

  .process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    position: relative;
  }

}

@media screen and (min-width: 1024px) {

  /* --- regles heritees de style.css uniquement pour cette media query --- */

  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }

}

@media (max-width:600px) {

  /* --- regles heritees de style.css uniquement pour cette media query --- */

  .countdown {
    gap: 22px;
  }

}

@media (prefers-reduced-motion: reduce) {

  /* --- regles heritees de style.css uniquement pour cette media query --- */

  .digit-face {
    transition: none !important;
  }

}

@media(max-width:1300px) {
  .course-popover {
    display: none;
  }
}

@media(max-width:1024px) {
  .aureo-home-profile span {
    display: none;
  }

  nav {
    display: none;
  }

  .aureo-burger {
    display: flex;
  }

  /* accueil */

  .hero-grid,
  .about-grid,
  .corp-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid,
  .course-grid,
  .feat-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-grid,
  .event-card {
    grid-template-columns: 1fr;
  }

  .stats-strip .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* formations */

  .events-list .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* a-propos */

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .val-grid,
  .team-grid,
  .stats2-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* b2b / formateur */

  .b2b-hero-grid,
  .form-grid,
  .f-hero-grid,
  .crit-grid,
  .prob-grid,
  .offer-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }

  .proc-grid,
  .proc2-grid,
  .ap-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .proc-grid::before,
  .proc2-grid::before,
  .ap-grid::before {
    display: none;
  }

  .offer-card.featured {
    transform: none;
  }

  /* recherche */

  .layout-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .result-item {
    grid-template-columns: 110px 1fr;
  }

  .r-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  /* profil */

  .dash-layout {
    grid-template-columns: 1fr;
  }

  .dash-side {
    display: none;
  }

  .dc-grid,
  .cert-grid,
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* single evenement / single formation */

  .se-layout,
  .sf-layout {
    grid-template-columns: 1fr;
  }

  /* .se-sidebar,
  .sf-sidebar {
    position: static;
  } */

  .se-adjacent {
    grid-template-columns: 1fr;
  }

  .sf-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sf-review-grid {
    grid-template-columns: 1fr;
  }

  /* --- regles heritees de style.css uniquement pour cette media query --- */

  nav.aureo-desktop-nav {
    display: none !important;
  }

}

@media(max-width:640px) {
  .wrap {
    padding: 0 20px;
  }

  .sect-pad {
    padding: 70px 0;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  /* accueil */

  .hero h1 {
    font-size: 38px;
  }

  .cat-grid,
  .course-grid,
  .feat-grid,
  .testi-grid,
  .stats-strip .wrap {
    grid-template-columns: 1fr;
  }

  /* formations */

  .car-slide {
    flex-basis: 270px;
  }

  /* evenements / emploi */

  .events-list .event-grid {
    grid-template-columns: 1fr;
  }

  /* a-propos */

  .val-grid,
  .team-grid,
  .stats2-grid,
  .tl-row {
    grid-template-columns: 1fr;
  }

  /* b2b / formateur */

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

  /* profil */

  .dc-grid,
  .cert-grid,
  .f-row2 {
    grid-template-columns: 1fr;
  }

  .dash-main {
    padding: 28px 20px;
  }

  /* single evenement / single formation */

  .se-cover h1 {
    font-size: 26px;
  }

  .se-cover {
    height: 420px;
  }

  .sf-hero-text h1 {
    font-size: 26px;
  }

  .sf-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sf-subnav-inner {
    gap: 20px;
  }

}

.aureo-blur {
  backdrop-filter: blur(30px);
}

.thim-ekits-sliders {
  overflow: visible !important;
}


/* ================ SEARCH BAR NEW STYLE ========================= */
.aureo-search-bar {
  position: absolute;
  bottom: 0;
  transform: translateY(110%);
  z-index: 9999;
  left: 0;
  width: 100%;
  min-height: 10px;
  padding: 10px 30px;
  background: #ffffff1c;
  backdrop-filter: blur(20px);
  /* height: 100px; */
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.aureo-search-bar a {
  margin: 5px 0;
}

/* ============== SOUND BUTTON ======================= */
#sound-bars {
  position: relative;
  height: 24px;
  width: 40px;
  cursor: pointer;
}

#sound-bars .bar {
  position: absolute;
  width: 2px;
  height: 8px;
  transform-origin: center;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  will-change: transform;
}

header.scrolled #sound-bars .bar {
  background-color: gray;
}

header.scrolled #sound-bars.active .bar {
  background-color: orangered;
}

#sound-bars.active .bar {
  animation: bars-eq 0.9s ease-in-out infinite;
}

#sound-bars.active .bar:nth-child(1) {
  animation-delay: -0.55s;
}

#sound-bars.active .bar:nth-child(2) {
  animation-delay: -0.35s;
}

#sound-bars.active .bar:nth-child(3) {
  animation-delay: -0.62s;
}

#sound-bars.active .bar:nth-child(4) {
  animation-delay: -0.25s;
}

#sound-bars.active .bar:nth-child(5) {
  animation-delay: -0.45s;
}

#sound-bars.active .bar:nth-child(6) {
  animation-delay: -0.89s;
}

#sound-bars.active .bar:nth-child(7) {
  animation-delay: -0.17s;
}

#sound-bars.active .bar:nth-child(8) {
  animation-delay: -0.75s;
}

#sound-bars.active .bar:nth-child(9) {
  animation-delay: -0.61s;
}

#sound-bars.active .bar:nth-child(10) {
  animation-delay: -0.80s;
}

@keyframes bars-eq {

  0%,
  100% {
    transform: scaleY(3);
  }

  50% {
    transform: scaleY(0.8);
  }
}


/* ========== NEW EVENT FORM ================= */
:root {
  --navy: #16233D;
  --navy-soft: rgba(22, 35, 61, 0.6);
  --grey-line: rgba(22, 35, 61, 0.12);
  --grey-box: #EEF1F5;
  --green: #1FA971;
  --red: #E5402C;
  --orange: #FF8A3D;
  --orange-deep: #E85D1F;
}



/* ============ CARTE ============ */
.pay-card {
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border: 1px solid rgba(22, 35, 61, 0.08);
  border-radius: 26px;
  padding: 26px 15px 24px;
  box-shadow: 0 24px 60px -30px rgba(22, 35, 61, 0.35);
}

.pay-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 18px;
}

/* ============ LIGNES INFO (pointillés) ============ */
.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--grey-line);
}

.pay-row-label {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

.pay-row-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.pay-row-value.green {
  color: var(--green);
}

.pay-row-value.red {
  color: var(--red);
}

/* ============ SÉLECTEUR DE TRANCHES ============ */
.pay-tranches-block {
  padding: 14px 0;
  border-bottom: 1px dashed var(--grey-line);
}

.pay-row-label+.pay-segmented {
  margin-top: 10px;
}

.pay-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: var(--grey-box);
  border-radius: 11px;
  padding: 4px;
  margin-top: 10px;
}

.pay-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-segmented label {
  line-height: 1.6;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.pay-segmented .seg-title {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy);
}

.pay-segmented .seg-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--navy-soft);
}

.pay-segmented input:checked+label {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 6px 14px -6px rgba(232, 93, 31, 0.55);
}

.pay-segmented input:checked+label .seg-title,
.pay-segmented input:checked+label .seg-sub {
  color: #fff;
}

.pay-segmented input:focus-visible+label {
  outline: 2px solid var(--orange-deep);
  outline-offset: 2px;
}

/* ============ ÉCHÉANCIER (si plusieurs tranches) ============ */
.pay-schedule {
  margin-top: 12px;
  background: var(--grey-box);
  border-radius: 12px;
  padding: 4px 12px;
  display: none;
}

.pay-schedule.is-visible {
  display: block;
}

.pay-sched-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  line-height: 1;
}

.pay-sched-row:not(:last-child) {
  border-bottom: 1px dashed rgba(22, 35, 61, 0.1);
  line-height: 1.6;
}

.pay-sched-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pay-sched-row:nth-child(1) .pay-sched-dot {
  background: #2158C4;
}

.pay-sched-row:nth-child(2) .pay-sched-dot {
  background: var(--green);
}

.pay-sched-row:nth-child(3) .pay-sched-dot {
  background: var(--orange-deep);
}

.pay-sched-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pay-sched-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.pay-sched-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-soft);
  margin-top: 1px;
}

.pay-sched-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
}

/* ============ MOYENS DE PAIEMENT ============ */
.pay-methods {
  padding: 14px 0;
}

.pay-methods-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 10px;
}

.pay-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pay-icons span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: #fff;
  background: var(--navy);
  padding: 5px 7px;
  border-radius: 5px;
  opacity: 0.85;
}

/* ============ CTA ============ */
.pay-submit {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border: none;
  padding: 12px 15px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(232, 93, 31, 0.6);
  transition: transform 0.2s ease;
  margin-top: 6px;
}

.pay-submit:hover {
  transform: translateY(-1px);
}

.pay-submit:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 2px;
}

.pay-helper {
  font-size: 12px;
  line-height: 1.5;
  color: var(--navy-soft);
  margin: 12px 0 0;
}

/* =================== SINGLE PAGE EVENT STYLE */
#main .summary *:not(p):not(button):not(::after):not(h6):not(h5) {
  color: var(--thim-primary-color);
}

#main>div.summary.entry-summary>div.entry-content>*:not(p):not(span):not(li):not(ul) {
  color: var(--thim-primary-color);
}

@media only screen and (max-width: 768px) {
  #thim-body>section>div.container.sidebar-right.site-content>div.row {
    display: flex;
    flex-direction: column-reverse;
  }
}