/* ============================================
   FORMATION ART-THÉRAPIE — V2 MODERN LMS
   Inspired by LearnAxis / EduLink
   Dark green + warm accents, Inter font
   ============================================ */

/* 1. RESET & VARIABLES
============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core palette */
  --green-900: #0B2B1A;
  --green-800: #133D26;
  --green-700: #1A5235;
  --green-600: #217A4B;
  --green-500: #28965A;
  --green-400: #3DAF72;
  --green-300: #6FC795;
  --green-200: #A8DDB8;
  --green-100: #D4F0DD;
  --green-50:  #EFF9F2;

  /* Neutrals */
  --gray-950: #0A0D0B;
  --gray-900: #111714;
  --gray-800: #1E2723;
  --gray-700: #374740;
  --gray-600: #4D5E55;
  --gray-500: #6B7E73;
  --gray-400: #8FA198;
  --gray-300: #B4C4BC;
  --gray-200: #D4DED9;
  --gray-100: #EBF0ED;
  --gray-50:  #F6F8F7;
  --white:    #FFFFFF;

  /* Accent — warm gold */
  --gold-500: #D4A843;
  --gold-400: #E4BE5C;
  --gold-300: #F0D47F;
  --gold-100: #FDF5E0;

  /* Accent — coral for CTAs */
  --coral-600: #D4553A;
  --coral-500: #E8694E;
  --coral-400: #F08A70;
  --coral-100: #FDE8E1;

  /* Semantic */
  --bg-body:   var(--white);
  --bg-soft:   var(--gray-50);
  --bg-muted:  var(--gray-100);
  --text-primary:   var(--gray-950);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --border:         var(--gray-200);
  --border-light:   var(--gray-100);

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Sizing */
  --max-w: 1200px;
  --nav-h: 72px;
  --section-gap: 100px;
  --container-px: 24px;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.12);

  /* Transitions */
  --ease: .25s cubic-bezier(.4,0,.2,1);
  --ease-spring: .4s cubic-bezier(.175,.885,.32,1.275);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--green-900); }
ul, ol { list-style: none; }
html, body { overflow-x: hidden; }

/* 2. LAYOUT
============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* 3. BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--green-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding-left: 12px;
  padding-right: 12px;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-white {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-50);
  border-color: var(--green-50);
  color: var(--green-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-coral {
  background: var(--coral-500);
  color: var(--white);
  border-color: var(--coral-500);
}
.btn-coral:hover {
  background: var(--coral-600);
  border-color: var(--coral-600);
  color: var(--white);
  transform: translateY(-1px);
}

/* 4. SKIP LINK
============================================ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--green-800);
  color: var(--white);
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
  transition: top var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* 5. NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all var(--ease);
}

.navbar-light {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.navbar-transparent {
  background: transparent;
}
.navbar-transparent.scrolled {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
}

.navbar-dark {
  background: var(--green-900);
}
.navbar-dark .navbar-link,
.navbar-dark .logo-text,
.navbar-dark .logo-mark { color: var(--white); }
.navbar-dark .navbar-link:hover { color: var(--green-200); }
.navbar-dark .toggle-bar { background: var(--white); }
.navbar-dark.scrolled {
  background: rgba(11,43,26,.97);
  backdrop-filter: blur(12px);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green-800);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .05em;
  border-radius: var(--r-sm);
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  display: none;
}
@media (min-width: 768px) { .logo-text { display: inline; } }

.navbar-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}
@media (min-width: 900px) { .navbar-menu { display: flex; } }

.navbar-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--ease);
  position: relative;
}
.navbar-link:hover { color: var(--text-primary); }
.navbar-link.is-active { color: var(--green-700); font-weight: 600; }
.navbar-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-600);
  border-radius: 1px;
}

.navbar-actions { display: none; }
@media (min-width: 900px) { .navbar-actions { display: flex; align-items: center; gap: 12px; } }

.navbar-cta svg { flex-shrink: 0; }

/* Mobile toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
@media (min-width: 900px) { .navbar-toggle { display: none; } }

.toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--ease);
}

.navbar-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.navbar-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-menu.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 24px;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  z-index: 999;
}
.navbar-dark .navbar-menu.is-open {
  background: var(--green-900);
}
.navbar-dark .navbar-menu.is-open .navbar-link {
  color: var(--white);
}
.navbar-dark .navbar-menu.is-open .navbar-link:hover {
  color: var(--green-200);
}
.navbar-menu.is-open .navbar-link {
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
}
.navbar-dark .navbar-menu.is-open .navbar-link {
  border-bottom-color: rgba(255,255,255,.1);
}
.navbar-menu.is-open + .navbar-actions {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
}
.navbar-dark .navbar-menu.is-open + .navbar-actions {
  background: var(--green-800);
  border-top-color: rgba(255,255,255,.1);
}
.navbar-menu.is-open + .navbar-actions .navbar-cta {
  width: 100%;
  justify-content: center;
}

/* 6. HERO
============================================ */
.hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: var(--green-900);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(40,150,90,.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.hero-content { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) { .hero-content { align-items: center; } }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-200);
  backdrop-filter: blur(8px);
  width: fit-content;
}
.hero-chip svg { color: var(--gold-400); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--white);
}
.hero-title em {
  font-style: italic;
  color: var(--green-300);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 520px;
}
.hero-desc a { color: var(--green-300); }
.hero-desc a:hover { color: var(--white); }

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) { .hero-price { justify-content: center; } }

