/* ═══════════════════════════════════════
   DMLS — Donne Moi La Solution
   Style : Coloré & Dynamique
   ═══════════════════════════════════════ */

:root {
  --orange:    #FF6B35;
  --yellow:    #FFD23F;
  --violet:    #6C3FC5;
  --violet-lt: #9B72E8;
  --teal:      #00C8A0;
  --dark:      #0F0E17;
  --dark-2:    #1A1828;
  --mid:       #3D3A5C;
  --light:     #F7F5FF;
  --white:     #FFFFFF;
  --text:      #2D2B4E;
  --text-muted:#6B688E;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius:  16px;
  --radius-lg: 24px;
  --shadow:  0 4px 24px rgba(108,63,197,.12);
  --shadow-lg: 0 12px 48px rgba(108,63,197,.2);

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }

/* ── Highlight ── */
.highlight {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #FF8C42);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,53,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,.5);
}
.btn-outline {
  border-color: var(--violet);
  color: var(--violet);
  background: transparent;
}
.btn-outline:hover {
  background: var(--violet);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-nav {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  font-size: .9rem;
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(15,14,23,.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-dmls {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .9rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.s1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--violet), transparent);
  top: -100px; right: -100px;
}
.s2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--orange), transparent);
  bottom: -50px; left: -50px;
  opacity: .35;
}
.s3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--teal), transparent);
  top: 40%; left: 40%;
  opacity: .25;
}
.math-symbols {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  padding: 40px;
}
.math-symbols span {
  font-size: clamp(3rem, 5vw, 6rem);
  font-family: var(--font-display);
  color: rgba(255,255,255,.04);
  font-weight: 900;
  animation: float 6s ease-in-out infinite;
}
.math-symbols span:nth-child(odd) { animation-delay: -3s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,210,63,.15);
  border: 1px solid rgba(255,210,63,.3);
  color: var(--yellow);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .04em;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ══════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════ */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; }
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--violet-lt));
  color: var(--white);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════
   À PROPOS
