/*
Theme Name: ALAM
Theme URI: https://alam-marseille.fr
Author: DIGITALIO
Author URI: https://digitalio.fr
Description: Thème ALAM — Académie de la Langue Arabe de Marseille. 100% éditable via Elementor.
Version: 2.2.0
Text Domain: alam
License: GPL v2 or later
*/
/* ============================================
   ALAM — Arabic Language Academy Marseille
   Design System v3.0 — Modern School
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Amiri:wght@400;700&display=swap');

:root {
  /* Brand */
  --petrol: #134E5E;
  --petrol-deep: #0B3D4D;
  --petrol-darker: #07303C;
  --petrol-light: #1B6073;
  --petrol-lighter: #2A7A8F;
  --gold: #E8B923;
  --gold-deep: #C99A15;
  --gold-pale: #F5C518;
  --gold-100: #FDF4D3;

  /* Neutrals */
  --ink: #0F1B2D;
  --ink-soft: #475569;
  --muted: #94A3B8;
  --white: #FFFFFF;
  --cream: #FBF9F4;
  --cream-2: #F5F1E8;
  --line: #E8E2D5;

  /* Cards */
  --card-bg: #FFFFFF;
  --card-shadow: 0 4px 24px rgba(15, 27, 45, 0.06);
  --card-shadow-hover: 0 12px 40px rgba(15, 27, 45, 0.10);
  --card-radius: 20px;

  /* Type */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Layout */
  --container: 1280px;
  --section-pad: clamp(30px, 4vw, 55px);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 28px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 0.92rem; }

.lead { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.65; }

/* ============ PILL BADGE ============ */
.pill-badge {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}
.pill-badge .pill-icon {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  font-size: 0.55rem;
}
.pill-badge .pill-icon.gold { background: var(--gold); color: var(--ink); }

/* Dark variant */
.pill-badge.dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--petrol);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--petrol-deep);
  box-shadow: 0 8px 24px rgba(19, 78, 94, 0.3);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-pale);
  box-shadow: 0 8px 24px rgba(232, 185, 35, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--petrol);
}
.btn-ghost:hover {
  background: var(--petrol);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--petrol);
}
.btn-white:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn .btn-arrow {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  font-size: 0.85rem;
  transition: transform 0.3s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary .btn-arrow { background: rgba(255,255,255,0.2); }
.btn-gold .btn-arrow { background: rgba(0,0,0,0.1); }
.btn-ghost .btn-arrow { background: rgba(19, 78, 94, 0.1); }
.btn-ghost:hover .btn-arrow { background: rgba(255,255,255,0.2); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-sm .btn-arrow { width: 24px; height: 24px; font-size: 0.75rem; }

/* ============ NAV LOGO IMAGE ============ */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* ============ NAV TELEPHONE ============ */
.nav-tel {
  display: flex;
  align-items: stretch;
  gap: 8px;
  text-decoration: none;
  color: var(--petrol);
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 10;
  white-space: nowrap;
}
.nav-tel-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-tel:hover .nav-tel-icon {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--white);
}
@media (max-width: 960px) {
  .nav-tel { display: none; }
}
@media (max-width: 1100px) {
  .nav-tel-text { display: none; }
}

/* ============ CERTIFICATION BADGE ============ */
.certif-badge {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 16px rgba(15, 27, 45, 0.08);
  max-width: 200px;
  margin-bottom: 14px;
}
.certif-badge img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.certif-badge small {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.1;
}
.certif-badge strong {
  font-size: 0.8rem;
  color: var(--petrol);
  font-weight: 700;
}

/* ============ ICON CIRCLE ============ */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s;
}
.icon-circle svg { width: 20px; height: 20px; }
.icon-circle.sm { width: 38px; height: 38px; }
.icon-circle.sm svg { width: 16px; height: 16px; }

/* ============ NAVBAR ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: stretch;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  z-index: 10;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  font-weight: 700;
}
.nav-logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  margin: 0 auto;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-menu a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--petrol); }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-cta {
  padding: 8px 18px;
  font-size: 0.8rem;
  z-index: 10;
}

.nav-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  align-items: stretch;
  justify-content: center;
  z-index: 1010;
  color: var(--ink);
  cursor: pointer;
}

/* Mobile side drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.4);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-backdrop.open { opacity: 1; pointer-events: all; }

.nav-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  max-width: 82vw;
  background: var(--white);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 32px rgba(15, 27, 45, 0.12);
  overflow-y: auto;
}
.nav-overlay.open { transform: translateX(0); }

.nav-overlay-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.nav-overlay-header span {
  font-size: 0.8rem; font-weight: 700;
  color: var(--ink); text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-overlay-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: none; color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-overlay-close:hover { background: var(--cream); border-color: var(--petrol); }

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
}
.nav-overlay-links a {
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink);
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.nav-overlay-links a:last-child { border-bottom: none; }
.nav-overlay-links a:hover { color: var(--petrol); background: var(--cream); padding-left: 32px; }

.nav-overlay-cta {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.nav-overlay-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 24px;
  margin-top: var(--section-pad);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .nav-logo-img { filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand .nav-logo small { color: rgba(255,255,255,0.4); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.footer-social a svg {
  width: 14px;
  height: 14px;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: scale(1.1) rotate(-8deg) translateY(-3px);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col li {
  font-size: 0.82rem;
  padding: 4px 0;
}

.footer-newsletter {
  margin-top: 14px;
  display: flex;
  max-width: 280px;
}
.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: 999px 0 0 999px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.78rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-newsletter button {
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 0 999px 999px 0;
  font-weight: 700;
  font-size: 0.72rem;
  transition: background 0.3s;
}
.footer-newsletter button:hover { background: var(--gold-pale); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============ FORMS ============ */
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.88rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(19, 78, 94, 0.08);
}

/* ============ BADGES ============ */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
}
.badge-ink { background: var(--ink); color: var(--gold); }
.badge-white { background: var(--white); color: var(--ink); }
.badge-gold { background: var(--gold-100); color: var(--gold-deep); }
.badge-petrol { background: rgba(19, 78, 94, 0.08); color: var(--petrol); }

/* ============ SCROLL REVEAL — Modern Animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.22s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.40s; }

/* ── Hover lift for cards ── */
.blog-card,
.formule-card,
.fin-card,
.engagement-card,
.value-card,
.format-card,
.cert-card,
.team-card,
.arabic-reason-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Subtle parallax on floating elements ── */
.hero-float-review,
.hero-float-stats,
.founder-float-card,
.mission-float-img {
  animation: floatY 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}