.hero-price-old {
  font-size: 20px;
  color: rgba(255,255,255,.4);
  text-decoration: line-through;
}
.hero-price-amount {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-price-note {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.hero-actions .btn-primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-900);
  font-weight: 700;
}
.hero-actions .btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
}
.hero-actions .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.hero-actions .btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) { .hero-visual { max-width: 480px; margin: 0 auto; } }

.hero-img-wrap {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,.3);
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-xl);
  z-index: 2;
  white-space: nowrap;
}

.hero-floating-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-floating-item .fi-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.fi-green { background: var(--green-50); color: var(--green-700); }
.fi-gold { background: var(--gold-100); color: var(--gold-500); }
.fi-coral { background: var(--coral-100); color: var(--coral-500); }

.hero-floating-item .fi-text {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.hero-floating-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

@media (max-width: 600px) {
  .hero-floating {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 14px 20px;
  }
  .hero-floating-divider { display: none; }
}

/* 7. TRUST BAR
============================================ */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-item svg { color: var(--green-600); flex-shrink: 0; }

/* 8. CATEGORIES
============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .categories-grid { grid-template-columns: 1fr; } }

.category-card {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  background: var(--white);
  transition: all var(--ease);
  cursor: default;
}
.category-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.cat-yellow .category-icon { background: var(--gold-100); }
.cat-coral  .category-icon { background: var(--coral-100); }
.cat-green  .category-icon { background: var(--green-50); }
.cat-purple .category-icon { background: #F3EEFF; }

.category-card h3 {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.category-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 9. STATS
============================================ */
.stats-section {
  background: var(--green-900);
  color: var(--white);
  padding: var(--section-gap) 0;
}

.stats-grid-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .stats-grid-inner { grid-template-columns: 1fr; gap: 40px; } }

.stats-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.stats-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
}

.stats-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 500px) { .stats-numbers { grid-template-columns: 1fr; } }

.stat-block { text-align: center; }

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.stat-value .accent { color: var(--gold-400); }

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}

/* Testimonial card in stats */
.stats-testimonial {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
}

.stats-testimonial .stars {
  color: var(--gold-500);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.stats-testimonial blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.stats-testimonial .author {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.stats-testimonial .role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 10. COURSES / FEATURES
============================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .courses-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--ease);
}
.feature-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card .card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}
.feature-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.feature-card:hover .card-img img { transform: scale(1.05); }

.feature-card .card-body {
  padding: 24px;
}

