/* Couleurs */
:root {
  --bg: #000000;
  --text-primary: #f8f4ec;
  --text-secondary: #a3a3a3;
  --accent-gold: #b4850d;
  --border-color: rgba(255, 255, 255, 0.2);
  --divider-color: #333333;
}

html {
  overflow-y: scroll; /* Empêche la barre de navigation de sauter d'une page à l'autre */
}

body {
  background-color: var(--bg, #000000);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display';
}

/* ====== Style générique ====== */

/* --- Layout --- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-wrapper {
  padding: 40px 20px;
  width: 100%;
  min-height: calc(100vh - 70px);
}

.page-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  padding: 4rem 0;
  width: 100%;
}

.section-border {
  border-bottom: 1px solid var(--divider-color);
}

/* --- Typographie --- */

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
}

.page-header .page-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  .page-header .page-title {
    font-size: 2.2rem;
  }
}

.subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-header .subtitle {
  font-size: 1.1rem;
  max-width: 450px;
  margin: 0 auto;
}

.highlight {
  color: var(--accent-gold);
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* --- Cartes --- */

.card {
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  padding: 30px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

.card-hover-lift {
  transition: transform 0.3s ease;
}

.card-hover-lift:hover {
  transform: translateY(-10px);
}

/* --- Formulaires --- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  color: var(--text-primary);
  font-size: 1rem;
}

.form-control {
  background-color: var(--text-primary);
  color: #000;
  padding: 14px 16px;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-gold);
}

/* Navigation */
.nav-bar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--accent-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg);
}

.router-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: 20px;
}

.router-link:hover {
  color: var(--accent-gold);
}

.router-link-active {
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 2px;
}

/* --- Styles Navbar Responsive --- */
.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand h2 {
  margin: 0;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Bouton "Hamburger" affiché uniquement sur mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 5px;
  margin-left: 5px;
}

/* Sécurité : Forcer l'affichage classique sur les écrans d'ordinateur */
@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
  }

  .nav-links {
    display: none; /* Caché par défaut sur téléphone */
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.is-open {
    display: flex; /* S'affiche lorsque le bouton hamburger est cliqué */
  }

  .nav-links .router-link {
    margin: 10px 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-brand h2 {
    display: none;
  }
}

/* Vidéo */
.hero-video {
  position: absolute;
  width: 100%;
  object-fit: cover;
  filter: blur(5px);
}

/* Scroll Container */
.horizontal-scroll {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll>* {
  scroll-snap-align: start;
  margin-top: 15px;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--text-primary);
  border-radius: 4px;
}

/* --- Components --- */

/* Footer */
.footer {
  color: var(--text-primary);
  padding: 4rem 2rem 2rem 2rem;
  border-top: 1px solid var(--accent-gold);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 3rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

/* Réseaux sociaux */
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.brand-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-icon {
  color: var(--text-primary);
  transition: color 0.3s ease;
  display: flex;
}

.social-icon:hover {
  color: var(--accent-gold);
}

/* Styles des colonnes de liens */
.column-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-gold);
  display: inline-block;
}

.footer-links {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Styles des lignes séparatrices */
.footer-bottom {
  max-width: 1450px;
  margin: 3rem auto 0 auto;
  text-align: center;
}

.divider {
  border: 0;
  border-top: 1px solid var(--divider-color);
  margin-bottom: 1.5rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* Tableaux */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  color: white;
}

th,
td,
tr {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

/* Formations */
.formation-section {
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;

}

.section-header h2 {
  margin: 0;
  font-weight: normal;
  margin-top: 20px;
  font-size: 1.5rem;
}

/* Cartes */
.formation-card {
  min-width: min(380px, 85vw);
  gap: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.image-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.image-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: auto;
}

.admin-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent-gold);
  padding: 5px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-delete:hover {
  color: #ff5555;
  transform: scale(1.1);
}

.btn-delete svg {
  width: 20px;
  height: 20px;
}

.btn-inscrire {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-weight: bold;
}

.btn-inscrire:hover {
  color: var(--text-primary);
}

.card-body .title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Recherche */
.research {
  display: flex;
}

.research input {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
  margin: 5px;
  padding: 7px;
}

.research input::placeholder {
  color: #d1d5db;
}

.research input:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent-gold);
}