@keyframes floatY {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ── Pill badge shimmer ── */
.pill-badge {
  position: relative;
  overflow: hidden;
}
.pill-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* ── Gold word glow ── */
.gold-word {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav smooth entrance ── */
.nav {
  transform: translateY(-100%);
  animation: navSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}
@keyframes navSlideDown {
  to { transform: translateY(0); }
}

/* ── Page header title ── */
.page-header h1 {
  animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-header .pill-badge {
  animation: titleReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}
.page-header .lead {
  animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.35s;
}

/* ── Blog pagination ── */
.blog-pagination { text-align: center; margin-top: 48px; }
.blog-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.blog-pagination li { display: inline-block; }
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-pagination a:hover {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
  transform: translateY(-2px);
}
.blog-pagination .current {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
}

/* ── CF7 wrapper styling ── */
.alam-cf7-wrap .wpcf7-form { margin: 0; }
.alam-cf7-wrap input[type="text"],
.alam-cf7-wrap input[type="email"],
.alam-cf7-wrap input[type="tel"],
.alam-cf7-wrap textarea,
.alam-cf7-wrap select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.alam-cf7-wrap input:focus,
.alam-cf7-wrap textarea:focus,
.alam-cf7-wrap select:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(19, 78, 94, 0.08);
  outline: none;
}
.alam-cf7-wrap textarea { min-height: 120px; resize: vertical; }
.alam-cf7-wrap input[type="submit"],
.alam-cf7-wrap .wpcf7-submit {
  width: 100%;
  padding: 14px 28px;
  background: var(--petrol);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.alam-cf7-wrap input[type="submit"]:hover,
.alam-cf7-wrap .wpcf7-submit:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.alam-cf7-wrap .wpcf7-response-output {
  border-radius: 10px;
  margin-top: 16px;
  font-size: 0.88rem;
}
.alam-cf7-wrap label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.alam-cf7-wrap .wpcf7-form-control-wrap { display: block; margin-bottom: 16px; }

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > *,
  .hero-float-review, .hero-float-stats, .founder-float-card, .mission-float-img {
    animation: none !important;
    transition-duration: 0.01s !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .pill-badge::after { animation: none !important; }
  .nav { animation: none !important; transform: none !important; }
  .page-header h1, .page-header .pill-badge, .page-header .lead { animation: none !important; }
}

/* ============ PAGE HEADER (sub-pages) ============ */
.page-header {
  padding: 120px 0 50px;
  text-align: center;
  background: var(--cream);
}
.page-header .container { position: relative; }
.page-header .arabic-accent {
  font-family: var(--font-arabic);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  opacity: 0.5;
}
.page-header h1 { margin-bottom: 16px; }
.page-header .lead { max-width: 600px; margin: 0 auto; }

/* ============ PHOTO STYLES ============ */
.photo {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating card on photos */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(15, 27, 45, 0.12);
  z-index: 2;
}

/* ============================================
   ALAM — Homepage v3.0
   ============================================ */

/* ============ HERO (split 50/50) ============ */
.hero {
  padding: 75px 0 40px;
  background: var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.hero-content { position: relative; }
.hero-content h1 { margin-bottom: 16px; }
.hero-content h1 .gold-word { color: var(--gold-deep); }
.hero-content .lead { margin-bottom: 24px; max-width: 480px; }

.hero-features {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-feature {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.hero-feature .icon-circle { width: 38px; height: 38px; }
.hero-feature .icon-circle svg { width: 16px; height: 16px; }
.hero-feature span { font-weight: 600; font-size: 0.8rem; color: var(--ink); }

.hero-actions {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  margin-left: -8px;
  background: var(--petrol);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.7rem;
  overflow: hidden;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-proof-text { font-size: 0.76rem; color: var(--ink-soft); }
.hero-proof-text .stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 1px; }
.hero-proof-text strong { color: var(--ink); display: block; font-size: 0.8rem; }

/* Hero photo side */
.hero-photo {
  position: relative;
}
.hero-photo-main {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 5/4;
  position: relative;
}
.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating review card on hero photo */
.hero-float-review {
  position: absolute;
  top: 12px;
  left: -12px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 32px rgba(15, 27, 45, 0.12);
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.hero-float-review .mini-avatars {
  display: flex;
}
.hero-float-review .mini-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -5px;
  overflow: hidden;
}
.hero-float-review .mini-avatar:first-child { margin-left: 0; }
.hero-float-review .mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-stars { color: var(--gold); font-size: 0.9rem; line-height: 1; }
.hero-float-text { font-size: 0.7rem; color: var(--ink-soft); font-weight: 600; }

/* Floating stats card */
.hero-float-stats {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--petrol);
  color: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 32px rgba(15, 27, 45, 0.2);
  z-index: 3;
}
.hero-float-stats .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-float-stats .stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.8;
}

/* Vertical label */
.hero-vertical-label {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transform-origin: center center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-main { aspect-ratio: 4/3; }
  .hero-float-review { left: 10px; top: 10px; }
  .hero-float-stats { left: 10px; bottom: 10px; }
  .hero-vertical-label { display: none; }
  .hero-features { flex-direction: column; gap: 12px; }
}

/* ============ KPIs — MODERN CARDS ============ */
.kpis {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 16px 12px 12px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.kpi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.kpi-card:hover .kpi-icon {
  background: var(--gold);
  color: var(--ink);
}

.kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s;
}
.kpi-icon svg { width: 20px; height: 20px; }

.kpi-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.kpi-num .kpi-suffix {
  font-size: 0.9rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.kpi-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}

.kpi-bar {
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.kpi-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
.kpi-row.visible .kpi-bar-fill { width: 100%; }

/* kpi-band used on a-propos.html — keep simple style */
.kpi-band .kpi-row { gap: 0; }
.kpi-band .kpi {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}
.kpi-band .kpi:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%;
  height: 70%; width: 1px;
  background: rgba(255,255,255,0.15);
}
.kpi-band .kpi-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}
.kpi-band .kpi-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .kpi-num { font-size: 1.8rem !important; }
}
@media (max-width: 480px) {
  .kpi-card { padding: 24px 16px 20px; }
}

/* ============ FORMATS (program cards) ============ */
.formats { padding: var(--section-pad) 0; background: var(--cream); }

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.format-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.format-card:hover .icon-circle { background: var(--gold); color: var(--ink); }

.format-card-body {
  padding: 16px 14px 12px;
  flex: 1;
}
.format-card-body .icon-circle { margin-bottom: 10px; }
.format-card-body h4 { margin-bottom: 6px; }
.format-card-body p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.format-card-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin: 0 10px 10px;
  border-radius: 14px;
}
.format-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.format-card:hover .format-card-photo img { transform: scale(1.05); }

@media (max-width: 960px) {
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .formats-grid { grid-template-columns: 1fr; }
}

/* ============ WHY ALAM (dark section) ============ */
.why-alam {
  padding: var(--section-pad) 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.why-photo-wrap {
  position: relative;
}
.why-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-contact-card { display: none; } .why-contact-card-hidden {
  position: absolute;
  bottom: 20px;
  left: -16px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 2;
}
.why-contact-item {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 6px 0;
}
.why-contact-item .cicon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(19, 78, 94, 0.1);
  color: var(--petrol);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.why-contact-item small { display: block; font-size: 0.72rem; color: var(--muted); }
.why-contact-item strong { font-size: 0.88rem; color: var(--ink); font-weight: 700; }

.why-content h2 { color: var(--white); margin-bottom: 16px; }
.why-content > p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; line-height: 1.7; }

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.why-card {
  background: #1A2B40;
  border-radius: 14px;
  padding: 16px 12px;
}
.why-card-visual {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px;
}
.why-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-card h4 { color: var(--white); margin-bottom: 4px; font-size: 0.88rem; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.76rem; line-height: 1.4; margin-bottom: 8px; }
.why-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.why-tag {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.why-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-contact-card { display: none; } .why-contact-card-hidden { left: 10px; bottom: 10px; }
}

/* ============ ABOUT PREVIEW (split) ============ */
.about-preview {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.about-content .pill-badge { margin-bottom: 20px; }
.about-content h2 { margin-bottom: 16px; }
.about-content > p { margin-bottom: 24px; font-size: 0.98rem; }

.about-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.about-feat {
  display: flex;
  gap: 16px;
}
.about-feat-text h4 { margin-bottom: 4px; font-size: 0.95rem; }
.about-feat-checks {
  display: flex;
  gap: 14px;
  margin-top: 3px;
}
.about-feat-checks span {
  display: flex;
  align-items: stretch;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-bottom {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

/* About photos */
.about-photos {
  position: relative;
  height: 380px;
}
.about-photo-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 75%;
  border-radius: 28px;
  overflow: hidden;
  z-index: 1;
}
.about-photo-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: 28px;
  overflow: hidden;
  z-index: 2;
}
.about-photo-1 img, .about-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-float-review {
  position: absolute;
  top: 15px;
  right: 10px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.about-float-review .stars { color: var(--gold); font-size: 0.85rem; }
.about-float-review span { font-size: 0.78rem; color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { height: 350px; }
  .about-photo-1 { width: 60%; height: 70%; }
  .about-photo-2 { width: 55%; height: 50%; }
}

/* ============ FEATURED FORMATIONS ============ */
.featured { padding: var(--section-pad) 0; background: var(--cream); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.feat-card:hover .feat-photo img { transform: scale(1.05); }

.feat-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.feat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-photo .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.feat-body { padding: 16px; }
.feat-body h4 { margin-bottom: 6px; }
.feat-body p { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 12px; line-height: 1.4; }
.feat-meta {
  display: flex;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.feat-link {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--petrol);
  transition: gap 0.3s;
}
.feat-card:hover .feat-link { gap: 14px; }

.featured-cta { text-align: center; margin-top: 32px; }

@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ============ LEVELS ============ */
.levels { padding: var(--section-pad) 0; background: var(--white); }

.levels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.level-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}
.level-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--lvl-color, var(--petrol));
}

.level-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  background: var(--lvl-color, var(--petrol));
  transition: transform 0.4s;
}
.level-card:hover .level-badge { transform: scale(1.08); }

.level-card h4 { margin-bottom: 6px; font-size: 0.95rem; }
.level-card p { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.4; margin-bottom: 12px; }
.level-dur {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--petrol);
  background: rgba(19, 78, 94, 0.06);
}