══════════════════════════════════════ */
.apropos { background: var(--light); }
.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--violet), var(--orange));
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-badge {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--violet);
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 20px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.apropos-content .section-label { margin-bottom: 12px; }
.apropos-content h2 { margin-bottom: 20px; }
.apropos-content p { color: var(--text-muted); margin-bottom: 16px; }
.apropos-points { margin: 24px 0; }
.apropos-points li {
  padding: 8px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(108,63,197,.1);
}
.apropos-points li:last-child { border: none; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.service-card {
  background: var(--light);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--violet-lt);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  background: linear-gradient(135deg, var(--violet), var(--violet-lt));
  color: var(--white);
}
.service-card.featured h3,
.service-card.featured p,
.service-card.featured li { color: rgba(255,255,255,.9); }
.featured-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-muted); margin-bottom: 20px; font-size: .95rem; }
.service-card ul { margin-bottom: 28px; }
.service-card li {
  padding: 6px 0;
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card li::before { content: '→'; color: var(--orange); font-weight: 700; }
.service-card.featured li::before { color: var(--yellow); }

/* Niveaux */
.niveaux-grid { text-align: center; }
.niveaux-grid h3 { margin-bottom: 24px; }
.niveaux {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.niveau-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--transition);
  cursor: default;
}
.niveau-badge:hover { transform: translateY(-4px); }
.niveau-badge small { font-weight: 400; font-size: .78rem; opacity: .8; }
.college  { background: #FFF3E0; color: #E65100; }
.lycee    { background: #EDE7F6; color: #4527A0; }
.bac      { background: #E8F5E9; color: #1B5E20; }
.adulte   { background: #E3F2FD; color: #0D47A1; }

/* ══════════════════════════════════════
   TARIFS
══════════════════════════════════════ */
.tarifs { background: var(--dark); }
.tarifs .section-header h2,
.tarifs .section-header p { color: var(--white); }
.tarifs .section-header p { color: rgba(255,255,255,.6); }
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.tarif-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  color: var(--white);
}
.tarif-card:hover {
  border-color: rgba(155,114,232,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108,63,197,.25);
}
.tarif-card.featured {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8C42 100%);
  border: none;
}
.tarif-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tarif-desc { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.tarif-prix { margin-bottom: 4px; }
.prix-val { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; }
.prix-unit { font-size: .8rem; color: rgba(255,255,255,.6); margin-left: 6px; }
.tarif-prix.secondary { margin-bottom: 16px; }
.tarif-prix.secondary .prix-val { font-size: 1.6rem; }
.tarif-saving {
  font-size: .82rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 20px;
}
.tarif-card.featured .tarif-saving { color: var(--yellow); }
.tarif-features { margin-bottom: 28px; }
.tarif-features li {
  padding: 7px 0;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  gap: 8px;
  align-items: center;
}
.tarif-features li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.tarif-card.featured .tarif-features li { color: rgba(255,255,255,.9); }
.tarif-card.featured .tarif-features li::before { color: var(--yellow); }
.tarifs-note {
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}
.tarifs-note a { color: var(--yellow); text-decoration: underline; }

/* ══════════════════════════════════════
   RÉSERVATION (Cal.com)
══════════════════════════════════════ */
.reservation {
  background: linear-gradient(135deg, var(--violet) 0%, #4A2D9C 100%);
}
.reservation .section-header h2 { color: var(--white); }
.reservation .section-header p { color: rgba(255,255,255,.7); }
.reservation .section-label {
  background: rgba(255,255,255,.2);
  color: var(--white);
}
.cal-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
  box-shadow: var(--shadow-lg);
}
#cal-embed { width: 100%; min-height: 600px; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq { background: var(--light); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(108,63,197,.12);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary {
  padding: 22px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--violet);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 28px 22px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   BLOG PREVIEW
══════════════════════════════════════ */
.blog-preview { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.blog-card {
  border: 1px solid rgba(108,63,197,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--violet-lt);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-card-header { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.post-tag {
  background: rgba(108,63,197,.1);
  color: var(--violet);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
}
.post-niveau {
  background: rgba(255,107,53,.1);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
}
.blog-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.blog-card h3 a:hover { color: var(--violet); }
.blog-card p { color: var(--text-muted); font-size: .9rem; flex: 1; margin-bottom: 20px; }
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
}
.read-more { color: var(--violet); font-weight: 600; }
.read-more:hover { color: var(--orange); }
.blog-cta { text-align: center; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,.55); margin: 16px 0 24px; font-size: .9rem; }
.footer-col h4 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul li { padding: 6px 0; }
.footer-col a { color: rgba(255,255,255,.65); transition: color var(--transition); font-size: .9rem; }
.footer-col a:hover { color: var(--orange); }
.footer-col p { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }
.btn-outline.light {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.btn-outline.light:hover { background: var(--white); color: var(--dark); }

/* ══════════════════════════════════════
   BLOG PAGE
══════════════════════════════════════ */
.blog-page-header {
  background: var(--dark);
  padding: 140px 0 80px;
  text-align: center;
}
.blog-page-header h1 { color: var(--white); }
.blog-page-header p { color: rgba(255,255,255,.6); margin-top: 12px; }

/* ══════════════════════════════════════
   POST SINGLE
══════════════════════════════════════ */
.post-single {}
.post-header {
  background: var(--dark);
  padding: 140px 0 60px;
}
.post-header h1 { color: var(--white); max-width: 760px; }
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.post-meta time { color: rgba(255,255,255,.5); font-size: .9rem; }
.post-body {
  padding: 64px 0;
  max-width: 760px;
}
.post-body h2, .post-body h3 { margin: 32px 0 16px; }
.post-body p, .post-body li { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.post-body ul { padding-left: 20px; list-style: disc; }
.post-body strong { color: var(--text); }
.post-cta-box {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--violet), var(--violet-lt));
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
}
.post-cta-box h3 { color: var(--white); margin-bottom: 8px; }
.post-cta-box p { color: rgba(255,255,255,.8); margin-bottom: 24px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--dark); padding: 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .apropos-inner { grid-template-columns: 1fr; }
  .photo-frame { aspect-ratio: 4/3; max-width: 400px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { gap: 24px; }
  .niveaux { gap: 10px; }
}
@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .btn-lg { padding: 14px 24px; font-size: .95rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ── Animations d'entrée ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── Modus operandi card ── */
/* ── Modus operandi card ── */
.modus-card {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
}
.modus-card h3 {
  color: var(--white);
  margin-bottom: 16px;
}
.modus-card p {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.modus-card p:last-child { margin-bottom: 0; }
.modus-card strong {
  color: var(--yellow);
}
.modus-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Responsive — repasse en colonne sur mobile */
@media (max-width: 768px) {
  .modus-card {
    grid-column: span 1;
    flex-direction: column;
    gap: 16px;
  }
}

  #ym-root {
    all: initial;
    display: block;
    font-family: 'DM Sans', sans-serif;
    background: #f5f3ef;
    padding: 3rem 1.5rem;
    color: #1a1a18;
    box-sizing: border-box;
  }

  #ym-root *, #ym-root *::before, #ym-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  #ym-root .ym-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2dfd8;
    overflow: hidden;
  }

  #ym-root .ym-header {
    padding: 2rem 2.5rem 1.75rem;
    border-bottom: 1px solid #e2dfd8;
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  #ym-root .ym-header-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d6336c;
    flex-shrink: 0;
    display: block;
  }

  #ym-root .ym-header-text h1 {
    all: unset;
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1a1a18;
  }

  #ym-root .ym-header-text p {
    all: unset;
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
  }

  #ym-root .ym-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
  }

  #ym-root .ym-card {
    border-right: 1px solid #e2dfd8;
    border-bottom: 1px solid #e2dfd8;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.15s;
    background: #fff;
  }

  #ym-root .ym-card:hover {
    background: #fdf9f4;
  }

  #ym-root .ym-card a {
    all: unset;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
  }

  #ym-root .ym-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a18;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  #ym-root .ym-card-title::after {
    content: '↗';
    font-size: 0.7rem;
    color: #bbb;
    margin-left: auto;
    flex-shrink: 0;
    transition: color 0.15s;
  }

  #ym-root .ym-card a:hover .ym-card-title::after {
    color: #d6336c;
  }

  #ym-root .ym-card-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    color: #666;
    line-height: 1.5;
    flex: 1;
  }

  #ym-root .ym-card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
  }

  #ym-root .ym-badge {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fce8f0;
    color: #c02059;
    letter-spacing: 0.03em;
    display: inline-block;
  }

  #ym-root .ym-card-url {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: #bbb;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }

  #ym-root .ym-footer {
    padding: 1rem 2.5rem;
    border-top: 1px solid #e2dfd8;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: #bbb;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
#cal-embed {
  min-height: 600px;
  width: 100%;
}
/* ══════════════════════════════════════
   FORMATION INFORMATIQUE
══════════════════════════════════════ */
.formation-info {
  background: var(--light);
}
.formation-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.formation-themes h3 {
  margin-bottom: 28px;
  font-size: 1.2rem;
}
.themes-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.theme-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(108,63,197,.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.theme-item:hover {
  border-color: var(--violet-lt);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.theme-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.theme-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.theme-item p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

/* Carte tarif */
.formation-tarif {
  position: sticky;
  top: 100px;
}
.formation-tarif-inner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.formation-badge {
  display: inline-block;
  background: rgba(255,210,63,.15);
  border: 1px solid rgba(255,210,63,.3);
  color: var(--yellow);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  align-self: flex-start;
}
.formation-tarif-inner .tarif-prix { margin-bottom: 0; }
.formation-tarif-inner .tarif-features { margin-bottom: 4px; }
.formation-note {
  font-size: .82rem;
  color: rgba(96, 96, 96, 0.45);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .formation-grid {
    grid-template-columns: 1fr;
  }
  .formation-tarif {
    position: static;
  }
}