/* ===== FORMATION PAGE - STYLES SPÉCIFIQUES ===== */

/* ===== BARRE FINANCEMENT (TOP BAR) ===== */
.formation-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 9px 24px;
}

.ftb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ftb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.ftb-gratuit {
  background: var(--gradient);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ftb-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ftb-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ftb-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Supprime le fond blanc des PNGs sur fond clair */
  mix-blend-mode: multiply;
}

.ftb-logo-sep {
  width: 1px;
  height: 22px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.ftb-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}
.ftb-cta:hover { color: var(--orange); gap: 6px; }

/* Masquer sur mobile petit */
@media (max-width: 860px) {
  .ftb-cta { display: none; }
  .ftb-text { display: none; }
}
@media (max-width: 560px) {
  .ftb-logos { display: none; }
  .ftb-gratuit { font-size: 0.65rem; }
  .ftb-left { justify-content: center; }
}

/* ===== NAV FORMATION (7 entrees) =====
   Empeche le retour a la ligne des libelles et bascule sur le menu
   burger plus tot que l'accueil, car la formation a 7 entrees longues. */
.nav-links a { white-space: nowrap; }

@media (min-width: 1025px) {
  .nav-container { gap: 20px; }
  .nav-links { gap: 4px; }
  .nav-links a { font-size: 0.82rem; padding: 8px 12px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { white-space: normal; border-radius: var(--radius-sm); }
  .nav-cta { text-align: center; }
}

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 28px;
  transition: var(--transition);
  padding: 6px 0;
}
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--red); }

/* ===== HERO FORMATION ===== */
.form-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: var(--white);
}

.form-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.form-hero-content .hero-eyebrow { margin-bottom: 20px; }
.form-hero-content .hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}
.form-hero-content .hero-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.form-hero-content .hero-subtitle strong { color: var(--dark); }
.form-hero-content .hero-actions { margin-bottom: 36px; }

.form-hero-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fhb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.fhb-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ===== BLOC GRATUIT HERO ===== */
.hero-gratuit-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hgb-price {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
}
.hgb-price svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hgb-crossed {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  color: var(--gray-500);
}

.hgb-gratuit {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
/* Soulignement dégradé sous GRATUIT */
.hgb-gratuit::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  opacity: 0.35;
}

.hgb-note {
  font-size: 0.775rem;
  color: var(--gray-500);
  line-height: 1.4;
  max-width: 200px;
}

/* Bloc logos financement dans le hero */
.hero-financement {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hf-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.hf-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hf-logo-wrap {
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.hf-logo-wrap:hover { opacity: 0.8; }

.hf-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.hf-logo-sep {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* .hf-gratuit supprimé - remplacé par .hgb-gratuit dans le hero */

/* Hero visuel */
.form-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.fhv-card--main {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  width: 360px;
  position: relative;
  z-index: 2;
}

.fhv-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.fhv-offers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fhv-offer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.fhv-offer:first-child { padding-top: 0; }
.fhv-offer:last-child { padding-bottom: 0; }

.fhv-offer-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.fhv-offer-icon svg { width: 24px; height: 24px; }

.fhv-offer div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fhv-offer strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--dark);
}
.fhv-offer span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.fhv-divider {
  height: 1px;
  background: var(--gray-100);
}

.fhv-stat {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
  z-index: 3;
}
.fhv-stat--1 { top: 40px; right: -10px; }
.fhv-stat--2 { bottom: 60px; left: -20px; }
.fhv-stat .stat-number {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fhv-stat .stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* Blobs de fond */
.form-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  top: 10%;
  right: 5%;
  width: 480px;
  height: 480px;
  background: var(--gradient-glow-orange);
}
.blob-2 {
  bottom: 5%;
  left: 3%;
  width: 340px;
  height: 340px;
  background: var(--gradient-glow-red);
}

/* ===== OFFER SECTIONS ===== */
.offer-section {
  padding: 100px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.offer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(240,126,38,0.06) 0%, transparent 55%),
              radial-gradient(ellipse at 10% 90%, rgba(227,6,23,0.04) 0%, transparent 55%);
  pointer-events: none;
}