@media (max-width: 1000px) {
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ REVIEWS ============ */
.reviews { padding: var(--section-pad) 0; background: var(--cream); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 16px 14px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.review-quote {
  font-size: 1.8rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
}

.review-text {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.review-author {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.review-author strong { display: block; font-size: 0.82rem; color: var(--ink); }
.review-author small { font-size: 0.7rem; color: var(--muted); }

@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ============ CTA STRIP ============ */
.cta-strip { padding: var(--section-pad) 0 0; }

.cta-block {
  background: var(--petrol);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* Decorative arrows */
.cta-arrows {
  position: absolute;
  top: 24px;
  right: 30%;
  display: flex;
  gap: 6px;
  color: rgba(255,255,255,0.2);
  font-size: 1.2rem;
}

/* Dots pattern */
.cta-dots {
  position: absolute;
  top: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(4, 6px);
  gap: 8px;
  opacity: 0.15;
}
.cta-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.cta-text { position: relative; z-index: 2; }
.cta-text h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.cta-text p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-photo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.cta-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.15);
}
.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .cta-block { grid-template-columns: 1fr; padding: 48px 32px; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-photo-wrap { display: none; }
}

/* ============ SECTION MARSEILLE ============ */
.marseille-section {
  padding: 60px 0;
  background: white;
}
.marseille-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.marseille-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 16px 0;
  color: var(--ink);
}
.marseille-content p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 28px;
}
.transport-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transport-list li {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 16px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}
.transport-list li strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.transport-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--petrol);
  color: white;
  display: grid;
  place-items: center;
}
.transport-icon svg {
  stroke: white;
}
.marseille-photos {
  position: relative;
  height: 380px;
}
.marseille-photo-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 27, 45, 0.12);
  height: 100%;
}
.marseille-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.marseille-photo-mini {
  position: absolute;
  bottom: -24px;
  right: -20px;
  width: 220px;
  height: 170px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 27, 45, 0.20);
  border: 5px solid white;
}
.marseille-photo-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .marseille-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .marseille-photos { height: 320px; gap: 10px; }
  .marseille-photo-main { border-radius: 16px; }
  .marseille-photo-mini { border-radius: 16px; }
}

/* ============ SECTION DISTANCE ============ */
.distance-section {
  padding: 60px 0;
  background: var(--cream);
}
.distance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.distance-img {
  aspect-ratio: unset; min-height: 450px; max-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 27, 45, 0.12);
}
.distance-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.distance-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 16px 0;
  color: var(--ink);
}
.distance-content p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
}
.distance-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.distance-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.distance-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--petrol);
  color: white;
  display: grid;
  place-items: center;
}
.distance-feature-icon svg {
  stroke: white;
}
.distance-feature strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.3;
}
.distance-feature small {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .distance-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .distance-img {
    aspect-ratio: 16 / 9;
  }
  .distance-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .distance-feature {
    flex-direction: row;
    align-items: stretch;
  }
}

/* ============ SECTION CERTIFICATIONS ============ */
.certifications-section {
  padding: 60px 0;
  background: white;
}
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.certif-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}
.certif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 27, 45, 0.10);
  border-color: var(--gold);
}
.certif-card-header {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.certif-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--petrol);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.certif-card-icon svg {
  stroke: white;
  stroke-width: 2;
}
.certif-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.certif-card p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.certif-card-logo {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.certif-card-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}
.certif-lilate-name {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--petrol);
  letter-spacing: 0.06em;
}

@media (max-width: 800px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .certif-card {
    padding: 28px 24px;
  }
}

/* ============================================
   ALAM — Sub-pages v3.0
   ============================================ */

/* ============ FAQ ACCORDION ============ */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  gap: 14px;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--petrol); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--petrol);
  font-size: 0.6rem;
}
.faq-item.open .faq-icon {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
  padding: 0 0 10px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-answer p { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .faq-cols { grid-template-columns: 1fr; }
}

/* ============ FILTERS ============ */
.filters { padding: 20px 0 10px; }
.filters-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  box-shadow: var(--card-shadow);
}
.filter-group { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: 3px;
}
.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--petrol); color: var(--petrol); }
.filter-btn.active {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
}

/* ============ FORMATIONS LIST ============ */
.formations-list { padding: 20px 0 var(--section-pad); }
.formations-grid-lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .formations-grid-lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .formations-grid-lg { grid-template-columns: 1fr; } }

/* ============ FORMATION CARD (premium v3) ============ */
.formation-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 27, 45, 0.04);
}
.formation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(15, 27, 45, 0.12);
  border-color: transparent;
}
.formation-card:hover .formation-img img { transform: scale(1.06); }

/* Image area */
.formation-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.formation-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Gradient for badge readability */
.formation-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.08) 0%, transparent 35%, transparent 50%, rgba(15, 27, 45, 0.3) 100%);
  pointer-events: none;
}

/* Category tag (bottom-left overlay) */
.formation-tag-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--petrol);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.formation-tag-cat svg {
  width: 14px;
  height: 14px;
  stroke: var(--petrol);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Level tag (top-right overlay) */
.formation-tag-level {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--petrol-darker);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(232, 185, 35, 0.35);
}

/* Card body */
.formation-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.formation-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.formation-body p {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta with icons and proper spacing */
.formation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.formation-meta-item {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.formation-meta-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--petrol);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* CTA buttons row */
.formation-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.formation-card .btn-card {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-card.primary {
  background: var(--petrol);
  color: #FFFFFF;
}
.btn-card.primary:hover {
  background: var(--petrol-deep);
  box-shadow: 0 8px 20px rgba(19, 78, 94, 0.25);
}
.btn-card.secondary {
  background: transparent;
  color: var(--petrol);
  border: 1.5px solid var(--petrol);
}
.btn-card.secondary:hover {
  background: var(--petrol);
  color: #FFFFFF;
}
.formation-card .btn-card .arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s;
}
.btn-card.secondary .arrow-circle {
  background: rgba(19, 78, 94, 0.08);
}
.btn-card.secondary:hover .arrow-circle {
  background: rgba(255, 255, 255, 0.2);
}
.formation-card:hover .btn-card.primary .arrow-circle {
  transform: translateX(3px);
  background: var(--gold);
  color: var(--ink);
}

@media (max-width: 650px) {
  .formation-body { padding: 24px; }
}

/* Choose CTA block */
.choose-cta {
  background: var(--petrol);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.choose-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(232, 185, 35, 0.08);
}
.choose-cta-content { position: relative; z-index: 2; }
.choose-cta h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.choose-cta p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 18px; font-size: 0.9rem; }

/* ============ SINGLE FORMATION ============ */

/* Hero */
.formation-hero {
  background: var(--ink);
  color: var(--white);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}
.formation-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.formation-hero .pill-badge.dark { margin-bottom: 16px; }
.formation-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 16px;
}
.formation-hero .lead {
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 36px;
}

.formation-hero-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.fh-meta-item {}
.fh-meta-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.fh-meta-item strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.formation-hero-photo {
  position: relative;
}
.formation-hero-photo .photo-main {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.formation-hero-photo .photo-main img {
  width: 100%; height: 100%; object-fit: cover;
}
.formation-hero-photo .float-badge {
  position: absolute;
  bottom: -16px;
  left: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: stretch;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.formation-hero-photo .float-badge .fb-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-size: 0.7rem;
}
.formation-hero-photo .session-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .formation-hero-grid { grid-template-columns: 1fr; }
  .formation-hero-meta { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .formation-hero-meta { grid-template-columns: repeat(2, 1fr); }
}

/* What you'll learn grid */
.learn-section { padding: var(--section-pad) 0; background: var(--cream); }
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.learn-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 18px 16px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.learn-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.learn-card .icon-circle { margin-bottom: 16px; }
.learn-card h4 { margin-bottom: 8px; }
.learn-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 900px) { .learn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { .learn-grid { grid-template-columns: 1fr; } }

/* Program timeline */
.program-section { padding: var(--section-pad) 0; }
.program-timeline {
  max-width: 800px;
  margin: 48px auto 0;
  position: relative;
}
.program-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}
.program-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 24px 0;
  position: relative;
}
.program-item:nth-child(odd) .program-content { grid-column: 1; text-align: right; }
.program-item:nth-child(odd) .program-spacer { grid-column: 2; }
.program-item:nth-child(even) .program-spacer { grid-column: 1; }
.program-item:nth-child(even) .program-content { grid-column: 2; }

.program-dot {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
  transform: translateX(-50%);
  z-index: 2;
}
.program-week {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--petrol);
  margin-bottom: 6px;
}
.program-content h4 { margin-bottom: 8px; font-size: 1.05rem; }
.program-content p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 700px) {
  .program-timeline::before { left: 20px; }
  .program-item { grid-template-columns: 1fr; padding-left: 48px; }
  .program-item:nth-child(odd) .program-content,
  .program-item:nth-child(even) .program-content { grid-column: 1; text-align: left; }
  .program-spacer { display: none; }
  .program-dot { left: 20px; }
}