.feature-card .card-body h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card .card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.feature-card .card-body ul {
  padding-left: 18px;
  margin-bottom: 16px;
}
.feature-card .card-body ul li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 4px;
  list-style: disc;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--green-700);
}
.card-link:hover { color: var(--green-900); gap: 8px; }

/* 11. TESTIMONIALS CAROUSEL
============================================ */
.testimonials-section {
  padding: var(--section-gap) 0;
  background: var(--bg-soft);
}

.testimonials-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--green-200) transparent;
}
.testimonials-carousel::-webkit-scrollbar { height: 6px; }
.testimonials-carousel::-webkit-scrollbar-thumb { background: var(--green-200); border-radius: 3px; }

.testimonial-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--ease);
}
.testimonial-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}
@media (max-width: 500px) { .testimonial-card { flex: 0 0 300px; } }

.testimonial-card .t-stars {
  color: var(--gold-500);
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card .t-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  flex: 1;
}

.testimonial-card .t-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.testimonial-card .t-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.testimonial-card .t-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 12. STEPS
============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--ease);
}
.step-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
}
.step-card:nth-child(1) .step-num { background: var(--green-700); }
.step-card:nth-child(2) .step-num { background: var(--gold-500); }
.step-card:nth-child(3) .step-num { background: var(--coral-500); }

.step-card h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.step-list {
  padding-left: 18px;
}
.step-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 4px;
  list-style: disc;
}

/* 13. BLOG
============================================ */
.blog-section {
  padding: var(--section-gap) 0;
  background: var(--bg-soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--ease);
}
.blog-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card .blog-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}
.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-card .blog-body {
  padding: 22px;
}

.blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.blog-tag {
  background: var(--green-50);
  color: var(--green-700);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.blog-date {
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card h3 a {
  color: var(--text-primary);
  transition: color var(--ease);
}
.blog-card h3 a:hover { color: var(--green-700); }

.blog-card .blog-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .read-more {
  font-weight: 600;
  font-size: 14px;
  color: var(--green-700);
}
.blog-card .read-more:hover { color: var(--green-900); }

/* Blog index page specific classes */
.blog-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}
.blog-image-wrapper a { display: block; width: 100%; height: 100%; }
.blog-image-wrapper img,
.blog-image-wrapper .blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-image-wrapper img { transform: scale(1.05); }

.blog-card .blog-content {
  padding: 24px;
}
.blog-category {
  background: var(--green-50);
  color: var(--green-700);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.blog-card .blog-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card .blog-title .blog-link {
  color: var(--text-primary);
  transition: color var(--ease);
}
.blog-card .blog-title .blog-link:hover { color: var(--green-700); }
.blog-card .blog-read-more {
  font-weight: 600;
  font-size: 14px;
  color: var(--green-700);
  display: inline-block;
  margin-top: 4px;
}
.blog-card .blog-read-more:hover { color: var(--green-900); }

.blog-cta { text-align: center; }

/* 14. CTA BANNER
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-banner-inner {
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-chip {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--green-200);
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-banner-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-banner-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cta-banner-price .price-old {
  font-size: 22px;
  text-decoration: line-through;
  color: rgba(255,255,255,.4);
}
.cta-banner-price .price-current {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.cta-banner-price .price-note {
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

.cta-banner-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}
.cta-badge-item svg { color: var(--green-300); flex-shrink: 0; }

/* 15. FAQ
============================================ */
.faq-section {
  padding: var(--section-gap) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: var(--white);
  transition: all var(--ease);
  overflow: hidden;
}
.faq-item:hover { border-color: var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: background var(--ease);
}
.faq-question:hover { background: var(--bg-soft); }

.faq-question-text { flex: 1; }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--green-700);
  flex-shrink: 0;
  transition: all var(--ease);
  font-weight: 300;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.faq-answer[hidden] { display: none; }

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta p {
  font-size: 15px;
  color: var(--text-secondary);
}
.faq-cta a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.faq-cta a:hover { color: var(--green-900); }

/* 16. FOOTER
============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo .logo-mark {
  background: var(--green-600);
}
.footer-logo .logo-text {
  display: inline;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  color: var(--gray-300);
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.social-link:hover {
  background: var(--green-600);
  color: var(--white);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-400);
  font-size: 14px;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--gray-400);
}
.footer-contact li svg { color: var(--green-400); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: var(--green-300); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 600px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color var(--ease);
}
.footer-legal a:hover { color: var(--white); }

/* 17. COOKIE BANNER
============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: var(--white);
  z-index: 9000;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  animation: slideUp .3s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner.hidden { display: none; }

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) { .cookie-inner { flex-direction: column; align-items: flex-start; } }

.cookie-content p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-300);
  margin: 0;
}
.cookie-content a { color: var(--green-300); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-actions .btn-primary {
  background: var(--green-600);
  border-color: var(--green-600);
}
.cookie-actions .btn-ghost { color: var(--gray-300); }

/* 18. PAGE HEADER
============================================ */
.page-header {
  background: var(--green-900);
  padding: calc(var(--nav-h) + 48px) 0 48px;
  color: var(--white);
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.page-header h1 em { color: var(--green-300); font-style: italic; }

.page-header .lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin-top: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green-300); }
.breadcrumb a:hover { text-decoration: underline; color: var(--white); }

