/* ========================================================
   MS La Différence — Design tokens
   Palette dérivée du logo : violet / vert / orange / jaune
   ======================================================== */
:root {
  --violet: #6B2FA0;
  --violet-deep: #4E2178;
  --green: #1E8449;
  --green-deep: #166436;
  --orange: #F2994A;
  --yellow: #FFC93C;
  --ink: #241B2F;
  --ink-soft: #4A4056;
  --paper: #FFFCFA;
  --paper-tint: #FAF6FF;
  --white: #FFFFFF;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px rgba(107, 47, 160, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--violet);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet);
}
.btn-ghost:hover { background: var(--violet); color: var(--white); }
.btn-light { background: var(--white); color: var(--violet); }
.btn-light:hover { background: var(--yellow); }
.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ========================================================
   Header
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(36,27,47,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.5vw, 24px);
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: nowrap;
}
.brand-logo { height: 46px; width: auto; border-radius: 8px; flex-shrink: 0; }
.main-nav ul {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}
.main-nav a,
.dropdown-toggle {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--violet); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  border: 2px solid var(--violet);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-pill {
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--violet);
}
.lang-pill.is-active { background: var(--violet); color: var(--white); }
.lang-pill.is-disabled {
  color: var(--ink-soft);
  opacity: 0.45;
  cursor: default;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ========================================================
   Hero
   ======================================================== */
.hero { position: relative; overflow: hidden; padding-top: 64px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 90px;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 14px;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--ink);
}
.hero-underline {
  position: relative;
  color: var(--violet);
}
@media (min-width: 700px) {
  .hero-underline { white-space: nowrap; }
}
.hero-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 10px;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.55;
  border-radius: 6px;
}
.star { color: var(--orange); margin-left: 6px; }
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(36,27,47,0.1);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--violet);
  line-height: 1.1;
}
.hero-stats span { font-size: 0.8rem; color: var(--ink-soft); }

