/* ============================================================
   COMPONENTS.CSS — Athenia Academy
   Responsabilité : tous les composants réutilisables (nav, boutons,
   cards, modals, footer, ticker, formulaires, mobile nav, sticky CTA)
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   NAVIGATION DESKTOP
════════════════════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(29,29,31,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background var(--transition-fast);
}

/* Barre utilitaire supérieure (langue, thème) */
.nav-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

/* Barre de navigation principale */
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo texte (fallback) */
.logo {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  cursor: pointer;
}
.logo span { color: var(--text); }

/* Logo image */
.logo-img {
  display: block;
  width: 58px;
  height: 60px;
  background: url('../logos/logo-athenia-academy.png') no-repeat center/contain;
  cursor: pointer;
  flex-shrink: 0;

  filter: none;
}

.logo-img-footer {
  display: block;
  width: 80px;
  height: 82px;
  background: url('../logos/logo-athenia-academy.png') no-repeat center/contain;
  margin-bottom: 1rem;

  filter: none;
}

/* Liens de navigation */
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: #6E6E73;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.81rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links a:hover {
  color: #1D1D1F;
  background: rgba(29,29,31,0.05);
  opacity: 1;
}

/* Lien actif */
.nav-links a.nav-active {
  color: #1D1D1F;
  background: rgba(29,29,31,0.05);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Chevron de dropdown */
.nav-chevron {
  display: inline-block;
  width: 10px; height: 10px;
  position: relative;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-chevron::before {
  content: '';
  position: absolute;
  top: 2px; left: 1px;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown desktop — horizontal Stanford-like */
.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: -48px;
  right: -48px;
  top: 100%;
  height: 28px;
  background: transparent;
  display: none;
  pointer-events: auto;
}

.nav-item:hover::after,
.nav-item:focus-within::after,
.nav-item.open::after {
  display: block;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  right: auto;

  display: flex;
  align-items: center;
  gap: 4px;

  width: max-content;
  max-width: calc(100vw - 48px);
  min-width: 0;
  max-height: none;

  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;

  background: rgba(245,245,247,0.94);
  border: 1px solid rgba(29,29,31,0.08);
  border-radius: 999px;
  padding: 9px 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  list-style: none;
  margin: 0;
  z-index: 3000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-2px);
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.nav-dropdown::-webkit-scrollbar {
  display: none;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown::before,
.nav-dropdown::after {
  display: none;
  content: none;
}

.nav-dropdown li {
  display: block;
  flex: 0 0 auto;
}

.nav-dropdown a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;

  font-size: 0.76rem;
  font-weight: 650;
  color: #1D1D1F;
  text-transform: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;

  background: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  color: #00A86B;
  background: rgba(255,255,255,0.78);
  outline: none;
  opacity: 1;
}

.nav-dropdown a:focus-visible {
  outline: 2px solid rgba(0,168,107,0.35);
  outline-offset: 2px;
}

.nav-dropdown .submenu-cta {
  color: #00A86B;
  font-weight: 750;
}

/* ════════════════════════════════════════════════════════════
   SÉLECTEUR DE LANGUE
════════════════════════════════════════════════════════════ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.lang-btn {
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0.15rem 0.3rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  opacity: 0.55;
}
.lang-btn:hover { opacity: 1; border-color: var(--border); background: var(--accent-dim); }
.lang-btn.active { opacity: 1; border-color: var(--accent); background: var(--accent-dim); }
.flag-svg {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  line-height: 0;
}
.lang-code {
  display: block;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text2);
  text-transform: uppercase;
}
.lang-btn.active .lang-code { color: var(--accent); }
.lang-code { color: rgba(0,0,0,0.6); }

/* ════════════════════════════════════════════════════════════
   TOGGLE THÈME
════════════════════════════════════════════════════════════ */

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
}

/* ════════════════════════════════════════════════════════════
   BOUTONS
════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: 999px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-transform: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: #00A86B;
  color: #ffffff;
  box-shadow: none;
}
.btn-primary:hover {
  background: #007a4f;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: #1D1D1F;
  border: 1px solid rgba(29,29,31,0.18);
}
.btn-ghost:hover {
  background: #F5F5F7;
  border-color: rgba(29,29,31,0.26);
  color: #1D1D1F;
  box-shadow: none;
  opacity: 1;
}

.btn-large {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 999px;
}

.btn-xl {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
  border-radius: 999px;
}

/* Bouton révélation — couleur L48 bleue */
.btn-reveal {
  background: #1a6bd615 !important;
  color: #1a6bd6 !important;
  border-color: #1a6bd655 !important;
  font-weight: 700;
}
.btn-reveal:hover,
.btn-reveal:focus {
  background: #1a6bd625 !important;
  border-color: #1a6bd6 !important;
}

/* ════════════════════════════════════════════════════════════
   STICKY CTA
════════════════════════════════════════════════════════════ */

#sticky-cta-root { display: flex; gap: 0.5rem; align-items: center; }

.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
/* sticky-cta .btn box-shadow defined in STICKY CTA override section below */

/* ════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
════════════════════════════════════════════════════════════ */

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(0,168,107,0.4));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════════════════ */