.offer-section--dark {
  background: var(--dark);
}
.offer-section--dark::before {
  background: radial-gradient(ellipse at 10% 20%, rgba(240,126,38,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 90% 80%, rgba(227,6,23,0.1) 0%, transparent 50%);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.offer-grid--reverse { direction: rtl; }
.offer-grid--reverse > * { direction: ltr; }

/* Offer content */
.offer-number {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  margin-bottom: -24px;
  user-select: none;
}
.offer-number--light { opacity: 0.2; }

.offer-title {
  margin-bottom: 20px;
}

.offer-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
}
.offer-desc strong { color: var(--dark); }

.offer-desc--light {
  color: rgba(255,255,255,0.65);
}
.offer-desc--light strong { color: var(--white); }

/* Highlights */
.offer-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.oh-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.oh-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.oh-icon svg { width: 20px; height: 20px; }
.oh-icon--light {
  background: rgba(255,255,255,0.1);
  color: var(--orange);
}

.oh-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.oh-item strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.offer-highlights--light .oh-item strong { color: var(--white); }
.oh-item span {
  font-size: 0.8375rem;
  color: var(--gray-500);
}
.offer-highlights--light .oh-item span { color: rgba(255,255,255,0.5); }

/* Offer panels */
.offer-panel {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-100);
  position: sticky;
  top: 100px;
}

.offer-panel--groupe {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.op-header { margin-bottom: 24px; }

.op-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--gradient-soft);
  padding: 6px 14px;
  border-radius: 50px;
}
.op-badge--light {
  color: var(--orange);
  background: rgba(240,126,38,0.12);
}

.op-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.op-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.op-list li svg {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  color: var(--red);
}
.op-list--light li {
  color: rgba(255,255,255,0.75);
}
.op-list--light li svg { color: var(--orange); }

.op-for {
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 20px;
}
.op-for--light { border-top-color: rgba(255,255,255,0.1); }

.op-for-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.op-for--light .op-for-label { color: rgba(255,255,255,0.4); }

.op-for-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.op-for--light .op-for-text { color: rgba(255,255,255,0.55); }
.op-for-text strong { color: var(--dark); }
.op-for--light .op-for-text strong { color: rgba(255,255,255,0.85); }

.op-gratuit-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(240,126,38,0.08);
  padding: 10px 16px;
  border-radius: 8px;
}
.op-gratuit-tag svg { width: 16px; height: 16px; flex-shrink: 0; }
.op-gratuit-tag--light {
  background: rgba(240,126,38,0.12);
  color: var(--orange);
}

/* ===== THÈMES ===== */
.themes-section {
  padding: 100px 0;
  background: var(--white);
}

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

.theme-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.theme-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
  transform: translateY(-5px);
  background: var(--white);
}
.theme-card:hover::after { transform: scaleX(1); }

.theme-card--featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.theme-card--featured::after { background: var(--gradient); }
.theme-card--featured:hover { background: var(--dark); border-color: var(--dark); }

.tc-icon { font-size: 2.25rem; }

.theme-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.theme-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}
.theme-card--featured p { color: rgba(255,255,255,0.6); }

.tc-tools {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  margin-top: 4px;
}
.theme-card--featured .tc-tools { border-top-color: rgba(255,255,255,0.1); }

.tc-tools li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}
.theme-card--featured .tc-tools li { color: rgba(255,255,255,0.65); }
.tc-tools li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* ===== PROCESSUS ===== */
.process-section {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0 24px;
  position: relative;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }

.ps-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.ps-content {
  flex: 1;
}
.ps-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.ps-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.ps-arrow {
  position: absolute;
  top: 20px;
  right: -8px;
  font-size: 1.5rem;
  color: var(--gray-200);
  font-weight: 300;
  z-index: 2;
}
.ps-arrow--hidden { display: none; }

/* ===== GOW SECTION ===== */
.gow-section {
  padding: 80px 0;
  background: var(--dark);
}

/* ===== MICRO CTAs ===== */
.micro-cta {
  background: var(--dark);
  padding: 28px 0;
}
.micro-cta--light {
  background: var(--gray-100);
}
.micro-cta--gradient {
  background: var(--gradient);
}