.hero-full-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--violet);
  margin: 6px 0 4px;
  line-height: 1.15;
}
.hero-address {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-building {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-logo-badge {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 10px 24px rgba(36,27,47,0.22);
}

.bridge-divider {
  display: block;
  width: 100%;
  height: 70px;
}
.bridge-star {
  font-family: var(--font-display);
  font-size: 22px;
  fill: var(--yellow);
}

/* ========================================================
   Sections — shared
   ======================================================== */
.section { padding: 84px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin: 0 0 44px;
  color: var(--ink);
}
.center { text-align: center; }
.eyebrow-center { text-align: center; }

/* Why grid */
.why { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
  border-top: 5px solid var(--violet);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 12px 0 10px;
}
.why-card p { color: var(--ink-soft); line-height: 1.55; margin: 0; font-size: 0.95rem; }
.why-icon { font-size: 1.8rem; }
.why-violet { border-top-color: var(--violet); }
.why-green { border-top-color: var(--green); }
.why-orange { border-top-color: var(--orange); }
.why-yellow { border-top-color: var(--yellow); }

/* Sections split FR/EN */
.sections-split { background: var(--paper-tint); }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.split-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--white);
}
.split-fr { background: linear-gradient(150deg, var(--green), var(--green-deep)); }
.split-en { background: linear-gradient(150deg, var(--violet), var(--violet-deep)); }
.split-flag { font-size: 2.2rem; margin-bottom: 12px; }
.split-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 12px; }
.split-card p { line-height: 1.6; opacity: 0.95; margin: 0 0 18px; }
.split-list { margin: 0 0 22px; }
.split-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.95rem;
}
.split-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--yellow);
}
.link-more { font-weight: 600; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 20px;
  font-style: italic;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--violet), var(--green));
  color: var(--white);
}
.cta-inner { text-align: center; }
.cta-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0 0 10px;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
}
.cta-inner p { max-width: 50ch; margin: 0 auto 32px; opacity: 0.95; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ========================================================
   Footer
   ======================================================== */
.site-footer { background: var(--ink); color: var(--paper-tint); padding: 64px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 56px; border-radius: 8px; margin-bottom: 12px; }
.footer-brand p { opacity: 0.75; font-size: 0.9rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 14px;
  color: var(--yellow);
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { opacity: 0.85; font-size: 0.9rem; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  padding-top: 20px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.main-nav a.is-active { color: var(--violet); }
.section-more { text-align: center; margin-top: 36px; }

/* ========================================================
   Page hero (pages secondaires)
   ======================================================== */
.page-hero {
  padding: 72px 0 64px;
  color: var(--white);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 8px 0 0;
}
.eyebrow-onlight {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--yellow);
  margin: 0;
}
.page-hero-lead { margin: 16px 0 0; max-width: 60ch; opacity: 0.95; }
.page-hero-violet { background: linear-gradient(120deg, var(--violet), var(--violet-deep)); }
.page-hero-green { background: linear-gradient(120deg, var(--green), var(--green-deep)); }
.page-hero-orange { background: linear-gradient(120deg, var(--orange), #C96A1F); }
.page-hero-split { background: linear-gradient(120deg, var(--green), var(--violet)); }

/* ========================================================
   Two-column generic layout
   ======================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.lead-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--violet);
  margin: 4px 0 14px;
}

/* Value list */
.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.value-list li {
  background: var(--paper-tint);
  border-left: 4px solid var(--violet);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Chips */
.alt-bg { background: var(--paper-tint); }
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.chip {
  background: var(--white);
  border: 2px solid var(--green);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
}

/* Steps (inscriptions) */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.step-card h3 { font-family: var(--font-display); margin: 0 0 10px; }
.step-card p { color: var(--ink-soft); line-height: 1.55; margin: 0 0 14px; }
.doc-list { margin: 0; padding-left: 18px; color: var(--ink-soft); line-height: 1.8; }

/* Notice box */
.notice-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
}
.notice-card h3 { font-family: var(--font-display); margin: 0 0 10px; color: var(--violet); }
.notice-card p { margin: 6px 0; color: var(--ink-soft); }

.note-box {
  margin-top: 28px;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  background: var(--paper-tint);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
}

/* Gallery page variants */
.gallery-grid-teaser { grid-template-columns: repeat(3, 1fr); }
.gallery-grid-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
.gallery-item-wide { grid-column: span 1; }
.gallery-item-tall { height: 100%; }

/* Contact page */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(36,27,47,0.15);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.contact-info-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-info-list strong { font-family: var(--font-display); font-size: 0.85rem; color: var(--violet); }
.contact-info-list span a { color: var(--ink); font-weight: 600; }
.contact-info-list span a:hover { color: var(--violet); }

/* ========================================================
   Mot de la fondatrice
   ======================================================== */
.founder-letter { background: var(--paper-tint); }
.letter-wrap { max-width: 780px; }
.letter-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.letter-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.letter-avatar-lg { width: 68px; height: 68px; font-size: 1.3rem; }
.letter-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: var(--green);
  margin: 0;
}
.letter-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2px 0 0;
}
.letter-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
}
.letter-body p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 20px;
}
.letter-body p:last-child { margin-bottom: 0; }
.letter-body strong { color: var(--ink); }
.letter-motto {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--violet);
  text-align: center;
  margin: 28px 0 !important;
}
.letter-signature {
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--violet);
  margin: 20px 0 0;
}

/* Teaser sur l'accueil */
.founder-teaser-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
  border-left: 5px solid var(--yellow);
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 6px 0 10px;
}
.founder-signature {
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 14px;
}

/* ========================================================
   Barre de contact
   ======================================================== */
.contact-bar {
  background: var(--violet-deep);
  color: var(--white);
  font-size: 0.8rem;
}
.contact-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-bar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-bar a { color: var(--white); opacity: 0.9; }
.contact-bar a:hover { opacity: 1; text-decoration: underline; }
.contact-bar-right { opacity: 0.85; }

/* ========================================================
   Mégamenu
   ======================================================== */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.dropdown-toggle:hover { color: var(--violet); }