/* 19. ARTICLE STYLES
============================================ */
.article-section {
  padding: 48px 0 var(--section-gap);
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  border-radius: var(--r-lg);
  margin-bottom: 32px;
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-primary);
  margin: 40px 0 16px;
  line-height: 1.25;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
  list-style: disc;
}
.article-content ol li { list-style: decimal; }
.article-content a { color: var(--green-700); text-decoration: underline; }
.article-content a:hover { color: var(--green-900); }

.related-links {
  background: var(--bg-soft);
  padding: 28px 32px;
  border-radius: var(--r-lg);
  margin: 40px 0 0;
  border: 1px solid var(--border-light);
}
.related-links h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--text-primary);
}
.related-links ul { list-style: none; padding: 0; margin: 0; }
.related-links li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.related-links li:last-child { border-bottom: none; }
.related-links a { color: var(--green-700); font-weight: 500; font-size: 15px; }
.related-links a:hover { text-decoration: underline; }

/* 20. SECONDARY PAGES
============================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: var(--section-gap) 0;
}
@media (max-width: 768px) { .about-story { grid-template-columns: 1fr; gap: 32px; } }

.about-story h2 { font-family: var(--font-serif); font-size: 32px; margin-bottom: 18px; }
.about-story p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 14px; }
.about-story img { border-radius: var(--r-xl); box-shadow: var(--shadow-md); width: 100%; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: var(--section-gap) 0;
}
@media (max-width: 768px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--ease);
}
.stat-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); }

.stat-card .stat-value,
.stat-card .stat-number { font-family: var(--font-serif); font-size: 36px; color: var(--green-700); }
.stat-card .stat-label { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--ease);
}
.team-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); margin-bottom: 16px; }
.team-card h4 { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.team-card .team-title { font-size: 13px; color: var(--green-600); font-weight: 600; margin-bottom: 8px; }
.team-card .team-bio { font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

/* Values */
.value-cards, .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--ease);
}
.value-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card .value-icon { font-size: 28px; margin-bottom: 14px; }
.value-card h3 { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* Contact */
.contact-section { padding: var(--section-gap) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 18px;
  transition: border-color var(--ease);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(33,122,75,.12);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--green-800);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--ease);
}
.contact-form button[type="submit"]:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.contact-info-item svg { color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* Legal pages */
.legal-section { padding: var(--section-gap) 0; }
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-family: var(--font-serif); font-size: 24px; margin: 36px 0 14px; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }

.legal-box {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 16px 0;
  border-left: 3px solid var(--green-600);
}

/* Module accordion */
.module-item {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--white);
}
.module-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--ease);
}
.module-header:hover { background: var(--bg-soft); }
.module-content {
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  display: none;
}
.module-item.active .module-content { display: block; }

/* Formation layout */
.formation-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  padding: var(--section-gap) 0;
}
@media (max-width: 900px) { .formation-layout { grid-template-columns: 1fr; gap: 32px; } }

