/* ==========================================================================
   Netvora Consulting — feuille de style principale
   --------------------------------------------------------------------------
   Sommaire
   1.  Tokens de design (variables CSS)
   2.  Reset et bases
   3.  Utilitaires de mise en page
   4.  Typographie
   5.  Boutons
   6.  En-tête et navigation
   7.  Hero
   8.  Illustration signature (constellation)
   9.  Cartes génériques
   10. Section « À propos »
   11. Statistiques et engagements
   12. Méthodologie
   13. Secteurs d'activité
   14. Formations
   15. Témoignages
   16. Technologies (bandeau défilant)
   17. Bandeau d'appel à l'action
   18. Contact et formulaire
   19. Pied de page
   20. Pages secondaires (formations, mentions légales)
   21. Animations au défilement et accessibilité
   ========================================================================== */

/* ==========================================================================
   1. Tokens de design
   ========================================================================== */
:root {
  /* Palette : blanc, encre, gris clairs, un seul bleu d'accent */
  --ink: #0A0A0B;
  --ink-soft: #1C1C1F;
  --ink-muted: #5A5F6B;
  --surface: #FFFFFF;
  --subtle: #F7F8FA;
  --border: #E7E9EE;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-soft: #EFF4FF;
  --accent-deep: #132C6B;

  /* Rayons : coins légèrement arrondis, jamais de pilule sauf badges */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-panel: 24px;

  /* Ombres très légères */
  --shadow-subtle: 0 1px 2px rgba(10, 10, 11, .04), 0 1px 3px rgba(10, 10, 11, .04);
  --shadow-card: 0 4px 16px -4px rgba(10, 10, 11, .06), 0 1px 2px rgba(10, 10, 11, .04);
  --shadow-lift: 0 18px 40px -18px rgba(10, 10, 11, .18), 0 2px 8px rgba(10, 10, 11, .05);
  --shadow-accent: 0 16px 32px -16px rgba(37, 99, 235, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
  --grid-line: rgba(10, 10, 11, .05);
}

/* ==========================================================================
   2. Reset et bases
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Compense l'en-tête collant lors des ancres #services, #contact… */
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* Focus clavier visible sur tout élément interactif */
:is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Contenu réservé aux lecteurs d'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Lien d'évitement, révélé au premier Tab */
.skip-link {
  position: absolute; left: -9999px; top: 16px; z-index: 100;
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-size: .875rem; font-weight: 600;
}
.skip-link:focus { left: 16px; }

/* ==========================================================================
   3. Utilitaires de mise en page
   ========================================================================== */
.container {
  width: 100%; max-width: 1200px;
  margin-inline: auto; padding-inline: 20px;
}
@media (min-width: 640px) { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }

section { padding-block: clamp(72px, 9vw, 128px); }
section.tone { background: var(--subtle); }

.hairline { height: 1px; width: 100%; background: var(--border); }

/* Trame technique discrète, rappel des schémas d'architecture */
.grid-canvas {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 40%, transparent 100%);
}

.grid-3 { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   4. Typographie
   ========================================================================== */
h1, h2, h3, .display {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }

.lead { max-width: 42rem; color: var(--ink-muted); font-size: 1.0625rem; text-wrap: pretty; }
.muted { color: var(--ink-muted); }

/* Étiquette de section : petite capitale espacée au-dessus des titres */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

.head { max-width: 42rem; }
.head h2 { margin-top: 20px; }
.head .lead { margin-top: 20px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }
.head.center .lead { margin-inline: auto; }

/* ==========================================================================
   5. Boutons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding-inline: 28px;
  border: 1px solid transparent; border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 600; white-space: nowrap;
  transition: all .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-sm { height: 44px; padding-inline: 20px; font-size: .875rem; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-subtle); }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(10, 10, 11, .2); }

.btn-inverse { background: #fff; color: var(--accent); box-shadow: var(--shadow-lift); }
.btn-inverse:hover { background: var(--accent-soft); transform: translateY(-2px); }

/* Variante réservée aux fonds bleus : contour clair, sans fond */
.btn-outline { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }

.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ==========================================================================
   6. En-tête et navigation
   ========================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); }
.logo-name { font-family: Manrope, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo-sub {
  display: block; margin-top: 3px;
  font-size: .62rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-muted);
}

