/* ═══════════════════════════════════════════════════════════════
   NLF ACADEMY — Global Stylesheet
   style.css — covers all pages
═══════════════════════════════════════════════════════════════ */

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

:root {
  --primary:        #0F1B3D;
  --primary-light:  #1B2A52;
  --accent:         #E8294C;
  --accent-hover:   #c91e39;
  --bg-light:       #FBF8F3;
  --bg-cream:       #F0EDE7;
  --white:          #ffffff;
  --text:           #0F1B3D;
  --text-muted:     #6B7280;
  --border:         #E5E7EB;
  --blue:           #2563EB;
  --yellow:         #F59E0B;
  --green:          #10B981;
  --excel-green:    #217346;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.07);
  --shadow-md:      0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.13);
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --font:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Page-level accent override (Excel uses green) */
  --page-accent:       var(--accent);
  --page-accent-hover: var(--accent-hover);
}

/* Excel page overrides */
.page-excel {
  --page-accent:       var(--excel-green);
  --page-accent-hover: #1a5c38;
}

html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; display: block; }
button{ cursor: pointer; font-family: var(--font); border: none; outline: none; }
ul    { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── 2. ANIMATIONS ── */
.fade-up    { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-left  { opacity: 0; transform: translateX(-36px);transition: opacity .7s ease, transform .7s ease; }
.fade-right { opacity: 0; transform: translateX(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── 3. ANNOUNCEMENT BAR ── */
.announcement {
  background: var(--blue); color: var(--white);
  padding: 10px 24px; text-align: center; font-size: 14px; font-weight: 500;
  position: relative; z-index: 100;
}
.announcement a    { color: var(--white); text-decoration: underline; margin-left: 6px; font-weight: 700; }
.announcement-close{ position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; color: var(--white); font-size: 20px; opacity: .7; cursor: pointer; }
.announcement-close:hover { opacity: 1; }

/* ── 4. HEADER ── */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 90; transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-main { display: flex; align-items: center; gap: 24px; padding: 14px 0; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: var(--primary); flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; font-weight: 900; flex-shrink: 0; }
.logo-icon.excel { background: var(--excel-green); }
.logo span    { color: var(--accent); }
.logo-sub     { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: .5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link  { font-size: 14px; font-weight: 500; color: var(--text); padding: 8px 12px; border-radius: var(--r-sm); transition: var(--transition); }
.nav-link:hover { background: var(--bg-light); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.social-icon:hover { background: var(--accent); color: white; transform: scale(1.1); }

/* ── 5. BUTTONS ── */
.btn-cta {
  background: var(--accent); color: var(--white);
  padding: 10px 20px; border-radius: var(--r-sm); font-size: 14px; font-weight: 700;
  transition: var(--transition); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,41,76,.35); }

.btn-primary {
  background: var(--primary); color: var(--white);
  padding: 14px 28px; border-radius: var(--r-sm); font-size: 16px; font-weight: 700;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent; color: var(--primary);
  padding: 14px 28px; border-radius: var(--r-sm); font-size: 16px; font-weight: 600;
  border: 2px solid var(--border); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,41,76,.04); }

.btn-book {
  display: block; width: 100%;
  background: var(--primary); color: var(--white);
  padding: 16px; border-radius: var(--r-sm); font-size: 16px; font-weight: 800;
  text-align: center; transition: var(--transition);
}
.btn-book:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-free {
  display: block; width: 100%;
  background: rgba(232,41,76,.08); color: var(--accent);
  padding: 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 700;
  text-align: center; transition: var(--transition); margin-top: 10px;
  border: 1.5px solid rgba(232,41,76,.2);
}
.btn-free:hover { background: rgba(232,41,76,.15); }

/* Excel page variants */
.page-excel .btn-book { background: var(--excel-green); }
.page-excel .btn-book:hover { background: #1a5c38; }
.page-excel .btn-free { background: rgba(33,115,70,.08); color: var(--excel-green); border-color: rgba(33,115,70,.2); }
.page-excel .btn-free:hover { background: rgba(33,115,70,.15); }

/* ── 6. SUB-NAV (home page) ── */
.sub-nav { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.sub-nav-list { display: flex; gap: 4px; padding: 8px 0; overflow-x: auto; }
.sub-nav-list::-webkit-scrollbar { display: none; }
.sub-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.sub-nav-item:hover, .sub-nav-item.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ── 7. MOBILE NAV ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 200; flex-direction: column; padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-close { font-size: 28px; background: none; cursor: pointer; color: var(--text); }
.mobile-nav-link { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav-link:hover { color: var(--accent); }

/* ── 8. SECTION COMMONS ── */
section { padding: 80px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,41,76,.08); color: var(--accent);
  padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900; color: var(--primary);
  line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px;
}
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── 9. HOME – HERO ── */
.hero { background: var(--bg-light); position: relative; overflow: hidden; padding: 70px 0 80px; }
.hero-bg-shape  { position: absolute; right: -80px; top: -80px; width: 550px; height: 550px; border-radius: 50%; background: linear-gradient(135deg,rgba(232,41,76,.08),rgba(37,99,235,.08)); pointer-events: none; }
.hero-bg-shape2 { position: absolute; left: -100px; bottom: -120px; width: 400px; height: 400px; border-radius: 50%; background: rgba(232,41,76,.04); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--border); padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.hero-badge .badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero-avatars { display: flex; align-items: center; }
.hero-avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); margin-left: -8px; object-fit: cover; }
.hero-title { font-size: clamp(34px,4.5vw,58px); font-weight: 900; line-height: 1.08; color: var(--primary); margin-bottom: 20px; letter-spacing: -.02em; }
.hero-title .accent { color: var(--accent); }
.hero-subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 28px; max-width: 480px; line-height: 1.7; }
.hero-checklist { margin-bottom: 34px; display: flex; flex-direction: column; gap: 10px; }
.hero-check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.hero-check svg { flex-shrink: 0; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-wrap { position: relative; }
.hero-image-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; max-height: 520px; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-arc  { position: absolute; top: -20px; left: -20px; width: 200px; height: 200px; border: 6px solid var(--accent); border-radius: 50%; clip-path: inset(0 50% 50% 0); pointer-events: none; }
.hero-arc2 { position: absolute; bottom: -15px; right: -15px; width: 140px; height: 140px; border: 5px solid var(--blue); border-radius: 50%; clip-path: inset(50% 0 0 50%); pointer-events: none; }
.hero-float-card { position: absolute; background: var(--white); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; }
.hero-float-card.card1 { bottom: 24px; left: -20px; }
.hero-float-card.card2 { top: 24px; right: -20px; }
.float-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.float-icon.green { background: #DCFCE7; }
.float-icon.blue  { background: #DBEAFE; }
.float-title { font-size: 13px; font-weight: 700; color: var(--text); }
.float-sub   { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ── 10. HOME – STATS ── */
.stats { background: var(--primary); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat-item { text-align: center; }
.stat-number { font-size: 40px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-number span { color: var(--accent); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 500; }

/* ── 11. HOME – COURSE CARDS ── */
.courses { background: var(--white); }
.courses-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }

.course-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: var(--transition); cursor: pointer; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover .course-thumb img { transform: scale(1.05); }

.course-thumb {
  position: relative;
  overflow: hidden;
  height: 220px;          /* Fixed height — reliable across all layouts */
  flex-shrink: 0;         /* Prevent flex from collapsing it */
}
.course-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-badge { position: absolute; top: 12px; left: 12px; background: var(--white); border-radius: 50px; padding: 4px 12px; font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 5px; box-shadow: var(--shadow-sm); }
.course-badge.popular { background: #FEF9C3; color: #92400E; }
.course-price-tag { position: absolute; top: 12px; right: 12px; background: var(--primary); color: white; border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.course-flag { position: absolute; bottom: 12px; right: 12px; width: 40px; height: 40px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; font-size: 22px; }

.course-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.course-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .3px; width: fit-content; }
.course-cat.lang  { background: #E0F2FE; color: #0369A1; }
.course-cat.pro   { background: #FCE7F3; color: #9D174D; }
.course-cat.cert  { background: #F0FDF4; color: #166534; }
.course-cat.biz   { background: #FEF3C7; color: #92400E; }
.course-title { font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.course-title.highlight { color: var(--accent); }
.course-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.course-footer { padding: 14px 22px; border-top: 1px solid var(--border); }
.course-link { font-size: 14px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.course-link:hover { color: var(--accent); gap: 10px; }

/* ── 12. HOME – PRICING / STRIPE ── */
.pricing { background: var(--bg-light); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pricing-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 22px; display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #fff5f7 0%, var(--white) 60%);
}
.pricing-card.featured::before {
  content: '🔥 Meilleure offre';
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 0 var(--r-sm) 0 var(--r-sm);
}
.pricing-emoji  { font-size: 38px; line-height: 1; }
.pricing-name   { font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.pricing-level  { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-light); color: var(--text-muted); padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; width: fit-content; }
.pricing-desc   { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.pricing-divider{ border: none; border-top: 1px solid var(--border); margin: 0; }
.pricing-from   { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pricing-old-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.pricing-amount { font-size: 38px; font-weight: 900; color: var(--primary); line-height: 1.05; }
.pricing-amount span { font-size: 17px; font-weight: 600; color: var(--text-muted); }
.pricing-per    { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.pricing-list   { display: flex; flex-direction: column; gap: 8px; }
.pricing-li     { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); line-height: 1.5; }
.pricing-li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; }

/* Stripe payment button wrapper */
.stripe-wrapper { margin-top: auto; }

/* Fallback button (visible until Stripe is configured) */
.btn-pay-now {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--primary); color: var(--white);
  padding: 15px 16px; border-radius: var(--r-sm); font-size: 15px; font-weight: 800;
  text-align: center; transition: var(--transition); border: none; cursor: pointer;
}
.btn-pay-now:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,41,76,.35); }
.btn-pay-now.accent { background: var(--accent); }
.btn-pay-now.accent:hover { background: var(--accent-hover); }

.stripe-secure {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; color: var(--text-muted); margin-top: 8px;
}

.stripe-info-bar {
  margin-top: 28px; padding: 16px 24px;
  background: var(--white); border-radius: var(--r-sm); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.stripe-info-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── 13. CPF BANNER ── */
.cpf-banner { background: var(--bg-light); }
.cpf-inner {
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 36px; display: flex; align-items: center; gap: 28px;
  background: var(--white); margin: 60px 0;
}
.cpf-logo { width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--border); }
.cpf-content { flex: 1; }
.cpf-title { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.cpf-sub   { font-size: 15px; color: var(--text-muted); }

/* ── 14. HOME – ABOUT ── */
.about { background: var(--bg-light); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-stat-box { position: absolute; bottom: 28px; right: -24px; background: var(--white); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; }
.about-stat-num { font-size: 36px; font-weight: 900; color: var(--accent); line-height: 1; }
.about-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.about-arc { position: absolute; top: -16px; left: -16px; width: 120px; height: 120px; border: 5px solid var(--accent); border-radius: 50%; clip-path: inset(0 50% 50% 0); opacity: .7; }
.about-image-wrap { position: relative; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(232,41,76,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.feature-text h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.feature-text p  { font-size: 14px; color: var(--text-muted); }

/* ── 15. HOME – ADVISOR ── */
.advisor { background: var(--blue); padding: 70px 0; position: relative; overflow: hidden; }
.advisor::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.05); pointer-events: none; }
.advisor-inner  { text-align: center; position: relative; z-index: 1; }
.advisor-avatar { width: 88px; height: 88px; border-radius: 50%; border: 4px solid rgba(255,255,255,.3); margin: 0 auto 24px; overflow: hidden; position: relative; }
.advisor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.advisor-badge { position: absolute; bottom: -2px; right: -2px; width: 26px; height: 26px; background: var(--yellow); border-radius: 50%; border: 2px solid var(--white); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.advisor-title { font-size: clamp(22px,3vw,34px); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.advisor-sub   { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 32px; }
.advisor-choices { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.advisor-choice {
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.25);
  color: var(--white); padding: 12px 24px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.advisor-choice:hover, .advisor-choice.selected { background: var(--white); color: var(--blue); border-color: var(--white); }
.radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0; transition: var(--transition); position: relative; }
.advisor-choice.selected .radio-dot::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.btn-next { background: var(--white); color: var(--blue); padding: 14px 36px; border-radius: var(--r-sm); font-size: 16px; font-weight: 800; cursor: pointer; transition: var(--transition); }
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.advisor-schedule { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 18px; }
.advisor-schedule a { color: rgba(255,255,255,.9); text-decoration: underline; }

/* ── 16. HOME – TESTIMONIALS ── */
.testimonials { background: var(--bg-light); }
.testimonial-main { background: var(--white); border-radius: var(--r-lg); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 24px; box-shadow: var(--shadow-md); }
.testi-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #E0F2FE; color: #0369A1; margin-bottom: 16px; }
.testi-quote { font-size: 17px; color: var(--primary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { font-weight: 700; font-size: 15px; color: var(--primary); }
.testi-role   { font-size: 13px; color: var(--text-muted); }
.testi-arc-wrap { position: relative; border-radius: var(--r-md); overflow: hidden; }
.testi-arc-wrap img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--r-md); }
.testi-stat { position: absolute; bottom: 16px; right: 16px; background: var(--white); border-radius: var(--r-sm); padding: 10px 16px; box-shadow: var(--shadow-md); }
.testi-stat-num { font-size: 28px; font-weight: 900; color: var(--accent); line-height: 1; }
.testi-stat-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.testimonials-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi-mini-card { background: var(--white); border-radius: var(--r-md); padding: 20px; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.testi-mini-card:hover, .testi-mini-card.active { border-color: var(--accent); box-shadow: var(--shadow-md); }
.testi-mini-author { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-mini-name { font-size: 13px; font-weight: 700; color: var(--text); }
.testi-mini-loc  { font-size: 11px; color: var(--text-muted); }
.testi-mini-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.stars { display: flex; gap: 2px; margin-top: 8px; }
.star  { color: var(--yellow); font-size: 13px; }

/* ── 17. FOOTER ── */
.site-footer { background: var(--primary); color: var(--white); padding: 64px 0 24px; }
/* index.html (4 cols) */
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
/* course pages (3 cols) */
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr;     gap: 48px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { width: 44px; height: 44px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; }
.footer-logo-text { font-size: 20px; font-weight: 900; }
.footer-logo-sub  { font-size: 10px; opacity: .6; letter-spacing: .5px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); color: var(--white); }
.footer-social-btn:hover { background: var(--accent); transform: translateY(-2px); }
.footer-col h5,
.footer-inner h5,
.footer-grid h5 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; color: rgba(255,255,255,.5); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-link:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom-text { font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom-link:hover { color: rgba(255,255,255,.8); }

/* ── 18. CHAT BUTTON ── */
.chat-btn { position: fixed; bottom: 24px; right: 24px; width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-lg); z-index: 80; transition: var(--transition); }
.chat-btn:hover { background: var(--blue); transform: scale(1.1); }
.rating-float { position: fixed; bottom: 24px; left: 24px; background: var(--white); border-radius: var(--r-md); padding: 12px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; z-index: 80; border: 1px solid var(--border); }

/* ── 19. COURSE DETAIL – BREADCRUMB ── */
.breadcrumb { background: var(--bg-light); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-sep     { opacity: .4; }
.breadcrumb-current { color: var(--text); font-weight: 600; }

/* ── 20. COURSE DETAIL – HERO ── */
.course-hero { background: var(--bg-light); padding: 56px 0 60px; position: relative; overflow: hidden; }
.course-hero::before { content: ''; position: absolute; right: -120px; top: -80px; width: 500px; height: 500px; border-radius: 50%; background: linear-gradient(135deg,rgba(232,41,76,.07),rgba(37,99,235,.06)); pointer-events: none; }
.course-hero-inner { display: block; position: relative; z-index: 1; max-width: 820px; }
/* Hide price card wrapper in hero — visible only in .course-aside */
.course-hero-inner > div:last-child { display: none; }
/* Hero CTA buttons */
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.course-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.course-tag { padding: 5px 14px; border-radius: 50px; border: 1.5px solid var(--border); background: var(--white); font-size: 12px; font-weight: 600; color: var(--text-muted); }
.course-tag.highlight { background: rgba(232,41,76,.08); color: var(--accent); border-color: rgba(232,41,76,.2); }
.page-excel .course-tag.highlight { background: rgba(33,115,70,.08); color: var(--excel-green); border-color: rgba(33,115,70,.2); }
.course-hero-title { font-size: clamp(26px,3.5vw,46px); font-weight: 900; color: var(--primary); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.course-hero-desc  { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; max-width: 540px; }
.course-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rating-stars .star { color: var(--yellow); font-size: 18px; }
.rating-val   { font-size: 16px; font-weight: 700; }
.rating-count { font-size: 14px; color: var(--accent); text-decoration: underline; cursor: pointer; }
.cpf-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--border); padding: 8px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
.cpf-chip strong { color: var(--accent); }
.cpf-chip a { color: var(--accent); text-decoration: underline; }

/* ── 21. COURSE DETAIL – PRICE CARD ── */
.price-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); position: static; }
.price-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.price-card-img img { width: 100%; height: 100%; object-fit: cover; }
.price-card-flag { position: absolute; bottom: 12px; right: 12px; width: 44px; height: 44px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.price-card-body { padding: 24px; }
.toggle-tabs { display: flex; background: var(--bg-light); border-radius: var(--r-sm); padding: 3px; margin-bottom: 16px; }
.toggle-tab { flex: 1; padding: 8px; text-align: center; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.toggle-tab.active { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.info-box { background: #EFF6FF; border-radius: var(--r-sm); padding: 12px 16px; font-size: 13px; color: #1E40AF; margin-bottom: 16px; line-height: 1.6; }
.price-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.price-value { font-size: 32px; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.price-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.price-feature svg { flex-shrink: 0; margin-top: 2px; }

/* Journey accordion */
.journey-steps { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); padding: 20px 24px 24px; }
.journey-step { border: 1.5px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.journey-step-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 700; gap: 8px; transition: var(--transition); }
.journey-step-header:hover { background: var(--bg-light); }
.step-badge { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg-light); padding: 2px 8px; border-radius: 50px; }
.journey-chevron { font-size: 12px; transition: transform .25s; }
.journey-step.open .journey-chevron { transform: rotate(180deg); }
.journey-step-body { font-size: 13px; color: var(--text-muted); line-height: 1.6; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.journey-step.open .journey-step-body { max-height: 120px; padding: 0 16px 14px; }
.btn-define { display: block; margin: 0 24px 24px; background: var(--accent); color: var(--white); padding: 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 800; text-align: center; transition: var(--transition); }
.btn-define:hover { background: var(--accent-hover); transform: translateY(-1px); }
.page-excel .btn-define { background: var(--excel-green); }
.page-excel .btn-define:hover { background: #1a5c38; }


/* ═══════════════════════════════════════════════════════════════
   COURSE PAGES — Show all content immediately (no animation delay)
   The fade-up animation causes persistent invisible content on 
   course detail pages when IntersectionObserver doesn't trigger.
═══════════════════════════════════════════════════════════════ */
.course-content .fade-up,
.course-content .fade-left,
.course-content .fade-right,
.testimonials-section .fade-up,
.bottom-cta .fade-up,
.section-nav .fade-up,
.breadcrumb .fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* ─────────────────────────────────────────────────────────────
   HERO PRICE CARD — hide journey steps so hero stays compact
   (Journey steps remain visible in the .course-aside sidebar)
───────────────────────────────────────────────────────────── */
.course-hero .journey-steps,
.course-hero .btn-define {
  display: none;
}


/* ── Hero content: always visible — above fold, no fade needed ── */
.course-hero .course-hero-inner > div:first-child {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* ── 22. COURSE DETAIL – SECTION NAV ── */
.section-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 65px; z-index: 80; }
.section-nav-list { display: flex; gap: 2px; overflow-x: auto; padding: 0; }
.section-nav-list::-webkit-scrollbar { display: none; }
.section-nav-item { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted); white-space: nowrap; cursor: pointer; border-bottom: 3px solid transparent; transition: var(--transition); background: none; }
.section-nav-item:hover { color: var(--text); }
.section-nav-item.active { color: var(--accent); border-bottom-color: var(--accent); }
.page-excel .section-nav-item.active { color: var(--excel-green); border-bottom-color: var(--excel-green); }

/* ── 23. COURSE DETAIL – CONTENT ── */
.course-content { padding: 64px 0; }
.course-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
/* Aside sticky — sits beside long content, no scroll needed */
.course-aside {
  position: sticky;
  top: 130px;
  align-self: start; /* don't stretch to full column height */
}
.content-section { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--border); scroll-margin-top: 140px; }
.content-section:last-child { border-bottom: none; }
.content-h2 { font-size: 28px; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.content-p  { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); line-height: 1.6; }
.check-item svg { flex-shrink: 0; margin-top: 3px; }
.bullet-list { display: flex; flex-direction: column; gap: 10px; }
.bullet-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.bullet-item::before { content: '•'; color: var(--accent); font-weight: 900; flex-shrink: 0; }
.page-excel .bullet-item::before { color: var(--excel-green); }
.format-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.format-card { background: var(--bg-light); border-radius: var(--r-md); padding: 20px; border: 1.5px solid var(--border); transition: var(--transition); }
.format-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.page-excel .format-card:hover { border-color: var(--excel-green); }
.format-icon  { font-size: 28px; margin-bottom: 10px; }
.format-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.format-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.objectives-group { margin-bottom: 24px; }
.objectives-group h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 14px; line-height: 1.5; }
.cpf-block { background: var(--blue); border-radius: var(--r-md); padding: 24px 28px; display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.cpf-block-title { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.cpf-block-sub   { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.5; }
.btn-cpf { background: var(--white); color: var(--blue); padding: 12px 20px; border-radius: var(--r-sm); font-size: 14px; font-weight: 800; flex-shrink: 0; transition: var(--transition); white-space: nowrap; }
.btn-cpf:hover { transform: translateY(-2px); }
.info-alert { background: #EFF6FF; border: 1.5px solid #BFDBFE; border-radius: var(--r-sm); padding: 16px 20px; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.info-alert p { font-size: 14px; color: #1E40AF; line-height: 1.6; }
.duration-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duration-card { background: var(--bg-light); border-radius: var(--r-md); padding: 20px; border: 1.5px solid var(--border); }
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cert-tag { background: var(--bg-light); border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--primary); }

/* Stripe payment section inside course pages */
.stripe-payment-section { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 24px; margin-top: 16px; }
.stripe-payment-title { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stripe-payment-price { font-size: 28px; font-weight: 900; color: var(--accent); margin-bottom: 12px; }
.page-excel .stripe-payment-price { color: var(--excel-green); }
.stripe-payment-price small { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.stripe-logos { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.stripe-logo-badge { background: var(--bg-light); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700; color: var(--text-muted); }

/* ── 24. COURSE DETAIL – TESTIMONIALS & FOOTER ── */
.testimonials-section { background: var(--bg-light); padding: 64px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi-card { background: var(--white); border-radius: var(--r-md); padding: 22px; border: 1.5px solid var(--border); transition: var(--transition); }
.testi-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.testi-loc    { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; }
.testi-text   { font-size: 14px; color: var(--primary); font-style: italic; line-height: 1.7; margin-bottom: 16px; }
.testi-author { font-size: 14px; font-weight: 700; color: var(--primary); }
.testi-role   { font-size: 12px; color: var(--text-muted); }
.testi-stars .star { color: var(--yellow); font-size: 13px; }
.testi-published { font-size: 12px; color: var(--text-muted); margin-top: 32px; }

.bottom-cta { background: var(--primary); padding: 48px 0; }
.bottom-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bottom-cta-text h3 { font-size: 22px; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.bottom-cta-text p  { font-size: 15px; color: rgba(255,255,255,.7); }
.btn-cta-accent { background: var(--accent); color: var(--white); padding: 14px 32px; border-radius: var(--r-sm); font-size: 16px; font-weight: 800; transition: var(--transition); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.page-excel .bottom-cta { background: var(--excel-green); }

.mobile-price-card { display: none; }
.opco-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--border); padding: 8px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
.opco-chip strong { color: var(--excel-green); }

/* Excel OPCO block */
.opco-block { background: #F0FDF4; border: 1.5px solid #86EFAC; border-radius: var(--r-md); padding: 24px 28px; display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.opco-block-title { font-size: 17px; font-weight: 800; color: #166534; margin-bottom: 4px; }
.opco-block-sub   { font-size: 14px; color: #166534; opacity: .8; }
.btn-opco { background: var(--excel-green); color: var(--white); padding: 12px 20px; border-radius: var(--r-sm); font-size: 14px; font-weight: 800; flex-shrink: 0; transition: var(--transition); white-space: nowrap; }
.btn-opco:hover { transform: translateY(-2px); }
.excel-versions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.excel-version-tag { background: #F0FDF4; border: 1.5px solid #86EFAC; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--excel-green); }

/* ── 25. RESPONSIVE ── */
@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .course-layout { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .course-aside .price-card { display: none; }
  .mobile-price-card { display: block !important; }
  .format-cards, .duration-cards { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav, .header-actions .btn-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .announcement { font-size: 12px; padding: 8px 40px 8px 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero { padding: 48px 0 60px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .courses-grid { grid-template-columns: 1fr; }
  .courses-header { flex-direction: column; align-items: flex-start; }
  .cpf-inner { flex-direction: column; text-align: center; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image-wrap { display: none; }
  .testimonial-main { grid-template-columns: 1fr; }
  .testi-arc-wrap { display: none; }
  .testimonials-mini { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .advisor-choices { flex-direction: column; }
  .rating-float { display: none; }
  .sub-nav { display: none; }
  .hero-buttons { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stripe-info-bar { flex-direction: column; gap: 10px; text-align: center; }
  .course-hero { padding: 36px 0 44px; }
  .course-hero-title { font-size: 28px; }
  .content-h2 { font-size: 24px; }
  .cpf-block, .opco-block { flex-direction: column; text-align: center; }
  .btn-cpf, .btn-opco { width: 100%; }
  .bottom-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  section { padding: 56px 0; }
  .container { padding: 0 16px; }
}

/* ══════════════════════════════════════════════════════════
   PAYMENT MODAL
══════════════════════════════════════════════════════════ */
.payment-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 27, 61, 0.65);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 16px;
}
.payment-overlay.active { display: flex; }

.payment-modal {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%; max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: slideUp .3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

.payment-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-light); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition); line-height: 1;
}
.payment-modal-close:hover { background: var(--border); color: var(--text); }

.payment-modal-header {
  padding: 28px 28px 0;
  text-align: center;
}
.payment-modal-icon { font-size: 36px; margin-bottom: 8px; }
.payment-modal-header h2 { font-size: 20px; font-weight: 900; color: var(--primary); margin-bottom: 0; }

.payment-modal-product {
  margin: 16px 28px 0;
  background: var(--bg-light);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.payment-modal-product-name  { font-size: 14px; font-weight: 700; color: var(--primary); flex: 1; }
.payment-modal-product-level { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.payment-modal-product-price { font-size: 22px; font-weight: 900; color: var(--accent); flex-shrink: 0; }

.payment-modal form { padding: 20px 28px 28px; }

.payment-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.payment-field { margin-bottom: 12px; }
.payment-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.payment-field input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: 15px; font-family: var(--font); outline: none;
  transition: border-color .2s;
  color: var(--text);
}
.payment-field input:focus { border-color: var(--accent); }

.payment-cgv-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px; font-size: 13px; color: var(--text-muted);
}
.payment-cgv-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.payment-cgv-row a { color: var(--accent); text-decoration: underline; }

.payment-error {
  display: none; align-items: center; gap: 8px;
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--r-sm);
  padding: 10px 14px; font-size: 13px; color: #B91C1C; margin-bottom: 14px;
}
.payment-error::before { content: '⚠'; flex-shrink: 0; }

.payment-info-note {
  display: flex; align-items: center; gap: 8px;
  background: #EFF6FF; border-radius: var(--r-sm);
  padding: 10px 14px; font-size: 12px; color: #1E40AF;
  margin-bottom: 16px;
}

.payment-submit-btn {
  width: 100%; background: var(--accent); color: var(--white);
  padding: 16px; border-radius: var(--r-sm); border: none;
  font-size: 16px; font-weight: 800; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.payment-submit-btn:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,41,76,.4); }
.payment-submit-btn:disabled { opacity: .7; cursor: not-allowed; }

.payment-spinner {
  display: none; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: white;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.payment-methods {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap;
}
.payment-badge { background: var(--bg-light); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; }

.payment-legal-note {
  font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.5;
}
.payment-legal-note a { color: var(--accent); }

@media (max-width: 480px) {
  .payment-modal { border-radius: var(--r-md) var(--r-md) 0 0; max-height: 95vh; }
  .payment-overlay { align-items: flex-end; padding: 0; }
  .payment-row { grid-template-columns: 1fr; }
}

/* ── FORM MSG (request-service.js) ── */
.form-msg { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-top: 12px; }
.form-msg--success { background: #F0FDF4; border: 1px solid #86EFAC; color: #166534; }
.form-msg--error   { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary); color: var(--white);
  padding: 16px 24px; z-index: 900;
  align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 3px solid var(--accent);
}
.cookie-banner p { font-size: 13px; flex: 1; line-height: 1.5; opacity: .9; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept  { background: var(--accent); color: white; padding: 8px 20px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; border: none; cursor: pointer; transition: var(--transition); }
.btn-cookie-accept:hover { background: var(--accent-hover); }
.btn-cookie-decline { background: transparent; color: rgba(255,255,255,.6); padding: 8px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.2); cursor: pointer; transition: var(--transition); }
.btn-cookie-decline:hover { background: rgba(255,255,255,.1); color: white; }

/* ══════════════════════════════════════════════════════════
   CUSTOM SELECT (replaces browser-native)
══════════════════════════════════════════════════════════ */
.custom-select-wrap {
  position: relative;
}
.custom-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
  transition: transform .2s;
}
.custom-select-wrap:focus-within::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Override all select elements site-wide */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,41,76,.1);
}
/* Remove default arrow in IE */
select::-ms-expand { display: none; }

/* ══════════════════════════════════════════════════════════
   SHOPPING CART
══════════════════════════════════════════════════════════ */

/* Cart icon button in header */
.cart-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.cart-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-badge {
  display: none;
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  align-items: center; justify-content: center;
  border: 2px solid var(--white);
  line-height: 1;
}

/* Cart overlay */
.cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,27,61,.5);
  z-index: 800;
  backdrop-filter: blur(2px);
}
.cart-overlay.active { display: block; }

/* Cart slide-in panel */
.cart-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100vw;
  background: var(--white);
  z-index: 850;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header h3 { font-size: 18px; font-weight: 800; color: var(--primary); }
.cart-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-light); border: none;
  font-size: 20px; cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-close:hover { background: var(--border); }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }

.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; color: var(--text-muted);
  padding: 40px 0;
}
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: .5; }
.cart-empty p { font-size: 15px; margin-bottom: 16px; }
.cart-empty-link { color: var(--accent); font-weight: 700; text-decoration: underline; font-size: 14px; }

.cart-items-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  background: var(--bg-light); border-radius: var(--r-md);
  padding: 14px 16px; border: 1.5px solid var(--border);
  transition: var(--transition);
}
.cart-item:hover { border-color: var(--accent); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.cart-item-level { font-size: 12px; color: var(--text-muted); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  font-size: 18px; color: var(--text-muted);
  padding: 2px 6px; border-radius: 4px;
  transition: var(--transition); line-height: 1;
}
.cart-item-remove:hover { background: #FEE2E2; color: #DC2626; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1.5px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
  font-size: 16px; font-weight: 700; color: var(--primary);
}
.cart-total { font-size: 24px; font-weight: 900; color: var(--accent); }
.cart-note { font-size: 11px; color: var(--text-muted); margin-bottom: 14px; }
.cart-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--accent); color: white;
  padding: 15px; border-radius: var(--r-sm); border: none;
  font-size: 15px; font-weight: 800; cursor: pointer;
  transition: var(--transition); margin-bottom: 8px;
}
.cart-checkout-btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,41,76,.4); }
.cart-clear-btn {
  width: 100%; background: transparent; border: 1.5px solid var(--border);
  color: var(--text-muted); padding: 10px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.cart-clear-btn:hover { border-color: #DC2626; color: #DC2626; }

/* Add-to-cart button on course cards */
.btn-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; background: transparent;
  border: 1.5px solid var(--border); color: var(--text);
  padding: 10px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: var(--transition); margin-top: 8px;
  font-family: var(--font);
}
.btn-add-cart:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-light); }
.btn-add-cart.added { border-color: var(--green); color: var(--green); background: #F0FDF4; }

@media (max-width: 480px) {
  .cart-panel { width: 100vw; }
}