.micro-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.micro-cta p {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.micro-cta--light p {
  color: var(--dark);
}
.micro-cta--gradient p {
  color: rgba(255,255,255,0.9);
}
.micro-cta p strong {
  color: var(--white);
}
.micro-cta--light p strong {
  color: var(--dark);
}
.micro-cta--light .btn-primary {
  background: var(--gradient);
  color: var(--white);
}

@media (max-width: 640px) {
  .micro-cta-inner { flex-direction: column; text-align: center; }
}

/* ===== CONDITIONS ===== */
.conditions-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.conditions-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px;
  transition: var(--transition);
}
.conditions-card--main {
  border-top: 4px solid var(--red);
}
.conditions-card:hover {
  box-shadow: var(--shadow-lg);
}

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

.cond-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.cond-icon svg { width: 22px; height: 22px; }

.cond-header h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.cond-intro {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cond-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.cond-link:hover { color: var(--orange); }

.cond-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cond-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.cond-list li svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.cond-list li strong { color: var(--dark); }

/* Montants financiers */
.cond-amounts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}

.cond-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.cond-amount-row:last-child { border-bottom: none; }

.cond-amount-row--highlight {
  background: rgba(227, 6, 23, 0.04);
}

.cond-amount-row--refund {
  background: rgba(34, 197, 94, 0.06);
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

.cond-amount-row--bonus {
  background: rgba(240, 126, 38, 0.05);
}

.cond-amount-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  flex: 1;
}
.cond-amount-label svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.cond-amount-row--refund .cond-amount-label { color: #16a34a; }
.cond-amount-row--bonus .cond-amount-label { color: var(--orange); }

.cond-amount-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
  white-space: nowrap;
}
.cond-amount-value--red {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modalites financieres - comparatif par format (groupe / coaching) */
.cond-formats-intro {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 18px;
}
.cond-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.cond-format {
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  background: var(--white);
  transition: var(--transition);
}
.cond-format:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cond-format-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 10px;
}
.cond-format-total {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray-700);
  opacity: 0.7;
  margin-bottom: 4px;
}
.cond-format-total strong { font-weight: 800; }
.cond-format-share {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.cond-format-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
}

.cond-final {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1.5px solid rgba(34, 197, 94, 0.22);
  margin-bottom: 14px;
}
.cond-final-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cond-final-icon svg { width: 22px; height: 22px; }
.cond-final-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cond-final-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #15803d;
}
.cond-final-value {
  font-size: 1.3rem;
  font-weight: 900;
  color: #16a34a;
}

.cond-tva-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
}
.cond-tva-note svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Note bas de section */
.conditions-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--dark);
  border-radius: 16px;
  padding: 28px 36px;
  flex-wrap: wrap;
}
.conditions-note svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
  flex-shrink: 0;
}
.conditions-note p {
  flex: 1;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  min-width: 220px;
}

/* ===== CONTACT CARDS MULTIPLES ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  position: relative;
  top: auto;
}

.contact-info-card--formation {
  position: sticky;
  top: 100px;
}

.cic-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.cic-badge--gow {
  background: rgba(240,126,38,0.12);
  color: var(--orange);
}

.cic-gow-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cic-gow-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.contact-info-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-info-card > p {
  font-size: 0.825rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===== FAQ (gardé pour référence) ===== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); color: var(--red); }
.faq-question[aria-expanded="true"] { background: var(--gray-50); color: var(--red); }

.faq-question span { flex: 1; }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-500);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  display: none;
  padding: 0 32px 24px;
}
.faq-answer.open { display: block; }
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
}
.faq-answer strong { color: var(--dark); font-weight: 700; }

/* ===== CONTACT BADGE ===== */
.contact-formation-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(240,126,38,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  text-align: left;
}
.contact-formation-badge svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-formation-badge span {
  font-size: 0.8375rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.contact-formation-badge strong {
  color: var(--dark);
  font-weight: 800;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ps-arrow { display: none; }
  .conditions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .form-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .form-hero-content .hero-subtitle { max-width: 100%; margin: 0 auto 36px; }
  .form-hero-content .hero-actions { justify-content: center; }
  .form-hero-badges { align-items: center; }
  .form-hero-visual { min-height: 360px; }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .offer-grid--reverse { direction: ltr; }
  .offer-panel { position: static; }
}

@media (max-width: 768px) {
  .form-hero { padding: 100px 0 60px; }
  .fhv-card--main { width: 100%; max-width: 340px; }
  .fhv-stat { display: none; }

  .offer-section { padding: 72px 0; }
  .offer-number { font-size: 3.5rem; margin-bottom: -16px; }

  .themes-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .process-step { padding: 0; }

  .conditions-grid { grid-template-columns: 1fr; }
  .conditions-note { flex-direction: column; text-align: center; padding: 24px; }
  .conditions-card { padding: 24px; }
  .cond-formats { grid-template-columns: 1fr; }

  .contact-info-card--formation { position: static; }

  .faq-question { padding: 20px 24px; font-size: 0.9375rem; }
  .faq-answer { padding: 0 24px 20px; }

  .gow-section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .offer-panel { padding: 24px; }
  .fhv-card--main { padding: 24px; }
}

/* ===========================================================
   ===== V2 - PROGRAMME IA 5 JOURS ===========================
   =========================================================== */

/* Bouton outline blanc pour zone sombre */
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
}