.formation-main { min-width: 0; }
.formation-main img { max-width: 100%; height: auto; }
.formation-main h2 { font-family: var(--font-serif); font-size: 28px; margin: 40px 0 16px; line-height: 1.25; }
.formation-main h2:first-child { margin-top: 0; }
.formation-main h3 { font-family: var(--font-serif); font-size: 22px; margin: 28px 0 10px; }
.formation-main p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 16px; }
.formation-main ul { padding-left: 20px; margin-bottom: 20px; }
.formation-main ul li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 6px; list-style: disc; }

.formation-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.pricing-card .price-section {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card .original-price { font-size: 20px; color: var(--text-muted); text-decoration: line-through; margin-bottom: 4px; }
.pricing-card .current-price { font-family: var(--font-serif); font-size: 52px; color: var(--green-700); line-height: 1; margin-bottom: 8px; }
.pricing-card .price-note {
  font-size: 13px; font-weight: 600; color: var(--coral-500);
  background: var(--coral-100); display: inline-block; padding: 4px 14px; border-radius: var(--r-full);
}
.pricing-card .btn { width: 100%; margin-bottom: 20px; justify-content: center; font-size: 16px; padding: 16px 24px; }
.pricing-card .features-list { margin-bottom: 20px; }
.pricing-card .features-list h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.pricing-card .features-list ul { list-style: none; padding: 0; margin: 0; }
.pricing-card .features-list li {
  padding: 8px 0; font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 8px;
}
.pricing-card .features-list li::before { content: '✓'; color: var(--green-600); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.pricing-card .trust-badges { text-align: center; margin-bottom: 16px; padding: 16px 0; border-top: 1px solid var(--border-light); }
.pricing-card .trust-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 10px; }
.pricing-card .badges { display: flex; justify-content: center; gap: 10px; }
.pricing-card .badge { background: var(--green-50); color: var(--green-700); padding: 6px 16px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; }
.pricing-card .guarantee { background: var(--green-50); border-radius: var(--r-md); padding: 14px 16px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.pricing-card .guarantee p { margin: 0; }
.pricing-card .social-proof { text-align: center; margin-bottom: 20px; }
.pricing-card .rating-stars { color: var(--gold-500); font-size: 18px; letter-spacing: 2px; }
.pricing-card .rating-text { font-size: 13px; color: var(--text-muted); }

/* Certification cards */
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.cert-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 32px; text-align: center; transition: all var(--ease);
}
.cert-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cert-card .cert-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: var(--r-full);
  background: var(--green-800); color: var(--white);
  font-weight: 800; font-size: 16px; margin-bottom: 18px;
}
.cert-card h3 { font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.cert-card p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 8px; }
.cert-card small { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* Formation features grid */
.formation-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.formation-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 28px; text-align: center; transition: all var(--ease);
}
.formation-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Blog CTA */
.blog-cta-section {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
  border-radius: var(--r-xl);
  margin: 0 20px 40px;
}
.blog-cta-section h2 { font-family: var(--font-serif); font-size: clamp(24px, 3.5vw, 36px); color: var(--white); margin-bottom: 20px; }

/* 21. SCROLL ANIMATIONS
============================================ */
.anim-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card animations */
.category-card,
.feature-card,
.blog-card,
.step-card,
.testimonial-card,
.value-card,
.team-card,
.stat-card,
.cert-card,
.formation-card,
.faq-item,
.contact-info-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.category-card.visible,
.feature-card.visible,
.blog-card.visible,
.step-card.visible,
.testimonial-card.visible,
.value-card.visible,
.team-card.visible,
.stat-card.visible,
.cert-card.visible,
.formation-card.visible,
.faq-item.visible,
.contact-info-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel items should not be hidden */
.testimonials-carousel .testimonial-card {
  opacity: 1;
  transform: none;
}

/* FAQ items in tab panels: always visible (observer misses hidden tabs) */
.tab-panel .faq-item,
.faq-section .faq-item {
  opacity: 1 !important;
  transform: none !important;
}