/* Method split */
.method-section { padding: var(--section-pad) 0; background: var(--cream); }
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.method-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.method-photo img { width: 100%; height: 100%; object-fit: cover; }
.method-content .pill-badge { margin-bottom: 16px; }
.method-content h2 { margin-bottom: 16px; }
.method-content > p { margin-bottom: 28px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.method-features { display: flex; flex-direction: column; gap: 16px; }
.method-feat {
  display: flex; align-items: flex-start; gap: 12px;
}
.method-feat .check-icon { margin-top: 3px; }
.method-feat span { font-size: 0.95rem; color: var(--ink-soft); }

@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; } }

/* Professor card */
.professor-section { padding: var(--section-pad) 0; }
.professor-card {
  display: flex;
  gap: 24px;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  max-width: 800px;
  margin: 0 auto;
}
.professor-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.professor-photo img { width: 100%; height: 100%; object-fit: cover; }
.professor-info h4 { font-size: 1.2rem; margin-bottom: 4px; }
.professor-info .prof-role { font-size: 0.88rem; color: var(--petrol); font-weight: 600; margin-bottom: 10px; }
.professor-info p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; }
.prof-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.prof-tag {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(19,78,94,0.06);
  color: var(--petrol);
  font-size: 0.78rem;
  font-weight: 600;
}
.prof-rating { color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; }

@media (max-width: 600px) {
  .professor-card { flex-direction: column; text-align: center; }
  .prof-tags { justify-content: center; }
}

/* FAQ Accordion */
.faq-section { padding: var(--section-pad) 0; background: var(--cream); }
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(19,78,94,0.06);
  color: var(--petrol);
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--petrol);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 0 0 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Formation body layout */
.formation-body-wrap { padding: 80px 0 120px; }

.formation-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: flex-start;
  position: relative;
}

/* Contenu principal à gauche */
.formation-content { min-width: 0; }

/* Blocs de contenu avec séparateurs */
.formation-block {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.formation-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.formation-block h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.formation-block > p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Garde la compat avec les anciens sélecteurs utilisés dans d'autres pages */
.formation-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.formation-content p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.formation-content ul { margin: 16px 0; }
.formation-content ul li {
  padding: 14px 0 14px 40px;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.formation-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 16px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Sidebar sticky à droite */
.formation-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 12px 40px rgba(15, 27, 45, 0.08);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.formation-sidebar::-webkit-scrollbar { width: 6px; }
.formation-sidebar::-webkit-scrollbar-track { background: var(--cream); border-radius: 3px; }
.formation-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.formation-sidebar::-webkit-scrollbar-thumb:hover { background: var(--petrol); }

.formation-sidebar .sidebar-badge { margin-bottom: 20px; }
.formation-sidebar h4 { font-size: 1.1rem; margin-bottom: 20px; }
.formation-sidebar .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.formation-sidebar .price small {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
}
.sidebar-list { margin: 24px 0; }
.sidebar-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.sidebar-list span { color: var(--muted); }
.sidebar-list strong { color: var(--ink); font-weight: 600; }
.sidebar-trust {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1000px) {
  .formation-layout { grid-template-columns: 1fr; gap: 50px; }
  .formation-sidebar { position: static; max-height: none; }
}

/* Check list (objectifs pédagogiques) */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  padding: 14px 0 14px 44px;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.6;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 13px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Similar formations */
.similar-section { padding: var(--section-pad) 0; background: var(--cream); }
.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .similar-grid { grid-template-columns: 1fr; } }

/* ============ TARIFS ============ */
.pricing { padding: 40px 0 var(--section-pad); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 2px solid transparent;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--petrol); }
.pricing-card.featured { border-color: var(--gold); }

.pricing-card-header {
  display: flex; align-items: stretch; gap: 10px;
  margin-bottom: 14px;
}
.pricing-card-header .icon-circle { width: 48px; height: 48px; }
.pricing-card-header .icon-circle svg { width: 22px; height: 22px; }
.pricing-card-header div h3 { margin-bottom: 2px; font-size: 1.1rem; }
.pricing-card-header div small { font-size: 0.82rem; color: var(--muted); }

.pricing-card .price-divider {
  width: 40px; height: 2px;
  background: var(--petrol);
  border-radius: 2px;
  margin-bottom: 12px;
}
.pricing-card.featured .price-divider { background: var(--gold); }

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card .price small { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.price-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.pricing-ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pricing-list { margin-bottom: 16px; }
.pricing-list li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
}
.pricing-card .btn { width: 100%; justify-content: center; }

@media (max-width: 950px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.pricing-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: center;
}
.pricing-note strong { color: var(--ink); }

/* ============ À PROPOS ============ */
.about-intro { padding: 48px 0 var(--section-pad); }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: stretch;
}
.about-photos-wrap { position: relative; height: 480px; }
.about-photo-main {
  position: absolute; top: 0; left: 0;
  width: 60%; height: 75%;
  border-radius: 28px; overflow: hidden;
  z-index: 1;
}
.about-photo-mini {
  position: absolute; bottom: 0; right: 0;
  width: 50%; height: 50%;
  border-radius: 28px; overflow: hidden;
  z-index: 2;
}
.about-photo-main img, .about-photo-mini img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-float {
  position: absolute; top: 10px; right: 10px;
  background: var(--white); border-radius: 12px;
  padding: 10px 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 3; font-size: 0.8rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: stretch; gap: 6px;
}
.about-photo-float .stars { color: var(--gold); }

.about-text-side .pill-badge { margin-bottom: 16px; }
.about-text-side h2 { margin-bottom: 20px; }
.about-text-side > p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 28px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-value-card {
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.about-value-card .icon-circle { width: 40px; height: 40px; margin-bottom: 12px; }
.about-value-card .icon-circle svg { width: 18px; height: 18px; }
.about-value-card strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: var(--ink); }
.about-value-card p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 960px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-photos-wrap { height: 320px; }
}

/* Engagements */
.engagements-section { padding: var(--section-pad) 0; background: var(--cream); }
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.engagement-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.engagement-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.engagement-card .icon-circle { margin: 0 auto 16px; background: var(--gold); color: var(--ink); }
.engagement-card h4 { margin-bottom: 8px; font-size: 1rem; }
.engagement-card p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) { .engagements-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { .engagements-grid { grid-template-columns: 1fr; } }

/* Locaux */
.locaux-section { padding: var(--section-pad) 0; }
.locaux-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.locaux-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 16/10; }
.locaux-photo img { width: 100%; height: 100%; object-fit: cover; }
.locaux-info h3 { margin-bottom: 16px; }
.locaux-info p { color: var(--ink-soft); margin-bottom: 8px; font-size: 0.95rem; }
.locaux-info .btn { margin-top: 20px; }
@media (max-width: 900px) { .locaux-grid { grid-template-columns: 1fr; } }

/* Timeline moderne */
.timeline-section { padding: var(--section-pad) 0; background: var(--cream); }

.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 56px auto 0;
}

/* Ligne centrale */
.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

/* Barre de progression qui monte au scroll */
.timeline-progress-bar {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--petrol));
  transform: translateX(-50%);
  transition: height 0.15s ease-out;
  z-index: 1;
}

/* Chaque item */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0 24px;
  align-items: stretch;
  margin-bottom: 56px;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }

/* Délais en cascade */
.timeline-item:nth-child(2) { transition-delay: 0.05s; }
.timeline-item:nth-child(3) { transition-delay: 0.1s; }
.timeline-item:nth-child(4) { transition-delay: 0.15s; }
.timeline-item:nth-child(5) { transition-delay: 0.2s; }
.timeline-item:nth-child(6) { transition-delay: 0.25s; }

/* Point central */
.tl-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  display: flex; align-items: stretch; justify-content: center;
  color: var(--petrol);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(15,27,45,0.10);
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.tl-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: tlPulse 2.5s infinite;
}
@keyframes tlPulse {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 0.35; transform: scale(1.15); }
}
.timeline-item:hover .tl-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Année (version desktop) */
.tl-year {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-deep);
  line-height: 1;
  white-space: nowrap;
}

/* Carte contenu */
.timeline-content {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(15,27,45,0.07);
  border: 1px solid var(--line);
  position: relative;
}
.timeline-content h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.timeline-content p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* Triangle côté gauche (item tl-left : content à gauche) */
.tl-left .timeline-content::after {
  content: '';
  position: absolute;
  right: -10px; top: 28px;
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--white);
  filter: drop-shadow(1px 0 0 var(--line));
}
/* Triangle côté droit (item tl-right : content à droite) */
.tl-right .timeline-content::after {
  content: '';
  position: absolute;
  left: -10px; top: 28px;
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white);
  filter: drop-shadow(-1px 0 0 var(--line));
}