.groupe-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Section programme ---------- */
.programme-ia {
  position: relative;
  padding: 120px 0 100px;
  background:
    radial-gradient(circle at 15% 8%, rgba(240,126,38,0.10) 0%, transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(227,6,23,0.08) 0%, transparent 55%),
    linear-gradient(180deg, #161615 0%, #1E1E1C 100%);
  color: var(--white);
  overflow: hidden;
}
.programme-ia::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 75%);
}
.programme-ia > * { position: relative; z-index: 1; }

/* Programme hero */
.prog-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}

.prog-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(227,6,23,0.25);
}
.prog-tag svg { width: 14px; height: 14px; }

.programme-ia .section-title.light {
  font-size: clamp(2rem, 4.3vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.prog-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 560px;
}
.prog-lead strong { color: var(--white); }

.prog-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 540px;
}
.phs-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}
.phs-item:hover {
  border-color: rgba(240,126,38,0.55);
  background: rgba(240,126,38,0.06);
  transform: translateY(-3px);
}
.phs-item strong {
  font-size: 1.55rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.phs-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

.prog-pitch {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}
.prog-pitch::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gradient);
  border-radius: 0 0 4px 4px;
}
.pp-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.prog-pitch p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 14px;
}
.prog-pitch p:last-child { margin-bottom: 0; }
.prog-pitch p strong { color: var(--white); }

/* ---------- Programme jours ---------- */
.prog-days-header {
  text-align: center;
  margin-bottom: 36px;
}
.prog-days-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-top: 8px;
}

.prog-days-wrap {
  margin-bottom: 100px;
}

.prog-days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.day-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px 22px 64px;
  text-align: left;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), border-color 0.3s, background 0.3s;
  overflow: hidden;
  min-height: 230px;
}
.day-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,126,38,0.10) 0%, rgba(227,6,23,0.05) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.day-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.day-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,126,38,0.45);
}
.day-card:hover::before { opacity: 1; }
.day-card:hover::after  { transform: scaleX(1); }
.day-card.is-active {
  border-color: var(--orange);
  background: rgba(240,126,38,0.08);
}
.day-card.is-active::after { transform: scaleX(1); }

.dc-number {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.dc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.dc-summary {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.dc-arrow {
  position: absolute;
  bottom: 20px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.dc-arrow svg { width: 16px; height: 16px; }
.day-card:hover .dc-arrow {
  background: var(--gradient);
  border-color: transparent;
  transform: translateX(4px);
}

/* ---------- Drawer latéral ---------- */
.day-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 998;
}
.day-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.day-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(560px, 100vw);
  height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(240,126,38,0.15) 0%, transparent 55%),
    linear-gradient(180deg, #1E1E1C 0%, #0e0e0d 100%);
  color: var(--white);
  box-shadow: -30px 0 80px rgba(0,0,0,0.5);
  z-index: 999;
  padding: 80px 48px 48px;
  overflow-y: auto;
  transform: translateX(100%);
  /* visibility: hidden en l'etat ferme -> neutralise l'ombre portee qui debordait sur le bord droit ; le delai 0.45s laisse l'animation de fermeture se jouer avant de masquer */
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.45s;
}
.day-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), visibility 0s;
}