/* Help cards in FAQ: always visible */
.help-section .help-card {
  opacity: 1 !important;
  transform: none !important;
}

/* 22. RESPONSIVE
============================================ */
@media (max-width: 480px) {
  :root { --section-gap: 64px; }
  .btn { padding: 10px 20px; font-size: 14px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* Tabs component */
.tabs-section {
  padding: 32px 0 0;
}
.tabs-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-light);
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--ease);
  white-space: nowrap;
}
.tab-icon { font-size: 18px; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--green-700); border-bottom-color: var(--green-700); }
@media (max-width: 600px) {
  .tabs-section { padding: 24px 0 0; }
  .tabs-nav { gap: 0; }
  .tab-btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 13px; }
  .tab-icon { font-size: 16px; }
}

.tab-panel { display: none; animation: fadeIn .4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Objective cards */
.objective-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 28px; transition: all var(--ease);
}
.objective-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Help section */
.help-section {
  padding: 72px 0;
  background: var(--bg-soft);
}
.help-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-section { padding: 48px 0; }
}
.help-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--ease);
}
.help-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); }
.help-icon { font-size: 36px; margin-bottom: 16px; }
.help-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}
.help-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.help-card .btn {
  display: inline-flex;
  width: auto;
}
.help-card .btn-outline {
  font-size: 13px;
  word-break: break-all;
}