/* Layout gauche : contenu | dot | année */
.tl-left { grid-template-areas: "content dot year"; }
.tl-left .timeline-content { grid-area: content; text-align: right; }
.tl-left .tl-dot { grid-area: dot; }
.tl-left .tl-year { grid-area: year; }

/* Layout droite : année | dot | contenu */
.tl-right { grid-template-areas: "year dot content"; }
.tl-right .timeline-content { grid-area: content; }
.tl-right .tl-dot { grid-area: dot; }
.tl-right .tl-year { grid-area: year; text-align: right; }

/* Année mobile (cachée sur desktop) */
.tl-year-mobile { display: none; }

@media (max-width: 768px) {
  .timeline-track::before { left: 28px; }
  .timeline-progress-bar { left: 28px; }
  .timeline-item {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "dot content" !important;
  }
  .tl-year { display: none; }
  .tl-left .timeline-content,
  .tl-right .timeline-content { text-align: left; }
  .tl-left .timeline-content::after,
  .tl-right .timeline-content::after {
    left: -10px; right: auto;
    border-left: none;
    border-right: 10px solid var(--white);
    filter: drop-shadow(-1px 0 0 var(--line));
  }
  .tl-year-mobile {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
}

/* Team */
.team { padding: var(--section-pad) 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.team-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-body { padding: 24px; text-align: center; }
.team-body h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-body .team-role { font-size: 0.82rem; color: var(--petrol); font-weight: 600; margin-bottom: 10px; }
.team-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.team-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(19,78,94,0.06);
  color: var(--petrol);
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* KPI Band (about page) */
.kpi-band { padding: 60px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ============ BLOG ============ */
.blog-list { padding: 40px 0 var(--section-pad); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
}
.blog-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: 16px; line-height: 1.3; flex: 1; }
.blog-body .blog-divider { height: 1px; background: var(--line); margin-bottom: 16px; }
.blog-body .read-more {
  display: inline-flex; align-items: stretch; gap: 8px;
  font-weight: 700; font-size: 0.88rem; color: var(--petrol);
}
.read-more .rm-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(19,78,94,0.08); color: var(--petrol);
  display: grid; place-items: center; font-size: 0.8rem;
  transition: background 0.3s, color 0.3s;
}
.blog-card:hover .rm-arrow { background: var(--petrol); color: var(--white); }

@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog single */
.blog-single { padding: 150px 0 var(--section-pad); }
.blog-single-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.blog-single-header .pill-badge { margin-bottom: 16px; }
.blog-single-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.blog-single-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-single-cover {
  max-width: 960px;
  margin: 0 auto 48px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 21/9;
}
.blog-single-cover img { width: 100%; height: 100%; object-fit: cover; }

.blog-single-layout {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* TOC */
.blog-toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.blog-toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.blog-toc a {
  display: block;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  padding-left: 12px;
  transition: color 0.3s, border-color 0.3s;
}
.blog-toc a:hover,
.blog-toc a.active {
  color: var(--petrol);
  border-left-color: var(--petrol);
  font-weight: 600;
}

/* Blog content */
.blog-single-content {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.85;
}
.blog-single-content h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  color: var(--ink);
  position: relative;
  padding-top: 16px;
}
.blog-single-content h2::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.blog-single-content p { margin-bottom: 20px; }
.blog-single-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  margin: 36px 0;
  background: var(--cream);
  border-radius: 0 16px 16px 0;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  position: relative;
}
.blog-single-content blockquote::before {
  content: '"';
  position: absolute;
  top: 16px; left: 16px;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  font-style: normal;
}

.blog-callout {
  background: var(--gold-100);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.blog-callout strong { color: var(--gold-deep); }

.blog-content-img {
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0;
}
.blog-content-img img { width: 100%; height: auto; }

/* Sidebar author + share */
.blog-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.blog-author-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}
.blog-author-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
}
.blog-author-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-author-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.blog-author-card p { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 10px; }

.blog-share { margin-bottom: 24px; }
.blog-share-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.blog-share-icons {
  display: flex;
  gap: 8px;
}
.blog-share-icons a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: all 0.3s;
}
.blog-share-icons a:hover {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
}

.blog-sidebar-cta {
  background: var(--petrol);
  border-radius: 16px;
  padding: 24px;
  color: var(--white);
  text-align: center;
}
.blog-sidebar-cta h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 8px; }
.blog-sidebar-cta p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }

/* Related articles */
.related-section { padding: var(--section-pad) 0; background: var(--cream); }

/* Newsletter bar */
.newsletter-section {
  padding: 60px 0;
  background: var(--cream);
}
.newsletter-bar {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-bar h3 { margin-bottom: 8px; }
.newsletter-bar p { color: var(--ink-soft); margin-bottom: 20px; font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: 999px 0 0 999px;
  font-family: var(--font);
  font-size: 0.92rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--petrol); }
.newsletter-form button {
  padding: 14px 24px;
  background: var(--petrol);
  color: var(--white);
  border-radius: 0 999px 999px 0;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--petrol-deep); }

@media (max-width: 900px) {
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-toc, .blog-sidebar { position: static; }
  .blog-toc { display: none; }
}

/* ============ CONTACT ============ */
.contact-section { padding: 40px 0 var(--section-pad); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--ink);
  border-radius: 20px;
  padding: 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(232,185,35,0.06);
}
.contact-info-card > * { position: relative; }
.contact-info-card h3 { color: var(--white); margin-bottom: 10px; }
.contact-info-card > p { color: rgba(255,255,255,0.6); margin-bottom: 32px; font-size: 0.92rem; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: stretch; gap: 14px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(232,185,35,0.12);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}
.contact-item strong {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-photo-mini {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 20px;
}
.contact-photo-mini img { width: 100%; height: 100%; object-fit: cover; }

.contact-form-card {
  background: var(--white);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}
.contact-form-card .pill-badge { margin-bottom: 16px; }
.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row-full { margin-bottom: 16px; }
textarea { min-height: 120px; resize: vertical; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.form-privacy input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--petrol);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px; }
}

/* Contact locaux */
.contact-locaux { padding: var(--section-pad) 0; background: var(--cream); }
.contact-direct {
  padding: 48px;
  background: var(--gold-100);
  border-radius: var(--card-radius);
  text-align: center;
}
.contact-direct h3 { margin-bottom: 16px; }
.contact-direct-items {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 20px;
}
.contact-direct-items a {
  font-size: 1.1rem; font-weight: 700; color: var(--petrol);
}

/* ============================================
   A-PROPOS — Sections spécifiques
   ============================================ */

/* ---- SECTION MISSION ---- */
.mission-section {
  padding: 60px 0;
  background: white;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: stretch;
}
.mission-img-wrap {
  position: relative;
  padding-bottom: 50px;
}
.mission-img {
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 27, 45, 0.15);
}
.mission-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mission-float-img {
  position: absolute;
  bottom: 0;
  right: -28px;
  width: 190px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  
  
  z-index: 2;
}
.mission-float-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mission-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 16px 0;
  color: var(--ink);
}
.mission-content > p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 12px;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.value-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.08);
  border-color: var(--gold);
}
.value-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.value-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--petrol);
}
.value-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.value-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; gap: 70px; }
  .mission-float-img { right: 16px; bottom: 0; width: 130px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ---- SECTION FONDATEUR ---- */
.founder-section {
  padding: 60px 0;
  background: var(--cream);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: stretch;
}
.founder-img-wrap {
  position: relative;
}
.founder-img {
  aspect-ratio: unset; min-height: 450px; max-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 27, 45, 0.15);
}
.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-float-card {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: white;
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 20px 40px rgba(15, 27, 45, 0.15);
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.founder-float-card-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--petrol);
  line-height: 1;
}
.founder-float-card-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.founder-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 16px 0 20px;
  color: var(--ink);
}
.founder-content > p {
  color: var(--ink-soft);
  line-height: 1.75;
}
.founder-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 0 16px 24px;
  margin: 28px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--petrol);
  font-style: italic;
  line-height: 1.65;
}
.founder-signature {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 16px;
}
.founder-signature-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.founder-signature-role {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.founder-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--petrol);
  line-height: 1;
}
.founder-stat-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 70px; }
  .founder-float-card { right: 16px; bottom: -20px; }
  .founder-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- SECTION MÉTHODE 3 ÉTAPES ---- */
.method-section {
  padding: 60px 0;
  background: white;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}
.method-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 50%, transparent 50%);
  background-size: 12px 2px;
  z-index: 0;
}
.method-step {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.method-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 27, 45, 0.10);
}
.method-step-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--petrol);
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 12px 24px rgba(232, 185, 35, 0.35);
  position: relative;
}
.method-step-badge::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0.3;
}
.method-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.method-step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; gap: 32px; }
  .method-grid::before { display: none; }
}