.card {
  background: #FFFFFF;
  border: 1px solid rgba(29,29,31,0.08);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.card:hover {
  border-color: rgba(0,168,107,0.22);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
/* Ligne d'accent au survol : supprimée (trop décorative) */
.card::before { display: none; }

/* ════════════════════════════════════════════════════════════
   HIGHLIGHT BOX / QUOTE / CHECKLIST
════════════════════════════════════════════════════════════ */

.highlight-box {
  padding: 2rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-dim);
  margin: 2rem 0;
}

.checklist { list-style: none; }
.checklist li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text2);
  font-size: 0.95rem;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.quote-block {
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   TICKER DE LOGOS
════════════════════════════════════════════════════════════ */

.ticker-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.ticker-item:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Partner logos dans le ticker */
#home-partenaires img {
  display: block;
  max-height: 44px;
  max-width: 160px;
  object-fit: contain;
}
#home-partenaires .ticker-item {
  min-width: 140px;
  min-height: 64px;
  justify-content: center;
}

/* ════════════════════════════════════════════════════════════
   ONGLETS FORMATIONS (TABS)
════════════════════════════════════════════════════════════ */

.formation-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.ftab {
  padding: 0.75rem 1.5rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--text2);
  transition: all 0.2s;
  text-transform: none;
  letter-spacing: -0.01em;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.ftab.active,
.ftab:hover { color: var(--accent); border-bottom-color: var(--accent); }
.ftab-content         { display: none; }
.ftab-content.active  { display: block; }

/* ════════════════════════════════════════════════════════════
   MODAL FORMULAIRES ATHENIA
════════════════════════════════════════════════════════════ */

.ath-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ath-overlay.open { opacity: 1; visibility: visible; }

.ath-modal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%; max-width: 540px;
  max-height: 92vh; overflow-y: auto;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.ath-overlay.open .ath-modal { transform: translateY(0); }

.ath-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none;
  color: var(--text3); font-size: 1.4rem; cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; transition: background 0.15s;
}
.ath-modal-close:hover { background: var(--bg2); color: var(--text); }

.ath-modal-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 0.5rem;
}
.ath-modal-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
  letter-spacing: -0.03em;
}
.ath-modal-sub {
  font-size: 0.85rem; color: var(--text2); margin-bottom: 1.75rem;
  line-height: 1.6;
}
.ath-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

.ath-field         { margin-bottom: 1rem; }
.ath-field label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text2); margin-bottom: 0.35rem;
}
.ath-field label .req { color: var(--accent); margin-left: 2px; }
.ath-field input,
.ath-field select,
.ath-field textarea {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.9rem; font-size: 0.88rem;
  color: var(--text); font-family: inherit;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.ath-field input:focus,
.ath-field select:focus,
.ath-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.ath-field textarea { resize: vertical; min-height: 80px; }
.ath-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.ath-consent {
  display: flex; gap: 0.65rem; align-items: flex-start;
  margin: 1.25rem 0;
}
.ath-consent input[type=checkbox] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--accent);
}
.ath-consent label { font-size: 0.8rem; color: var(--text2); line-height: 1.55; }

.ath-btn-submit {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #00A86B;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.2s;
  margin-top: 0.25rem;
  text-transform: none;
}
.ath-btn-submit:hover:not(:disabled) {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,168,107,0.25);
}
.ath-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.ath-reassurance {
  text-align: center; font-size: 0.75rem; color: var(--text3);
  margin-top: 0.75rem;
}

.ath-success,
.ath-error {
  display: none; text-align: center;
  padding: 1.5rem; border-radius: 14px;
  margin-top: 1rem;
}
.ath-success {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--text);
}
.ath-error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.35);
  color: #dc2626;
}
.ath-success-icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.ath-success-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 0.5rem;
  color: var(--accent);
}
.ath-success-text { font-size: 0.88rem; color: var(--text2); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   FORMULAIRES GÉNÉRIQUES (page Admissions)
════════════════════════════════════════════════════════════ */

.form-group  { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--text2);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,168,107,0.08);
}
.form-textarea          { height: 120px; resize: vertical; }
.form-select option     { background: var(--bg); }

/* ════════════════════════════════════════════════════════════
   MOBILE NAVIGATION
════════════════════════════════════════════════════════════ */

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(29,29,31,0.08);
  padding: 1rem;
  z-index: 999;
  backdrop-filter: blur(20px);
}
.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text2);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* Sous-menus mobile */
.mobile-sub {
  display: none;
  padding: 0; margin: 0; list-style: none;
}
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: 0.5rem 1rem 0.5rem 1.75rem;
  font-size: 0.8rem;
  color: var(--text2);
  border-left: 2px solid var(--border);
  margin-left: 1rem;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.mobile-sub a:hover { color: var(--accent); border-color: var(--accent); }

