/* ============================================
   ETHIQUE JURISTE - Design System
   Site autoritaire sur la formation éthique
   des juristes d'entreprise
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0c1829;
  --navy-light: #152238;
  --slate: #1e2d45;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --blue-muted: #2a4a7f;
  --gold: #c8a237;
  --gold-light: #dbb94e;
  --gold-dark: #a38429;
  --teal: #0d9488;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.05);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

.text-gold { color: var(--gold); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section--gray { background: var(--gray-50); }
.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  color: var(--white);
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.grid {
  display: grid;
  gap: 2rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 968px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}
.section--navy .section-header p { color: var(--gray-300); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,162,55,.35);
}
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn--secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--gray-50);
  color: var(--navy);
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 24, 41, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header__logo:hover { color: var(--gold); }
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy);
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  color: var(--gray-300);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav a:hover, .nav a.active { color: var(--white); background: rgba(255,255,255,.08); }

.header__cta .btn { padding: 0.55rem 1.4rem; font-size: 0.85rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 968px) {
  .burger { display: flex; }
  .nav, .header__cta {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem;
    flex-direction: column;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.open, .header__cta.open { display: flex; }
  .nav a { padding: 0.75rem 1rem; width: 100%; }
  .header__cta { padding-top: 0; }
  .header__cta .btn { width: 100%; justify-content: center; }
}

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0e2240 50%, var(--slate) 100%);
  padding: 10rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200,162,55,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,162,55,.12);
  border: 1px solid rgba(200,162,55,.25);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: var(--gray-300);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .hero { padding: 8rem 0 4rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* --- Stats Bar --- */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  margin-bottom: 2rem;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.stat {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}
@media (max-width: 640px) {
  .stats-bar__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--gray-100); padding: 1.25rem; }
  .stat:last-child { border-bottom: none; }
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.card__icon--gold { background: rgba(200,162,55,.1); color: var(--gold); }
.card__icon--blue { background: rgba(26,86,219,.08); color: var(--blue); }
.card__icon--teal { background: rgba(13,148,136,.08); color: var(--teal); }
.card__icon--navy { background: rgba(12,24,41,.06); color: var(--navy); }

.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.25rem; }
.card .btn { margin-top: auto; }

.card--featured {
  border-color: var(--gold);
  position: relative;
  overflow: hidden;
}
.card--featured::before {
  content: 'Obligatoire';
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 2.5rem;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card--dark {
  background: var(--navy-light);
  border-color: rgba(255,255,255,.08);
}
.card--dark:hover { border-color: rgba(255,255,255,.15); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--gray-400); }

/* --- Feature List --- */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(13,148,136,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230d9488'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Pillar Page / Content --- */
.content {
  max-width: 800px;
  margin: 0 auto;
}
.content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.content h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.content p, .content li { color: var(--gray-700); }
.content ul, .content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.content li { margin-bottom: 0.5rem; }
.content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-600);
}

/* Table of Contents */
.toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.toc h4 { margin-bottom: 0.75rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); }
.toc ol { list-style: decimal; padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.4rem; }
.toc a { font-size: 0.95rem; color: var(--blue-muted); font-weight: 500; }
.toc a:hover { color: var(--blue); }

/* Info Box */
.info-box {
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.info-box--warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
}
.info-box--info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
}
.info-box--danger {
  background: #fef2f2;
  border: 1px solid #fca5a5;
}
.info-box strong { display: block; margin-bottom: 0.4rem; }

/* --- Eligibility Quiz --- */
.quiz {
  max-width: 640px;
  margin: 0 auto;
}
.quiz__progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.quiz__progress-step {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--gray-200);
  transition: background var(--transition);
}
.quiz__progress-step.active { background: var(--gold); }
.quiz__progress-step.done { background: var(--teal); }

.quiz__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.quiz__question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.quiz__detail {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.quiz__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  background: none;
  color: var(--text);
  text-align: left;
  width: 100%;
}
.quiz__option:hover { border-color: var(--blue-light); background: rgba(59,130,246,.04); }
.quiz__option.selected { border-color: var(--blue); background: rgba(59,130,246,.06); }

.quiz__result {
  text-align: center;
  padding: 2rem 0;
}
.quiz__result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}
.quiz__result-icon--success { background: rgba(13,148,136,.1); }
.quiz__result-icon--warning { background: rgba(245,158,11,.1); }
.quiz__result-icon--danger { background: rgba(239,68,68,.1); }

.quiz__result h3 { margin-bottom: 0.75rem; }
.quiz__result p { color: var(--text-light); max-width: 480px; margin: 0 auto 1.5rem; }
.quiz__result .recommendations {
  text-align: left;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.quiz__result .recommendations h4 { font-size: 0.95rem; margin-bottom: 0.75rem; }

/* --- Blog Cards --- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__img-label {
  font-size: 2.5rem;
  opacity: 0.15;
  color: var(--white);
  font-weight: 800;
}
.blog-card__body { padding: 1.5rem; }
.blog-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  background: rgba(200,162,55,.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.blog-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* --- Newsletter / CTA --- */
.newsletter {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.newsletter h2 { margin-bottom: 0.75rem; }
.newsletter p { color: var(--gray-300); margin-bottom: 1.5rem; }
.newsletter__form {
  display: flex;
  gap: 0.75rem;
}
.newsletter__input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.newsletter__input::placeholder { color: var(--gray-500); }
.newsletter__input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}
.newsletter__success {
  display: none;
  color: var(--gold-light);
  font-weight: 500;
  margin-top: 1rem;
}
.newsletter__success.show { display: block; }
.newsletter__error {
  display: none;
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.newsletter__error.show { display: block; }

@media (max-width: 480px) {
  .newsletter__form { flex-direction: column; }
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer__brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; margin-top: 0.75rem; }
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--gray-400); font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  padding: 8rem 0 3.5rem;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-header p { color: var(--gray-300); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gray-500); }

/* --- Pricing cards --- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(200,162,55,.15);
  position: relative;
  transform: scale(1.03);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card h3 { margin-bottom: 0.5rem; }
.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1rem 0;
}
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-card__desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-card .feature-list { margin-bottom: 2rem; text-align: left; }
.pricing-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* --- FAQ --- */
.faq { max-width: 700px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--gray-200);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}
.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq__item.open .faq__question::after { content: '\2212'; }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Formation detail cards --- */
.formation-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.formation-detail__sidebar {
  position: sticky;
  top: 100px;
}
@media (max-width: 968px) {
  .formation-detail { grid-template-columns: 1fr; }
  .formation-detail__sidebar { position: static; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Print --- */
@media print {
  .header, .footer, .newsletter, .btn { display: none; }
  .hero { padding: 2rem 0; background: none; }
  .hero h1, .hero p { color: #000; }
  .section { padding: 2rem 0; }
}
