/* ═══════════════════════════════════════════════════════════
   ADÉDOM FORMATION — Feuille de styles partagée
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --purple-dark: #5A1A78;
  --purple:      #7B2D9B;
  --purple-lt:   #A855C8;
  --pink:        #D61680;
  --pink-lt:     #E84DA0;
  --teal:        #0A7B8A;
  --cream:       #F9F5FB;
  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #F0EBF4;
  --gray-300:    #C5B8CE;
  --gray-600:    #6B7280;
  --gray-800:    #1F2937;
  --shadow:      0 4px 24px rgba(90,26,120,.10);
  --shadow-lg:   0 12px 48px rgba(90,26,120,.16);
  --radius:      8px;
  --radius-lg:   16px;
  --nav-h:       72px;
  /* Aliases pour rétrocompatibilité dans les pages */
  --blue-dark:   var(--purple-dark);
  --blue:        var(--purple);
  --blue-light:  var(--purple-lt);
  --orange:      var(--pink);
  --orange-lt:   var(--pink-lt);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Source Sans 3', 'Segoe UI', sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Georgia', 'Times New Roman', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p  { line-height: 1.75; }

/* ── Layout ───────────────────────────────────────────────── */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--alt  { background: var(--cream); }
.section--dark { background: var(--blue-dark); color: var(--white); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── Section labels ───────────────────────────────────────── */
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: block; }
.section-title { margin-bottom: 16px; color: var(--blue-dark); }
.section-desc  { color: var(--gray-600); max-width: 660px; margin-bottom: 48px; font-size: 1.05rem; }
.section--dark .section-title { color: var(--white); }
.section--dark .section-desc  { color: rgba(255,255,255,.7); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; transition: all .2s; cursor: pointer; }
.btn-primary   { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214,22,128,.35); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline   { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: .875rem; }