.mobile-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.mobile-parent-btn {
  background: none; border: none; color: var(--text2);
  font-size: 0.82rem; font-weight: 500;
  padding: 0.5rem 0; text-align: left; flex: 1;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; font-family: inherit;
}
.mobile-toggle-icon {
  font-size: 0.65rem; color: var(--text3);
  transition: transform 0.2s; padding: 0.25rem 0.5rem; line-height: 1;
}
.mobile-nav-item.open .mobile-toggle-icon { transform: rotate(180deg); color: var(--accent); }
.mobile-nav-item.open .mobile-parent-btn  { color: var(--accent); }

.mobile-nav-direct {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-nav-direct:hover { color: var(--accent); }
.mobile-nav-direct.cta-mobile { color: var(--accent); font-weight: 800; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */

footer {
  background: #F5F5F7;
  border-top: 1px solid rgba(29,29,31,0.08);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-link {
  display: block;
  color: #6E6E73;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.footer-link:hover  { color: #1D1D1F; opacity: 1; }
.footer-legal-link  { font-size: 0.8rem; cursor: pointer; }
.footer-col-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #86868B;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text3);
}

/* Lien inline légal (navigation SPA interne) */
.legal-inline-link {
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
.legal-inline-link:hover { opacity: 0.75; }

/* ════════════════════════════════════════════════════════════
   CARDS ORIENTATION (partagées Accueil / Formations)
════════════════════════════════════════════════════════════ */

.orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.orientation-card {
  display: flex;
  flex-direction: column;
}
.orientation-audience {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.orientation-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.orientation-text   { font-size: 0.88rem; line-height: 1.7; margin: 0 0 1.25rem; }
.orientation-includes {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.orientation-includes-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin: 0 0 0.4rem;
}
.orientation-includes span {
  font-size: 0.82rem;
  color: var(--text2);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.5;
}
.orientation-arrow { color: var(--accent); flex-shrink: 0; font-size: 0.75rem; }
.orientation-ctas  { display: flex; flex-direction: column; gap: 0.65rem; margin-top: auto; }

/* ════════════════════════════════════════════════════════════
   BARRES SALAIRE (Carrières)
════════════════════════════════════════════════════════════ */

.salary-dual  { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.75rem; align-items: center; }
.salary-item  { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 20px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 0.78rem; font-weight: 700; }
.salary-item.without-ai { background: var(--bg3); border: 1px solid var(--border); color: var(--text2); text-decoration: line-through; opacity: 0.7; }
.salary-item.with-ai    { background: var(--accent-dim); border: 1px solid var(--accent); color: var(--accent); }
.salary-label           { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75; font-weight: 600; text-decoration: none !important; }
.salary-arrow           { font-size: 1rem; color: var(--accent); opacity: 0.6; align-self: center; }

/* Graphique barres de demande */
.demand-chart { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.bar-row      { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.45rem; }
.bar-label    { font-size: 0.7rem; color: var(--text2); width: 58px; flex-shrink: 0; text-align: right; }
.bar-track    { flex: 1; height: 8px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.bar-fill     { height: 100%; border-radius: 4px; }
.bar-without  { background: var(--text3); opacity: 0.5; }
.bar-with     { background: var(--accent); }
.bar-pct      { font-size: 0.7rem; font-weight: 700; color: var(--text2); width: 28px; text-align: right; flex-shrink: 0; }
.bar-row:last-child .bar-pct { color: var(--accent); }

/* Métadonnées de formation */
.formation-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--text2);
}
.meta-item .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.tools-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
/* ── Reduced motion for components ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn, .nav-dropdown { transition: none !important; }
  .card-hover:hover, .card-hover-c:hover, .card-parcours:hover,
  .card-vertical:hover, .card-rounded:hover {
    transform: none !important;
  }
}

/* ============================================================
   NOUVELLES CLASSES — Ajoutées lors de l'audit P1 (20/05/2026)
   Référencées dans les HTML corrigés mais absentes du CSS.
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   LIENS
════════════════════════════════════════════════════════════ */

/* Lien inline accentué (ex. "Athenia" dans formations/) */
.link-accent {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.link-accent:hover { opacity: 0.75; }

/* Bouton ghost avec bordure accent (homepage "Je suis une entreprise") */
.link-accent-bordered {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* Lien de navigation sobre — anchor vers section (Master 2027) */
.txt-anchor-muted {
  font-size: 0.78rem;
  color: var(--text2);
  font-weight: 700;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  transition: color 0.2s;
}
.txt-anchor-muted:hover { color: var(--accent); }

/* Reset <a> quand utilisé à la place d'un <div class="list-item-click"> */
a.list-item-click {
  text-decoration: none;
  color: var(--text);
}
a.list-item-click:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════════
   BADGES POSITIONNÉS (tabs avec badge absolu)
════════════════════════════════════════════════════════════ */

/* Badge accent — "Progression la plus commune" (carrieres/), "Le profil Athenia" (homepage) */
.badge-tab-accent {
  background: var(--accent);
  color: var(--btn-text, #050a05);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Badge erreur — "Profil qui disparaît" (homepage) */
.badge-tab-error {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Badge France 2030 — section institutionnelle (l48/) */
/* Couleurs intentionnellement hors-système : identité France 2030 */
.badge-france2030 {
  color: #c0306a;
  border: 1px solid rgba(192,48,106,0.30);
  border-radius: 20px;
  background: rgba(192,48,106,0.06);
  display: inline-flex;
  align-items: center;
}

/* Badge "100% financé" (formations/) — styles complets extraits de l'inline */
.badge-financement {
  background: var(--accent);
  color: var(--btn-text, #ffffff);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════
   CARTES ÉQUIPE (academy/)
════════════════════════════════════════════════════════════ */

/* Titre de rôle sous le nom (ex. "Directeur Commercial et ingénierie pédagogique") */
.card-role {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.4;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Bouton LinkedIn sur les cartes équipe */
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  text-decoration: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  width: fit-content;
  transition: background 0.2s;
}
.btn-linkedin:hover {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */

/* Reset <button> utilisé comme lien dans le footer
   (éléments qui déclenchent une modale sans URL de destination) */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  display: block;
  width: 100%;
}

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHIE UTILITAIRE
════════════════════════════════════════════════════════════ */

/* Header de la barre 70%/30% pratique/théorie (formations/) */
.mono-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text2);
}


/* ════════════════════════════════════════════════════════════
   LOGO MARQUEE PREMIUM — double bandeau entreprises
════════════════════════════════════════════════════════════ */

.athenia-logo-marquee-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 168, 107, 0.14), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.athenia-logo-marquee-section.athenia-logo-marquee-inline {
  margin-top: 48px;
  padding: clamp(56px, 7vw, 92px) 0;
  border-radius: 34px;
}

.logo-marquee-header {
  max-width: 860px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.logo-marquee-header .section-eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--accent, #00A86B);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-marquee-header h2 {
  margin: 0;
  color: var(--text, #111827);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.logo-marquee-header p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(17, 24, 39, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}

.logo-marquee-note {
  max-width: 820px;
  margin: -18px auto 38px;
  padding: 20px 24px;
  border: 1px solid rgba(0,168,107,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 55px rgba(15,23,42,0.05);
}

.logo-marquee-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent, #00A86B);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-marquee-note p {
  margin: 0;
  color: rgba(17,24,39,0.68);
  font-size: 0.92rem;
  line-height: 1.6;
}

.logo-marquee-shell {
  position: relative;
  display: grid;
  gap: 20px;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.logo-marquee-track {
  width: 100%;
  overflow: hidden;
}

.logo-marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  will-change: transform;
}

.logo-marquee-track-left .logo-marquee-content {
  animation: marquee-left 55s linear infinite;
}

.logo-marquee-track-right .logo-marquee-content {
  animation: marquee-right 62s linear infinite;
}

.logo-marquee-shell:hover .logo-marquee-content {
  animation-play-state: paused;
}

.logo-glass-card {
  flex: 0 0 auto;
  width: clamp(150px, 14vw, 220px);
  height: clamp(82px, 7vw, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
}

.logo-glass-card img {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.95) opacity(0.78);
  transition: filter 240ms ease, transform 240ms ease;
}

.logo-glass-card:hover,
.logo-glass-card:focus-visible {
  transform: translateY(-4px) scale(1.035);
  border-color: rgba(0, 168, 107, 0.45);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.logo-glass-card:hover img,
.logo-glass-card:focus-visible img {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: scale(1.02);
}

.logo-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 220px);
  pointer-events: none;
}

.logo-marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f7f8fa 0%, rgba(247, 248, 250, 0) 100%);
}

.logo-marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, #f7f8fa 0%, rgba(247, 248, 250, 0) 100%);
}

.logo-marquee-footer {
  max-width: 860px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  text-align: center;
}

.logo-marquee-footer p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(17, 24, 39, 0.68);
  font-size: 1rem;
  line-height: 1.6;
}

.logo-marquee-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 768px) {
  .athenia-logo-marquee-section {
    padding: 64px 0;
  }

  .athenia-logo-marquee-section.athenia-logo-marquee-inline {
    margin-top: 34px;
    border-radius: 24px;
  }

  .logo-marquee-shell {
    gap: 14px;
  }

  .logo-glass-card {
    width: 142px;
    height: 78px;
    padding: 18px 22px;
    border-radius: 20px;
  }

  .logo-glass-card img {
    max-height: 38px;
  }

  .logo-marquee-fade {
    width: 72px;
  }

  .logo-marquee-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .logo-marquee-actions .btn,
  .logo-marquee-actions a,
  .logo-marquee-actions button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-content {
    animation: none !important;
    transform: none !important;
  }

  .logo-marquee-track {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .logo-marquee-track::-webkit-scrollbar {
    display: none;
  }
}


/* Footer uniformisé — partenaires, pages légales, marque */
.site-footer-simple {
  background: #F5F5F7;
  border-top: 1px solid rgba(29,29,31,0.08);
  padding: 2.4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.site-footer-simple-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.site-footer-partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  padding: 0 0 1.55rem;
  border-bottom: 1px solid rgba(29,29,31,0.08);
}

.site-footer-partner-logo {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.64;
  filter: grayscale(45%);
}

.site-footer-legal-links {
  /* Override the global "nav { position: fixed }" rule from navigation.css,
     which would otherwise yank this footer nav to the top of the page and
     hide it behind the main navigation bar. */
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.65rem;
  flex-wrap: wrap;
  padding: 1.45rem 0;
  border-bottom: 1px solid rgba(29,29,31,0.08);
}

.site-footer-legal-links a {
  color: #6E6E73;
  font-size: 0.8rem;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer-legal-links a:hover {
  color: #1D1D1F;
  opacity: 1;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.55rem;
  text-align: center;
}

.site-footer-brand img {
  width: 78px;
  height: auto;
  object-fit: contain;
}

.site-footer-brand p {
  margin: 0;
  color: #6E6E73;
  font-size: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .site-footer-simple {
    padding: 2rem 1rem 1.75rem;
  }

  .site-footer-partner-logos {
    gap: 0.9rem 1.2rem;
  }

  .site-footer-partner-logo {
    height: 22px;
    max-width: 112px;
  }

  .site-footer-legal-links {
    flex-direction: column;
    gap: 0.55rem;
  }
}


/* ─── FOOTER PREMIUM ────────────────────────────────────────── */

.site-footer-premium {
  background: #F5F5F7;
  border-top: 1px solid rgba(29,29,31,0.08);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.site-footer-premium-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(29,29,31,0.08);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D1D1F;
  margin: 0 0 1.2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0;
}

.footer-nav a {
  color: #6E6E73;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-nav a:hover {
  color: #1D1D1F;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 72px;
  height: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #6E6E73;
  margin: 0;
  line-height: 1.5;
}

.footer-labels {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-labels img {
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.54;
  filter: grayscale(40%);
}

.footer-bottom {
  padding-top: 1.8rem;
  text-align: center;
}

.footer-bottom p {
  color: #6E6E73;
  font-size: 0.8rem;
  margin: 0;
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer-col--brand .footer-logo {
    width: 60px;
  }
}

@media (max-width: 600px) {
  .site-footer-premium {
    padding: 3rem 1.25rem 1.75rem;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-col--brand {
    grid-column: auto;
    flex-direction: column;
  }
}

/* ============================================================
   BTN-LUXURY.CSS — Système de boutons premium Athenia
   Architecture 3D glassmorphism · Apple Pro · Luxe
   ============================================================

   CLASSES DISPONIBLES
   ─────────────────────────────────────────────────────────
   .btn-luxury                  Base pill 3D premium (vert Athenia par défaut)
   .btn-luxury--athenia         Variante vert forêt profond
   .btn-luxury--l48             Variante bleu électrique / tech IA
   .btn-luxury--advisory        Variante violet stratégique / conseil
   .btn-luxury--secondary       Version discrète (ghost 3D)
   .btn-luxury--small           Taille compacte
   .btn-luxury--large           Grande taille hero
   .btn-luxury:disabled         État désactivé
   ============================================================ */

/* ── VARIABLES DE PALETTE ──────────────────────────────────── */

:root {
  /* Athenia — vert forêt profond */
  --ath-dark:        #02180c;
  --ath-mid:         #006b2f;
  --ath-bright:      #18e66a;
  --ath-glow:        rgba(24, 230, 106, 0.40);
  --ath-glow-strong: rgba(24, 230, 106, 0.65);
  --ath-shine:       rgba(180, 255, 200, 0.28);

  /* L48 — bleu souverain / laboratoire IA */
  --l48-dark:        #020b3d;
  --l48-mid:         #0047ff;
  --l48-bright:      #00b8ff;
  --l48-glow:        rgba(0, 120, 255, 0.45);
  --l48-glow-strong: rgba(0, 184, 255, 0.65);
  --l48-shine:       rgba(160, 220, 255, 0.28);

  /* Advisory — violet stratégique */
  --adv-dark:        #160021;
  --adv-mid:         #6b00b9;
  --adv-bright:      #a100ff;
  --adv-glow:        rgba(161, 0, 255, 0.40);
  --adv-glow-strong: rgba(161, 0, 255, 0.65);
  --adv-shine:       rgba(220, 160, 255, 0.28);

  /* Timing commun */
  --lux-ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --lux-dur:         0.28s;
}

/* ════════════════════════════════════════════════════════════
   BASE — .btn-luxury
   Couches d'effet :
   1. fond profond (background gradient)
   2. verre translucide (backdrop-filter + rgba)
   3. ::before → reflet supérieur (highlight blanc en haut)
   4. ::after  → animation de brillance au hover
   5. bordures multicouches (box-shadow inset)
   6. glow externe (box-shadow external)
   7. ombre portée douce
════════════════════════════════════════════════════════════ */

.btn-luxury {
  /* Géométrie */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;

  /* Typographie */
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.90rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);

  /* Couche 1 — fond profond vert Athenia (défaut) */
  background: linear-gradient(
    160deg,
    var(--ath-dark)    0%,
    var(--ath-mid)     55%,
    color-mix(in srgb, var(--ath-mid) 70%, var(--ath-bright)) 100%
  );

  /* Couche 3 — bordures multicouches via box-shadow inset */
  box-shadow:
    /* Liseré supérieur brillant (reflet interne haut) */
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.38),
    /* Liseré inférieur sombre (profondeur) */
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.30),
    /* Bordure extérieure lumineuse fine */
    inset 0  0     0   1px rgba(255, 255, 255, 0.14),
    /* Glow externe */
    0  6px  22px  -4px var(--ath-glow),
    /* Ombre portée douce */
    0  3px  10px  -2px rgba(0, 0, 0, 0.28);

  /* Transitions */
  transition:
    transform        var(--lux-dur) var(--lux-ease),
    box-shadow       var(--lux-dur) var(--lux-ease),
    filter           var(--lux-dur) var(--lux-ease),
    background       var(--lux-dur) var(--lux-ease);

  /* Verre translucide (subtil — fond est sombre) */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Couche 2 — reflet supérieur fixe (highlight capsule haut) */
.btn-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(255, 255, 255, 0.00) 100%
  );
  border-radius: 999px 999px 60% 60%;
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--lux-dur) var(--lux-ease);
}

/* Couche 4 — brillance mobile au hover (sweep de gauche à droite) */
.btn-luxury::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -80%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.00) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.00) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  transition: left 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s;
  opacity: 0;
}

/* ── HOVER ─────────────────────────────────────────────────── */

.btn-luxury:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.12);
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.48),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(255, 255, 255, 0.20),
    0  10px  32px  -4px var(--ath-glow-strong),
    0   5px  16px  -3px rgba(0, 0, 0, 0.32);
  text-decoration: none;
  color: #ffffff;
  opacity: 1;
}