.day-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.day-drawer-close:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: rotate(90deg);
}
.day-drawer-close svg { width: 18px; height: 18px; }

.day-panel {
  display: none;
  animation: panelFade 0.4s cubic-bezier(0.4,0,0.2,1);
}
.day-panel.is-visible { display: block; }
@keyframes panelFade {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.dp-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(240,126,38,0.10);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.dp-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dp-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dp-section { margin-bottom: 28px; }
.dp-section h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.dp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dp-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.dp-list li strong { color: var(--white); font-weight: 700; }
.dp-list li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.dp-takeaway {
  background: rgba(240,126,38,0.06);
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.dp-cta { margin-top: 24px; }

/* ---------- Outils maîtrisés ---------- */
.prog-tools {
  margin-bottom: 100px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.tool-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}
.tool-chip:hover {
  border-color: rgba(240,126,38,0.45);
  background: rgba(240,126,38,0.06);
  transform: translateY(-3px);
}
.tool-chip strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}
.tool-chip span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ---------- Méthode RCT ---------- */
.prog-rct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 100px;
  padding: 56px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(240,126,38,0.10) 0%, rgba(227,6,23,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.prog-rct::before {
  content: 'RCT';
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 14rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.rct-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.rct-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.rct-letter {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rct-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}

.rct-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.rct-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px 22px;
  transition: var(--transition);
}
.rct-card:hover {
  border-color: var(--orange);
  background: rgba(240,126,38,0.08);
  transform: translateX(6px);
}
.rct-card-label {
  grid-row: 1 / 3;
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.rct-card strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.rct-card span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Bibliothèque ---------- */
.prog-library {
  position: relative;
  margin-bottom: 100px;
  padding: 60px;
  border-radius: 32px;
  background: var(--gradient);
  overflow: hidden;
}
.prog-library::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.15) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.library-inner { position: relative; z-index: 1; }

.lib-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.lib-badge svg { width: 14px; height: 14px; }

.lib-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.lib-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 620px;
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lib-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}
.lib-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.30);
}
.lib-icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.lib-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.lib-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ---------- Pour qui ---------- */
.prog-target {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 100px;
}
.pt-title.light {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}
.pt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pt-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.pt-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-prereq {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid rgba(255,255,255,0.25);
  border-radius: 0 10px 10px 0;
}
.pt-prereq strong { color: var(--white); }

.pt-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 36px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.pt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient);
}
.ptc-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.ptc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 24px;
}
.ptc-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.ptc-num {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.ptc-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ptc-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 22px;
}
.ptc-text strong { color: var(--white); }

/* ---------- Pourquoi ---------- */
.prog-why {
  margin-bottom: 20px;
}
.pw-title.light {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 8px 0 36px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 28px 24px;
  transition: var(--transition);
}
.why-card:hover {
  border-color: rgba(240,126,38,0.45);
  background: rgba(240,126,38,0.06);
  transform: translateY(-4px);
}
.wc-icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.why-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ===== RESPONSIVE PROGRAMME IA ===== */
@media (max-width: 1100px) {
  .prog-hero { grid-template-columns: 1fr; gap: 40px; }
  .prog-hero-stats { max-width: 100%; }
  .prog-days-grid { grid-template-columns: repeat(3, 1fr); }
  .prog-rct { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-target { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .programme-ia { padding: 80px 0 70px; }
  .prog-hero { margin-bottom: 60px; }
  .prog-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .prog-pitch { padding: 24px; }
  .prog-days-grid { grid-template-columns: 1fr; }
  .day-card { min-height: 0; padding: 22px 22px 60px; }
  .day-drawer { padding: 70px 28px 36px; width: 100vw; }
  .prog-days-wrap, .prog-tools, .prog-rct, .prog-library, .prog-target, .prog-why { margin-bottom: 60px; }
  .tools-grid, .lib-grid, .why-grid { grid-template-columns: 1fr; }
  .prog-library { padding: 36px 28px; }
  .pt-card { padding: 28px; }
  .ptc-num { font-size: 3rem; }
  .prog-rct::before { display: none; }
}
@media (max-width: 480px) {
  .groupe-actions { flex-direction: column; align-items: stretch; }
  .groupe-actions .btn { width: 100%; }
}

/* ===========================================================
   ===== AGENDA - PROCHAINE SESSION ==========================
   =========================================================== */
.next-session {
  position: relative;
  background: linear-gradient(135deg, rgba(240,126,38,0.10) 0%, rgba(227,6,23,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  padding: 44px 48px;
  margin: 0 0 100px;
  overflow: hidden;
  text-align: left;
}
.next-session::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}
.next-session::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(240,126,38,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Bascule entre les deux états */
.ns-state { display: none; position: relative; z-index: 1; }
.next-session .ns-state--open { display: block; }
.next-session.is-confirmed .ns-state--open { display: none; }
.next-session.is-confirmed .ns-state--confirmed { display: block; }

.ns-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 8px 16px 8px 14px;
  margin-bottom: 20px;
}
.ns-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(240,126,38,0.7);
  animation: nsPulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
.ns-pulse--confirmed .ns-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
}
.ns-pulse--confirmed { border-color: rgba(34,197,94,0.35); background: rgba(34,197,94,0.08); }
@keyframes nsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,126,38,0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(240,126,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,126,38,0); }
}
.ns-pulse--confirmed .ns-dot {
  animation-name: nsPulseGreen;
}
@keyframes nsPulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.ns-status {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
}