@media (max-width: 768px) {
  .research input {
    width: 120px;
  }
}

.card-body {
  text-align: center;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* Connexion */
.connexion {
  background-color: var(--text-primary);
  color: var(--bg);
  padding: 7px 13px;
  border-radius: 4px;
  margin-left: 5px;
  border: none;
  cursor: pointer;
  font-size: inherit;
}

/* Menu déroulant */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg);
  border: 1px solid var(--accent-gold);
  border-radius: 4px;
  min-width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.dropdown-item {
  padding: 10px 15px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
  background-color: var(--accent-gold);
  color: var(--bg);
}

#logout {
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

#logout:hover {
  color: var(--bg);
  background-color: var(--accent-gold)
}

/* profil */
.profil-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .profil-container {
    flex-direction: row;
    align-items: stretch;
  }

  .profil-container>.card {
    flex: 1;
  }
}

.subscription-status {
  margin-top: 10px;
  font-style: italic;
  color: #aaa;
}

/* Formulaire réinitialisation mot de passe */
.password-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.password-form .btn-gold {
  align-self: flex-start;
}

/* Vidéos */
.video-card {
  flex: 0 0 min(380px, 85vw);
  gap: 15px;
}

.video-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 15px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe,
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-placeholder {
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.video-placeholder img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  z-index: 1;
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.play-button {
  color: white;
  font-size: 24px;
  margin-left: 4px;
}

.video-placeholder:hover .play-icon-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(180, 133, 13, 0.8);
}

/* --- Page d'accueil --- */

.home-page {
  width: 100%;
  background-color: var(--bg);
  min-height: 100vh;
}

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

.mb-large {
  margin-bottom: 4rem;
}

/* Boutons */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
  }
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: rgba(0, 0, 0, 0.123);
  border: 1px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-gold:hover {
  background-color: #d4a017;
  color: var(--bg);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--text-primary);
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-white:hover {
  background-color: #e5e5e5;
}

.icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Section 1 : Hero */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--divider-color);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-placeholder-bg {
  position: absolute;
  inset: 0;
  background-color: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.875rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 42rem;
  margin-inline: auto;
  font-weight: 300;
  margin-bottom: 3rem;
}

.expertise-section {
  padding: 6rem 0;
  position: relative;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expertise-card {
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.icon-wrapper {
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--accent-gold);
  display: flex;
}

.icon-wrapper svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent-gold);
}

.expertise-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.expertise-card p {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
}

.split-section {
  padding: 6rem 0;
  position: relative;
}

.split-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split-layout {
    flex-direction: row;
  }

  .split-image,
  .split-text {
    width: 50%;
  }
}

.image-box {
  border: 1px solid var(--accent-gold);
  border-radius: 1rem;
  overflow: hidden;
  height: 400px;
  background-color: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text {
  text-align: left;
}

.split-text .section-title {
  margin-bottom: 1.5rem;
}

.split-desc {
  color: #d1d5db;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.625;
}

/* Newsletter */

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.input-dark {
  flex-grow: 1;
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: box-shadow 0.3s;
}

.input-dark::placeholder {
  color: #d1d5db;
}

.input-dark:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent-gold);
}

/* --- Pages d'authentification --- */
.auth-box {
  width: 100%;
  max-width: 500px;
}

.auth-box.large {
  max-width: 1000px;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Réduit pour compenser le margin-bottom de form-group */
}

@media (min-width: 768px) {
  .auth-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-password {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.85rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-auth {
  display: block;
  margin: 10px auto 0;
  width: 60%;
  font-weight: bold;
}

.auth-footer {
  text-align: center;
  margin-top: 40px;
}

.auth-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  width: 50%;
  margin: 0 auto 24px auto;
}

.auth-footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

/* --- Page Inscription --- */
.inscription-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .inscription-content {
    flex-direction: row;
    align-items: stretch;
  }
}

.image-wrapper {
  flex: 1;
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inscription-details-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inscription-details-card {
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.details-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: normal;
}

.details-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--accent-gold);
  align-items: flex-end;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.meta-item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.details-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.details-price {
  margin-top: auto;
  font-size: 1.8rem;
  font-weight: normal;
}

.inscription-action {
  display: flex;
  justify-content: flex-end;
}