.btn-luxury:hover::before {
  opacity: 1.2;
}

.btn-luxury:hover::after {
  left: 110%;
  opacity: 1;
}

/* ── ACTIVE / CLICK (pression 3D) ──────────────────────────── */

.btn-luxury:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.95);
  box-shadow:
    inset 0  1px   0   0   rgba(255, 255, 255, 0.20),
    inset 0  3px   8px 0   rgba(0, 0, 0, 0.25),
    inset 0  0     0   1px rgba(255, 255, 255, 0.10),
    0  2px  8px   -2px var(--ath-glow),
    0  1px  4px   -1px rgba(0, 0, 0, 0.30);
  transition-duration: 0.08s;
}

/* ── FOCUS clavier accessible ───────────────────────────────── */

.btn-luxury:focus-visible {
  outline: none;
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.38),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(255, 255, 255, 0.14),
    0  0   0  3px  #ffffff,
    0  0   0  5px  var(--ath-bright),
    0  6px  22px  -4px var(--ath-glow);
}

/* ── DISABLED ───────────────────────────────────────────────── */

.btn-luxury:disabled,
.btn-luxury[aria-disabled="true"] {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.4);
}

/* ════════════════════════════════════════════════════════════
   VARIANTE — .btn-luxury--athenia (vert forêt explicite)
   Identique à la base, déclarée pour usage explicite
════════════════════════════════════════════════════════════ */