.dropdown-toggle.is-active { color: var(--violet); }
.caret { font-size: 0.7rem; }
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(36,27,47,0.14);
  padding: 8px 0;
  min-width: 220px;
  z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a,
.dropdown-menu .is-disabled {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--paper-tint); color: var(--violet); }
.dropdown-menu .is-disabled { opacity: 0.45; cursor: default; }

/* ========================================================
   Bouton WhatsApp
   ======================================================== */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }

/* ========================================================
   Cartes actualités
   ======================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
}
.news-media { height: 180px; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px; }
.news-date {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
  color: var(--green);
  margin: 0 0 8px;
}
.news-body h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 8px; }
.news-body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ========================================================
   Hero enrichi (Bienvenue à / tagline / scroll hint)
   ======================================================== */
.hero-welcome {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 2px;
  letter-spacing: 0.04em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green);
  margin: 10px 0 18px;
}
.hero-scroll-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  padding-bottom: 8px;
}

/* ========================================================
   Section intro & mises en page annexes
   ======================================================== */
.section-intro {
  max-width: 70ch;
  margin: 0 auto 40px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.section-intro.center { text-align: center; }
.two-col-reverse { direction: ltr; }
.quote-lines {
  font-family: var(--font-display);
  color: var(--violet);
  line-height: 1.7;
  margin: 18px 0 24px;
}
.split-sub { font-weight: 600; opacity: 0.85; margin: -8px 0 14px !important; }
.split-links { margin: 14px 0 0; font-size: 0.9rem; }
.split-links a { text-decoration: underline; }
.split-links.is-disabled { opacity: 0.5; }

/* ========================================================
   Grille des engagements (Pourquoi MS La Différence)
   ======================================================== */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.engagement-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
}
.engagement-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--violet);
  display: block;
  margin-bottom: 10px;
}
.engagement-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 10px; }
.engagement-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }

/* ========================================================
   Cartes "niveaux" (portes d'entrée maternelle/primaire/EN)
   ======================================================== */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gateway-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: 0 8px 24px rgba(36,27,47,0.06);
  border-top: 5px solid var(--violet);
  transition: transform 0.15s ease;
}
.gateway-card:hover { transform: translateY(-4px); }
.gateway-card.is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.gateway-violet { border-top-color: var(--violet); }
.gateway-green { border-top-color: var(--green); }
.gateway-orange { border-top-color: var(--orange); }
.gateway-yellow { border-top-color: var(--yellow); }
.gateway-icon { font-size: 1.7rem; }
.gateway-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  margin: 8px 0 4px;
}
.gateway-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 8px; }
.gateway-card p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; margin: 0 0 12px; }
.gateway-link { font-weight: 600; font-size: 0.85rem; color: var(--violet); }

/* ========================================================
   Lettre — variante "preview" plus courte + highlight
   ======================================================== */
.letter-body-preview { padding: 36px; }
.letter-highlight {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--violet);
  margin: 0 0 20px !important;
}

/* ========================================================
   Bandeau de statistiques
   ======================================================== */
.stats-band {
  background: linear-gradient(120deg, var(--violet-deep), var(--violet));
  color: var(--white);
}
.eyebrow-onlight.eyebrow-center { color: var(--yellow); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--yellow);
}
.stat-item span { font-size: 0.9rem; opacity: 0.9; }

/* ========================================================
   Dropdown groupé (Nos sections FR/EN)
   ======================================================== */
.dropdown-menu-grouped { min-width: 240px; }
.dropdown-group-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  padding: 10px 18px 4px;
}

/* ========================================================
   Footer élargi (5 colonnes)
   ======================================================== */
.footer-grid-wide { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 0.8fr; }
.footer-tagline { opacity: 0.75; font-size: 0.85rem; margin-top: 8px; }
.footer-col .is-disabled { opacity: 0.4; font-size: 0.9rem; display: block; padding: 2px 0; }

/* ========================================================
   Carte / localisation (placeholder)
   ======================================================== */