.nav-links { display: none; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--ink-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-cta { display: none; gap: 12px; }

.burger {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; box-shadow: var(--shadow-subtle);
  transition: border-color .2s;
}
.burger:hover { border-color: rgba(10, 10, 11, .2); }
.burger .close, .burger[aria-expanded="true"] .open { display: none; }
.burger[aria-expanded="true"] .close { display: block; }

@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
}

.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu .container { padding-block: 24px; }
.mobile-menu a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--border);
  font-family: Manrope, sans-serif; font-size: 1.125rem; font-weight: 700;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { width: 100%; margin-top: 24px; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 88px;
}
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 128px; }
}

.hero-glow {
  position: absolute; top: -160px; right: -128px; z-index: -1;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(37, 99, 235, .1); filter: blur(120px);
}

.hero-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-subtle);
  font-size: .78rem; font-weight: 600; color: var(--ink-muted);
}
.pill b {
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: .65rem; letter-spacing: .06em; text-transform: uppercase;
}

.hero h1 { margin-top: 28px; }
.hero .lead { margin-top: 28px; font-size: 1.125rem; }

/* Soulignement tracé au chargement : la seule fioriture du hero */
.mark { position: relative; color: var(--accent); white-space: nowrap; }
.mark svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 10px; }
.mark path { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.proof {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border);
  font-size: .875rem; color: var(--ink-muted);
}
.proof li { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ==========================================================================
   8. Illustration signature (constellation)
   ========================================================================== */
.constellation { position: relative; max-width: 520px; margin-inline: auto; }

/* Les nœuds flottent doucement, avec un décalage propre à chacun */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.node { animation: floaty 7s ease-in-out infinite; }

.kpi {
  position: absolute; bottom: -8px; left: 0;
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lift);
}
.kpi-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); }
.kpi b { display: block; font-family: Manrope, sans-serif; font-size: .875rem; font-weight: 800; }
.kpi i { display: block; font-style: normal; font-size: .75rem; color: var(--ink-muted); }

/* ==========================================================================
   9. Cartes génériques
   ========================================================================== */
.card {
  display: flex; flex-direction: column; height: 100%; padding: 28px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-subtle);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .25); box-shadow: var(--shadow-lift); }
.card h3 { margin-top: 24px; transition: color .3s var(--ease); }
.card:hover h3 { color: var(--accent); }
.card p { margin-top: 12px; font-size: .9rem; color: var(--ink-muted); }
.card .fill { flex: 1; }

.icon-box {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--radius-md); background: var(--accent-soft);
  transition: background .3s var(--ease);
}
.icon-box svg { width: 22px; height: 22px; stroke: var(--accent); transition: stroke .3s var(--ease); }
.card:hover .icon-box { background: var(--accent); }
.card:hover .icon-box svg { stroke: #fff; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  font-size: .875rem; font-weight: 600; color: var(--ink-muted);
  transition: color .3s var(--ease);
}
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-link { color: var(--accent); }
.card:hover .card-link svg { transform: translate(2px, -2px); }

/* ==========================================================================
   10. Section « À propos »
   ========================================================================== */
.about-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.photo-wrap { position: relative; }
.photo {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-panel);
  background: var(--subtle); box-shadow: var(--shadow-card);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Encart chiffre posé en débord sur la photo */
.photo-badge {
  position: absolute; right: -8px; bottom: -24px; width: 210px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-lift);
}
.photo-badge b { font-family: Manrope, sans-serif; font-size: 1.875rem; font-weight: 800; color: var(--accent); }
.photo-badge p { margin-top: 4px; font-size: .875rem; color: var(--ink-muted); line-height: 1.4; }

.chips { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .chips { grid-template-columns: 1fr 1fr; } }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-subtle);
  font-size: .875rem; font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: rgba(37, 99, 235, .3); box-shadow: var(--shadow-card); }
.check { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: var(--accent-soft); }
.check svg { width: 14px; height: 14px; stroke: var(--accent); stroke-width: 3; }

/* ==========================================================================
   11. Statistiques et engagements
   ========================================================================== */