.inscription-action .btn-gold {
  padding: 1rem 3rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Mon histoire */
.mon-histoire-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  min-height: 80vh;
}

.mon-histoire-section {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1000px;
  width: 100%;
}

.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.description {
  color: var(--text-secondary);
}

.section-title {
  font-size: 3.5rem;
  margin: 0 0 20px 0;
  font-weight: normal;
}

@media (max-width: 768px) {
  .mon-histoire-section {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .image-wrapper {
    justify-content: center;
  }

  .text-content {
    align-items: center;
  }
}

/* Page Articles */
.articles-page {
  padding: 40px 0 80px 0;
}

.articles-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--divider-color);
}

.articles-header h1,
.articles-header h2 {
  font-size: 2rem;
  margin: 0;
  font-weight: normal;
}

.articles-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-gold);
}

.articles-layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (min-width: 1024px) {
  .articles-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .articles-list {
    flex: 1;
  }

  .newsletter-sidebar {
    width: 380px;
    position: sticky;
    top: 100px;
  }
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-gold);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-10px);
}


@media (min-width: 768px) {
  .article-card {
    flex-direction: row;
    height: 250px;
  }

  .article-image-wrapper {
    width: 35%;
    min-width: 250px;
  }
}

.article-image-wrapper {
  position: relative;
  height: 250px;
}

@media (min-width: 768px) {
  .article-image-wrapper {
    height: 100%;
  }
}

.article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.lock-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-gold);
}

.lock-overlay svg {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
}

.article-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

q .article-content h2 {
  font-size: 1.8rem;
  margin: 0 0 15px 0;
  font-weight: normal;
}

.article-content p {
  color: var(--text-secondary);
  margin: 0 0 25px 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-action {
  margin-top: auto;
}

.article-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.article-link:hover {
  text-decoration: underline;
}

.load-more-btn {
  align-self: center;
  margin-top: 10px;
}

/* Sidebar Newsletter */
.newsletter-box {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-gold);
  padding: 40px 30px;
  text-align: center;
  background-color: transparent;
  border-radius: 10px;
}

.newsletter-box h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: normal;
  line-height: 1.3;
}

.newsletter-box p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.newsletter-form-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-box .newsletter-form {
  flex-direction: column;
}

/* --- Appel de découverte --- */
.page-container {
  max-width: 900px;
  margin: 0 auto;
}

.main-card {
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  padding: 40px;
  background-color: transparent;
}

.stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.step {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.step.active {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.step-num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--text-secondary);
  margin-right: 10px;
  font-size: 0.9rem;
}

.step.active .step-num {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-black {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-black:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* --- Statistiques --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
}

.stat-card {
  border: 1px solid var(--accent-gold);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(180, 133, 13, 0.05);
}

.stat-number {
  font-size: 4rem;
  font-weight: bold;
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

/* --- Tableaux  --- */
.table-container {
  width: 100%;
  max-width: 1000px;
  overflow-x: auto;
  background-color: rgba(180, 133, 13, 0.05);
  border: 1px solid var(--accent-gold);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary);
}

.admin-table th {
  color: var(--accent-gold);
  font-weight: bold;
  border-bottom: 2px solid var(--accent-gold);
  padding: 15px 12px;
  text-align: left;
}

.admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.admin-table tbody tr:hover {
  background-color: rgba(180, 133, 13, 0.1);
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  background-color: rgba(180, 133, 13, 0.2);
  color: var(--accent-gold);
}

.status-badge.confirmé {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4caf50;
}

.status-badge.passé {
  background-color: rgba(255, 193, 7, 0.2);
  color: #c27435;
}

/* --- Avis --- */
.avis-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.avis-card {
  width: 350px;
  max-width: 100%;
  height: 280px;
}

.avis-card .card-body {
  overflow-y: auto;
}

.avis-card .card-body::-webkit-scrollbar {
  width: 4px;
}

.avis-card .card-body::-webkit-scrollbar-track {
  background: transparent;
}

.avis-card .card-body::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border-radius: 4px;
}

.avis-text {
  font-style: italic;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.avis-author {
  color: var(--accent-gold);
  font-weight: bold;
}

.date-politique {
  color: var(--accent-gold);
  font-style: italic;
}