.map-placeholder {
  background: var(--paper-tint);
  border: 2px dashed rgba(107,47,160,0.25);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-display);
  text-align: center;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36,27,47,0.08);
  min-height: 320px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ========================================================
   Cartes "deux parcours" avec photo + badge (maquette fondatrice)
   ======================================================== */
.split-grid-photo { align-items: stretch; }
.split-card-wrap { position: relative; }
.split-card-photo {
  display: flex;
  padding: 0;
  overflow: visible;
  position: relative;
  clip-path: url(#splitTopClip);
  height: 100%;
}
.split-photo {
  flex: 0 0 38%;
  min-height: 100%;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.split-photo span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.85;
}
.split-photo-fr { background: var(--green-deep); }
.split-photo-en { background: var(--violet-deep); }
.split-card-photo-reverse { flex-direction: row-reverse; }
.split-card-photo-reverse .split-photo {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.split-card-content {
  flex: 1;
  padding: 58px 34px 40px;
  position: relative;
}
.split-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(36,27,47,0.2);
  border: 3px solid var(--white);
  z-index: 5;
}

/* ========================================================
   Liens rapides (page Notre école)
   ======================================================== */
.quick-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.quick-link {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.quick-link:hover { background: rgba(255,255,255,0.28); }

/* ========================================================
   Sections Ambition/Vision/Objectifs & Pourquoi MS La Différence
   ======================================================== */
.avo-wrap { max-width: 780px; }
.avo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green);
  text-align: center;
  margin: 0 0 36px;
}
.avo-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  color: var(--violet);
  font-size: 1.15rem;
  margin: 32px 0 12px;
}
.avo-section p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 14px;
}
.avo-tagline {
  font-family: var(--font-display);
  color: var(--violet);
  font-weight: 600;
}
.avo-list { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); line-height: 1.8; list-style: disc; }
.avo-list li { margin-bottom: 6px; }
.avo-closing {
  margin-top: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.8;
}
.avo-final {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--orange);
  text-align: center;
  margin: 32px 0 0;
}

/* ========================================================
   Bandeau partenaires
   ======================================================== */
.partners-band { background: var(--paper-tint); }
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin-top: 32px;
}
.partner-logo {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 1220px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(36,27,47,0.08);
    box-shadow: 0 12px 24px rgba(36,27,47,0.1);
    padding: 8px 0;
  }
  .main-nav.is-open ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav.is-open li {
    border-top: 1px solid rgba(36,27,47,0.06);
  }
  .main-nav.is-open a {
    display: block;
    padding: 16px 24px;
  }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 0; padding: 0 12px; margin-top: 10px; }
  .hero-building { max-width: 280px; margin: 0 auto; }
  .hero-logo-badge { width: 76px; height: 76px; top: -14px; right: 2px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid-teaser { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .value-list { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .founder-teaser-inner { flex-direction: column; padding: 26px; }
  .letter-body { padding: 26px; }
  .contact-bar-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 20px; }
  .contact-bar-left { gap: 12px; }
  .news-grid { grid-template-columns: 1fr; }
  .main-nav .dropdown-menu { position: static; box-shadow: none; padding-left: 12px; display: block; }
  .has-dropdown:hover .dropdown-menu { display: block; }
  .header-actions .btn-whatsapp { padding: 8px 14px; font-size: 0.85rem; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .gateway-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid-wide { grid-template-columns: 1fr 1fr; }
  .split-card-photo,
  .split-card-photo-reverse { flex-direction: column; }
  .split-card-photo-reverse { flex-direction: column-reverse; }
  .split-card-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .split-photo {
    flex: 0 0 160px;
    min-height: 160px;
    height: 160px;
    width: 100%;
    border-radius: 0 !important;
  }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .header-actions .btn-primary.btn-sm { display: none; }
  .header-actions .btn-whatsapp.btn-sm { padding: 8px 10px; font-size: 0; }
  .header-actions .btn-whatsapp.btn-sm::before { content: "💬"; font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; }
  .gateway-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-wide { grid-template-columns: 1fr; }
}