.stats {
  display: grid; gap: 1px; margin-top: 56px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-panel);
  background: var(--border);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat { padding: 32px; background: #fff; text-align: center; transition: background .3s; }
.stat:hover { background: rgba(239, 244, 255, .55); }
.stat b {
  display: block; font-family: Manrope, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat strong {
  display: block; margin-top: 12px;
  font-family: Manrope, sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.stat span { display: block; margin-top: 8px; font-size: .875rem; line-height: 1.4; color: var(--ink-muted); }

.pledges { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 1024px) { .pledges { grid-template-columns: repeat(3, 1fr); } }
.pledge {
  height: 100%; padding: 28px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-subtle);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pledge:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pledge i { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--accent); }
.pledge h3 { margin-top: 20px; font-size: 1rem; line-height: 1.4; }
.pledge p { margin-top: 12px; font-size: .9rem; color: var(--ink-muted); }

/* ==========================================================================
   12. Méthodologie
   ========================================================================== */
.steps { position: relative; margin-top: 64px; }
.steps-line {
  display: none; position: absolute; left: 0; right: 0; top: 28px; height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(37, 99, 235, .4), var(--border));
}
.steps ol { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .steps-line { display: block; }
  .steps ol { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}

.step { display: flex; gap: 20px; }
@media (min-width: 1024px) { .step { display: block; } }

.step-mark { position: relative; flex-shrink: 0; }
.step-badge {
  display: grid; place-items: center; width: 56px; height: 56px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.step-badge svg { width: 24px; height: 24px; stroke: var(--accent); transition: stroke .3s var(--ease); }
.step:hover .step-badge { transform: translateY(-4px); background: var(--accent); border-color: var(--accent); }
.step:hover .step-badge svg { stroke: #fff; }

/* La numérotation est conservée : l'ordre porte une information réelle */
.step-num {
  position: absolute; top: -6px; right: -6px;
  display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-family: Manrope, sans-serif; font-size: .7rem; font-weight: 700;
}
.step-body { flex: 1; }
@media (min-width: 1024px) { .step-body { margin-top: 28px; padding-right: 8px; } }
.step-time { margin-top: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step-body p:last-child { margin-top: 12px; font-size: .9rem; color: var(--ink-muted); }

/* ==========================================================================
   13. Secteurs d'activité
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
@media (min-width: 1024px) { .sectors { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.sector {
  position: relative; overflow: hidden; height: 100%; padding: 24px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-subtle);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* Voile bleu qui monte au survol */
.sector::before {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 0;
  background: var(--accent-soft); transition: height .3s var(--ease);
}
.sector:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .25); box-shadow: var(--shadow-lift); }
.sector:hover::before { height: 100%; }
.sector > * { position: relative; }
.sector svg { width: 28px; height: 28px; stroke: var(--ink-muted); transition: stroke .3s var(--ease); }
.sector:hover svg { stroke: var(--accent); }
.sector h3 { margin-top: 20px; font-size: 1rem; }
.sector p { margin-top: 8px; font-size: .85rem; line-height: 1.45; color: var(--ink-muted); }

/* ==========================================================================
   14. Formations
   ========================================================================== */
.split-head { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
@media (min-width: 1024px) { .split-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

.features {
  display: grid; gap: 1px; margin-top: 48px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-panel);
  background: var(--border);
}
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { height: 100%; padding: 28px; background: #fff; }
.feature b { font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 700; }
.feature p { margin-top: 10px; font-size: .9rem; color: var(--ink-muted); }

.course-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.course-head .icon-box { width: 44px; height: 44px; }
.level {
  padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px;
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-muted); white-space: nowrap;
}

/* Ce que le participant sait faire à la fin */
.outcomes { display: grid; gap: 8px; margin-top: 20px; }
.outcomes li { display: flex; gap: 10px; font-size: .875rem; line-height: 1.45; color: var(--ink-muted); }
.outcomes li::before { content: ""; flex-shrink: 0; width: 4px; height: 4px; margin-top: 9px; border-radius: 50%; background: var(--accent); }

.course-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--ink-muted);
}
.course-meta span { display: flex; align-items: center; gap: 6px; }
.course-meta svg { width: 14px; height: 14px; stroke: var(--accent); }

.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.course-price { font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; }
.course-foot .card-link { margin-top: 0; color: var(--accent); }

/* ==========================================================================
   15. Témoignages
   ========================================================================== */
.quote-box {
  max-width: 48rem; margin: 56px auto 0; padding: 48px;
  border: 1px solid var(--border); border-radius: var(--radius-panel);
  background: #fff; box-shadow: var(--shadow-card);
}
@media (max-width: 640px) { .quote-box { padding: 32px; } }

/* Hauteur minimale : évite les sauts de mise en page au changement d'avis */
.quote-stage { min-height: 200px; margin-top: 24px; }
.quote-box blockquote p {
  font-family: Manrope, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 600;
  line-height: 1.35; letter-spacing: -.02em; text-wrap: balance;
}
.quote-author { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.quote-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: var(--accent-soft); }
.quote-author cite { display: block; font-family: Manrope, sans-serif; font-size: .875rem; font-weight: 700; font-style: normal; }
.quote-author .role { display: block; margin-top: 2px; font-size: .875rem; color: var(--ink-muted); }

.quote-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 32px; }
.arrow {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; box-shadow: var(--shadow-subtle);
  transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.arrow:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.arrow svg { width: 16px; height: 16px; }

.dots { display: flex; align-items: center; gap: 10px; }
.dots button { width: 12px; height: 6px; border-radius: 999px; background: rgba(10, 10, 11, .15); transition: all .3s var(--ease); }
.dots button:hover { background: rgba(10, 10, 11, .3); }
.dots button[aria-selected="true"] { width: 32px; background: var(--accent); }

.fade-swap { animation: swap .4s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   16. Technologies (bandeau défilant)
   ========================================================================== */
.marquee-wrap {
  display: grid; gap: 16px; margin-top: 56px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
/* La liste est dupliquée en JS : translater de -50 % boucle sans coupure */
.marquee { display: flex; gap: 16px; width: max-content; animation: marquee 42s linear infinite; }
.marquee.reverse { animation-duration: 56s; animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tech {
  display: flex; flex-shrink: 0; align-items: center; gap: 12px;
  padding: 16px 24px; border: 1px solid var(--border); border-radius: var(--radius-card);
  background: #fff; box-shadow: var(--shadow-subtle);
  transition: border-color .3s var(--ease);
}
.tech:hover { border-color: rgba(37, 99, 235, .3); }
.tech i {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--radius-sm); background: var(--accent-soft);
  font-family: Manrope, sans-serif; font-style: normal;
  font-size: .72rem; font-weight: 800; color: var(--accent);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tech:hover i { background: var(--accent); color: #fff; }
.tech b { display: block; font-family: Manrope, sans-serif; font-size: .875rem; font-weight: 700; }
.tech span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }

/* ==========================================================================
   17. Bandeau d'appel à l'action
   ========================================================================== */
.cta-section { padding-block: 48px; }
.cta {
  position: relative; overflow: hidden; padding: 80px 32px;
  border-radius: var(--radius-panel); text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 45%, var(--accent-deep) 100%);
  box-shadow: var(--shadow-accent);
}
@media (min-width: 640px) { .cta { padding: 88px 64px; } }
/* Trame lumineuse très discrète sur le bandeau */
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-glow { position: absolute; top: -96px; left: -80px; width: 288px; height: 288px; border-radius: 50%; background: rgba(255, 255, 255, .15); filter: blur(48px); }
.cta-inner { position: relative; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  border-radius: 999px; background: rgba(255, 255, 255, .12);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.cta-pill svg { width: 14px; height: 14px; }
.cta h2 { margin-top: 28px; color: #fff; }
.cta p { max-width: 36rem; margin: 20px auto 0; color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* ==========================================================================
   18. Contact et formulaire
   ========================================================================== */
.contact-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr 1fr; } }

.panel {
  padding: 36px; border: 1px solid var(--border); border-radius: var(--radius-panel);
  background: #fff; box-shadow: var(--shadow-card);
}
@media (max-width: 640px) { .panel { padding: 28px; } }

.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }

label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
label em { font-style: normal; font-size: .75rem; font-weight: 400; color: var(--ink-muted); }

.field {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; font-size: .875rem; box-shadow: var(--shadow-subtle);
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: rgba(90, 95, 107, .6); }
.field:hover { border-color: rgba(10, 10, 11, .2); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.field.invalid { border-color: #DC2626; }
textarea.field { min-height: 120px; resize: vertical; }

.error { margin-top: 6px; font-size: .75rem; color: #DC2626; }

.form-foot { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-note { max-width: 20rem; font-size: .75rem; line-height: 1.5; color: var(--ink-muted); }

/* Écran de confirmation, en remplacement du formulaire */
.sent { display: grid; place-items: center; padding: 48px 24px; text-align: center; }
.sent h3 { margin-top: 24px; font-size: 1.25rem; }
.sent p { max-width: 24rem; margin-top: 12px; font-size: .9rem; color: var(--ink-muted); }
.sent button { margin-top: 28px; font-size: .875rem; font-weight: 600; color: var(--accent); }
.sent button:hover { color: var(--accent-hover); }

.contact-side { display: flex; flex-direction: column; gap: 24px; height: 100%; }
.contact-list { display: grid; gap: 20px; margin-top: 24px; }
.contact-list li { display: flex; gap: 16px; }
.contact-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-soft); }
.contact-ico svg { width: 18px; height: 18px; stroke: var(--accent); }
.contact-list strong { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.contact-list a, .contact-list .value { display: block; margin-top: 4px; font-size: .875rem; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

/* Carte Google Maps, chargée en différé */
.map { flex: 1; min-height: 260px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-panel); background: #fff; box-shadow: var(--shadow-card); }
.map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; filter: grayscale(.35); transition: filter .5s var(--ease); }
.map:hover iframe { filter: grayscale(0); }

/* ==========================================================================
   19. Pied de page
   ========================================================================== */
.site-footer { padding-block: 72px; background: var(--ink); color: #fff; }
.foot-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }

.site-footer h2 { font-family: Manrope, sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-footer p, .site-footer li { font-size: .875rem; color: rgba(255, 255, 255, .6); }
.site-footer ul { display: grid; gap: 12px; margin-top: 20px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: rgba(255, 255, 255, .55); }
.foot-about { max-width: 20rem; margin-top: 24px; }

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.socials a {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 600; color: rgba(255, 255, 255, .7);
  transition: all .2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.foot-contact li { display: flex; gap: 12px; }
.foot-contact svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; stroke: var(--accent); }

.foot-bottom {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .75rem; color: rgba(255, 255, 255, .45);
}
@media (min-width: 640px) { .foot-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.foot-bottom li { font-size: .75rem; color: inherit; }

/* ==========================================================================
   20. Pages secondaires
   ========================================================================== */
.page-head { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
@media (min-width: 1024px) { .page-head { padding-top: calc(var(--header-h) + 96px); } }
.page-head .lead { margin-top: 24px; font-size: 1.125rem; }
.page-head .hero-actions { margin-top: 36px; }

.page-facts { display: grid; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .page-facts { grid-template-columns: repeat(3, 1fr); } }
.page-facts b { font-family: Manrope, sans-serif; font-size: .875rem; font-weight: 700; }
.page-facts p { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--ink-muted); }

/* Barre de filtres du catalogue */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .filters { flex-wrap: wrap; overflow: visible; } }
.filter {
  flex-shrink: 0; padding: 10px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; box-shadow: var(--shadow-subtle);
  font-size: .875rem; font-weight: 600; color: var(--ink-muted);
  transition: all .3s var(--ease);
}
.filter:hover { transform: translateY(-2px); border-color: rgba(10, 10, 11, .2); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.filter-count { margin-top: 24px; font-size: .875rem; color: var(--ink-muted); }

/* Corps de texte des pages légales */
.legal { padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; }
.legal-body { max-width: 48rem; margin-top: 40px; font-size: .95rem; color: var(--ink-muted); }
.legal-body section + section { margin-top: 32px; }
.legal-body h2 { font-size: 1.25rem; color: var(--ink); }
.legal-body p { margin-top: 12px; }
.legal-body ul { margin-top: 12px; display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-body a { color: var(--accent); }
.legal-body a:hover { text-decoration: underline; }
.legal-date { margin-top: 16px; font-size: .875rem; color: var(--ink-muted); }

/* ==========================================================================
   21. Animations au défilement et accessibilité
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Respect de la préférence système « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
}