.btn-luxury--athenia {
  background: linear-gradient(
    160deg,
    var(--ath-dark)   0%,
    var(--ath-mid)    55%,
    color-mix(in srgb, var(--ath-mid) 70%, var(--ath-bright)) 100%
  );
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.38),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(255, 255, 255, 0.14),
    0  6px  22px  -4px var(--ath-glow),
    0  3px  10px  -2px rgba(0, 0, 0, 0.28);
}

.btn-luxury--athenia:hover {
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.48),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(255, 255, 255, 0.20),
    0  10px  32px  -4px var(--ath-glow-strong),
    0   5px  16px  -3px rgba(0, 0, 0, 0.32);
}

.btn-luxury--athenia:focus-visible {
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.38),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(255, 255, 255, 0.14),
    0  0   0  3px  #ffffff,
    0  0   0  5px  var(--ath-bright),
    0  6px  22px  -4px var(--ath-glow);
}

/* ════════════════════════════════════════════════════════════
   VARIANTE — .btn-luxury--l48 (bleu souverain / tech IA)
════════════════════════════════════════════════════════════ */

.btn-luxury--l48 {
  background: linear-gradient(
    160deg,
    var(--l48-dark)   0%,
    var(--l48-mid)    50%,
    color-mix(in srgb, var(--l48-mid) 60%, var(--l48-bright)) 100%
  );
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.35),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.35),
    inset 0  0     0   1px rgba(0, 184, 255, 0.22),
    0  6px  22px  -4px var(--l48-glow),
    0  3px  10px  -2px rgba(0, 0, 0, 0.30);
}