/* Legal nav */
.legal-nav { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border-light); }
.legal-nav h4 { font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.legal-nav ul { display: flex; gap: 16px; flex-wrap: wrap; padding: 0; }
.legal-nav li { list-style: none; }
.legal-nav a { color: var(--green-700); font-size: 14px; font-weight: 600; }
.legal-nav a:hover { text-decoration: underline; }
.legal-nav a.active { color: var(--text-muted); pointer-events: none; }

/* Article nav */
.article-nav { margin-top: 40px; display: flex; justify-content: flex-end; }
.article-nav-link {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 24px;
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  transition: all var(--ease); max-width: 350px;
}
.article-nav-link:hover { border-color: var(--green-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.article-nav-link span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.article-nav-link strong { font-size: 15px; color: var(--green-700); line-height: 1.4; }

/* Section helpers */
.section-story,
.section-values,
.section-team,
.section-commitments {
  padding: var(--section-gap) 0;
}
/* Reduce top padding when section follows a page-header */
.page-header + .section-story,
.page-header + .section-values,
.page-header + .section {
  padding-top: 48px;
}
.section-values { background: var(--bg-soft); }

/* V1 backward-compatibility aliases */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-section { padding: 32px 0 64px; }
.faq-answer p { margin-bottom: 12px; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.faq-answer a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.faq-answer a:hover { color: var(--green-900); }
.faq-answer ul, .faq-answer ol { padding-left: 24px; margin-bottom: 12px; }
.faq-answer ul li, .faq-answer ol li { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 6px; }
.faq-answer ul li { list-style: disc; }
.faq-answer ol li { list-style: decimal; }
.faq-answer strong { color: var(--green-900); }
.faq-more-text { font-size: 15px; color: var(--text-secondary); }
.faq-more-text a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
@media (max-width: 600px) {
  .faq-section { padding: 24px 0 48px; }
  .faq-question { padding: 14px 16px; }
  .faq-question-text { font-size: 14px; }
  .faq-answer { padding: 12px 16px 16px; }
}

.card-icon { font-size: 32px; margin-bottom: 14px; }
.category-card h3 { font-weight: 700; }
.category-card .card-icon { font-size: 32px; margin-bottom: 14px; }

.section-title::after { display: none; }

.section-image-break { width: 100%; border-radius: var(--r-lg); margin: 40px 0; }
.highlight-box { background: var(--green-50); border-left: 4px solid var(--green-600); border-radius: var(--r-md); padding: 20px 24px; margin: 24px 0; }
.highlight-box p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.highlight-box h3 { font-weight: 700; font-size: 16px; margin-bottom: 8px; }

.module-number { color: var(--green-600); font-weight: 700; margin-right: 8px; }

.formation-hero-img { width: 100%; border-radius: var(--r-lg); margin-bottom: 28px; }
.formation-intro { margin-bottom: 40px; }

.related-articles-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.related-articles-section h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 16px; }
.related-articles-list { list-style: none; padding: 0; }
.related-articles-list li { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.related-articles-list li:last-child { border-bottom: none; }
.related-articles-list a { color: var(--green-700); font-weight: 500; font-size: 15px; }
.related-articles-list a:hover { text-decoration: underline; }

.form-row { margin-bottom: 0; }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-half { grid-template-columns: 1fr; } }

.contact-info-card { padding: 24px; background: var(--bg-soft); border: 1px solid var(--border-light); border-radius: var(--r-lg); margin-bottom: 20px; }
.contact-info-card h3 { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.contact-info-card a { color: var(--green-700); }

/* V1 CTA section (used in copied pages) */
.cta-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.cta-section .container { padding: 80px var(--container-px); position: relative; z-index: 1; }
.cta-badge-circle { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); color: var(--green-200); padding: 10px 24px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.cta-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px); line-height: 1.2; color: var(--white); max-width: 700px; margin: 0 auto 16px; }
.cta-title-accent { color: var(--gold-400); }
.cta-subtitle { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.cta-section .btn-primary { background: var(--white); color: var(--green-900); border-color: var(--white); font-size: 17px; padding: 18px 40px; }
.cta-section .btn-primary:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--green-900); }
.cta-price-highlight { display: inline-flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.cta-price-highlight .price-old { font-size: 22px; text-decoration: line-through; opacity: .5; }
.cta-price-highlight .price-new { font-family: var(--font-serif); font-size: 52px; font-weight: 700; line-height: 1; }
.cta-price-highlight .price-label { font-size: 14px; opacity: .7; }
.cta-trust-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-trust-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-full); padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--white); }
.cta-trust-icon { font-size: 20px; line-height: 1; }
.cta-trust-text { font-size: 14px; font-weight: 600; color: var(--white); }
.cta-reassurance { font-size: 13px; color: rgba(255,255,255,.6); font-style: italic; margin: 0; }
.btn-pulse { animation: none; }
.btn-large { padding: 16px 36px; font-size: 17px; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; padding-bottom: 16px; }
.pagination-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--white); color: var(--green-900); font-size: 15px; font-weight: 500; text-decoration: none; transition: all .2s; }
.pagination-link:hover { background: var(--green-50); border-color: var(--green-300); color: var(--green-700); }
.pagination-current { background: var(--green-700); color: var(--white); border-color: var(--green-700); font-weight: 700; }
.pagination-prev, .pagination-next { font-weight: 600; padding: 8px 20px; }

