/* ═══════════════════════════════════════════
   TRADEXIA — Main Stylesheet
   ═══════════════════════════════════════════ */

:root {
  --navy:       #0B1E3D;
  --navy-mid:   #122848;
  --navy-light: #1A3A6B;
  --gold:       #C9963A;
  --gold-light: #E8B96A;
  --gold-pale:  rgba(201,150,58,0.12);
  --cream:      #F8F4EE;
  --white:      #FFFFFF;
  --gray:       #6B7B8D;
  --gray-light: #9AAABB;
  --light:      #EEF2F7;
  --accent:     #1A6FBF;
  --green:      #1F6B3A;
  --green-pale: rgba(31,107,58,0.15);

  --pad: clamp(20px, 5vw, 60px);
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;

  --nav-h: 60px;

  --shadow-sm: 0 2px 12px rgba(11,30,61,0.08);
  --shadow-md: 0 8px 32px rgba(11,30,61,0.12);
  --shadow-lg: 0 20px 64px rgba(11,30,61,0.16);
  --shadow-gold: 0 8px 32px rgba(201,150,58,0.35);
}

/* ─── RESET & BASE ───────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────── */
.font-syne { font-family: 'Syne', sans-serif; }

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ─── LAYOUT ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--gray);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.section-sub.light { color: rgba(255,255,255,0.55); }

.br-desk { display: block; }
@media (max-width: 700px) { .br-desk { display: none; } }

/* ─── BUTTONS ────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: transparent;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* ─── COOKIE BANNER ──────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,150,58,0.3);
  padding: 16px var(--pad);
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.cookie-inner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gold); color: var(--navy);
  border: none; padding: 8px 20px; border-radius: 4px;
  font-weight: 600; font-size: 0.82rem;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-decline {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 4px;
  font-size: 0.82rem; transition: all 0.2s;
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ─── NAVBAR ─────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
  height: var(--nav-h);
  background: rgba(11,30,61,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,150,58,0.15);
  transition: all 0.3s ease;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.2); }

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.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;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,150,58,0.15);
  z-index: 499;
  padding: 8px var(--pad) 24px;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: slideDown 0.25s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--gold); color: var(--navy);
  text-align: center; padding: 14px;
  border-radius: 6px; font-weight: 700;
  border-bottom: none;
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ─── HERO ───────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% 50%, rgba(26,111,191,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(201,150,58,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(31,107,58,0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 100px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-left { animation: fadeUp 0.7s ease both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,58,0.14);
  border: 1px solid rgba(201,150,58,0.3);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 40px);
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}

/* Hero right card */
.hero-right {
  position: relative;
  animation: fadeUp 0.7s 0.15s ease both;
}

.floating-badge {
  position: absolute;
  top: -18px; right: -10px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  text-align: center;
  z-index: 2;
}
.floating-badge strong {
  display: block;
  font-size: 1.1rem;
  font-family: 'Syne', sans-serif;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  backdrop-filter: blur(20px);
}

.card-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}

.formation-list { display: flex; flex-direction: column; gap: 8px; }