/* ---- SECTION POURQUOI L'ARABE ---- */
.why-arabic-section {
  padding: 60px 0;
  background: var(--cream);
}
.why-arabic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.why-arabic-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.why-arabic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 27, 45, 0.10);
  border-color: var(--gold);
}
.why-arabic-card-header {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.why-arabic-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--petrol);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(19, 78, 94, 0.20);
}
.why-arabic-card-icon svg { width: 26px; height: 26px; }
.why-arabic-card:nth-child(2) .why-arabic-card-icon,
.why-arabic-card:nth-child(3) .why-arabic-card-icon {
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(232, 185, 35, 0.25);
}
.why-arabic-card:nth-child(2) .why-arabic-card-icon svg,
.why-arabic-card:nth-child(3) .why-arabic-card-icon svg { stroke: var(--petrol) !important; }
.why-arabic-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.why-arabic-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-arabic-stat {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.why-arabic-stat:last-child { border-bottom: none; padding-bottom: 0; }
.why-arabic-stat:first-child { padding-top: 0; }
.why-arabic-stat-bullet {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--petrol);
}
.why-arabic-stat-text {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}
.why-arabic-stat-text strong {
  color: var(--petrol);
  font-weight: 700;
}

@media (max-width: 800px) {
  .why-arabic-grid { grid-template-columns: 1fr; }
  .why-arabic-card { padding: 28px 22px; }
}

/* ---- SECTION LOCAUX ---- */
.locaux-section {
  padding: 60px 0;
  background: var(--cream);
}
.locaux-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.locaux-img {
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 27, 45, 0.15);
}
.locaux-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.locaux-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 16px 0 30px;
  color: var(--ink);
}
.locaux-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.locaux-info-list li {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.locaux-info-list li:last-child { border-bottom: none; }
.locaux-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--petrol);
  display: grid;
  place-items: center;
}
.locaux-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
}
.locaux-info-text small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
  margin-bottom: 4px;
  font-weight: 600;
}
.locaux-info-text strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .locaux-grid { grid-template-columns: 1fr; gap: 50px; }
  .locaux-img { aspect-ratio: 16/9; }
}

/* ---- CERTIFICATIONS (partagé home + a-propos) ---- */
.certifications-section {
  padding: 60px 0;
  background: white;
}
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.certif-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.certif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 27, 45, 0.10);
  border-color: var(--gold);
}
.certif-card-header {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.certif-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--petrol);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.certif-card-icon svg {
  stroke: white;
  stroke-width: 2;
}
.certif-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.certif-card p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.certif-card-logo {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.certif-card-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}
.certif-lilate-name {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--petrol);
  letter-spacing: 0.06em;
}

@media (max-width: 800px) {
  .certifications-grid { grid-template-columns: 1fr; gap: 24px; }
  .certif-card { padding: 28px 24px; }
}


/* === TARIFS PAGE (inline styles from tarifs.html) === */
/* ============ TOGGLE ============ */
.tarifs-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.tarifs-toggle {
  display: inline-flex;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  border: 1px solid var(--line);
}
.tarifs-toggle button {
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.tarifs-toggle button.active {
  background: var(--petrol);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(19,78,94,0.25);
}

/* ============ TABLE WRAPPER ============ */
.tarif-table-outer {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  border-radius: 24px;
  box-shadow: var(--card-shadow-hover);
}
.tarif-table-outer.active { display: block; }

/* Scroll shadow hints */
.tarif-table-outer::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(to left, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
  border-radius: 0 24px 24px 0;
}

/* ============ TABLE ============ */
.tarif-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
}
.tarif-table thead tr {
  background: var(--ink);
  color: var(--white);
}
.tarif-table thead th {
  padding: 20px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}
.tarif-table thead th:first-child {
  text-align: left;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
.tarif-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.tarif-table tbody tr:last-child { border-bottom: none; }
.tarif-table tbody tr:nth-child(even) { background: rgba(251,249,244,0.5); }
.tarif-table tbody tr:hover { background: var(--cream-2); }
.tarif-table tbody td {
  padding: 20px 24px;
  text-align: center;
  transition: background 0.25s, color 0.25s;
  cursor: default;
}
.tarif-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--petrol);
  font-size: 0.95rem;
  border-right: 1px solid var(--line);
}
.tarif-table tbody td:not(:first-child):hover {
  background: var(--gold-100);
  color: var(--petrol);
}
.tarif-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  line-height: 1.1;
}
.tarif-ttc {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============ NOTE ============ */
.tarif-note {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tarif-note-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(19,78,94,0.1);
  color: var(--petrol);
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-shrink: 0;
}
.tarif-note p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.tarif-note strong { color: var(--petrol); }

/* ============ FORMULES ADDITIONNELLES ============ */
.formules-section { padding: var(--section-pad) 0 0; background: var(--white); }
.formules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.formule-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.formule-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.formule-card .icon-circle { margin-bottom: 20px; }
.formule-card h4 { color: var(--ink); margin-bottom: 4px; }
.formule-card .formule-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--petrol);
  margin: 12px 0 4px;
  line-height: 1;
}
.formule-card .formule-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}
.formule-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex: 1;
}

/* ============ CTA ============ */
.tarifs-cta { margin-top: var(--section-pad); }
.tarifs-cta-block {
  background: var(--petrol);
  border-radius: 24px;
  padding: 52px 60px;
  text-align: center;
}
.tarifs-cta-block h2 { color: var(--white); margin-bottom: 12px; }
.tarifs-cta-block p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 1.05rem; }
.tarifs-cta-block .btn-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .formules-grid { grid-template-columns: 1fr; gap: 16px; }
  .tarifs-cta-block { padding: 40px 32px; }
}

/* === FINANCEMENT PAGE (inline styles from financement.html) === */
/* ============ FINANCEMENT PAGE ============ */
.financement-intro { padding: var(--section-pad) 0; background: var(--white); }
.financement-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fin-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fin-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.fin-card:hover .fin-card-icon { background: var(--gold); color: var(--ink); }
.fin-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fin-card-icon svg { width: 26px; height: 26px; }
.fin-card h4 { color: var(--ink); margin-bottom: 8px; font-size: 1.05rem; }
.fin-card .fin-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--petrol);
  background: rgba(19,78,94,0.08);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.fin-card p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.fin-card .fin-link {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  color: var(--petrol);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.3s;
}
.fin-card .fin-link:hover { gap: 12px; }

/* ============ SPLIT SECTIONS ============ */
.fin-split { padding: var(--section-pad) 0; }
.fin-split:nth-child(odd) { background: var(--cream); }
.fin-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.fin-split-grid.reverse { direction: rtl; }
.fin-split-grid.reverse > * { direction: ltr; }
.fin-split-photo {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.fin-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fin-split-card {
  background: var(--white);
  border-radius: 28px;
  padding: 52px 48px;
  box-shadow: var(--card-shadow-hover);
  margin: 32px;
  position: relative;
  z-index: 2;
}
.fin-split-grid.reverse .fin-split-card { margin-left: -40px; }
.fin-split-grid:not(.reverse) .fin-split-card { margin-right: -40px; }
.fin-split-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--petrol);
  margin-bottom: 12px;
  display: block;
}
.fin-split-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.fin-split-card p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 28px; }

/* ============ ETAPES ============ */
.fin-etapes { padding: var(--section-pad) 0; background: var(--white); }
.fin-etapes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.fin-etapes-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.fin-etape {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.fin-etape-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--petrol);
}
.fin-etape h4 { color: var(--ink); margin-bottom: 8px; font-size: 0.95rem; }
.fin-etape p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; }

/* ============ CTA STRIP ============ */
.fin-cta { padding: var(--section-pad) 0; background: var(--cream); }
.fin-cta-block {
  background: var(--petrol);
  border-radius: 28px;
  padding: 60px 64px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
}
.fin-cta-block h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.fin-cta-block p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