.ns-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.ns-title .ns-date {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ns-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 28px;
}
.ns-text strong { color: var(--white); }

.ns-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.ns-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 14px 16px;
}
.ns-meta-item svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}
.ns-meta-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ns-meta-item strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.ns-meta-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

.ns-cta { padding: 14px 28px; }

/* Compteur d'inscriptions */
.ns-progress {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.ns-progress-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.ns-progress-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.ns-progress-count {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.ns-progress-current {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ns-progress-sep {
  color: rgba(255,255,255,0.3);
  margin: 0 2px;
}
.ns-progress-total { color: rgba(255,255,255,0.55); }

.ns-progress-bar {
  position: relative;
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 12px;
}
.ns-progress-fill {
  position: absolute;
  top: 0; left: 0;
  bottom: 0;
  width: calc(var(--ns-progress-ratio, 0) * 100%);
  background: var(--gradient);
  border-radius: 50px;
  box-shadow: 0 0 14px rgba(240,126,38,0.55);
  animation: nsFillGrow 1.1s cubic-bezier(0.4,0,0.2,1) 0.2s;
  transform-origin: left center;
}
@keyframes nsFillGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.ns-progress-dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  pointer-events: none;
}
.ns-dot-step {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.4s ease, transform 0.4s ease;
}
.ns-dot-step.is-filled {
  background: var(--white);
  transform: scale(1.4);
}

.ns-progress-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.ns-progress-text strong {
  color: var(--white);
  font-weight: 800;
}

/* État "groupe presque complet" - visuellement plus urgent */
.ns-progress.is-almost-full {
  background: rgba(240,126,38,0.10);
  border-color: rgba(240,126,38,0.40);
}
.ns-progress.is-full {
  background: rgba(34,197,94,0.10);
  border-color: rgba(34,197,94,0.40);
}
.ns-progress.is-full .ns-progress-fill {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 0 14px rgba(34,197,94,0.55);
}
.ns-progress.is-full .ns-progress-current {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 720px) {
  .next-session { padding: 28px 24px; margin-bottom: 60px; }
  .ns-meta { grid-template-columns: 1fr; }
  .next-session::after { display: none; }
  .ns-progress { padding: 16px 18px; }
  .ns-progress-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ===========================================================
   ===== FORM HINT contextuel ================================
   =========================================================== */
.format-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(240,126,38,0.10) 0%, rgba(227,6,23,0.06) 100%);
  border: 1px solid rgba(240,126,38,0.30);
  border-radius: 12px;
  padding: 14px 18px;
  margin: -8px 0 18px;
  animation: fhSlide 0.35s cubic-bezier(0.4,0,0.2,1);
}
.format-hint[hidden] { display: none; }
.format-hint svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}
.format-hint > div { display: flex; flex-direction: column; gap: 4px; }
.format-hint strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dark);
}
.format-hint span {
  font-size: 0.84rem;
  color: var(--gray-700);
  line-height: 1.55;
}
@keyframes fhSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================================================
   ===== CONTACT FORM - V2 conditionnel ======================
   =========================================================== */

