/* InfiMaster — feuille de style unique */
:root {
  --brand: #0f766e;
  --brand-600: #0d6b64;
  --brand-700: #0b5a54;
  --brand-50: #ecf7f5;
  --brand-100: #d8efeb;
  --mint: #cfe8e4;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b667e;
  --line: #e6ebf0;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --star: #f5a524;
  --danger: #dc2626;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -16px rgba(15, 23, 42, .18);
  --wrap: 1180px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
strong, b { color: var(--ink); font-weight: 700; }
em.hl, .hl { color: var(--brand); font-style: italic; }
:focus-visible { outline: 3px solid rgba(15, 118, 110, .45); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow.pill { background: var(--brand-50); border: 1px solid var(--brand-100); padding: 6px 14px; border-radius: 999px; letter-spacing: .08em; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2, .h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); }
.section-head p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); text-wrap: balance; }
.section-head p strong { color: var(--ink); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -0.005em;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .55); }
.btn-primary:hover { background: var(--brand-700); box-shadow: 0 12px 24px -10px rgba(15, 118, 110, .65); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand-100); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-50); }
.btn-sm { padding: 10px 16px; font-size: .9375rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { width: 158px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; color: var(--ink); transition: color .2s, background .2s;
}
.nav-links a:hover { background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (min-width: 641px) { .m-only { display: none !important; } }
@media (min-width: 901px) { .t-only { display: none !important; } }
@media (max-width: 900px) { .t-hide { display: none !important; } }

/* Bandeau défilant */
.topbar { background: var(--brand); color: #e6fffb; font-size: .9375rem; overflow: hidden; position: relative; }
.topbar-inner { display: flex; align-items: center; height: 46px; }
.topbar-tag {
  position: relative; z-index: 2; flex: none; margin-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  background: rgba(0, 0, 0, .22); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: 14px 0 18px 6px var(--brand);
}
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.topbar .marquee-group span { white-space: nowrap; padding: 0 22px; }
.topbar .marquee-group span::after { content: '•'; margin-left: 44px; opacity: .55; }
.topbar strong { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Héro */
.hero { position: relative; background: linear-gradient(180deg, var(--mint) 0%, #e9f5f3 55%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 32px; }
.hero-copy { padding: 72px 0 88px; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.875rem); line-height: 1.08; letter-spacing: -0.025em; }
.hero-lead { margin-top: 24px; max-width: 560px; font-size: 1.1875rem; line-height: 1.65; color: var(--ink-2); }
.hero .btn-row { margin-top: 36px; }
.hero .btn-ghost { background: rgba(255, 255, 255, .7); }
.rating { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; box-shadow: 0 4px 10px -4px rgba(15, 23, 42, .3); }
.avatars img + img { margin-left: -12px; }
.stars { display: flex; gap: 2px; color: var(--star); }
.stars svg { width: 17px; height: 17px; }
.rating-score { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.rating small { display: block; color: var(--muted); font-size: .875rem; }
.hero-visual { align-self: end; }
.hero-visual img { width: 100%; max-width: 600px; margin-left: auto; }

/* Partenaires */
.partners { padding: 56px 0 24px; }
.partners h2 { font-size: 1.25rem; text-align: center; font-weight: 700; letter-spacing: -0.01em; }
.partners .marquee { margin-top: 28px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners .marquee-group a { display: flex; align-items: center; justify-content: center; width: 200px; height: 96px; margin: 0 12px; }
.partners .marquee-group img { max-height: 88px; max-width: 170px; width: auto; object-fit: contain; transition: transform .25s; }
.partners .marquee-group a:hover img { transform: scale(1.06); }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2.5rem, 4.2vw, 3.5rem); line-height: 1; color: var(--brand); letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-weight: 500; }
.after-cta { margin-top: 48px; display: flex; justify-content: center; }

/* Carrousel + cartes formation */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 28px; margin: 0 -4px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.carousel-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s;
}
.carousel-nav button:hover { border-color: var(--brand); color: var(--brand); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.carousel-nav svg { width: 20px; height: 20px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d3b37; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course:hover .course-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700;
  background: #fff; color: var(--brand-700); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .3);
}
.badge.dark { background: rgba(15, 23, 42, .85); color: #fff; }
.badge svg { width: 13px; height: 13px; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.course h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; }
.course h3 a:hover { color: var(--brand); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 14px;
  padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700);
  font-size: .875rem; font-weight: 700;
}
.chip svg { width: 14px; height: 14px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.course-foot .by { font-size: .9375rem; color: var(--muted); }
.course-foot .by b { color: var(--ink-2); font-weight: 600; }
.course.soon .course-media img { filter: grayscale(1) brightness(.75); }
.course.soon .soon-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Comparatif */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; max-width: 1040px; margin: 0 auto; }
.compare-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); height: 100%; }
.compare-card.win { border-color: var(--brand-100); box-shadow: 0 0 0 4px var(--brand-50), var(--shadow-lg); }
.compare-head { height: 56px; display: flex; align-items: center; margin-bottom: 18px; }
.compare-head img { width: 190px; }
.compare-head h3 { font-size: 1.75rem; color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; }
.check-list .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.check-list .ico svg { width: 14px; height: 14px; }
.ico.yes { background: var(--brand-50); color: var(--brand); }
.ico.no { background: #fdecec; color: var(--danger); }
.vs {
  width: 84px; height: 84px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; box-shadow: 0 0 0 10px var(--brand-50), 0 16px 32px -12px rgba(15, 118, 110, .6);
}

/* Domaines */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 32px; box-shadow: var(--shadow); }
.feature-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-50); border: 1px solid var(--brand-100); display: flex; align-items: center; justify-content: center; }
.feature-ico img { width: 40px; height: 40px; }
.feature h3 { margin-top: 24px; font-size: 1.375rem; }
.feature p { margin-top: 12px; color: var(--muted); line-height: 1.7; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; flex: 1; }
.review-head { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-summary { display: inline-flex !important; align-items: center; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.review-head b { display: block; font-size: 1.0625rem; }
.review-head small { color: var(--muted); font-size: .875rem; }
.review p { color: var(--ink-2); line-height: 1.65; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 52px 28px 32px; text-align: center; box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.375rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #fff, 0 12px 24px -10px rgba(15, 118, 110, .7);
}
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 10px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1080px; margin: 0 auto; align-items: start; }
.faq-col { display: grid; gap: 16px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }

/* Bloc d'appel à l'action */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px;
  background: radial-gradient(120% 140% at 100% 0%, #1aa395 0%, var(--brand) 45%, #0b4f4a 100%); color: #e6fffb;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cta-band h2 { color: #fff; font-size: clamp(1.875rem, 3vw, 2.5rem); }
.cta-band p { margin-top: 14px; font-size: 1.125rem; color: #cdeee9; max-width: 560px; }
.cta-band .actions { display: flex; justify-content: flex-end; position: relative; z-index: 1; }
.cta-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cta-points li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .9875rem; }
.cta-points svg { width: 18px; height: 18px; color: #8ee8dc; }

/* Pied de page : tout centré */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 64px 0 32px; background: #fff; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: .9375rem; max-width: 340px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.site-footer h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: center; }
.site-footer li, .site-footer li a { color: var(--ink-2); font-size: .9375rem; }
.site-footer li a svg { display: inline-block; width: 16px; height: 16px; color: var(--brand); vertical-align: -3px; margin-right: 8px; }
.site-footer li a:hover { color: var(--brand); }
.site-footer ul.inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; max-width: 340px; margin: 0 auto; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

/* En-tête de page intérieure */
.page-hero { padding: 72px 0 8px; text-align: center; }
.page-hero h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); letter-spacing: -0.025em; }
.page-hero p { margin: 16px auto 0; max-width: 620px; color: var(--muted); font-size: 1.125rem; text-wrap: balance; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* Formations : bloc Pack Pro */
.pro-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 28px; background: linear-gradient(135deg, #effaf7 0%, #e3f4f0 100%); border: 1px solid var(--brand-100);
}
.pro-card h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-top: 12px; }
.pro-card .lead { margin-top: 14px; color: var(--ink-2); }
.price-line { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.price-pill { display: inline-flex; align-items: baseline; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }
.price-pill b { font-size: 1.625rem; letter-spacing: -0.02em; }
.price-pill span { color: var(--muted); font-size: .9375rem; }
.deduct { display: inline-flex; align-items: center; gap: 7px; color: #15803d; font-weight: 700; font-size: .9375rem; }
.deduct svg { width: 18px; height: 18px; }
.pro-card .btn-row { margin-top: 28px; }
.pro-card .btn { padding: 14px 20px; font-size: 1rem; }
.pro-includes { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.pro-includes h3 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .9875rem; line-height: 1.45; }
.ticks svg { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 1px; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 28px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.member-photo { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.04); transform-origin: center top; }
.member-photo { overflow: hidden; }
.member-photo .badge { top: auto; bottom: 14px; left: 14px; right: auto; }
.member-body { padding: 24px 26px 28px; }
.member h3 { font-size: 1.375rem; }
.member .role { margin-top: 4px; color: var(--brand); font-weight: 700; font-size: .9375rem; }
.member p { margin-top: 14px; color: var(--muted); font-size: .9875rem; line-height: 1.65; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 28px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 0 0 6px var(--brand-50), var(--shadow-lg); }
.plan-tag { align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.plan.featured .plan-tag { background: var(--brand); color: #fff; }
.plan h2 { margin-top: 18px; font-size: 1.25rem; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.plan .price b { font-size: 3.5rem; letter-spacing: -0.04em; line-height: 1; }
.plan.featured .price b { color: var(--brand); }
.plan .price span { color: var(--muted); font-size: 1.125rem; font-weight: 600; }
.plan .terms { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.plan .btn { margin-top: 26px; }
.plan .check-list { margin-top: 26px; padding-top: 10px; border-top: 1px dashed var(--line); }
.plan .check-list li { border-top: 0; padding: 9px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.5rem; }
.panel > p { margin-top: 10px; color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; margin-bottom: 8px; }
.field label i { color: var(--brand); font-style: normal; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .9375rem; }
.form-status.ok { display: block; background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.form-status.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.info-block + .info-block { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.info-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; }
.info-block h3 .ib { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.info-block h3 .ib svg { width: 18px; height: 18px; }
.info-block p, .info-block li { margin-top: 10px; color: var(--ink-2); font-size: .9875rem; }
.info-block a.link { color: var(--brand); font-weight: 700; }
.info-block a.link:hover { text-decoration: underline; }
.info-block small { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.post-card time { font-size: .875rem; color: var(--muted); font-weight: 500; }
.post-card h2 { margin-top: 12px; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.015em; }
.post-card p { margin-top: 12px; color: var(--muted); font-size: .9875rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; font-size: .9375rem; }
.post-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .more svg { transform: translateX(3px); }
.blog-search { max-width: 520px; margin: 32px auto 0; position: relative; }
.blog-search input { width: 100%; font: inherit; padding: 15px 18px 15px 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.blog-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.blog-search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--ink-2); background: #fff; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager [aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { border: 0; background: none; min-width: 24px; padding: 0; }
.empty-state { display: none; text-align: center; color: var(--muted); margin-top: 40px; }

/* Article */
.article-head { max-width: 820px; margin: 0 auto; padding: 64px 24px 0; text-align: center; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.article-head h1 { margin-top: 18px; font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.025em; line-height: 1.14; }
.article-meta { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9375rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 16px; height: 16px; }
.prose { max-width: 720px; margin: 48px auto 0; padding: 0 24px; font-size: 1.125rem; line-height: 1.8; color: var(--ink-2); overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.75rem; margin-top: 2.2em; line-height: 1.25; }
.prose h3 { font-size: 1.3125rem; margin-top: 1.9em; line-height: 1.3; }
.prose h4 { font-size: 1.125rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 14px 14px 0; color: var(--ink); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose code { font-size: .9em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }
.promo {
  max-width: 720px; margin: 56px auto 0; padding: 32px; border-radius: 22px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(135deg, #effaf7, #e1f3ef); border: 1px solid var(--brand-100);
}
.promo-wrap { padding: 0 24px; }
.promo .eyebrow { margin-bottom: 8px; }
.promo h2 { font-size: 1.375rem; }
.promo p { margin-top: 6px; color: var(--ink-2); font-size: .9875rem; }
.disclaimer { max-width: 720px; margin: 32px auto 0; padding: 0 24px; color: var(--muted); font-size: .875rem; font-style: italic; }
.related { margin-top: 88px; }

/* Pages légales */
.legal { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.legal .prose { padding: 0; margin-top: 40px; font-size: 1.0625rem; }
.legal .prose h2 { font-size: 1.375rem; margin-top: 2em; }

/* 404 */
.not-found { text-align: center; padding: 120px 0 40px; }
.not-found b { display: block; font-size: 6rem; line-height: 1; color: var(--brand); letter-spacing: -0.05em; }
.not-found h1 { margin-top: 16px; font-size: 2rem; }
.not-found p { margin: 12px auto 28px; color: var(--muted); max-width: 480px; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Éléments ajoutés pour le responsive */
.tint { background: var(--bg-soft); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(15, 118, 110, .18); color: var(--brand-700); font-weight: 700; font-size: .875rem;
  box-shadow: 0 6px 16px -10px rgba(15, 118, 110, .5);
}
.hero-kicker svg { width: 18px; height: 18px; color: var(--brand); }
.hero-visual { position: relative; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .35); border: 1px solid rgba(255, 255, 255, .8); color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip b { font-size: 1.125rem; color: var(--brand); }
.float-chip span { font-size: .875rem; line-height: 1.25; }
.float-chip small { display: block; color: var(--muted); font-size: .78rem; }
.fc-1 { left: 2%; top: 34%; flex-direction: column; align-items: flex-start; gap: 0; }
.fc-1 b { font-size: 1.5rem; line-height: 1.1; }
.fc-2 { right: 0; bottom: 14%; animation-delay: -3s; }
.fc-2 b { font-size: .9375rem; color: var(--ink); }
.fc-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fc-ico svg { width: 16px; height: 16px; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.carousel-dots { display: none; }

/* Comparatif en liste (tablette, téléphone) */
.vs-list { max-width: 560px; margin: 0 auto; display: grid; gap: 10px; }
.vs-legend { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; }
.vs-legend img { width: 120px; }
.vs-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .8125rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--brand-50); }
.vs-them { font-weight: 700; font-size: 1.0625rem; color: var(--muted); }
.vs-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.vs-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.vs-line { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.vs-line .ico { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.vs-line .ico svg { width: 12px; height: 12px; }
.vs-line.yes b { font-size: 1rem; color: var(--ink); }
.vs-line.no { color: var(--muted); font-size: .9375rem; }
.vs-line.no span:last-child { text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .45); }

/* Actions rapides (contact, téléphone) */
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.quick-actions a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quick-actions .ib { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.quick-actions .ib svg { width: 20px; height: 20px; }
.quick-actions b { color: var(--ink); font-size: .9375rem; }
.quick-actions small { color: var(--muted); font-size: .78rem; }

.plan-best { position: absolute; top: -14px; right: 24px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* Grand écran */
@media (min-width: 1600px) {
  :root { --wrap: 1260px; }
}

/* Tablette paysage et petits ordinateurs */
@media (max-width: 1180px) {
  .fc-1 { left: 0; }
}
@media (max-width: 1080px) {
  .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .course-grid, .post-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .pro-card { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 48px; }
  .cta-band .actions { justify-content: flex-start; }
  .hero h1 { font-size: clamp(2.4rem, 5vw, 3.25rem); }
}

/* Tablette portrait et téléphone : menu, héro sur une colonne, étapes en frise */
@media (max-width: 900px) {
  .nav { height: 66px; }
  .brand img { width: 136px; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; position: relative; }
  .menu-toggle .i-close { display: none; }
  .menu-toggle .i-close svg { width: 18px; height: 18px; }
  .menu-open .menu-toggle .i-open { display: none; }
  .menu-open .menu-toggle .i-close { display: inline-flex; }
  .menu-toggle span { display: inline-flex; }
  .mobile-menu {
    display: flex; flex-direction: column; position: fixed; z-index: 49; inset: 66px 0 0 0; background: #fff;
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .menu-open, .menu-open body { overflow: hidden; }
  .mm-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mm-links a svg { width: 22px; height: 22px; color: var(--muted); }
  .mm-links a[aria-current="page"] { color: var(--brand); }
  .mm-actions { display: grid; gap: 10px; margin-top: 28px; }
  .mm-contact { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
  .mm-contact a { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
  .mm-contact svg { width: 18px; height: 18px; color: var(--brand); }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 48px 0 8px; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .rating { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 24px auto 0; width: 100%; }
  .hero-visual img { margin: 0 auto; max-width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; gap: 20px; }
  .vs { margin: 0 auto; width: 64px; height: 64px; font-size: 1.125rem; }
  .features { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; gap: 16px; }
  .feature { display: flex; gap: 20px; align-items: center; padding: 26px; }
  .feature-ico { flex: none; }
  .feature h3 { margin-top: 2px; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 22px; }
  .step { display: flex; gap: 18px; align-items: center; text-align: left; padding: 20px; border-radius: 18px; }
  .step + .step::before { content: ''; position: absolute; left: 45px; top: -23px; width: 2px; height: 22px; background: var(--brand-100); }
  .step-num { position: static; transform: none; flex: none; width: 52px; height: 52px; box-shadow: 0 10px 20px -10px rgba(15, 118, 110, .7); }
  .step h3 { font-size: 1.125rem; }
  .step p { margin-top: 4px; font-size: .9375rem; }
  .faq { grid-template-columns: 1fr; gap: 12px; }
  .faq-col { gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-left: auto; margin-right: auto; }
  .footer-col { padding: 22px 0; border-top: 1px solid var(--line); }
  .footer-bottom { margin-top: 0; }
}

/* Téléphone */
@media (max-width: 640px) {
  .d-only { display: none !important; }
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .section, .section.tint { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2, .h2 { font-size: clamp(1.625rem, 7.4vw, 2rem); line-height: 1.18; }
  .section-head p { font-size: 1rem; margin-top: 12px; }
  .section-head .eyebrow { margin-bottom: 10px; }
  .after-cta { margin-top: 28px; }
  .after-cta .btn { width: 100%; }
  .btn { padding: 15px 22px; font-size: 1rem; }
  .btn-sm { padding: 10px 14px; font-size: .9rem; }

  .topbar { font-size: .8125rem; }
  .topbar-inner { height: 38px; }

  .hero-copy { padding: 32px 0 0; }
  .hero-kicker { font-size: .78rem; margin-bottom: 16px; padding: 6px 12px 6px 8px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; }
  .hero-lead { margin-top: 16px; font-size: 1.0625rem; line-height: 1.55; }
  .hero .btn-row { margin-top: 24px; flex-direction: column; gap: 10px; }
  .hero .btn-row .btn { width: 100%; }
  .rating { margin-top: 20px; gap: 12px; }
  .avatars img { width: 36px; height: 36px; }
  .rating-score { font-size: .9375rem; }
  .rating small { text-align: left; }
  .hero-visual { margin-top: 20px; max-width: 400px; }
  .float-chip { padding: 9px 12px; border-radius: 14px; }
  .fc-1 { top: 30%; left: -4px; }
  .fc-1 b { font-size: 1.1875rem; }
  .fc-1 span { font-size: .75rem; }
  .fc-2 { bottom: 10%; right: -4px; gap: 8px; }
  .fc-2 b { font-size: .8125rem; }
  .fc-2 small { font-size: .7rem; }
  .fc-ico { width: 26px; height: 26px; }

  .partners { padding: 40px 0 8px; }
  .partners h2 { font-size: 1rem; color: var(--muted); font-weight: 600; }
  .partners .marquee { margin-top: 16px; }
  .partners .marquee-group a { width: 112px; height: 64px; margin: 0 6px; }
  .partners .marquee-group img { max-height: 56px; max-width: 100px; }

  .stats { gap: 10px; }
  .stat { padding: 20px 10px; border-radius: 16px; }
  .stat b { font-size: 2.125rem; }
  .stat span { margin-top: 8px; font-size: .875rem; line-height: 1.35; }

  /* carrousels : bord à bord, la carte suivante dépasse pour inviter à glisser */
  .carousel-track, .reviews {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -18px; padding: 6px 18px 22px; scroll-padding: 0 18px;
  }
  .reviews { display: grid; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews > * { scroll-snap-align: start; }
  .carousel-nav button { display: none; }
  .carousel-dots { display: flex; gap: 6px; justify-content: center; }
  .carousel-dots i { width: 6px; height: 6px; border-radius: 6px; background: #cbd5e1; transition: width .25s, background .25s; }
  .carousel-dots i.on { width: 20px; background: var(--brand); }
  .course-body { padding: 18px; }
  .course h3 { font-size: 1.0625rem; }
  .chip { margin-top: 10px; font-size: .8125rem; padding: 5px 10px; }
  .course-foot { padding-top: 16px; }
  .course-foot .by { font-size: .8125rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .course-foot .by b { font-weight: 600; }
  .course-foot .btn { padding: 9px 13px; font-size: .875rem; }

  .review { padding: 20px; }
  .review p { font-size: .9875rem; }
  .review-summary { font-size: .9375rem; }

  .feature { padding: 18px; gap: 16px; border-radius: 18px; }
  .feature-ico { width: 52px; height: 52px; border-radius: 14px; }
  .feature-ico img { width: 32px; height: 32px; }
  .feature h3 { font-size: 1.125rem; }
  .feature p { margin-top: 6px; font-size: .9375rem; line-height: 1.55; }

  .step { padding: 16px; gap: 14px; }
  .step + .step::before { left: 37px; }
  .step-num { width: 44px; height: 44px; font-size: 1.125rem; border-radius: 12px; }

  .faq summary { padding: 16px; font-size: .9875rem; }
  .faq .answer { padding: 0 16px 16px; font-size: .9375rem; }

  .cta-band { padding: 32px 22px; border-radius: 22px; gap: 22px; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band p { font-size: 1rem; }
  .cta-band .btn { width: 100%; }
  .cta-points { gap: 8px 16px; }
  .cta-points li { font-size: .875rem; }

  .page-hero { padding: 40px 0 0; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .page-hero p { font-size: 1rem; }

  /* Formations : liste compacte façon application */
  .pro-card { padding: 24px 20px; gap: 22px; border-radius: 22px; }
  .pro-card h2 { font-size: 1.375rem; }
  .pro-card .lead { font-size: .9375rem; }
  .price-line { gap: 10px; margin-top: 18px; }
  .price-pill b { font-size: 1.375rem; }
  .deduct { font-size: .875rem; }
  .pro-card .btn-row { flex-direction: column; gap: 10px; margin-top: 22px; }
  .pro-card .btn-row .btn { width: 100%; }
  .pro-includes { padding: 20px; }
  .ticks { grid-template-columns: 1fr; gap: 10px; }
  .course-list { grid-template-columns: 1fr; gap: 12px; }
  .course-list .course { flex-direction: row; align-items: stretch; border-radius: 16px; position: relative; }
  .course-list .course:hover { transform: none; }
  .course-list .course-media { width: 46%; flex: none; aspect-ratio: auto; min-height: 96px; }
  .course-list .course-media img { position: absolute; inset: 0; }
  .course-list .badge { top: 8px; right: auto; left: 8px; padding: 4px 8px; font-size: .7rem; }
  .course-list .course-body { padding: 12px 14px; justify-content: center; min-width: 0; }
  .course-list h3 { font-size: .9375rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .course-list h3 a::after { content: ''; position: absolute; inset: 0; }
  .course-list .chip { margin-top: 8px; font-size: .75rem; padding: 3px 8px; gap: 5px; }
  .course-list .chip svg { width: 12px; height: 12px; }
  .course-list .course-foot { padding-top: 6px; margin-top: 0; }
  .course-list .course-foot .btn, .course-list .soon-label { display: none; }
  .course-list .course-foot .by { font-size: .78rem; }
  .course-list .course.soon .course-media::after { content: 'Bientôt'; position: absolute; left: 8px; top: 8px; background: rgba(15, 23, 42, .85); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
  .course-list .course.soon .badge { display: none; }
  .team { grid-template-columns: 1fr; gap: 16px; }
  .member { display: grid; grid-template-columns: 112px 1fr; border-radius: 18px; }
  .member-photo { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .member-photo img { position: absolute; inset: 0; transform: none; }
  .member-photo .badge { display: none; }
  .member-body { padding: 16px; }
  .member h3 { font-size: 1.125rem; }
  .member .role { font-size: .8125rem; }
  .member p { font-size: .875rem; margin-top: 8px; line-height: 1.5; }

  /* Tarifs : le Pack Pro en premier */
  .pricing { grid-template-columns: 1fr; gap: 24px; }
  .plan { padding: 26px 22px; border-radius: 22px; }
  .plan.featured { order: -1; }
  .plan .price b { font-size: 3rem; }
  .plan .check-list li { font-size: .9375rem; }

  /* Contact */
  .panel { padding: 24px 20px; border-radius: 20px; }
  .panel h2 { font-size: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .quick-actions { padding: 0; margin: 0 18px 16px; width: auto; }

  /* Blog */
  .blog-search { margin-top: 22px; }
  .post-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-card { padding: 20px; border-radius: 16px; }
  .post-card h2 { font-size: 1.0625rem; margin-top: 8px; }
  .post-card p { -webkit-line-clamp: 2; font-size: .9375rem; margin-top: 8px; }
  .post-card .more { padding-top: 14px; }
  .pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; }

  /* Article */
  .article-head { padding: 32px 18px 0; text-align: left; }
  .crumbs { justify-content: flex-start; }
  .article-head h1 { font-size: clamp(1.75rem, 7.6vw, 2.125rem); margin-top: 12px; }
  .article-meta { justify-content: flex-start; font-size: .875rem; margin-top: 14px; }
  .prose { font-size: 1.0625rem; line-height: 1.72; margin-top: 28px; padding: 0 18px; }
  .prose h2 { font-size: 1.375rem; margin-top: 1.9em; }
  .prose h3 { font-size: 1.1875rem; }
  .prose blockquote { padding: 14px 18px; }
  .prose table { display: block; overflow-x: auto; }
  .promo-wrap { padding: 0 18px; }
  .promo { padding: 22px; margin-top: 40px; border-radius: 18px; }
  .promo .btn { width: 100%; }
  .related { margin-top: 56px; }
  .related .post-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 16px; scrollbar-width: none; }
  .related .post-card { scroll-snap-align: start; }
  .legal { padding: 0 18px; }
  .legal .prose { font-size: 1rem; }

  /* Pied de page */
  .site-footer { padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 24px; }
  .footer-brand img { width: 140px; }
  .footer-brand p { font-size: .875rem; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .footer-col { padding: 22px 0; border-top: 1px solid var(--line); }
  .site-footer h3 { margin-bottom: 12px; font-size: .75rem; }
  .footer-bottom { margin-top: 0; font-size: .8125rem; }
}
}

@media (max-width: 400px) {
  .course-foot .btn svg { display: none; }
}

/* Petits téléphones (iPhone SE, Galaxy compacts) */
@media (max-width: 360px) {
  .wrap { padding: 0 14px; }
  .hero h1 { font-size: 1.875rem; }
  .stat b { font-size: 1.875rem; }
  .ct-yes, .ct-no { font-size: .875rem; padding: 8px 10px 12px; }
  .member { grid-template-columns: 96px 1fr; }
  .quick-actions { margin: 0 14px 16px; }
  .carousel-track, .reviews, .related .post-grid { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
}

/* Écrans tactiles : pas d'effets de survol qui restent « collés » */
@media (hover: none) {
  .course:hover, .post-card:hover, .btn-primary:hover { transform: none; }
  .course:hover .course-media img { transform: none; }
}