@media (max-width: 1000px) {
  .financement-intro-grid { grid-template-columns: 1fr 1fr; }
  .fin-split-grid { grid-template-columns: 1fr; border-radius: 0; }
  .fin-split-photo { height: 320px; }
  .fin-split-card { margin: 24px; border-radius: 20px; padding: 36px 28px; }
  .fin-split-grid.reverse .fin-split-card { margin-left: 24px; }
  .fin-split-grid:not(.reverse) .fin-split-card { margin-right: 24px; }
  .fin-etapes-row { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .fin-etapes-row::before { display: none; }
  .fin-cta-block { flex-direction: column; text-align: center; padding: 48px 32px; }
}
@media (max-width: 600px) {
  .financement-intro-grid { grid-template-columns: 1fr; }
}

/* === BLOG ARTICLE PROSE === */
.article-hero { padding: 60px 0 0; }
.prose { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.prose p { margin-bottom: 24px; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin: 48px 0 16px; }
.prose h3 { font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; }
.prose img { border-radius: 16px; max-width: 100%; height: auto; margin: 32px 0; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--cream);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--ink-soft);
}
.prose a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 24px; }
.prose li { margin-bottom: 8px; }
.prose code {
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose pre {
  background: var(--ink);
  color: var(--cream);
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 32px 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.prose th, .prose td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th { background: var(--cream); font-weight: 600; }

/* === HARMONISATION TAILLES — RÉDUCTION ~15% === */
:root {
    --section-pad: clamp(24px, 3.5vw, 45px);
}

h1 { font-size: clamp(1.5rem, 3.5vw, 2.4rem) !important; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important; }
h3 { font-size: clamp(0.95rem, 1.4vw, 1.15rem) !important; }
h4 { font-size: 0.9rem !important; }

.lead { font-size: 0.88rem !important; }
.section-head p { font-size: 0.86rem !important; }

/* Hero */
.hero { padding: 40px 0 32px !important; }
.hero-photo-main { max-height: 420px; }
.hero-photo-main img { max-height: 420px; object-fit: cover; }
.hero-float-stats { padding: 14px 20px !important; }
.hero-float-stats .stat-num { font-size: 1.4rem !important; }
.hero-float-review { padding: 10px 14px !important; }

/* KPIs */
.kpi-num { font-size: 2rem !important; }
.kpi-icon svg { width: 28px !important; height: 28px !important; }

/* Cards */
.format-card { padding: 22px !important; }
.format-card h4 { font-size: 0.9rem !important; }
.format-card p { font-size: 0.82rem !important; }
.format-card-photo { height: 160px !important; }

/* Marseille */
.marseille-photo-main { max-height: 360px; }
.marseille-photo-main img { max-height: 360px; object-fit: cover; }

/* Why ALAM */
.why-photo img { max-height: 400px; object-fit: cover; }
.why-card h4 { font-size: 0.88rem !important; }
.why-card p { font-size: 0.8rem !important; }

.feat-photo { height: 200px !important; width: 100% !important; overflow: hidden !important; }
.feat-photo { height: 180px !important; }
.feat-body h4 { font-size: 0.9rem !important; }
.feat-body p { font-size: 0.82rem !important; }
.feat-meta { font-size: 0.72rem !important; }

/* Niveaux */
.level-card h4 { font-size: 0.88rem !important; }
.level-card p { font-size: 0.78rem !important; }
.level-badge { font-size: 1rem !important; width: 40px !important; height: 40px !important; }

/* Témoignages */
.review-card { padding: 24px !important; }
.review-text { font-size: 0.84rem !important; }
.review-quote { font-size: 2.5rem !important; }

/* CTA */
.cta-block { padding: 48px 40px !important; }
.cta-text h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important; }
.cta-text p { font-size: 0.85rem !important; }
.cta-photo { width: 180px !important; height: 180px !important; }

/* Certifications */
.certif-card h3 { font-size: 1.05rem !important; }
.certif-card p { font-size: 0.82rem !important; }

/* About preview */
.about-photo-1 img, .about-photo-2 img { max-height: 350px; object-fit: cover; }

/* Distance */
.distance-img img { object-fit: cover; }
.distance-feature strong { font-size: 0.85rem !important; }
.distance-feature small { font-size: 0.75rem !important; }

/* Buttons */
.btn { font-size: 0.82rem !important; padding: 10px 22px !important; }
.btn-primary .btn-arrow { width: 28px !important; height: 28px !important; font-size: 0.7rem !important; }

/* Pill badges */
.pill-badge { font-size: 0.72rem !important; padding: 6px 14px !important; }

/* Footer */
.footer { font-size: 0.82rem; }
.footer-col-title { font-size: 0.88rem !important; }

/* Formation single */
.formation-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem) !important; }
.formation-hero .lead { font-size: 0.85rem !important; }
.fh-meta-item small { font-size: 0.65rem !important; }
.fh-meta-item strong { font-size: 0.85rem !important; }
.formation-content h2 { font-size: 1.3rem !important; }
.sidebar-list li { font-size: 0.82rem !important; }
.price { font-size: 2.2rem !important; }

/* Page header */
.page-header h1 { font-size: clamp(1.4rem, 3vw, 2rem) !important; }
.page-header .lead { font-size: 0.85rem !important; }

/* Formations grid cards */
.formation-card h3 { font-size: 0.95rem !important; }
.formation-card p { font-size: 0.82rem !important; }
.formation-meta-item { font-size: 0.72rem !important; }

/* Blog */
.article-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important; }
.prose { font-size: 0.95rem !important; }