.btn-luxury--l48::before {
  background: linear-gradient(
    180deg,
    rgba(160, 220, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

.btn-luxury--l48:hover {
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.48),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.35),
    inset 0  0     0   1px rgba(0, 184, 255, 0.35),
    0  10px  32px  -4px var(--l48-glow-strong),
    0   5px  16px  -3px rgba(0, 0, 0, 0.32);
  color: #ffffff;
  opacity: 1;
}

.btn-luxury--l48:active {
  box-shadow:
    inset 0  1px   0   0   rgba(255, 255, 255, 0.20),
    inset 0  3px   8px 0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(0, 184, 255, 0.18),
    0  2px  8px   -2px var(--l48-glow),
    0  1px  4px   -1px rgba(0, 0, 0, 0.30);
}

.btn-luxury--l48:focus-visible {
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.35),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.35),
    inset 0  0     0   1px rgba(0, 184, 255, 0.22),
    0  0   0  3px  #ffffff,
    0  0   0  5px  var(--l48-bright),
    0  6px  22px  -4px var(--l48-glow);
}

/* ════════════════════════════════════════════════════════════
   VARIANTE — .btn-luxury--advisory (violet stratégique)
════════════════════════════════════════════════════════════ */

.btn-luxury--advisory {
  background: linear-gradient(
    160deg,
    var(--adv-dark)   0%,
    var(--adv-mid)    52%,
    color-mix(in srgb, var(--adv-mid) 65%, var(--adv-bright)) 100%
  );
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.35),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.38),
    inset 0  0     0   1px rgba(161, 0, 255, 0.25),
    0  6px  22px  -4px var(--adv-glow),
    0  3px  10px  -2px rgba(0, 0, 0, 0.30);
}