/* Sections conditionnelles */
.form-section[hidden] { display: none !important; }
.form-section {
  margin-bottom: 28px;
  animation: fsSlide 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fsSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fs-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.fs-step {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(240,126,38,0.10);
  padding: 5px 12px;
  border-radius: 50px;
}
.fs-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}
.fs-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ---------- ÉTAPE 1 - TRACK SELECTOR ---------- */
.track-selector {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
.ts-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0;
}
.ts-step {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(240,126,38,0.10);
  padding: 5px 12px;
  border-radius: 50px;
}
.ts-question {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.ts-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.ts-card {
  position: relative;
  cursor: pointer;
  display: block;
}
.ts-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ts-card-inner {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 22px 22px 18px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 100%;
}
.ts-card:hover .ts-card-inner {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.ts-card input[type="radio"]:focus-visible + .ts-card-inner {
  box-shadow: 0 0 0 3px rgba(240,126,38,0.30);
}
.ts-card input[type="radio"]:checked + .ts-card-inner {
  border-color: transparent;
  background: var(--gradient-soft);
  box-shadow: 0 8px 28px rgba(227,6,23,0.10);
}
.ts-card input[type="radio"]:checked + .ts-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ts-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 4px;
}
.ts-icon svg { width: 28px; height: 28px; }
.ts-card input[type="radio"]:checked + .ts-card-inner .ts-icon {
  background: var(--gradient);
  color: var(--white);
}

.ts-card-inner strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}
.ts-card-inner > span {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.ts-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}
.ts-check svg { width: 14px; height: 14px; }
.ts-card input[type="radio"]:checked + .ts-card-inner .ts-check {
  opacity: 1;
  transform: scale(1);
}

/* Option "Les deux" - choix secondaire */
.ts-also {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px dashed var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.ts-also:hover {
  border-color: var(--orange);
  background: rgba(240,126,38,0.04);
}
.ts-also input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  cursor: pointer;
}
.ts-also-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.ts-also:has(input[type="radio"]:checked) {
  border-style: solid;
  border-color: var(--red);
  background: var(--gradient-soft);
}

/* ---------- CHECKBOX CHIPS (Disponibilités) ---------- */
.cbg-label {
  display: block;
  margin-bottom: 10px;
}
.cbg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cbg-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}
.cbg-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cbg-chip:hover {
  border-color: var(--orange);
  color: var(--dark);
}
.cbg-chip:has(input[type="checkbox"]:checked) {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(227,6,23,0.20);
}

/* ---------- THEME CARDS (Coaching - sélection multi) ---------- */
.theme-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tc-pick {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.tc-pick input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tc-pick:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}
.tcp-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.tcp-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tcp-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}
.tcp-text em {
  font-size: 0.76rem;
  font-style: normal;
  color: var(--gray-500);
  line-height: 1.3;
}
.tcp-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.tcp-check svg { width: 12px; height: 12px; opacity: 0; transition: var(--transition); }
.tc-pick:has(input[type="checkbox"]:checked) {
  background: var(--gradient-soft);
  border-color: var(--red);
}
.tc-pick:has(input[type="checkbox"]:checked) .tcp-check {
  background: var(--gradient);
  border-color: transparent;
}
.tc-pick:has(input[type="checkbox"]:checked) .tcp-check svg { opacity: 1; }

/* ---------- HINT inline sous un select ---------- */
.form-hint-inline {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
  font-style: italic;
}

/* ---------- SUBMIT block ---------- */
.form-submit {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  animation: fsSlide 0.4s cubic-bezier(0.4,0,0.2,1);
}
.form-submit[hidden] { display: none !important; }
.form-submit .form-note { margin-top: 12px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .ts-options { grid-template-columns: 1fr; }
  .cbg-grid { grid-template-columns: 1fr 1fr; }
  .theme-cards { grid-template-columns: 1fr; }
  .ts-legend { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 420px) {
  .cbg-grid { grid-template-columns: 1fr; }
}