/* ── Share Buttons ── */
.share-buttons { display: flex; align-items: center; gap: 12px; margin: 32px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-label { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--white); color: var(--text-muted); text-decoration: none; transition: all .2s; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.share-facebook:hover { background: #1877f2; color: white; border-color: #1877f2; }
.share-twitter:hover { background: #0f1419; color: white; border-color: #0f1419; }
.share-linkedin:hover { background: #0a66c2; color: white; border-color: #0a66c2; }
.share-pinterest:hover { background: #e60023; color: white; border-color: #e60023; }
.share-copy:hover { background: var(--green-700); color: white; border-color: var(--green-700); }
.share-copy.copied { background: var(--green-700); color: white; border-color: var(--green-700); }

/* ── Quiz Page ── */
.quiz-container { max-width: 720px; margin: 0 auto; }
.quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.quiz-progress-bar { flex: 1; height: 8px; background: var(--bg-muted); border-radius: var(--r-full); overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--green-600); border-radius: var(--r-full); transition: width .4s ease; }
.quiz-progress-text { font-size: 14px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.quiz-question { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--green-900); margin-bottom: 24px; line-height: 1.4; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.quiz-option { display: block; padding: 16px 20px; border: 2px solid var(--border); border-radius: var(--r-lg); background: var(--white); color: var(--green-900); font-size: 16px; font-weight: 500; cursor: pointer; transition: all .2s; text-align: left; }
.quiz-option:hover { border-color: var(--green-300); background: var(--green-50); }
.quiz-option.selected { border-color: var(--green-600); background: var(--green-50); }
.quiz-result { text-align: center; padding: 48px 24px; }
.quiz-result-score { font-family: var(--font-serif); font-size: 64px; font-weight: 700; color: var(--green-700); line-height: 1; margin-bottom: 8px; }
.quiz-result-label { font-size: 18px; color: var(--text-muted); margin-bottom: 24px; }
.quiz-result-message { font-size: 18px; line-height: 1.7; color: var(--green-900); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ── Testimonials Page ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.testimonial-card-full { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; transition: box-shadow .2s; }
.testimonial-card-full:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.testimonial-stars { color: var(--gold-400); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 16px; line-height: 1.7; color: var(--green-900); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: var(--r-full); background: var(--green-100); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--green-700); font-size: 18px; }
.testimonial-info .testimonial-name { font-weight: 600; color: var(--green-900); font-size: 15px; }
.testimonial-info .testimonial-role { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) {
    .pagination { flex-wrap: wrap; gap: 6px; }
    .pagination-link { min-width: 38px; height: 38px; padding: 6px 12px; font-size: 14px; }
    .share-buttons { flex-wrap: wrap; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .quiz-question { font-size: 20px; }
}

/* ============================================
   COMPREHENSIVE MOBILE FIXES
   ============================================ */

/* -- Mobile-first: small screens (< 600px) -- */
@media (max-width: 600px) {
    /* Global spacing */
    :root {
        --section-gap: 60px;
        --container-px: 16px;
        --nav-h: 60px;
    }

    /* Hero */
    .hero { padding: calc(var(--nav-h) + 32px) 0 48px; }
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 15px; }
    .hero-price-amount { font-size: 40px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Navbar */
    .logo-mark { width: 32px; height: 32px; font-size: 11px; }

    /* Buttons */
    .btn { padding: 12px 20px; font-size: 14px; }
    .btn-large { padding: 14px 28px; font-size: 15px; }

    /* Section headers */
    .section-header { margin: 0 auto 36px; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 15px; }

    /* Trust bar */
    .trust-bar-inner { gap: 24px; flex-wrap: wrap; justify-content: center; }

    /* Blog cards */
    .blog-card-content { padding: 20px; }

    /* Share buttons */
    .share-buttons { gap: 8px; padding: 16px 0; }
    .share-btn { width: 36px; height: 36px; }
    .share-label { font-size: 13px; width: 100%; margin-bottom: 4px; }

    /* Quiz */
    .quiz-result-score { font-size: 48px; }
    .quiz-option { padding: 14px 16px; font-size: 15px; }

    /* Testimonials */
    .testimonial-card-full { padding: 24px; }

    /* Formation CTA */
    .cta-section { padding: 48px 0; }
    .cta-title { font-size: 24px; }

    /* Footer */
    .footer-top { padding: 40px 0 32px; }
    .footer-heading { font-size: 15px; margin-bottom: 12px; }
    .footer-links li { margin-bottom: 6px; }
    .footer-links a { font-size: 13px; }
}

/* -- Medium phones: fix hero floating chips -- */
@media (max-width: 480px) {
    .hero-floating {
        white-space: normal;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }
    .hero-floating-item .fi-text { font-size: 13px; }

    /* Pagination: hide numbers, keep prev/next */
    .pagination-link:not(.pagination-prev):not(.pagination-next):not(.pagination-current) {
        display: none;
    }
}

/* -- Tablet (601px - 900px) -- */
@media (min-width: 601px) and (max-width: 900px) {
    :root {
        --section-gap: 72px;
    }

    .hero-grid { gap: 32px; }
    .hero-title { font-size: 36px; }
    .hero-actions { justify-content: center; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }

    /* Testimonials page: 2 columns on tablet */
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