.btn-luxury--advisory::before {
  background: linear-gradient(
    180deg,
    rgba(220, 160, 255, 0.30) 0%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

.btn-luxury--advisory:hover {
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.48),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.38),
    inset 0  0     0   1px rgba(161, 0, 255, 0.40),
    0  10px  32px  -4px var(--adv-glow-strong),
    0   5px  16px  -3px rgba(0, 0, 0, 0.32);
  color: #ffffff;
  opacity: 1;
}

.btn-luxury--advisory:active {
  box-shadow:
    inset 0  1px   0   0   rgba(255, 255, 255, 0.20),
    inset 0  3px   8px 0   rgba(0, 0, 0, 0.30),
    inset 0  0     0   1px rgba(161, 0, 255, 0.18),
    0  2px  8px   -2px var(--adv-glow),
    0  1px  4px   -1px rgba(0, 0, 0, 0.30);
}

.btn-luxury--advisory:focus-visible {
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.35),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.38),
    inset 0  0     0   1px rgba(161, 0, 255, 0.25),
    0  0   0  3px  #ffffff,
    0  0   0  5px  var(--adv-bright),
    0  6px  22px  -4px var(--adv-glow);
}

/* ════════════════════════════════════════════════════════════
   VARIANTE — .btn-luxury--secondary (ghost 3D discret)
   Utilisé pour les CTA secondaires : En savoir plus, Explorer…
════════════════════════════════════════════════════════════ */

.btn-luxury--secondary {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.90);
  text-shadow: none;
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.22),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.18),
    inset 0  0     0   1px rgba(255, 255, 255, 0.18),
    0  4px  14px  -3px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-luxury--secondary::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

.btn-luxury--secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px) scale(1.012);
  filter: brightness(1.08);
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.30),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.18),
    inset 0  0     0   1px rgba(255, 255, 255, 0.28),
    0  8px  24px  -4px rgba(0, 0, 0, 0.28);
}

.btn-luxury--secondary:active {
  transform: translateY(1px) scale(0.988);
  filter: brightness(0.96);
  box-shadow:
    inset 0  1px   0   0   rgba(255, 255, 255, 0.12),
    inset 0  2px   6px 0   rgba(0, 0, 0, 0.20),
    inset 0  0     0   1px rgba(255, 255, 255, 0.10),
    0  1px  4px   -1px rgba(0, 0, 0, 0.22);
}

.btn-luxury--secondary:focus-visible {
  outline: none;
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.22),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.18),
    inset 0  0     0   1px rgba(255, 255, 255, 0.18),
    0  0   0  3px  rgba(255, 255, 255, 0.80),
    0  0   0  5px  rgba(255, 255, 255, 0.40),
    0  4px  14px  -3px rgba(0, 0, 0, 0.22);
}

/* Secondary sur fond clair — texte sombre */
.btn-luxury--secondary.on-light {
  background: rgba(29, 29, 31, 0.06);
  color: #1D1D1F;
  text-shadow: none;
  box-shadow:
    inset 0  1.5px 0   0   rgba(255, 255, 255, 0.70),
    inset 0 -1px   0   0   rgba(0, 0, 0, 0.10),
    inset 0  0     0   1px rgba(29, 29, 31, 0.14),
    0  4px  14px  -3px rgba(0, 0, 0, 0.10);
}

.btn-luxury--secondary.on-light:hover {
  background: rgba(29, 29, 31, 0.10);
  color: #1D1D1F;
}

/* ════════════════════════════════════════════════════════════
   MODIFICATEURS DE TAILLE
════════════════════════════════════════════════════════════ */

