﻿/* =============================================
   CODE SANS CODER â€” landing.css
   codesanscoder.fr
   ============================================= */

/* === Palette centralisée (Lot 3) =============
   Variables exposées pour les nouvelles règles et l'harmonisation
   des pages autonomes. Les couleurs hex existantes restent en place,
   sans remplacement de masse — on aligne ce qui doit l'être. */
:root {
  --csc-bg: #0f172a;
  --csc-bg-soft: #111827;
  --csc-surface: #ffffff;
  --csc-surface-soft: #f8fafc;
  --csc-text: #0f172a;
  --csc-text-muted: #64748b;
  --csc-border: #e2e8f0;
  --csc-primary: #2563eb;
  --csc-primary-dark: #1d4ed8;
  --csc-cyan: #38bdf8;
  --csc-success: #16a34a;
  --csc-warning: #f59e0b;
  --csc-danger: #dc2626;
  --csc-radius-lg: 24px;
  --csc-radius-md: 16px;
  --csc-shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.12);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #f7f9fc;
  overflow-x: hidden;
}

/* Typographie */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; color: #111827; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; color: #111827; }
h3 { font-size: 1.1rem; font-weight: 600; color: #111827; }
p  { color: #4b5563; line-height: 1.7; }

/* Conteneur */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(148,163,184,.18);
  position: sticky; top: 0;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px);
  z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-link {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
}
.header-link:hover,
.header-link.active { color: #2563eb; }
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  display: block;
  width: 380px;
  height: auto;
}
.header-cta {
  background: #111827; color: #fff; padding: 10px 20px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform .15s;
}
.header-cta:hover { background: #2563eb; transform: translateY(-1px); }

/* HERO */
.hero {
  padding: 5.5rem 0 4.5rem;
  text-align: left;
  background:
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.14), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 48%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 6rem;
  width: 34vw;
  height: 34vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  background: rgba(14,165,233,.10);
  filter: blur(8px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy {
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: #e0f2fe; color: #075985;
  font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 1.25rem; font-size: clamp(2.6rem, 5.7vw, 5.2rem); letter-spacing: -.055em; }
.hero h1 em { color: #2563eb; font-style: normal; }
.hero-sub {
  font-size: 1.16rem; color: #4b5563; max-width: 650px;
  margin: 0 0 2rem;
}
.cta-group { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.btn-primary {
  background: #2563eb; color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,.72); color: #374151;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1.5px solid #e5e7eb; cursor: pointer;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: #2563eb; color: #2563eb; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}
.hero-proof span {
  padding: 7px 11px;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.hero-visual {
  position: relative;
  min-height: 520px;
}
.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(15,23,42,.22);
}
.hero-floating-card {
  position: absolute;
  max-width: 260px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 60px rgba(15,23,42,.18);
  backdrop-filter: blur(16px);
}
.hero-floating-card strong,
.hero-floating-card span {
  display: block;
}
.hero-floating-card strong {
  color: #0f172a;
  margin-bottom: 4px;
}
.hero-floating-card span {
  color: #475569;
  font-size: 13px;
}
.card-top { top: 28px; left: -26px; }
.card-bottom { right: -20px; bottom: 38px; }

/* SECTIONS */
section { padding: 5rem 0; }
section:nth-child(even) { background: #ffffff; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #2563eb; margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-intro { color: #6b7280; max-width: 580px; margin-bottom: 2.5rem; }

/* SHOWCASE */
.showcase {
  background: #0f172a;
  color: #fff;
}
.showcase .section-title,
.showcase h2 { color: #fff; }
.showcase .section-label { color: #7dd3fc; }
.showcase .section-intro { color: #f8fafc; font-weight: 500; }
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}
.showcase-grid > div:last-child {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(191,219,254,.55);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(15,23,42,.28);
}
.showcase-grid > div:last-child .section-label {
  color: #1d4ed8;
}
.showcase-grid > div:last-child .section-title,
.showcase-grid > div:last-child h2 {
  color: #0f172a;
}
.showcase-grid > div:last-child .section-intro {
  color: #334155;
  font-weight: 600;
}
.showcase-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 90px rgba(0,0,0,.36);
}
.mini-results {
  display: grid;
  gap: 12px;
}
.mini-results div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fafc;
}
.mini-results strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #38bdf8;
  color: #082f49;
}
.mini-results span { color: #1e293b; font-size: 14px; font-weight: 700; }

/* PROBLÃˆME â€” 3 cards */
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 2rem;
}
.problem-card {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 16px; padding: 1.5rem;
  
  box-shadow: 0 14px 40px rgba(15,23,42,.06);
}
.problem-card p { font-size: 15px; color: #374151; font-style: italic; }

/* SOLUTION â€” 3 Ã©tapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 2rem; }
.step { text-align: center; padding: 1.7rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 12px 34px rgba(15,23,42,.05); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #2563eb; color: #fff;
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 14px; }

/* POUR QUI */
.pourqui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 2rem; }
.pourqui-block { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 1.5rem; box-shadow: 0 14px 40px rgba(15,23,42,.05); }

/* EXAMPLES */
.project-examples {
  background: #f8fafc;
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.example-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(15,23,42,.07);
}
.example-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.example-card div {
  padding: 18px;
}
.example-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.example-card h3 { margin-bottom: 8px; }
.example-card p { font-size: 14px; }

/* HOME FORMATIONS */
.home-formations {
  background: #ffffff;
}
.home-formations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2rem;
}
.home-formation-card {
  display: block;
  min-height: 240px;
  padding: 1.7rem;
  border: 1px solid #dbe5f0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.96)),
    radial-gradient(circle at 20% 0%, rgba(37,99,235,.12), transparent 40%);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(15,23,42,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-formation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.34);
  box-shadow: 0 24px 64px rgba(15,23,42,.11);
}
.home-formation-card.featured {
  background:
    radial-gradient(circle at 18% 20%, rgba(56,189,248,.30), transparent 50%),
    linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #fff;
  border-color: rgba(37,99,235,.5);
}
.home-formation-card span,
.formation-card-label,
.formation-hero-label {
  display: inline-block;
  margin-bottom: .75rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2563eb;
}
.home-formation-card.featured span { color: #bfdbfe; }
.home-formation-card h3 {
  margin-bottom: .75rem;
  font-size: 1.25rem;
}
.home-formation-card.featured h3,
.home-formation-card.featured p { color: #fff; }
.home-formation-card p {
  font-size: 14px;
  color: #475569;
}
.home-formations-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
}

/* FORMATIONS CATALOG */
.formations-catalog {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(circle at 12% 8%, rgba(37,99,235,.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.formations-title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: .85rem;
  letter-spacing: -.05em;
}
.formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.formation-card {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(15,23,42,.07);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.formation-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.formation-card-crm .formation-card-media {
  background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
}
.formation-card-budget .formation-card-media {
  background: linear-gradient(135deg, #0e7490 0%, #0f172a 100%);
}
.formation-card-aic .formation-card-media {
  background: linear-gradient(135deg, #4338ca 0%, #0f172a 100%);
}
.formation-card-habits .formation-card-media {
  background: linear-gradient(135deg, #047857 0%, #0f172a 100%);
}
.formation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.34);
  box-shadow: 0 24px 62px rgba(15,23,42,.11);
}
.formation-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: .45rem;
}
.formation-card-subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.formation-card-accroche {
  font-size: 14px;
  color: #334155;
  
  padding-left: 0;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.formation-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.formation-card-meta span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.formation-card-price {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 1.25rem;
}
.formation-card-price strong { color: #111827; }
.formation-card-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background: #111827;
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .2s, transform .15s;
  margin-top: auto;
}
.formation-card-cta:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* FORMATION DETAIL */
.formation-hero {
  padding: 4rem 0 2.5rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(37,99,235,.13), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.formation-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  gap: 42px;
  align-items: center;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.75rem;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { color: #2563eb; }
.formation-hero h1 {
  max-width: 820px;
  margin-bottom: .65rem;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  letter-spacing: -.05em;
}
.formation-hero-sub {
  max-width: 720px;
  margin-bottom: 1rem;
  color: #475569;
  font-size: 1.12rem;
}
.formation-hero-accroche {
  max-width: 720px;
  margin-bottom: 1.45rem;
  padding: 1rem 1.1rem;
  
  border-radius: 14px;
  background: #eff6ff;
  color: #1e3a8a;
  line-height: 1.65;
}
.formation-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.formation-badge {
  padding: 6px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}
.formation-hero-media {
  min-height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(56,189,248,.22), transparent 55%),
    linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  box-shadow: 0 24px 72px rgba(15,23,42,.15);
  position: relative;
  overflow: hidden;
}
.formation-media-crm {
  background:
    radial-gradient(circle at 20% 18%, rgba(56,189,248,.20), transparent 55%),
    linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
}
.formation-media-budget {
  background:
    radial-gradient(circle at 20% 18%, rgba(56,189,248,.24), transparent 55%),
    linear-gradient(135deg, #0e7490 0%, #0f172a 100%);
}
.formation-media-aic {
  background:
    radial-gradient(circle at 20% 18%, rgba(139,92,246,.22), transparent 55%),
    linear-gradient(135deg, #4338ca 0%, #0f172a 100%);
}
.formation-media-habits {
  background:
    radial-gradient(circle at 20% 18%, rgba(74,222,128,.20), transparent 55%),
    linear-gradient(135deg, #047857 0%, #0f172a 100%);
}
.formation-hero-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 54px rgba(15,23,42,.18);
}
.formation-hero-panel span,
.formation-hero-panel strong,
.formation-hero-panel small {
  display: block;
}
.formation-hero-panel span {
  margin-bottom: 5px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.formation-hero-panel strong {
  color: #111827;
  line-height: 1.2;
}
.formation-hero-panel small {
  margin-top: 6px;
  color: #475569;
}
.modules-section {
  padding: 3rem 0;
  background: #fff;
}
.modules-section-title {
  margin-bottom: 1.25rem;
  color: #111827;
  font-size: 1.15rem;
  font-weight: 800;
}
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.modules-col {
  padding: 1.5rem;
  border: 1px solid #dbe5f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(15,23,42,.06);
}
.modules-col-header {
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #e2e8f0;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.module-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}
.module-item:last-child { border-bottom: none; }
.module-num {
  min-width: 20px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
}
.pricing-section {
  padding: 3.5rem 0 5rem;
  background: #f8fafc;
}
.pourqui-block h3 { margin-bottom: 1rem; }
.pourqui-block ul { list-style: none; }
.pourqui-block ul li {
  padding: 6px 0; font-size: 14px; color: #374151;
  display: flex; align-items: flex-start; gap: 8px;
  border-bottom: 1px solid #f3f4f6;
}
.pourqui-block ul li:last-child { border-bottom: none; }
.check { color: #16a34a; font-weight: 700; flex-shrink: 0; }
.cross { color: #9ca3af; font-weight: 700; flex-shrink: 0; }

/* CE QUE VOUS SAUREZ FAIRE */
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; margin-top: 2rem;
}
.skill-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 14px; padding: 1rem 1.25rem;
  box-shadow: 0 10px 26px rgba(15,23,42,.04);
}
.skill-arrow { color: #2563eb; font-weight: 700; flex-shrink: 0; font-size: 1rem; }
.skill-item p { font-size: 14px; color: #374151; margin: 0; }

/* OFFRES */
.offers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 2rem; align-items: start;
}
.offer-card {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 22px; padding: 1.75rem;
  position: relative;
  box-shadow: 0 16px 44px rgba(15,23,42,.07);
}
.offer-card.featured {
  border: 2px solid #2563eb;
  transform: translateY(-10px);
}
.offer-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #2563eb; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.offer-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; margin-bottom: 0.5rem; }
.offer-title { font-size: 1.15rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.offer-desc { font-size: 13px; color: #6b7280; margin-bottom: 1rem; line-height: 1.5; }
.offer-price { font-size: 2.2rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; }
.offer-price-note { font-size: 13px; color: #9ca3af; margin-bottom: 1.25rem; }
.offer-features { list-style: none; margin-bottom: 1.5rem; }
.offer-features li {
  font-size: 13px; color: #374151; padding: 5px 0;
  display: flex; align-items: flex-start; gap: 8px;
  border-bottom: 1px solid #f3f4f6;
}
.offer-features li:last-child { border-bottom: none; }
.offer-features .inc { color: #16a34a; font-weight: 700; flex-shrink: 0; }
.offer-features .exc { color: #d1d5db; font-weight: 700; flex-shrink: 0; }
.offer-btn {
  display: block; width: 100%; padding: 12px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  text-align: center; cursor: pointer; border: none;
  transition: all 0.2s; text-decoration: none;
}
.offer-btn-primary { background: #2563eb; color: #fff; }
.offer-btn-primary:hover { background: #1d4ed8; }
.offer-btn-secondary { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.offer-btn-secondary:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.offer-note { font-size: 11px; color: #9ca3af; text-align: center; margin-top: 0.75rem; font-style: italic; }

/* FAQ */
.faq { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid #e5e7eb; padding: 1.25rem 0; cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid #e5e7eb; }
.faq-q {
  font-weight: 600; color: #111827; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  user-select: none;
}
.faq-icon { color: #2563eb; font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-a {
  font-size: 14px; color: #4b5563; margin-top: 0.75rem;
  line-height: 1.7; display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* CTA FINAL */
.cta-final {
  text-align: center; padding: 5rem 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(56,189,248,.28), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(99,102,241,.22), transparent 50%),
    linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #fff;
}
.cta-final h2 { color: #fff; margin-bottom: 1rem; }
.cta-final p { color: #bfdbfe; max-width: 500px; margin: 0 auto 2rem; }
.btn-white {
  background: #fff; color: #1e3a8a;
  padding: 16px 32px; border-radius: 10px;
  font-size: 16px; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: transform 0.15s;
}
.btn-white:hover { transform: translateY(-2px); }
.cta-final .cta-note { font-size: 13px; color: #93c5fd; margin-top: 1rem; }

/* FOOTER */
footer {
  background: #111827; color: #9ca3af;
  padding: 2rem 0; font-size: 13px; text-align: center;
}
footer a { color: #9ca3af; text-decoration: none; margin: 0 8px; }
footer a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-grid,
  .showcase-grid,
  .example-grid,
  .home-formations-grid,
  .modules-grid,
  .formation-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: auto; margin-top: 12px; }
  .hero-visual img { height: 330px; border-radius: 20px; }
  .card-top { left: 12px; top: 14px; }
  .card-bottom { right: 12px; bottom: 14px; }
  .hero-floating-card { max-width: 220px; padding: 12px 14px; }
  .pourqui-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .header-nav { gap: 12px; }
  .header-link { font-size: 13px; }
  .cta-group { flex-direction: column; align-items: center; }
  .cta-group a, .cta-group button { width: 100%; max-width: 320px; text-align: center; }
  .offer-card.featured { transform: none; }
  .formations-catalog,
  .formation-hero,
  .pricing-section {
    padding-left: 0;
    padding-right: 0;
  }
  .formation-hero-media { min-height: 300px; }
}

/* =================================================================
   ADDITIONS â€” codesanscoder.fr v2 (mockups SVG, blocs dÃ©tail, SEO)
   Tout est en pure addition â€” aucune classe existante modifiÃ©e.
   ================================================================= */

/* ---------- Mockups gÃ©nÃ©riques (fenÃªtre d'app stylÃ©e) ---------- */
.csc-mockup {
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.csc-mockup .mock-window {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(15,23,42,.25);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.6);
  display: flex;
  flex-direction: column;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.mock-bar > span {
  width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0;
}
.mock-bar > span:nth-child(1) { background: #f87171; }
.mock-bar > span:nth-child(2) { background: #fbbf24; }
.mock-bar > span:nth-child(3) { background: #34d399; }
.mock-url {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.mock-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: #1e293b;
  background: #fff;
  overflow: hidden;
  flex: 1;
}
.mock-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 13px;
  margin-bottom: 4px;
}
.mock-title .mock-sub {
  font-weight: 600;
  color: #64748b;
  font-size: 11.5px;
  margin-left: 4px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}
.mock-row:last-child { border-bottom: none; }
.mock-row > span:nth-child(2) { flex: 1; }

/* Tags colorÃ©s (badges dans mockups) */
.mock-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.mock-tag.tag-blue   { background: #dbeafe; color: #1d4ed8; }
.mock-tag.tag-cyan   { background: #cffafe; color: #0e7490; }
.mock-tag.tag-green  { background: #dcfce7; color: #15803d; }
.mock-tag.tag-orange { background: #ffedd5; color: #c2410c; }
.mock-tag.tag-red    { background: #fee2e2; color: #b91c1c; }
.mock-tag.tag-slate  { background: #e2e8f0; color: #475569; }

/* Avatars (CRM) */
.mock-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Petit CTA dans un mockup */
.mock-cta {
  margin-top: 4px;
  padding: 8px 12px;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}

/* Barre de progression */
.mock-progress {
  margin-top: 4px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}
.mock-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 100px;
}
.mock-progress-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

/* Graphique inline */
.mock-chart {
  width: 100%;
  height: 60px;
  margin: 4px 0;
  display: block;
}

/* Dots catÃ©gorie (budget) */
.mock-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.mock-dot.dot-blue  { background: #2563eb; }
.mock-dot.dot-cyan  { background: #38bdf8; }
.mock-dot.dot-slate { background: #94a3b8; }

/* Search bar (AIC) */
.mock-search {
  padding: 7px 11px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 2px;
  font-family: ui-monospace, Menlo, monospace;
}
.mock-prompt {
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-prompt strong {
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}
.mock-prompt > span {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-tags {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

/* Habits */
.mock-habit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}
.mock-habit > span:nth-child(2) { flex: 1; }
.mock-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #cbd5e1;
  flex-shrink: 0;
}
.mock-check.mock-check-on {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.mock-streak {
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  flex-shrink: 0;
}

/* ---------- Hero mockup (page index) ---------- */
.hero-visual-mockup {
  background:
    radial-gradient(circle at 30% 20%, rgba(56,189,248,.20), transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 28px;
  padding: 36px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 90px rgba(15,23,42,.28);
}
.csc-hero-mockup {
  width: 100%;
  position: relative;
}
.csc-hero-mockup .mock-window {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  overflow: hidden;
}
.csc-hero-mockup .mock-body {
  padding: 18px 20px;
  gap: 14px;
}
.mock-flow {
  display: flex;
  align-items: stretch;
  gap: 6px;
  flex-wrap: wrap;
}
.mock-flow-step {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
  position: relative;
}
.mock-flow-step .mock-flow-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mock-flow-step strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}
.mock-flow-step > div > span {
  font-size: 10.5px;
  color: #64748b;
}
.mock-flow-step.mock-flow-done {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.mock-flow-step.mock-flow-done .mock-flow-num {
  background: #16a34a;
}
.mock-flow-step.mock-flow-current {
  background: #dbeafe;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.18);
}
.mock-flow-step.mock-flow-current .mock-flow-num {
  background: #2563eb;
}
.mock-flow-arrow {
  align-self: center;
  color: #94a3b8;
  font-weight: 800;
}

/* ---------- Mockups dans les cards /formations (plus compacts) ---------- */
.formation-card-media {
  position: relative;
  overflow: hidden;
}
.csc-mockup-card {
  position: absolute;
  inset: 8px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 8px 22px rgba(15,23,42,.15);
  border: 1px solid rgba(255,255,255,.6);
  overflow: hidden;
}
.mock-card-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 11.5px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-card-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #334155;
  padding: 3px 0;
  border-bottom: 1px solid #f1f5f9;
}
.mock-card-row:last-child { border-bottom: none; }
.mock-card-row > span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-card-row .mock-tag { font-size: 9.5px; padding: 1px 6px; }
.mock-card-row .mock-avatar { width: 20px; height: 20px; font-size: 9.5px; }
.mock-card-row .mock-check { width: 16px; height: 16px; font-size: 9px; }
.mock-card-row .mock-streak { font-size: 10px; }
.mock-card-chart {
  width: 100%;
  height: 36px;
  margin: 2px 0;
}

/* ---------- Cards formations : badges et "IdÃ©al pour" ---------- */
.formation-card-ideal {
  margin-bottom: .9rem;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}
.formation-card-ideal span {
  font-weight: 800;
  color: #2563eb;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 11px;
}
.formation-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}
.csc-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 100px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.csc-badge-blue  { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.csc-badge-cyan  { background: #cffafe; color: #0e7490; border: 1px solid #a5f3fc; }
.csc-badge-slate { background: #e2e8f0; color: #334155; border: 1px solid #cbd5e1; }
.csc-badge-green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }

/* ---------- Page dÃ©tail formation : nouveaux blocs ---------- */
.detail-problem {
  background: #ffffff;
  padding: 3.5rem 0;
}
.detail-problem-text {
  max-width: 760px;
  font-size: 1.05rem;
  color: #1e293b;
  
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-radius: 14px;
  line-height: 1.75;
}

.detail-livrables {
  background: #0f172a;
  color: #fff;
  padding: 3.5rem 0;
}
.detail-livrables .section-label { color: #7dd3fc; }
.detail-livrables .section-title { color: #fff; }
.detail-livrables .section-intro { color: #cbd5e1; }
.detail-livrables-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 0;
  margin-top: 1rem;
}
.detail-livrables-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 14px;
  color: #f1f5f9;
  font-size: 14.5px;
  line-height: 1.55;
}
.detail-livrables-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-pourqui {
  background: #ffffff;
  padding: 3.5rem 0;
}
.detail-pourqui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 1.5rem;
}
.detail-pourqui-block {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15,23,42,.05);
}
.detail-pourqui-yes { }
.detail-pourqui-no  { }
.detail-pourqui-block h3 { margin-bottom: 1rem; font-size: 1rem; }
.detail-pourqui-block ul { list-style: none; padding: 0; }
.detail-pourqui-block li {
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #f3f4f6;
}
.detail-pourqui-block li:last-child { border-bottom: none; }

.detail-faq {
  background: #f8fafc;
  padding: 3.5rem 0;
}
.detail-faq .faq { max-width: 760px; }

.detail-reassurance {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.detail-reassurance-item {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.detail-reassurance-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}
.detail-reassurance-item span {
  display: block;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.detail-honest {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 14px;
}
.detail-honest .section-label { color: #b45309; margin-bottom: .5rem; }
.detail-honest p {
  font-size: 14px;
  color: #78350f;
  line-height: 1.7;
  margin: 0;
}
.detail-honest strong { color: #78350f; }
.detail-honest em { font-style: italic; color: #92400e; }

/* ---------- Section "Qui est derriÃ¨re" (home) ---------- */
.about-csc {
  background: #f8fafc;
}
.about-csc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: center;
}
.about-csc p {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 640px;
}
.about-csc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}
.about-csc-tags span {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: #fff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}
.about-csc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(37,99,235,.96), rgba(15,23,42,.96));
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15,23,42,.18);
}
.about-csc-stat {
  padding: 16px 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  text-align: left;
}
.about-csc-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.about-csc-stat span {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ---------- Responsive â€” additions ---------- */
@media (max-width: 980px) {
  .about-csc-grid { grid-template-columns: 1fr; }
  .detail-pourqui-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-visual-mockup { padding: 20px; min-height: auto; }
  .mock-flow { flex-direction: column; }
  .mock-flow-arrow { display: none; }
  .csc-mockup { inset: 12px; }
  .csc-mockup-card { inset: 6px; padding: 8px 10px; }
  .detail-livrables-list { grid-template-columns: 1fr; }
  .formation-card-badges .csc-badge { font-size: 11px; padding: 4px 9px; }
}

/* =================================================================
   ADDITIONS â€” Lot 2 : mockups remplaÃ§ant les Unsplash visibles
   ================================================================= */

/* Showcase (section sombre "Concret") */
.showcase .showcase-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.csc-showcase-mockup {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 30% 18%, rgba(56,189,248,.22), transparent 55%),
    linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.csc-showcase-mockup .mock-window {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  overflow: hidden;
}
.csc-showcase-mockup .mock-body { padding: 16px 18px; gap: 10px; }
.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 0 6px;
}
.showcase-stat {
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.showcase-stat span {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.showcase-stat strong {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.showcase-chart { height: 64px; }

/* Example cards â€” mockups inline */
.example-card .example-mockup {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 16px;
  background:
    radial-gradient(circle at 25% 20%, rgba(56,189,248,.20), transparent 55%),
    linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}
.example-card .example-mockup .mock-window {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.30);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.example-card .example-mockup .mock-bar { padding: 7px 9px; }
.example-card .example-mockup .mock-body {
  padding: 10px 12px;
  gap: 5px;
  font-size: 11.5px;
}
.example-card .example-mockup .mock-title { font-size: 12px; }
.example-card .example-mockup .mock-row { padding: 3px 0; font-size: 11px; }
.example-card .example-mockup .mock-tag { font-size: 9.5px; padding: 2px 7px; }
.example-card .example-mockup .mock-chart { height: 34px; margin: 2px 0; }

/* Variantes d'ambiance par card */
.example-mockup-metier {
  background:
    radial-gradient(circle at 25% 20%, rgba(56,189,248,.22), transparent 55%),
    linear-gradient(135deg, #1e40af 0%, #0f172a 100%) !important;
}
.example-mockup-saas {
  background:
    radial-gradient(circle at 25% 20%, rgba(139,92,246,.22), transparent 55%),
    linear-gradient(135deg, #4338ca 0%, #0f172a 100%) !important;
}
.example-mockup-portail {
  background:
    radial-gradient(circle at 25% 20%, rgba(74,222,128,.20), transparent 55%),
    linear-gradient(135deg, #047857 0%, #0f172a 100%) !important;
}

@media (max-width: 640px) {
  .csc-showcase-mockup { padding: 18px; }
  .showcase-stats { grid-template-columns: 1fr 1fr; }
}



/* =============================================
   RESPONSIVE — Lot 3 (additif, ne remplace rien)
   Breakpoints : 1024 / 768 / 520 / 390
   ============================================= */

@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }
  /* Hero : passer en 1 colonne plus tôt qu'avant */
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-floating-card { display: none; }
  /* Showcases / about / livrables : empilage */
  .about-csc-grid { grid-template-columns: 1fr; gap: 28px; }
  .csc-showcase-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  /* Cartes formations + pricing → 1 colonne */
  .formations-grid,
  .pricing-grid,
  .detail-pricing-grid,
  .detail-pricing,
  .pricing { grid-template-columns: 1fr !important; }
  .pourqui-grid,
  .detail-pourqui-grid { grid-template-columns: 1fr; }
  .detail-livrables-list { grid-template-columns: 1fr; }
  .showcase-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* CTA finale : padding plus contenu */
  .cta-final { padding: 48px 18px; }
  .cta-final h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  /* Steps */
  .steps { gap: 16px; }
  /* Boutons : largeur raisonnable, pas full écran systématique */
  .cta-group { gap: 10px; }
  .cta-group .btn,
  .cta-group a.btn { min-width: 0; }
  /* Mockups internes : pas de débordement */
  .hero-mock,
  .mock-card,
  .csc-showcase-mockup { max-width: 100%; }
  /* Header : compact */
  .site-header { padding: 14px 0; }
  .site-header nav { gap: 14px; }
  /* FAQ */
  .faq { max-width: 100%; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  /* Hero : padding plus serré, lead plus petit */
  .hero { padding-top: 28px; padding-bottom: 28px; }
  .hero .lead,
  .lead { font-size: 1.02rem; }
  /* Cartes prix : padding réduit */
  .price-card,
  .pricing-card,
  .detail-pricing-card { padding: 22px 18px; }
  /* CTA en colonne, lisibles */
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn,
  .cta-group a.btn,
  .cta-group button { width: 100%; max-width: none; }
  /* Boutons globaux : touche confortable */
  .btn { padding: 12px 16px; }
  /* Showcase mockup : compact */
  .csc-showcase-mockup { padding: 14px; }
  .showcase-stats { grid-template-columns: 1fr 1fr; }
  /* Sections d'accueil avec image flottante : retirer décor */
  .hero-decor,
  .hero-floating-card { display: none; }
  /* Footer */
  footer { padding: 28px 0; font-size: 14px; }
}

@media (max-width: 390px) {
  .container { padding: 0 12px; }
  h1 { font-size: clamp(1.45rem, 7vw, 1.85rem); line-height: 1.2; }
  h2 { font-size: clamp(1.1rem, 6vw, 1.4rem); }
  .btn { padding: 11px 14px; font-size: 0.96rem; }
  .price-card,
  .pricing-card,
  .detail-pricing-card { padding: 20px 16px; }
  .showcase-stats { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
}

/* =============================================
   Formation card — Coming soon (Lot 4 bis)
   ============================================= */
.formation-card-coming-soon {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  box-shadow: none;
}
.formation-card-coming-soon .formation-card-label {
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
}
.formation-card-coming-soon .formation-card-title,
.formation-card-coming-soon .formation-card-subtitle,
.formation-card-coming-soon .formation-card-accroche {
  color: #64748b;
}
.formation-card-coming-soon .formation-card-cta-disabled {
  display: inline-block;
  margin-top: auto;
  padding: 12px 22px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 15px;
  cursor: not-allowed;
  text-decoration: none;
  pointer-events: none;
}