/* ── Badges ───────────────────────────────────────────────── */
.badge        { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 12px; }
.badge-new    { background: #fef3c7; color: #92400e; }
.badge-vr     { background: #ede9fe; color: #5b21b6; }
.badge-e      { background: #d1fae5; color: #065f46; }
.badge-qualiopi { background: #ecfdf5; color: #065f46; border: 1.5px solid #6ee7b7; border-radius: 20px; padding: 4px 14px; }

/* ── Topbar ───────────────────────────────────────────────── */
.topbar { background: var(--blue-dark); color: rgba(255,255,255,.65); font-size: .78rem; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: inherit; transition: color .15s; }
.topbar a:hover { color: var(--white); }
.topbar-links { display: flex; gap: 24px; flex-shrink: 0; }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(90,26,120,.08); height: var(--nav-h); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img  { height: 48px; width: auto; display: block; object-fit: contain; }
.logo-mark { background: var(--purple-dark); color: var(--white); width: 46px; height: 46px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.logo-name { font-family: Georgia, serif; font-weight: 600; font-size: 1.1rem; color: var(--purple-dark); line-height: 1.1; }
.logo-sub  { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
.nav-main  { display: flex; align-items: center; gap: 2px; }
.nav-link  { padding: 8px 13px; border-radius: var(--radius); font-size: .88rem; font-weight: 600; color: var(--gray-800); transition: all .18s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--gray-100); color: var(--blue); }
.nav-cta   { background: var(--orange) !important; color: var(--white) !important; margin-left: 8px; }
.nav-cta:hover { background: var(--orange-lt) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: .2s; }

/* ── Mobile nav ───────────────────────────────────────────── */
@media (max-width:820px) {
  .topbar { display: none; }
  .nav-burger { display: flex; }
  .nav-main { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.12); gap: 4px; }
  .nav-main.open { display: flex; }
  .nav-link { display: block; }
}

/* ── Page hero ────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; }
.page-hero--home { min-height: 600px; display: flex; align-items: center; }
.page-hero--inner { padding: 40px 0 32px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(90,26,120,.88) 0%, rgba(90,26,120,.70) 100%); }
.hero-content { position: relative; z-index: 1; color: var(--white); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 5px 14px; border-radius: 20px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 em { color: #F0A0D0; font-style: normal; }
.hero-desc { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* Hero des pages internes : plus compact pour qu'un aperçu du contenu réel
   apparaisse au-dessus de la ligne de flottaison (l'accueil n'est pas concerné). */
.page-hero--inner .hero-eyebrow { margin-bottom: 14px; }
.page-hero--inner .hero-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.page-hero--inner .hero-desc { margin-bottom: 22px; }
/* Repère de défilement animé en bas du hero interne */
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.30);
  color: var(--white); padding: 7px 16px; border-radius: 22px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; line-height: 1;
  cursor: pointer; z-index: 2; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: opacity .3s ease, transform .3s ease, background .15s ease, visibility .3s;
}
.hero-scroll-cue:hover { background: rgba(255,255,255,.26); }
.hero-scroll-cue-arrow { display: inline-block; animation: heroCueBounce 1.6s ease-in-out infinite; }
.hero-scroll-cue.is-hidden { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px); }
@keyframes heroCueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue-arrow { animation: none; } }
@media (max-width: 600px) { .hero-scroll-cue { display: none; } }
.hero-stats { display: flex; gap: 40px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; flex-wrap: wrap; }
.stat-num   { font-family: Georgia, serif; font-size: 2rem; font-weight: 600; color: var(--white); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ── Image placeholders ───────────────────────────────────── */
.img-ph { background: linear-gradient(135deg, #ecddf5 0%, #f5eafa 100%); border: 2px dashed #c8a8d8; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; min-height: 240px; position: relative; overflow: hidden; }
.img-ph::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(168,184,208,.07) 10px, rgba(168,184,208,.07) 20px); }
.img-ph-icon  { font-size: 2.5rem; position: relative; z-index: 1; }
.img-ph-ref   { font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: rgba(255,255,255,.8); padding: 2px 10px; border-radius: 12px; position: relative; z-index: 1; }
.img-ph-dims  { font-size: .72rem; color: var(--gray-600); position: relative; z-index: 1; font-weight: 600; }
.img-ph-desc  { font-size: .8rem; color: var(--blue-dark); max-width: 260px; position: relative; z-index: 1; font-weight: 600; }
.img-ph-note  { font-size: .7rem; color: var(--gray-600); position: relative; z-index: 1; font-style: italic; }
.img-ph--hero { min-height: 420px; border-radius: 0; border: none; border-bottom: 3px dashed #c8a8d8; }
.img-ph--sm   { min-height: 160px; }
.img-ph--md   { min-height: 280px; }
.img-ph--sq   { aspect-ratio: 1; min-height: auto; }

/* ── KPI strip ────────────────────────────────────────────── */
.kpi-strip .container { display: grid; grid-template-columns: repeat(4,1fr); }
.kpi-item  { text-align: center; padding: 36px 20px; border-right: 1px solid var(--gray-100); }
.kpi-item:last-child { border-right: none; }
.kpi-num   { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 700; color: var(--blue-dark); line-height: 1; }
.kpi-num span { color: var(--orange); }
.kpi-label { font-size: .78rem; color: var(--gray-600); margin-top: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.kpi-desc  { font-size: .78rem; color: var(--gray-300); margin-top: 2px; }

/* ── Cards ────────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .22s, transform .22s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 28px; }
.card-accent { border-top: 4px solid var(--blue); }
.card-accent:nth-child(2) { border-top-color: var(--orange); }
.card-accent:nth-child(3) { border-top-color: var(--teal); }
.card-accent:nth-child(4) { border-top-color: #7c3aed; }
.card-accent:nth-child(5) { border-top-color: #059669; }
.card-accent:nth-child(6) { border-top-color: #dc2626; }
.card-icon  { font-size: 2rem; margin-bottom: 14px; }
.card-count { display: inline-block; background: var(--gray-100); color: var(--gray-600); font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 12px; margin-bottom: 10px; }
.card-title { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.card-desc  { font-size: .85rem; color: var(--gray-600); margin-bottom: 16px; }
.card-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--gray-50); color: var(--gray-600); font-size: .7rem; padding: 3px 9px; border-radius: 10px; border: 1px solid var(--gray-100); }

/* ── Formation cards (catalogue) ─────────────────────────── */
.formation-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s; }
.formation-card:hover { box-shadow: var(--shadow); }
.fc-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.fc-ref    { font-size: .72rem; font-weight: 800; color: var(--blue); letter-spacing: .06em; flex-shrink: 0; }
.fc-title  { font-size: .95rem; font-weight: 700; color: var(--blue-dark); line-height: 1.35; }
.fc-meta   { display: flex; gap: 14px; flex-wrap: wrap; }
.fc-meta-item { font-size: .78rem; color: var(--gray-600); display: flex; align-items: center; gap: 4px; }
.fc-price  { font-weight: 700; color: var(--orange); font-size: .85rem; margin-top: auto; }
.fc-publics { font-size: .75rem; color: var(--gray-600); }
.fc-link   { color: var(--blue); font-size: .82rem; font-weight: 600; }
.fc-link:hover { text-decoration: underline; }

/* ── Sessions table ───────────────────────────────────────── */
.session-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.session-table thead { background: var(--blue-dark); color: var(--white); }
.session-table th { padding: 13px 18px; text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.session-table tbody tr { border-bottom: 1px solid var(--gray-100); transition: background .15s; }
.session-table tbody tr:hover { background: var(--gray-50); }
.session-table td { padding: 15px 18px; font-size: .88rem; vertical-align: middle; }
.session-title { font-weight: 700; color: var(--blue-dark); }
.session-ref   { font-size: .72rem; color: var(--gray-600); margin-top: 2px; }
.seats { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 10px; }
.seats-ok  { background: #d1fae5; color: #065f46; }
.seats-med { background: #fef3c7; color: #92400e; }
.seats-low { background: #fee2e2; color: #991b1b; }
.seats-full { background: var(--gray-100); color: var(--gray-600); }
.session-btn { background: var(--orange); color: var(--white); padding: 7px 16px; border-radius: var(--radius); font-size: .8rem; font-weight: 700; transition: all .18s; display: inline-block; cursor: pointer; border: none; font-family: inherit; }
.session-btn:hover { background: var(--orange-lt); }
.session-btn-full { background: var(--gray-100); color: var(--gray-600); pointer-events: none; cursor: default; }
.session-btn-pay  { background: var(--teal); color: var(--white); }
.session-btn-pay:hover { background: #0B9AAB; }

/* ── Filter pills ─────────────────────────────────────────── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-pill { padding: 7px 18px; border-radius: 20px; font-size: .82rem; font-weight: 600; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-600); transition: all .18s; cursor: pointer; }
.filter-pill.active, .filter-pill:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Search bar ───────────────────────────────────────────── */
.search-bar { display: flex; align-items: center; background: var(--white); border: 2px solid var(--gray-300); border-radius: var(--radius); padding: 10px 16px; gap: 10px; max-width: 400px; margin-bottom: 24px; }
.search-bar input { border: none; outline: none; font-family: inherit; font-size: .9rem; color: var(--gray-800); width: 100%; }
.search-bar input::placeholder { color: var(--gray-300); }

/* ── Modality cards ───────────────────────────────────────── */
.modality-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); display: flex; flex-direction: column; gap: 14px; }
.modality-card:nth-child(2) { border-top-color: var(--orange); }
.modality-card:nth-child(3) { border-top-color: var(--teal); }
.modality-card:nth-child(4) { border-top-color: #7c3aed; }

/* ── Form ─────────────────────────────────────────────────── */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius); font-family: inherit; font-size: .9rem; color: var(--gray-800); transition: border .18s; background: var(--white); appearance: auto; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(123,45,155,.12); }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; background: var(--orange); color: var(--white); border-radius: var(--radius); font-size: 1rem; font-weight: 700; letter-spacing: .03em; transition: all .2s; cursor: pointer; border: none; font-family: inherit; }
.form-submit:hover { background: var(--orange-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(214,22,128,.35); }
.form-note { font-size: .75rem; color: var(--gray-600); margin-top: 14px; text-align: center; line-height: 1.6; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { background: var(--blue-dark); color: var(--white); width: 42px; height: 42px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-body h4 { font-size: .88rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 2px; }
.contact-body p, .contact-body a { font-size: .88rem; color: var(--gray-600); }
.contact-body a:hover { color: var(--blue); }
.team-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; color: var(--white); flex-shrink: 0; }
.av-blue   { background: var(--blue-dark); }
.av-orange { background: var(--orange); }
.av-teal   { background: var(--teal); }
.team-name { font-weight: 700; font-size: .9rem; color: var(--blue-dark); }
.team-role { font-size: .78rem; color: var(--gray-600); }
.team-contact { font-size: .75rem; color: var(--blue); }

/* ── Info box ─────────────────────────────────────────────── */
.info-box { background: var(--blue-dark); color: var(--white); border-radius: var(--radius); padding: 22px; }
.info-box h4 { font-size: .9rem; margin-bottom: 6px; }
.info-box p  { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.info-box strong { color: var(--white); }

/* ── Quote ────────────────────────────────────────────────── */
.quote-block { background: rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 32px; border-left: 4px solid var(--orange); }
.quote-text   { font-size: 1.05rem; color: rgba(255,255,255,.9); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.quote-author { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.55); }

/* ── Impact numbers ───────────────────────────────────────── */
.impact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.impact-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.impact-box  { background: rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.impact-big  { font-family: Georgia, serif; font-size: 2.6rem; font-weight: 700; color: var(--white); }
.impact-lbl  { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.65); display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span::before { content: '›'; margin-right: 8px; }

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9000; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-lg); padding: 36px; max-width: 540px; width: 92%; max-height: 90vh; overflow-y: auto; position: relative; animation: fadeUp .22s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--gray-100); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; border: none; }
.modal-close:hover { background: var(--gray-300); }
.modal-info { background: var(--gray-50); border-radius: var(--radius); padding: 14px; margin: 14px 0; font-size: .85rem; line-height: 1.6; }

/* ── Toast ────────────────────────────────────────────────── */
#toast { display: none; position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--blue-dark); color: var(--white); padding: 13px 28px; border-radius: 28px; font-weight: 700; font-size: .9rem; z-index: 99999; box-shadow: 0 8px 32px rgba(0,0,0,.25); white-space: nowrap; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand p  { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 18px; }
.footer-col h4   { color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col li   { margin-bottom: 7px; }
.footer-col a    { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .18s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.45); }
.footer-links a:hover { color: var(--white); }
.social-row { display: flex; gap: 10px; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .8rem; transition: all .18s; }
.social-btn:hover { background: var(--orange); color: var(--white); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .kpi-strip .container { grid-template-columns: 1fr 1fr; }
  .kpi-item:nth-child(2) { border-right: none; }
  .kpi-item:nth-child(4) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .page-hero--home { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .kpi-strip .container { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══ SESSIONS — architecture par mois, calendrier, partage (v2, août 2026) ═══ */

/* Bascule liste / calendrier */
.view-toggle { display: flex; gap: 0; border: 1.5px solid var(--gray-100); border-radius: 24px; overflow: hidden; flex-shrink: 0; }
.vt-btn { border: none; background: var(--white); color: var(--gray-600); font-weight: 700; font-size: .82rem; padding: 9px 18px; cursor: pointer; transition: all .18s; font-family: inherit; }
.vt-btn.active { background: var(--purple-dark); color: var(--white); }

/* Navigation rapide par mois (collante sous le header) */
.mois-nav { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px; margin-bottom: 24px; position: sticky; top: var(--nav-h); z-index: 40; background: var(--white); scrollbar-width: thin; }
.mois-chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--gray-100); background: var(--white); color: var(--purple-dark); font-weight: 700; font-size: .8rem; padding: 7px 13px; border-radius: 20px; cursor: pointer; white-space: nowrap; transition: all .18s; font-family: inherit; }
.mois-chip:hover { border-color: var(--purple-lt); background: var(--cream); }
.mois-chip-n { background: var(--pink); color: var(--white); font-size: .68rem; border-radius: 10px; padding: 1px 7px; }

/* Sections mensuelles */
.mois-section { margin-bottom: 40px; scroll-margin-top: 140px; }
.mois-titre { display: flex; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--gray-100); padding-bottom: 8px; margin-bottom: 18px; }
.mois-titre h3 { color: var(--purple-dark); font-size: 1.15rem; text-transform: capitalize; }
.mois-titre span { font-size: .78rem; color: var(--gray-600); font-weight: 600; }
.sessions-month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

/* Pastille catégorie sur les cartes */
.cat-chip { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--cat, var(--purple-dark)); background: color-mix(in srgb, var(--cat, #5A1A78) 11%, white); border: 1px solid color-mix(in srgb, var(--cat, #5A1A78) 30%, white); border-radius: 12px; padding: 2px 9px; }
@supports not (color: color-mix(in srgb, red 50%, white)) { .cat-chip { background: var(--cream); border-color: var(--gray-100); } }

/* Bouton partager sur les cartes */
.fc-share { border: 1.5px solid var(--gray-100); background: var(--white); border-radius: 50%; width: 30px; height: 30px; font-size: .85rem; cursor: pointer; transition: all .18s; line-height: 1; }
.fc-share:hover { border-color: var(--pink); background: var(--cream); transform: translateY(-1px); }

/* Modal de partage */
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px solid var(--gray-100); background: var(--white); color: var(--purple-dark); border-radius: 10px; padding: 12px 8px; font-weight: 700; font-size: .82rem; cursor: pointer; text-decoration: none; text-align: center; transition: all .18s; font-family: inherit; }
.share-btn:hover { border-color: var(--purple-lt); background: var(--cream); transform: translateY(-1px); }
.share-btn small { font-weight: 500; font-size: .66rem; color: var(--gray-600); }
.share-btn-main { grid-column: 1 / -1; background: var(--purple-dark); color: var(--white); }
.share-btn-main:hover { background: var(--purple); }

/* Vue calendrier */
.cal-legende { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 22px; padding: 12px 16px; background: var(--cream); border-radius: var(--radius); }
.cal-leg { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--gray-800); }
.cal-leg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-600); padding: 4px 0; }
.cal-day { min-height: 64px; border: 1px solid var(--gray-100); border-radius: 8px; padding: 4px; display: flex; flex-direction: column; gap: 3px; background: var(--white); }
.cal-day-vide { border-color: transparent; background: transparent; }
.cal-day-auj { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.cal-day-auj .cal-num { color: var(--pink); }
.cal-num { font-size: .7rem; font-weight: 700; color: var(--gray-600); }
.cal-chip { border: none; background: var(--cat, var(--purple-dark)); color: #fff; font-size: .64rem; font-weight: 800; border-radius: 6px; padding: 3px 5px; cursor: pointer; width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform .15s; font-family: inherit; }
.cal-chip:hover { transform: scale(1.06); }
.cal-chip-off { opacity: .38; text-decoration: line-through; }

@media (max-width: 720px) {
  .view-toggle { width: 100%; }
  .vt-btn { flex: 1; }
  .cal-day { min-height: 46px; padding: 2px; }
  .cal-chip { font-size: .56rem; padding: 2px 3px; }
  .share-grid { grid-template-columns: 1fr 1fr; }
  .mois-nav { top: var(--nav-h); }
}

/* Badge de financement Uniformation sur les cartes sessions */
.fin-badge { display: inline-flex; align-items: center; gap: 5px; background: #ecfdf5; color: #065f46; border: 1.5px solid #6ee7b7; border-radius: 16px; padding: 4px 12px; font-size: .74rem; font-weight: 700; }

/* ═══ Cycles de professionnalisation ═══ */
.cycles-entete { margin-bottom: 16px; }
.cycles-entete h3 { color: var(--purple-dark); font-size: 1.15rem; margin-bottom: 4px; }
.cycles-entete p { font-size: .84rem; color: var(--gray-600); }
.cycles-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 24px; margin-bottom: 40px; }
@media (max-width: 500px) { .cycles-liste { grid-template-columns: 1fr; } }

.cycle-card { background: linear-gradient(135deg, #FDF8FF 0%, #F6EEFA 100%); border: 2px solid var(--purple-lt); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.cycle-card-haut { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 12px; }
.cycle-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--purple-dark); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 14px; padding: 4px 12px; }
.cycle-card-titre { font-weight: 800; color: var(--purple-dark); font-size: 1.05rem; line-height: 1.35; margin-bottom: 10px; }
.cycle-card-actions { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; margin-top: auto; }
.cycle-card-actions .btn, .cycle-card-actions .session-btn { flex: 1; min-width: 160px; justify-content: center; text-align: center; }

/* Frise du parcours (modal cycle) */
.cycle-timeline { max-height: 46vh; overflow-y: auto; padding-right: 6px; }
.ct-mois { border-left: 3px solid var(--purple-lt); margin-left: 8px; padding: 0 0 14px 18px; position: relative; }
.ct-mois::before { content: ''; position: absolute; left: -8px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--pink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--purple-lt); }
.ct-mois-titre { display: flex; align-items: baseline; gap: 10px; font-weight: 800; color: var(--purple-dark); font-size: .95rem; margin-bottom: 8px; text-transform: capitalize; }
.ct-mois-jours { font-size: .72rem; font-weight: 700; color: var(--pink); background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 12px; padding: 1px 9px; }
.ct-module { display: flex; gap: 12px; align-items: flex-start; padding: 7px 10px; border-radius: 10px; margin-bottom: 4px; background: #fff; border: 1px solid var(--gray-100); }
.ct-num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--purple-dark); font-weight: 800; font-size: .74rem; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--purple-lt); }
.ct-titre { font-size: .85rem; font-weight: 600; color: var(--gray-800); line-height: 1.4; }
.ct-dates { font-size: .74rem; color: var(--gray-600); margin-top: 2px; }