.btn-luxury--small {
  padding: 0.50rem 1.20rem;
  font-size: 0.80rem;
  gap: 0.35rem;
}

.btn-luxury--large {
  padding: 0.95rem 2.40rem;
  font-size: 1.00rem;
  gap: 0.55rem;
  letter-spacing: 0.015em;
}

/* ════════════════════════════════════════════════════════════
   ACCESSIBILITÉ — prefers-reduced-motion
════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .btn-luxury,
  .btn-luxury::before,
  .btn-luxury::after {
    transition: none !important;
    animation: none !important;
  }
  .btn-luxury:hover {
    transform: none;
    filter: brightness(1.08);
  }
  .btn-luxury:active {
    transform: none;
    filter: brightness(0.95);
  }
}

/* ════════════════════════════════════════════════════════════
   HOME ROUTE CARDS — "Quel est votre objectif ?"
   Applique le style luxury aux <strong> dans les cartes-liens
════════════════════════════════════════════════════════════ */

.home-route-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.50rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22,0.61,0.36,1),
              box-shadow 0.28s cubic-bezier(0.22,0.61,0.36,1),
              filter 0.28s cubic-bezier(0.22,0.61,0.36,1);

  /* Default : vert Athenia */
  background: linear-gradient(160deg, var(--ath-dark) 0%, var(--ath-mid) 55%, color-mix(in srgb, var(--ath-mid) 70%, var(--ath-bright)) 100%) !important;
  box-shadow:
    inset 0  1.5px 0 0   rgba(255,255,255,0.38),
    inset 0 -1px   0 0   rgba(0,0,0,0.30),
    inset 0  0     0 1px rgba(255,255,255,0.14),
    0 6px 22px -4px var(--ath-glow),
    0 3px 10px -2px rgba(0,0,0,0.28);
}

/* Variante L48 pour la carte pointant vers /l48/ */
.home-route-card[href*="l48"] strong,
.home-route-card[href*="l48/"] strong {
  background: linear-gradient(160deg, var(--l48-dark) 0%, var(--l48-mid) 50%, color-mix(in srgb, var(--l48-mid) 60%, var(--l48-bright)) 100%) !important;
  box-shadow:
    inset 0  1.5px 0 0   rgba(255,255,255,0.35),
    inset 0 -1px   0 0   rgba(0,0,0,0.35),
    inset 0  0     0 1px rgba(0,184,255,0.22),
    0 6px 22px -4px var(--l48-glow),
    0 3px 10px -2px rgba(0,0,0,0.30) !important;
}

.home-route-card:hover strong {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.12);
}

/* ════════════════════════════════════════════════════════════
   IMMUNISATION — force couleurs contre surcharges globales
   (liquid-glass.css, base.css a{color:accent}, etc.)
════════════════════════════════════════════════════════════ */

.btn-luxury,
.btn-luxury:link,
.btn-luxury:visited,
.btn-luxury:hover,
.btn-luxury:active,
.btn-luxury:focus {
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* Variante secondary : blanc légèrement atténué */
.btn-luxury.btn-luxury--secondary,
.btn-luxury.btn-luxury--secondary:link,
.btn-luxury.btn-luxury--secondary:visited,
.btn-luxury.btn-luxury--secondary:hover,
.btn-luxury.btn-luxury--secondary:active {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Empêcher liquid-glass d'écraser le background des btn-luxury */
.btn-luxury,
.btn-luxury:hover {
  background-color: transparent !important; /* laisse le gradient du background agir */
}
/* Re-appliquer les gradients en priorité via specificity accrue */
.btn-luxury.btn-luxury--athenia,
.btn-luxury:not([class*="--l48"]):not([class*="--advisory"]):not([class*="--secondary"]) {
  background: linear-gradient(
    160deg,
    var(--ath-dark)   0%,
    var(--ath-mid)    55%,
    color-mix(in srgb, var(--ath-mid) 70%, var(--ath-bright)) 100%
  ) !important;
}

.btn-luxury.btn-luxury--l48 {
  background: linear-gradient(
    160deg,
    var(--l48-dark)   0%,
    var(--l48-mid)    50%,
    color-mix(in srgb, var(--l48-mid) 60%, var(--l48-bright)) 100%
  ) !important;
}

.btn-luxury.btn-luxury--advisory {
  background: linear-gradient(
    160deg,
    var(--adv-dark)   0%,
    var(--adv-mid)    52%,
    color-mix(in srgb, var(--adv-mid) 65%, var(--adv-bright)) 100%
  ) !important;
}

.btn-luxury.btn-luxury--secondary {
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — mobile
════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .btn-luxury {
    padding: 0.70rem 1.60rem;
    font-size: 0.88rem;
  }
  .btn-luxury--large {
    padding: 0.82rem 2.00rem;
    font-size: 0.95rem;
  }
  .btn-luxury--small {
    padding: 0.46rem 1.05rem;
    font-size: 0.78rem;
  }
  /* Évite le hover sur touch */
  @media (hover: none) {
    .btn-luxury:hover {
      transform: none;
      filter: none;
    }
  }
}