/* === FIX HERO PHOTO LARGEUR === */
.hero-photo-main {
    max-height: none !important;
    min-height: 380px;
}
.hero-photo-main img {
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.hero-grid {
    align-items: stretch;
}
.hero-photo {
    min-width: 0;
}

/* === FIX IMAGES COVER GLOBAL === */
img {
    max-width: 100%;
    height: auto;
}
.marseille-photo-main img,
.marseille-photo-mini img,
.distance-img img,
.why-photo img,
.about-photo-1 img,
.about-photo-2 img,
.cta-photo img,
.feat-photo img,
.format-card-photo img,
.certif-card-logo img,
.contact-photo-mini img,
.locaux-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* ============ CONTACT LOCAUX — Redesigned ============ */
.ct-locaux-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}
.ct-locaux-photo { aspect-ratio: 4/3; overflow: hidden; }
.ct-locaux-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-locaux-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.ct-locaux-content .pill-badge { margin-bottom: 12px; align-self: flex-start; }
.ct-locaux-content h3 { margin-bottom: 24px; font-size: 1.4rem; }
.ct-locaux-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.ct-locaux-item { display: flex; align-items: stretch; gap: 14px; }
.ct-locaux-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ct-locaux-item small {
  display: block;
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 2px;
}
.ct-locaux-item strong { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.ct-locaux-card:not(:has(.ct-locaux-photo)) { grid-template-columns: 1fr; }
@media (max-width: 800px) {
  .ct-locaux-card { grid-template-columns: 1fr; }
  .ct-locaux-content { padding: 28px; }
}

/* ============ KPI ROW (about page) ============ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.kpi-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--petrol);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 700px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* ============================================
   RESPONSIVE — Complete Mobile & Tablet
   ============================================ */

/* ── Burger button ── */
.nav-burger svg { transition: opacity 0.2s; }

/* ── Nav z-index hierarchy ── */
.nav { z-index: 1000; }
.nav-overlay { z-index: 1005; }
.nav-burger { z-index: 1010; }
.nav-logo { z-index: 1010; }

/* ═══════════════ TABLET ≤ 960px ═══════════════ */
@media (max-width: 960px) {
  :root { --section-pad: clamp(28px, 4vw, 48px); }

  .nav-menu { display: none !important; }
  .nav-burger { display: flex !important; margin-left: auto; }
  .nav-cta { display: none !important; }
  .nav-tel { display: none !important; }

  /* Hero */
  .hero { padding: 90px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
  .hero-photo-main { aspect-ratio: 4/3; }
  .hero-float-review { left: 10px; top: 10px; padding: 6px 10px; font-size: 0.7rem; }
  .hero-float-stats { left: 10px; bottom: 10px; padding: 8px 12px; }
  .hero-vertical-label { display: none; }
  .hero-features { flex-direction: column; gap: 10px; }
  .hero-actions { flex-wrap: wrap; }

  /* Page header */
  .page-header { padding: 90px 0 36px; }
  .page-header h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }

  /* Section heads — smaller */
  .section-head h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
  .section-head p { font-size: 0.9rem; }

  /* Grids → 2 col */
  .formats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .engagements-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .kpi-row { grid-template-columns: repeat(2, 1fr) !important; gap: 20px; }

  /* Mission */
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-float-img { right: 16px; width: 130px; }
  .values-grid { grid-template-columns: 1fr 1fr; }

  /* Founder */
  .founder-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Locaux */
  .locaux-grid { grid-template-columns: 1fr !important; gap: 36px; }

  /* Financement */
  .financement-intro-grid { grid-template-columns: 1fr !important; }
  .fin-split-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .fin-split-grid.reverse { direction: ltr; }
  .fin-split-photo { border-radius: 16px; overflow: hidden; }
  .fin-etapes-row { grid-template-columns: repeat(2, 1fr) !important; }

  /* Tarifs */
  .tarif-table-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tarif-table { min-width: 580px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* CT Locaux */
  .ct-locaux-card { grid-template-columns: 1fr; }
}

/* ═══════════════ MOBILE ≤ 640px ═══════════════ */
@media (max-width: 640px) {
  :root { --section-pad: clamp(20px, 4vw, 36px); }

  .container { padding: 0 16px; }

  /* Typography — reduce globally */
  h1 { font-size: clamp(1.4rem, 5.5vw, 2rem) !important; line-height: 1.2 !important; }
  h2 { font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important; line-height: 1.25 !important; }
  h3 { font-size: clamp(1rem, 3.5vw, 1.3rem) !important; }
  h4 { font-size: 0.92rem !important; }
  p, .lead { font-size: 0.88rem !important; line-height: 1.6 !important; }
  .pill-badge { font-size: 0.7rem; padding: 6px 12px; }

  /* Hero */
  .hero { padding: 80px 0 28px; }
  .hero-content .lead { font-size: 0.85rem !important; }
  .hero-proof { flex-direction: column; gap: 6px; align-items: flex-start; }
  .hero-photo-main { border-radius: 16px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Page header */
  .page-header { padding: 80px 0 28px; }
  .page-header .lead { font-size: 0.85rem !important; max-width: 100%; }

  /* Buttons */
  .btn { font-size: 0.82rem; padding: 11px 18px; }
  .btn-sm { padding: 9px 14px; font-size: 0.78rem; }
  .btn-actions { flex-direction: column; gap: 8px; }
  .btn-actions .btn { width: 100%; justify-content: center; }

  /* All grids → 1 col */
  .formats-grid,
  .formules-grid,
  .engagements-grid,
  .team-grid,
  .blog-grid,
  .why-arabic-grid,
  .kpi-row,
  .fin-etapes-row,
  .method-grid,
  .values-grid,
  .cert-grid,
  .niveaux-grid,
  .formations-grid-lg { grid-template-columns: 1fr !important; }

  /* Method */
  .method-grid::before { display: none !important; }
  .method-step { padding: 24px 18px; }
  .method-step-badge { width: 56px; height: 56px; font-size: 1.1rem; }

  /* KPI */
  .kpi-row { gap: 16px; }
  .kpi-num { font-size: 1.8rem !important; }
  .kpi-card { padding: 12px 10px; }

  /* Formules */
  .formule-card { padding: 20px 16px; }
  .formule-price { font-size: 1.6rem !important; }

  /* Tarifs table */
  .tarif-table { min-width: 500px; font-size: 0.78rem; }
  .tarif-table thead th { padding: 10px 8px; font-size: 0.7rem; }
  .tarif-table tbody td { padding: 10px 8px; }
  .tarifs-toggle button { font-size: 0.75rem; padding: 8px 14px; }
  .tarif-note { flex-direction: column; gap: 8px; padding: 16px; }
  .tarif-note p { font-size: 0.82rem !important; }

  /* Financement */
  .fin-card { padding: 20px 16px; }
  .fin-card h4 { font-size: 1rem !important; }
  .fin-split-card { padding: 0; }
  .fin-split-card h2 { font-size: 1.3rem !important; }
  .fin-split-card p { font-size: 0.85rem !important; }
  .fin-etape { padding: 16px 14px; }
  .fin-etape-num { width: 36px; height: 36px; font-size: 0.9rem; }
  .fin-cta-block { flex-direction: column; text-align: center; gap: 20px; padding: 28px 20px !important; }

  /* Mission */
  .mission-img { aspect-ratio: 4/3; border-radius: 20px; }
  .mission-float-img { width: 100px; right: 8px; border-width: 4px; border-radius: 12px; }
  .mission-content h2 { font-size: 1.4rem !important; }

  /* Founder */
  .founder-img { aspect-ratio: 4/3; border-radius: 20px; }
  .founder-float-card { padding: 12px 16px; right: 12px; bottom: -16px; }
  .founder-float-card-number { font-size: 1.8rem; }
  .founder-quote { font-size: 0.88rem !important; padding-left: 14px; margin: 20px 0; }
  .founder-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .founder-stat-number { font-size: 1.4rem; }
  .founder-stat-label { font-size: 0.68rem; }

  /* Team */
  .team-img { aspect-ratio: 4/3; }
  .team-body { padding: 16px; }
  .team-body h4 { font-size: 0.92rem !important; }
  .team-tags { gap: 4px; }
  .team-tag { font-size: 0.65rem; padding: 3px 8px; }

  /* Why Arabic */
  .why-arabic-card { padding: 24px 18px; }
  .why-arabic-card h3 { font-size: 1.1rem !important; }
  .why-arabic-card-icon { width: 48px; height: 48px; }
  .why-arabic-stat { padding: 10px 0; }
  .why-arabic-stat-text { font-size: 0.82rem !important; }
  .why-arabic-stat-bullet { width: 30px; height: 30px; border-radius: 8px; }

  /* Locaux */
  .locaux-img { aspect-ratio: 16/10; border-radius: 18px; }
  .locaux-info-list li { padding: 14px 0; gap: 12px; }
  .locaux-info-icon { width: 38px; height: 38px; }
  .locaux-info-text strong { font-size: 0.88rem; }

  /* Contact */
  .contact-info-card { padding: 20px 16px; }
  .contact-form-card { padding: 20px 16px; }
  .contact-item-icon { width: 36px; height: 36px; }
  .contact-item strong { font-size: 0.85rem; }
  .form-row { grid-template-columns: 1fr !important; }

  /* CT Locaux */
  .ct-locaux-content { padding: 20px 16px; }
  .ct-locaux-icon { width: 36px; height: 36px; }
  .ct-locaux-item strong { font-size: 0.85rem; }

  /* Blog */
  .blog-body { padding: 16px; }
  .blog-body h3 { font-size: 0.95rem !important; }
  .blog-body p { font-size: 0.82rem !important; }
  .blog-meta { font-size: 0.75rem; gap: 8px; }
  .blog-pagination ul { gap: 4px; }
  .blog-pagination a,
  .blog-pagination span { min-width: 36px; height: 36px; padding: 0 8px; font-size: 0.78rem; border-radius: 8px; }

  /* FAQ */
  .faq-question { font-size: 0.85rem !important; padding: 14px 0; }
  .faq-question span:first-child { flex: 1; }
  .faq-icon { width: 26px; height: 26px; }
  .faq-cols { grid-template-columns: 1fr !important; }
  .faq-answer p { font-size: 0.82rem !important; }

  /* Timeline mobile */
  .timeline-track::before { left: 24px !important; }
  .timeline-progress-bar { left: 24px !important; }
  .timeline-item {
    grid-template-columns: 48px 1fr !important;
    grid-template-areas: "dot content" !important;
    margin-bottom: 32px;
  }
  .tl-year { display: none !important; }
  .tl-dot { width: 48px; height: 48px; }
  .tl-dot svg { width: 16px; height: 16px; }
  .tl-left .timeline-content,
  .tl-right .timeline-content { text-align: left !important; }
  .tl-left .timeline-content::after { display: none; }
  .tl-right .timeline-content::after {
    left: -8px; right: auto;
    border-left: none;
    border-right: 8px solid var(--white);
  }
  .tl-year-mobile { display: inline-block !important; }
  .timeline-content { padding: 16px 18px; }
  .timeline-content h4 { font-size: 0.92rem !important; }
  .timeline-content p { font-size: 0.82rem !important; }

  /* Engagements */
  .engagement-card { padding: 20px 16px; }
  .engagement-card .icon-circle { width: 44px; height: 44px; }

  /* Certifications */
  .cert-card { padding: 20px 16px; }

  /* Niveaux */
  .niveaux-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Temoignages */
  .testimonial-card { padding: 20px 16px; }

  /* CTA */
  .tarifs-cta-block { padding: 28px 20px !important; }
  .tarifs-cta-block h2 { font-size: 1.2rem !important; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr !important; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.75rem; }

  /* Single article */
  .article-content { padding: 0 16px 48px !important; }

  /* Formations populaires */
  .popular-grid { grid-template-columns: 1fr !important; }

  /* Apropos preview */
  .apropos-preview-grid { grid-template-columns: 1fr !important; }

  /* Distance section */
  .distance-grid { grid-template-columns: 1fr !important; }

  /* Marseille section */
  .marseille-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════ SMALL MOBILE ≤ 380px ═══════════════ */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero { padding: 75px 0 20px; }
  h1 { font-size: 1.3rem !important; }
  h2 { font-size: 1.1rem !important; }
  .nav-inner { padding: 8px 12px; }
  .nav-logo-img { height: 32px; }
  .tarif-table { min-width: 440px; }
  .founder-stats { grid-template-columns: 1fr; }
  .niveaux-grid { grid-template-columns: 1fr !important; }
}