.fi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.fi-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,150,58,0.35);
}
.fi-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fi-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.fi-icon.blue  { background: rgba(26,111,191,0.25); }
.fi-icon.gold  { background: rgba(201,150,58,0.25); }
.fi-icon.green { background: rgba(31,107,58,0.25); }
.fi-title {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fi-sub {
  color: rgba(255,255,255,0.38);
  font-size: 0.66rem;
  margin-top: 2px;
}
.fi-price {
  font-family: 'Syne', sans-serif;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* ─── ATOUTS ─────────────────────────────── */
.section-atouts {
  padding: clamp(64px, 10vw, 100px) 0;
  background: var(--cream);
}

.atouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
@media (max-width: 900px) { .atouts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .atouts-grid { grid-template-columns: 1fr; } }

.atout-card {
  background: var(--white);
  border: 1px solid rgba(11,30,61,0.07);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.atout-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.atout-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.atout-card:hover::before { transform: scaleX(1); }
.atout-icon { font-size: 1.8rem; margin-bottom: 14px; }
.atout-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.atout-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ─── FORMATIONS GRID ────────────────────── */
.section-formations {
  background: var(--navy);
  padding: clamp(64px, 10vw, 100px) 0;
}

.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: 40px;
}
@media (max-width: 1000px) { .formations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .formations-grid { grid-template-columns: 1fr; } }

.fcard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.fcard:hover {
  transform: translateY(-5px);
  border-color: rgba(201,150,58,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.fcard.featured {
  border-color: rgba(201,150,58,0.45);
  background: rgba(201,150,58,0.05);
}

.fcard-header {
  padding: clamp(18px, 2.5vw, 26px);
  position: relative;
}

.fcard-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 12px;
}
.fcard-tag.blue  { background: rgba(26,111,191,0.2);  color: #7BBDEE; }
.fcard-tag.gold  { background: rgba(201,150,58,0.2);  color: var(--gold-light); }
.fcard-tag.green { background: rgba(31,107,58,0.2);   color: #5DC994; }

.fcard-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.fcard-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
}

.popular-ribbon {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
}

.fcard-body {
  padding: 0 clamp(18px, 2.5vw, 26px) clamp(18px, 2.5vw, 26px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fcard-features {
  flex: 1;
  margin-bottom: 20px;
}
.fcard-features li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.fcard-features li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.fcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fcard-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.fcard-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  font-family: 'DM Sans', sans-serif;
}

.btn-acheter {
  background: var(--gold);
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-acheter:hover { background: var(--gold-light); }

.formations-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* ─── PACKAGES ───────────────────────────── */
.section-packages {
  background: var(--cream);
  padding: clamp(64px, 10vw, 100px) 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
@media (max-width: 900px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.pkg-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11,30,61,0.1);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg-card.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm);
}

.pkg-header {
  padding: clamp(24px, 3vw, 32px);
  background: var(--navy);
}
.pkg-card.highlight .pkg-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.pkg-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.pkg-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.pkg-price-wrap { margin-top: 20px; }
.pkg-original {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.pkg-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pkg-saving {
  display: inline-block;
  margin-top: 8px;
  background: rgba(201,150,58,0.18);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.pkg-body {
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
}
.pkg-includes {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 12px;
}
.pkg-list li {
  font-size: 0.85rem;
  color: var(--navy);
  padding: 7px 0;
  border-bottom: 1px solid var(--light);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pkg-list li:last-child { border-bottom: none; }
.pkg-list li::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.pkg-cta {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 13px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.pkg-cta.outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.pkg-cta.outline:hover { background: var(--navy); color: var(--white); }
.pkg-cta.solid {
  background: var(--gold);
  color: var(--navy);
}
.pkg-cta.solid:hover { background: var(--gold-light); }

/* ─── TÉMOIGNAGES ────────────────────────── */
.section-temoignages {
  background: var(--light);
  padding: clamp(64px, 10vw, 100px) 0;
}

.temo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
@media (max-width: 900px) {
  .temo-grid { grid-template-columns: 1fr; max-width: 520px; }
}

.temo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(11,30,61,0.07);
  box-shadow: var(--shadow-sm);
}
.temo-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.temo-text {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.temo-author { display: flex; align-items: center; gap: 12px; }
.temo-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
  font-family: 'Syne', sans-serif;
  flex-shrink: 0;
}
.temo-name { font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.temo-role { font-size: 0.72rem; color: var(--gray); margin-top: 1px; }

/* ─── FAQ ────────────────────────────────── */
.section-faq {
  background: var(--cream);
  padding: clamp(64px, 10vw, 100px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.5vw, 16px);
}
@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-item {
  background: var(--white);
  border: 1px solid rgba(11,30,61,0.08);
  border-radius: var(--radius-sm);
  padding: clamp(16px, 2.5vw, 24px);
  transition: border-color 0.2s;
  cursor: default;
}
.faq-item:hover { border-color: rgba(201,150,58,0.4); }
.faq-q {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.faq-q::after { content: '?'; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; opacity: 0.6; }
.faq-a {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.75;
  margin-top: 10px;
}

/* ─── NEWSLETTER ─────────────────────────── */
.section-newsletter {
  background: var(--navy);
  padding: clamp(48px, 8vw, 80px) 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 700px) { .newsletter-inner { grid-template-columns: 1fr; gap: 28px; } }
.newsletter-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.newsletter-left p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 10px;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: none;
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--gold-light); }
.newsletter-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--navy-mid);
  padding: clamp(48px, 8vw, 72px) var(--pad) 32px;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact a {
  font-size: 0.82rem;
  color: var(--gold-light);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: rgba(255,255,255,0.42);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a {
  color: rgba(255,255,255,0.28);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ─── PAGE HERO (intérieur) ──────────────── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) var(--pad) clamp(40px, 6vw, 72px);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.38); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* ─── FORMATION DETAIL PAGE ──────────────── */
.formation-hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) var(--pad) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .formation-hero-grid {
    grid-template-columns: 1fr;
  }
  .purchase-card-wrap { order: -1; }
}

.formation-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.formation-title em { font-style: normal; color: var(--gold); }

.formation-desc {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 28px;
}

.formation-meta {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.52);
}

.purchase-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.purchase-preview {
  background: linear-gradient(135deg, var(--navy-mid), var(--accent));
  padding: 28px;
  text-align: center;
}
.purchase-icon { font-size: 2.8rem; margin-bottom: 6px; }
.purchase-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.purchase-body { padding: clamp(20px, 3vw, 28px); }
.purchase-price-area { text-align: center; margin-bottom: 20px; }
.purchase-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.purchase-price sup { font-size: 1.2rem; vertical-align: super; }
.purchase-vat { font-size: 0.75rem; color: var(--gray); margin-top: 4px; }
.btn-buy {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border: none;
  margin-bottom: 16px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-buy:hover { background: var(--gold-light); transform: translateY(-1px); }
.purchase-guarantees { display: flex; flex-direction: column; gap: 8px; }
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--gray);
}

/* Programme */
.section-programme {
  background: var(--cream);
  padding: clamp(48px, 8vw, 80px) 0;
}
.programme-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .programme-grid { grid-template-columns: 1fr; } }

.programme-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.module-list { display: flex; flex-direction: column; gap: 10px; }

.module-item {
  border: 1px solid rgba(11,30,61,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.module-header:hover { background: var(--light); }
.module-num {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.module-name { font-weight: 600; font-size: 0.875rem; color: var(--navy); flex: 1; }
.module-duration { font-size: 0.72rem; color: var(--gray); flex-shrink: 0; }
.module-content {
  padding: 14px 18px 18px 62px;
  background: var(--light);
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.8;
  display: none;
}
.module-item.open .module-content { display: block; }
.module-item.open .module-header { background: var(--light); }

.objectifs-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.objectifs-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 18px;
}
.objectif-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}
.objectif-check { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Schema preview */
.schema-preview {
  margin-top: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.schema-label {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}
.inco-chain {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 4px;
  gap: 0;
}
.inco-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.inco-tag {
  font-size: 0.55rem;
  background: rgba(201,150,58,0.2);
  color: var(--gold-light);
  padding: 2px 5px;
  border-radius: 3px;
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.inco-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.inco-dot.d-navy   { background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.2); }
.inco-dot.d-gold   { background: var(--gold); color: var(--navy); }
.inco-dot.d-accent { background: var(--accent); }
.inco-dot.d-green  { background: var(--green); }
.inco-node-label {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.38);
  text-align: center;
  max-width: 36px;
  line-height: 1.3;
}
.inco-arrow {
  color: rgba(255,255,255,0.18);
  font-size: 0.7rem;
  padding: 0 2px;
  margin-top: 16px;
  flex-shrink: 0;
}

/* ─── LEGAL PAGES ────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) var(--pad) 80px;
}
.legal-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-content .last-update {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 40px;
}
.legal-content h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.legal-content p, .legal-content li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; list-style: disc; }

/* ─── CONTACT PAGE ───────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) var(--pad) 80px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 18px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(11,30,61,0.15);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  margin-top: 20px;
  width: 100%;
}

.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-info-text span {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ─── UTILITIES ──────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeUp 0.6s ease both; }
.fade-in-delay-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-in-delay-2 { animation: fadeUp 0.6s 0.2s ease both; }
