/* ========== PROMESSE GRID ========== */
.promesse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.promesse-card {
  padding: 2.5rem 2rem;
  background: white;
  border: 1px solid var(--line);
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.promesse-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.promesse-card:hover {
  background: var(--navy-950);
  color: var(--cream);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 18px 40px rgba(1, 21, 45, 0.18);
  border-color: var(--gold-500);
}

.promesse-card:hover::before {
  transform: scaleX(1);
}

.promesse-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(183, 144, 68, 0.12);
  color: var(--gold-500);
  margin-bottom: 1.4rem;
  transition: all 0.35s ease;
}

.promesse-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promesse-card:hover .promesse-icon {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: rotate(-6deg) scale(1.08);
}

.promesse-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.6rem 0;
  display: block;
  transition: color 0.35s ease;
}

.promesse-card:hover .promesse-title {
  color: var(--cream);
}

.promesse-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.promesse-card:hover .promesse-text { color: rgba(245, 239, 227, 0.75); }

/* ========== MEMBERS PREVIEW ========== */
.members-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.member-card {
  background: white;
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  /* Les cartes de l'aperçu accueil sont purement décoratives (aucun lien
     derrière). On conserve l'animation de survol ci-dessous comme accroche
     visuelle, mais cursor:default évite de suggérer faussement un clic. */
  cursor: default;
}

.member-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(1, 21, 45, 0.1);
}

.member-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 auto 1rem;
  border: 1px solid var(--gold-500);
}

.member-name {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.member-role {
  font-size: 0.78rem;
  color: var(--gold-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.member-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Ligne localisation "Ville (CP)" sous le secteur (carte accueil épurée).
   Centrée comme le reste de la carte vitrine. L'icône épingle est décorative
   (aria-hidden) et hérite de la couleur du texte via currentColor. */
.member-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.member-location-icon {
  flex-shrink: 0;
  color: var(--gold-600);
}

/* ========== CHIFFRES ========== */
.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.chiffre {
  text-align: center;
  padding: 2.5rem 1rem;
  border-left: 1px solid var(--line-strong);
}

.chiffre:first-child { border-left: none; }

.chiffre-num {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.chiffre-label {
  color: rgba(245, 239, 227, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========== TEMOIGNAGES ========== */
.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.temoignage {
  padding: 3rem;
  background: white;
  border-left: 3px solid var(--gold-500);
  position: relative;
}

.temoignage::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold-500);
  line-height: 1;
  font-style: italic;
}

.temoignage-text {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.temoignage-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  text-transform: uppercase;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--navy-950);
  color: var(--cream);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0.15;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0.1;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(245, 239, 227, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== LE CLUB PAGE ========== */
.club-hero {
  background: var(--navy-950);
  color: var(--cream);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.club-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.club-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin: 1.5rem 0;
  color: var(--cream);
  max-width: 1100px;
}

.club-title em { font-style: normal; color: var(--gold-400); }

.club-lead {
  font-size: 1.2rem;
  color: rgba(245, 239, 227, 0.75);
  max-width: 760px;
  font-weight: 300;
  line-height: 1.7;
}

.ambition-block {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 4rem 3rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  text-align: center;
}

.ambition-block .eyebrow { margin-bottom: 1.5rem; }
.ambition-text {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
}

.objectifs-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}

.objectif-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}

.objectif-item:last-child { border-bottom: none; }

.objectif-item:hover {
  padding-left: 0.75rem;
}

.objectif-item:hover .objectif-chevron {
  transform: translateX(4px);
  color: var(--gold-400);
}

.objectif-chevron {
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.objectif-chevron svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.objectif-content { flex: 1; }

.objectif-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.valeur {
  padding: 2.5rem 2rem;
  background: white;
  border: 1px solid var(--line);
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.valeur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.valeur:hover {
  background: var(--navy-950);
  color: var(--cream);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(1, 21, 45, 0.18);
  border-color: var(--gold-500);
}

.valeur:hover::before {
  transform: scaleX(1);
}

.valeur-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(183, 144, 68, 0.12);
  color: var(--gold-500);
  margin: 0 0 1.4rem 0;
  transition: all 0.35s ease;
}

.valeur-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.valeur:hover .valeur-icon {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: rotate(-6deg) scale(1.08);
}

.valeur-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
  color: var(--ink);
  display: block;
  transition: color 0.35s ease;
}

.valeur:hover .valeur-title {
  color: var(--cream);
}

.valeur-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.valeur:hover .valeur-text {
  color: rgba(245, 239, 227, 0.75);
}

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

.gouvernance-card {
  padding: 2.5rem;
  background: white;
  border-top: 3px solid var(--gold-500);
  text-align: center;
}

.gouvernance-role {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  line-height: 1.4;
  min-height: 2.8em;
}

.gouvernance-role::before,
.gouvernance-role::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
  flex-shrink: 0;
}

.gouvernance-name {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  min-height: 2.4em;
}

.gouvernance-desc {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* ========== MEMBRES PAGE ========== */
.filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 3rem 0;
  padding: 1.5rem 2rem;
  background: white;
  border: 1px solid var(--line);
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy-950);
  color: var(--cream);
  border-color: var(--navy-950);
}

.members-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.member-full-card {
  background: white;
  border: 1px solid var(--line);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.member-full-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(1, 21, 45, 0.1);
}

.member-full-header {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.member-full-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  border: 1px solid var(--gold-500);
  flex-shrink: 0;
}

.member-full-name {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.member-full-activity {
  font-size: 0.75rem;
  color: var(--gold-600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Ligne localisation "Ville (CP)" de la carte annuaire (alignée à gauche).
   margin-bottom assure l'espacement avant le footer ; le footer est lui-même
   poussé en bas via margin-top:auto (cf. .member-full-footer) maintenant que
   le paragraphe descriptif flex:1 a été retiré. */
.member-full-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.member-full-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.member-full-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.member-contact-btn {
  background: none;
  border: none;
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.member-contact-btn:hover { color: var(--gold-600); }
.member-contact-btn::after { content: ' →'; }

.member-tag {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  background: var(--cream);
  color: var(--navy-700);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ========== EVENEMENTS PAGE ========== */
.events-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }

/* === Filtres événements === */
.events-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.events-filter-btn {
  padding: 0.7rem 1.3rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
  position: relative;
  white-space: nowrap;
}

.events-filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--navy-950);
  background: rgba(183, 144, 68, 0.05);
}

.events-filter-btn.is-active {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--cream);
  font-weight: 600;
}

.events-filter-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: -1.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

/* Quand le bouton actif est dans la toolbar, on rapproche la barre dorée
   pour qu'elle s'aligne avec la border-bottom de la toolbar */
.events-toolbar .events-filter-btn.is-active::after {
  bottom: -1.3rem;
}

/* === Toolbar événements (recherche + filtres catégorie + période) ===
   Layout horizontal aligné sur le pattern admin Événements : recherche à
   gauche, filtres catégorie au milieu, filtre période à droite. Wrap propre
   sur écrans étroits. */
.events-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

/* Override de la marge basse des filtres quand dans la toolbar */
.events-toolbar .events-filters {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
  /* Les filtres prennent la place restante entre la recherche (à gauche) et
     la période (à droite) — sans pousser la période hors écran. */
  flex: 1 1 auto;
}

.events-secondary-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.8rem;
  /* Ne pas grossir au-delà du nécessaire : la zone catégorie au milieu doit
     pouvoir prendre toute la place. */
  flex: 0 0 auto;
}

.events-period-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #566479);
}

.events-period-select {
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23566479' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px 12px;
}

.events-period-select:hover,
.events-period-select:focus {
  border-color: var(--gold-500);
  outline: none;
}

.events-period-select:focus-visible {
  box-shadow: 0 0 0 3px rgba(183, 144, 68, 0.25);
}

.events-search {
  position: relative;
  flex: 0 1 280px;
  min-width: 220px;
  display: flex;
  align-items: center;
}

.events-search svg,
.events-search-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--muted, #566479);
  pointer-events: none;
}

.events-search-input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  border-radius: 2px;
  transition: border-color 0.25s ease;
}

.events-search-input::placeholder {
  color: var(--muted, #566479);
  opacity: 0.7;
}

.events-search-input:focus {
  outline: none;
  border-color: var(--gold-500);
}

.events-search-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(183, 144, 68, 0.25);
}

/* Responsive : sur mobile, période et recherche s'empilent */
@media (max-width: 640px) {
  .events-secondary-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .events-period-label {
    display: none;
  }
  .events-period-select,
  .events-search {
    width: 100%;
    max-width: none;
  }
}

/* État vide */
.events-empty {
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 2rem;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 2px;
}

.events-empty svg {
  color: var(--gold-500);
  opacity: 0.6;
  margin-bottom: 1.2rem;
}

.events-empty p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.events-empty p span {
  font-size: 0.85rem;
  color: rgba(86, 100, 121, 0.7);
  font-style: italic;
}

@media (max-width: 768px) {
  .events-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-top: 1.5rem;
    width: 100%;
  }
  .events-filter-btn {
    flex-shrink: 0;
  }
  .events-filter-btn.is-active::after {
    bottom: -1.05rem;
  }
}

/* === Cartes Événements V2 === */
.event-card-v2 {
  background: white;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.event-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.event-card-v2:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1, 21, 45, 0.12);
}

.event-card-v2:hover::before {
  transform: scaleX(1);
}

/* Visuel d'ambiance */
.event-visual {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-visual-afterwork {
  background: linear-gradient(135deg, #01152d 0%, #1a2d4f 50%, #2c4674 100%);
}

.event-visual-breakfast {
  background: linear-gradient(135deg, var(--gold-500) 0%, #c9a460 50%, #d4b677 100%);
}

.event-visual-visit {
  background: linear-gradient(135deg, #2d4f3a 0%, #1a2d4f 60%, #01152d 100%);
}

.event-visual-icon {
  position: relative;
  z-index: 2;
  color: rgba(245, 239, 227, 0.85);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.event-card-v2:hover .event-visual-icon {
  transform: scale(1.08);
}

.event-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.3), transparent 60%);
  z-index: 1;
}

/* Badges */
.event-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 3;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.event-badge-open {
  background: rgba(76, 145, 80, 0.92);
  color: white;
}

.event-badge-members {
  background: rgba(1, 21, 45, 0.92);
  color: var(--gold-400);
  border: 1px solid rgba(183, 144, 68, 0.5);
}

.event-badge-limited {
  background: rgba(196, 69, 61, 0.92);
  color: white;
}

.event-badge-registration {
  background: rgba(245, 239, 227, 0.95);
  color: var(--navy-950);
}

/* Contenu de la carte */
.event-content-v2 {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.event-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.event-date-block {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.event-date-day {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--navy-950);
  line-height: 1;
}

.event-date-month {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.event-type-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  background: rgba(183, 144, 68, 0.08);
  border: 1px solid rgba(183, 144, 68, 0.25);
  border-radius: 2px;
}

.event-title-v2 {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy-950);
  line-height: 1.2;
  margin: 0;
}

.event-desc-v2 {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.event-meta-v2 {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.event-meta-v2 li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink);
}

.event-meta-v2 li svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.btn-event-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--navy-950);
  color: var(--cream);
  border: 1px solid var(--navy-950);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
  border-radius: 2px;
}

.btn-event-cta svg {
  transition: transform 0.3s ease;
}

.btn-event-cta:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.btn-event-cta:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .event-card-v2 {
    grid-template-columns: 1fr;
  }
  .event-visual {
    min-height: 180px;
  }
  .event-content-v2 {
    padding: 1.5rem;
  }
  .event-date-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .event-title-v2 {
    font-size: 1.35rem;
  }
  .btn-event-cta {
    width: 100%;
  }
}

/* === Bloc galerie photo === */
.gallery-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.gallery-content {
  padding-right: 1rem;
}

.gallery-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 1.5rem 0 2rem 0;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 0.8rem;
  position: relative;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(0, 0, 0, 0.35), transparent 60%);
  z-index: 1;
}

.gallery-tile-1 {
  background: linear-gradient(135deg, #01152d 0%, #1a2d4f 50%, #2c4674 100%);
}

.gallery-tile-2 {
  background: linear-gradient(135deg, var(--gold-500) 0%, #c9a460 50%, #d4b677 100%);
}

.gallery-tile-3 {
  background: linear-gradient(135deg, #2d4f3a 0%, #1a2d4f 60%, #01152d 100%);
}

.gallery-tile-4 {
  background: linear-gradient(135deg, #4a3856 0%, #2c4674 50%, #01152d 100%);
}

.gallery-tile-icon {
  position: relative;
  z-index: 2;
  color: rgba(245, 239, 227, 0.85);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s ease;
}

.gallery-tile-label {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.95);
  text-align: center;
  padding: 0 0.8rem;
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 21, 45, 0.75);
  color: var(--gold-400);
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-tile-4 .gallery-tile-overlay {
  opacity: 1;
  background: linear-gradient(135deg, rgba(1, 21, 45, 0.65) 0%, rgba(74, 56, 86, 0.55) 100%);
}

.gallery-tile-4 .gallery-tile-icon,
.gallery-tile-4 .gallery-tile-label {
  display: none;
}

.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(1, 21, 45, 0.18);
}

.gallery-tile:hover .gallery-tile-icon {
  transform: scale(1.1);
}

@media (max-width: 968px) {
  .gallery-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-content {
    padding-right: 0;
    text-align: center;
  }
  .gallery-content .eyebrow {
    justify-content: center;
  }
  .gallery-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-mosaic {
    grid-template-rows: repeat(2, 160px);
  }
}

@media (max-width: 480px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 140px);
  }
}

/* === PAGE GALERIE COMPLÈTE === */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.gallery-filter-btn {
  padding: 0.7rem 1.3rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
  position: relative;
  white-space: nowrap;
}

.gallery-filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--navy-950);
  background: rgba(183, 144, 68, 0.05);
}

.gallery-filter-btn.is-active {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--cream);
  font-weight: 600;
}

.gallery-filter-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: -1.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

/* Grille des albums */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.album-card {
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.album-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 5;
}

.album-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(1, 21, 45, 0.12);
}

.album-card:hover::before {
  transform: scaleX(1);
}

.album-cover {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(0, 0, 0, 0.35), transparent 60%);
  z-index: 1;
}

.album-cover-icon {
  position: relative;
  z-index: 2;
  color: rgba(245, 239, 227, 0.9);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
  transition: transform 0.5s ease;
}

.album-card:hover .album-cover-icon {
  transform: scale(1.12);
}

.album-cover-afterwork {
  background: linear-gradient(135deg, #01152d 0%, #1a2d4f 50%, #2c4674 100%);
}
.album-cover-petit-dejeuner {
  background: linear-gradient(135deg, var(--gold-500) 0%, #c9a460 50%, #d4b677 100%);
}
.album-cover-thematique {
  background: linear-gradient(135deg, #2d4f3a 0%, #1a2d4f 60%, #01152d 100%);
}
.album-cover-partenaire {
  background: linear-gradient(135deg, #4a3856 0%, #2c4674 50%, #01152d 100%);
}

.album-cover-count {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(1, 21, 45, 0.85);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.album-cover-count svg {
  color: var(--gold-400);
}

.album-cover-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  padding: 0.4rem 0.85rem;
  background: rgba(245, 239, 227, 0.95);
  color: var(--navy-950);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
}

.album-info {
  padding: 1.6rem 1.6rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.album-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-950);
  line-height: 1.25;
  margin: 0;
}

.album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.album-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.album-meta svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.album-cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.album-cta svg {
  transition: transform 0.3s ease;
}

.album-card:hover .album-cta svg {
  transform: translateX(4px);
}

/* État vide galerie */
.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 2.5rem;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 2px;
}

.gallery-empty svg {
  color: var(--gold-500);
  opacity: 0.6;
  margin-bottom: 1.2rem;
}

.gallery-empty p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.gallery-empty p span {
  font-size: 0.85rem;
  color: rgba(86, 100, 121, 0.7);
  font-style: italic;
}

/* Modal Album */
.album-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem;
  overflow-y: auto;
}

.album-modal.is-open {
  display: flex !important;
}

.album-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 21, 45, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.album-modal-content {
  position: relative;
  z-index: 2;
  background: var(--cream);
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 3rem 3rem 3.5rem 3rem;
  border-radius: 2px;
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.album-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gold-500);
  color: var(--navy-950);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(1, 21, 45, 0.2);
}

.album-modal-close:hover {
  background: var(--navy-950);
  color: var(--cream);
}

.album-modal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(183, 144, 68, 0.25);
}

.album-modal-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(183, 144, 68, 0.08);
  border: 1px solid rgba(183, 144, 68, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.album-modal-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy-950);
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.album-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.album-modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.album-modal-meta svg {
  color: var(--gold-500);
}

.album-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}

.photo-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.photo-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(0, 0, 0, 0.35), transparent 60%);
  z-index: 1;
}

.photo-thumb-icon {
  position: relative;
  z-index: 2;
  color: rgba(245, 239, 227, 0.7);
  transition: all 0.3s ease;
}

.photo-thumb-zoom {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(1, 21, 45, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-thumb:hover .photo-thumb-zoom {
  opacity: 1;
}

.photo-thumb:hover {
  transform: scale(1.02);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(1, 21, 45, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  overflow: hidden;
  border-radius: 2px;
}

.lightbox-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.15), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(0, 0, 0, 0.35), transparent 60%);
  z-index: 1;
}

.lightbox-content-icon {
  position: relative;
  z-index: 2;
  color: rgba(245, 239, 227, 0.85);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245, 239, 227, 0.1);
  border: 1px solid rgba(245, 239, 227, 0.3);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--cream);
  color: var(--navy-950);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(245, 239, 227, 0.1);
  border: 1px solid rgba(245, 239, 227, 0.3);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--cream);
  color: var(--navy-950);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245, 239, 227, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  z-index: 10;
}

/* Bouton secondaire crème pour CTA double */
.btn-secondary-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold-500);
  padding: 0.95rem 1.8rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn-secondary-light:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* Responsive galerie */
@media (max-width: 768px) {
  .gallery-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-top: 1.5rem;
    width: 100%;
  }
  .gallery-filter-btn {
    flex-shrink: 0;
  }
  .gallery-filter-btn.is-active::after {
    bottom: -1.05rem;
  }
  .albums-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .album-cover {
    height: 200px;
  }
  .album-modal {
    padding: 1.5rem 0.8rem;
  }
  .album-modal-content {
    padding: 2rem 1.5rem 2.5rem 1.5rem;
  }
  .album-modal-title {
    font-size: 1.6rem;
  }
  .album-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .lightbox-content {
    aspect-ratio: 3 / 4;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
}

/* === Anciennes cartes (conservées pour compatibilité) === */
.event-card {
  background: white;
  border: 1px solid var(--line);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 2.5rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.event-card:hover {
  border-color: var(--gold-500);
  transform: translateX(4px);
  box-shadow: -4px 8px 30px rgba(1, 21, 45, 0.08);
}

.event-date {
  text-align: center;
  padding: 1.2rem;
  background: var(--navy-950);
  color: var(--cream);
  border-radius: 2px;
}

.event-day {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
}

.event-month {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  color: rgba(245, 239, 227, 0.7);
}

.event-year {
  font-size: 0.7rem;
  color: rgba(245, 239, 227, 0.5);
  margin-top: 0.2rem;
}

.event-content { flex: 1; }

.event-type {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.event-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.event-meta span { display: flex; align-items: center; gap: 0.4rem; }

.event-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.format-card {
  padding: 2.5rem 2rem;
  background: white;
  border: 2px solid var(--line-strong);
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.format-card:hover {
  background: var(--navy-950);
  color: var(--cream);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(1, 21, 45, 0.18);
  border-color: var(--gold-500);
}

.format-card:hover::before {
  transform: scaleX(1);
}

.format-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(183, 144, 68, 0.12);
  color: var(--gold-500);
  margin-bottom: 1.4rem;
  transition: all 0.35s ease;
}

.format-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.format-card:hover .format-icon {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: rotate(-6deg) scale(1.08);
}

.format-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: inherit;
}

.format-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.format-card:hover .format-text { color: rgba(245, 239, 227, 0.75); }

/* ========== ADHERER PAGE ========== */
.adherer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: start;
}

.benefits-list { list-style: none; }

.benefit-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-item:last-child { border-bottom: none; }

.benefit-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.benefit-text {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.benefit-text strong {
  color: var(--ink);
  font-weight: 600;
}

.benefit-sub {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.pricing-card {
  background: var(--navy-950);
  color: var(--cream);
  padding: 3rem;
  border: 1px solid var(--gold-500);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0.2;
}

.pricing-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.pricing-amount {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 2;
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.pricing-amount sup {
  font-size: 1.8rem;
  top: -1.5rem;
  color: var(--gold-400);
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.pricing-period {
  font-size: 0.9rem;
  color: rgba(245, 239, 227, 0.6);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.pricing-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(183, 144, 68, 0.15);
  font-size: 0.9rem;
  color: rgba(245, 239, 227, 0.85);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold-400);
  font-weight: bold;
}

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

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  margin: 0 auto 1.5rem;
  padding-bottom: 4px;
  box-sizing: border-box;
}

.process-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.process-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.faq-list { max-width: 800px; margin: 3rem auto 0; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-icon {
  color: var(--gold-500);
  transition: transform 0.3s ease;
  font-size: 1.5rem;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 1rem;
}

/* ========== ACTUALITES (refonte) ========== */

/* Chiffres clés actualités */
.actu-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 0 2rem 0;
}

.actu-stat {
  background: white;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  text-align: left;
  transition: all 0.3s ease;
}

.actu-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(1, 21, 45, 0.08);
}

.actu-stat-num {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.actu-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Article à la une */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  margin-top: 3rem;
}

.featured-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(1, 21, 45, 0.15);
  border-color: var(--gold-500);
}

.featured-image {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  overflow: hidden;
}

.featured-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(183, 144, 68, 0.25), transparent 60%);
}

.featured-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-icon {
  width: 80px;
  height: 80px;
  stroke: var(--gold-400);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.featured-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.featured-category {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
}

.featured-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.featured-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.featured-excerpt {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.featured-content .btn {
  align-self: flex-start;
  background: var(--navy-950);
  color: var(--cream);
}


.article-modal-hero {
  position: relative;
  min-height: 200px;
  background: url('../images/actualites/actu-lancement.jpg') center/cover no-repeat;
  margin: -3.5rem -3rem 2.5rem -3rem;
  width: calc(100% + 6rem);
  display: flex;
  align-items: flex-end;
  padding: 2rem 2.5rem 1.8rem;
  box-sizing: border-box;
  overflow: hidden;
}

.article-modal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 21, 45, 0.85) 0%, rgba(1, 21, 45, 0.75) 50%, rgba(1, 21, 45, 0.6) 100%);
  z-index: 1;
}

.article-modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(183, 144, 68, 0.25), transparent 60%);
  z-index: 1;
}

.article-modal-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(100% - 3rem);
}

.article-modal-hero-content .hero-cat {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-modal-hero-content .hero-date {
  font-size: 0.8rem;
  color: var(--gold-400);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.article-modal-hero-content h2 {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.article-modal-hero-content h2 em {
  color: var(--gold-400);
  font-style: italic;
}

@media (max-width: 768px) {
  .article-modal-hero {
    min-height: 180px;
    margin: -3rem -1.5rem 1.5rem -1.5rem;
    width: calc(100% + 3rem);
    padding: 1.5rem 1.5rem 1.3rem;
  }
  .article-modal-hero-content {
    max-width: calc(100% - 2.5rem);
  }
  .article-modal-hero-content h2 {
    font-size: 1.3rem;
  }
}

/* Barre d'outils (recherche + tri) */
.actu-toolbar {
  display: flex;
  gap: 1rem;
  margin: 3rem 0 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.actu-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.actu-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.actu-search {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: border-color 0.25s ease;
}

.actu-search:focus {
  outline: none;
  border-color: var(--gold-500);
}

.actu-search:focus-visible {
  box-shadow: 0 0 0 3px rgba(183, 144, 68, 0.25);
}

.actu-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.actu-sort-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.actu-sort {
  padding: 0.8rem 2.2rem 0.8rem 1rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b79044' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.actu-sort:focus {
  outline: none;
  border-color: var(--gold-500);
}

.actu-sort:focus-visible {
  box-shadow: 0 0 0 3px rgba(183, 144, 68, 0.25);
}

/* Filtres par catégorie */
.actu-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.actu-filter {
  padding: 0.55rem 1.2rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.actu-filter:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.actu-filter.active {
  background: var(--navy-950);
  color: var(--cream);
  border-color: var(--navy-950);
}

/* Grille d'articles */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.actu-card {
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.actu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.actu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(1, 21, 45, 0.12);
  border-color: var(--gold-500);
}

.actu-card:hover::before {
  transform: scaleX(1);
}

.actu-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}

.actu-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(1, 21, 45, 0.5) 100%);
}

/* Illustrations abstraites pour chaque article */
.actu-img-1 {
  background:
    radial-gradient(circle at 30% 40%, rgba(183, 144, 68, 0.4), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(183, 144, 68, 0.25), transparent 50%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
}

.actu-img-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(183, 144, 68, 0.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(183, 144, 68, 0.2), transparent 50%),
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
}

.actu-img-3 {
  background:
    radial-gradient(circle at 50% 30%, rgba(183, 144, 68, 0.5), transparent 55%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}


/* Image de l'article Lancement */
.featured-image-lancement {
  background:
    linear-gradient(135deg, rgba(1, 21, 45, 0.35) 0%, rgba(1, 21, 45, 0.2) 50%, rgba(1, 21, 45, 0.4) 100%),
    url('../images/actualites/actu-lancement.jpg') center/cover no-repeat;
}

.actu-card-img-lancement {
  background:
    linear-gradient(135deg, rgba(1, 21, 45, 0.35) 0%, rgba(1, 21, 45, 0.2) 50%, rgba(1, 21, 45, 0.4) 100%),
    url('../images/actualites/actu-lancement.jpg') center/cover no-repeat;
}

.actu-card-img-adhesion {
  background:
    linear-gradient(135deg, rgba(1, 21, 45, 0.35) 0%, rgba(1, 21, 45, 0.2) 50%, rgba(1, 21, 45, 0.4) 100%),
    url('../images/actualites/actu-adhesion.jpg') center/cover no-repeat;
}

.article-modal-hero-adhesion {
  background: url('../images/actualites/actu-adhesion.jpg') center/cover no-repeat !important;
}

.actu-card-img-afterwork {
  background:
    linear-gradient(135deg, rgba(1, 21, 45, 0.35) 0%, rgba(1, 21, 45, 0.2) 50%, rgba(1, 21, 45, 0.4) 100%),
    url('../images/actualites/actu-afterwork.jpg') center/cover no-repeat;
}

.article-modal-hero-afterwork {
  background: url('../images/actualites/actu-afterwork.jpg') center/cover no-repeat !important;
}

.actu-card-img-presse {
  background:
    linear-gradient(135deg, rgba(1, 21, 45, 0.35) 0%, rgba(1, 21, 45, 0.2) 50%, rgba(1, 21, 45, 0.4) 100%),
    url('../images/actualites/actu-presse.svg') center/cover no-repeat;
}

.article-modal-hero-presse {
  background: url('../images/actualites/actu-presse.svg') center/cover no-repeat !important;
}

.actu-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.3rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

.actu-card-content {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.actu-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.actu-card-category {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
}

.actu-card-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.actu-card-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4rem;
}

.actu-card-excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.actu-card-link {
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-self: flex-start;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.actu-card-link span {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 0.25s ease;
}

.actu-card:hover .actu-card-link {
  color: var(--gold-600);
}

.actu-card:hover .actu-card-link span {
  transform: translateX(3px);
}

.actu-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
  font-style: italic;
  font-size: 1.1rem;
}

/* Modal article */
.article-modal {
  position: fixed;
  inset: 0;
  background: rgba(1, 21, 45, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 2rem;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
}

.article-modal.is-open {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.article-modal-content {
  background: white;
  max-width: 780px;
  width: 100%;
  padding: 3.5rem 3rem 3rem;
  position: relative;
  border: 1px solid var(--gold-500);
  animation: modalSlide 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.article-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold-500);
  color: var(--navy-950);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
  padding: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(1, 21, 45, 0.3);
}

.article-modal-close:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: rotate(90deg);
}

.article-modal-body .article-cat {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.article-modal-body .article-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.article-modal-body > h2 {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article-modal-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.article-modal-body strong {
  color: var(--ink);
}

.article-modal-body ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.article-modal-body ul li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
}

.article-modal-body ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--gold-500);
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.3s ease;
}

.article-modal-body ul li:hover::before {
  transform: translateX(4px);
}

.article-infos {
  background: var(--cream);
  padding: 1.5rem;
  margin-top: 2rem;
  border-left: 3px solid var(--gold-500);
}

.article-infos p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .actu-stats { grid-template-columns: repeat(2, 1fr); }
  .actu-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 240px; }
  .featured-title { font-size: 1.7rem; }
  .featured-content { padding: 2.5rem 2rem; }
}

@media (max-width: 768px) {
  .actu-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .actu-stat { padding: 1.3rem; }
  .actu-stat-num { font-size: 2rem; }
  .actu-grid { grid-template-columns: 1fr; }
  .actu-toolbar { flex-direction: column; align-items: stretch; }
  .actu-search-wrap { min-width: 0; }
  .actu-sort-wrap { justify-content: space-between; }
  .actu-filters { gap: 0.4rem; }
  .actu-filter { padding: 0.45rem 0.9rem; font-size: 0.72rem; }
  .featured-image { min-height: 200px; }
  .featured-content { padding: 2rem 1.5rem; }
  .featured-title { font-size: 1.5rem; }
  .article-modal { padding: 2rem 1rem; }
  .article-modal-content { padding: 3rem 1.5rem 2rem; }
  .article-modal-body > h2 { font-size: 1.5rem; }
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-info {
  padding: 3rem;
  background: var(--navy-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0.15;
}

.contact-info-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--cream);
  position: relative;
  z-index: 2;
}

.contact-info-intro {
  color: rgba(245, 239, 227, 0.75);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(183, 144, 68, 0.25);
  position: relative;
  z-index: 2;
}

.contact-item {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-value {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
}

.contact-form { background: white; padding: 3rem; border: 1px solid var(--line); }

.contact-form-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy-950);
  margin: 0 0 2rem 0;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.2;
}

.contact-form-title em {
  color: var(--gold-500);
  font-style: normal;
  font-weight: 600;
}

.required {
  color: var(--red-500);
  font-weight: 700;
  margin-left: 2px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23b79044' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 12px 8px;
  padding-right: 2.8rem;
  cursor: pointer;
}

.form-rgpd {
  margin: 1.5rem 0 2rem 0;
}

.rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.rgpd-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--gold-500);
}

.rgpd-text {
  flex: 1;
}

.rgpd-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s ease;
}

.rgpd-link:hover {
  color: var(--gold-400);
}

.contact-success {
  background: white;
  padding: 4rem 3rem;
  border: 1px solid var(--line);
  text-align: center;
  animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(183, 144, 68, 0.1);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-family: 'StraightHyphen', 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy-950);
  margin: 0 0 1rem 0;
}

.success-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto 2.2rem;
  max-width: 440px;
}

.success-btn {
  background: transparent;
  color: var(--navy-950);
  border: 1px solid var(--gold-500);
}

.success-btn:hover {
  background: var(--navy-950);
  color: var(--cream);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.form-input, .form-textarea {
  width: 100%;
  /* IMPORTANT: max-width 100% en plus de width:100% car certains
     navigateurs (iOS Safari notamment) calculent une largeur intrinsèque
     pour les input type=date qui peut dépasser le conteneur */
  max-width: 100%;
  /* Empêche tout débordement horizontal du champ lui-même */
  min-width: 0;
  padding: 0.9rem 1.2rem;
  /* background-color (et non le raccourci background) pour ne pas écraser
     le background-image de la flèche définie sur .form-select */
  background-color: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-radius: 2px;
  /* Force le navigateur à respecter le box-sizing même pour les inputs natifs */
  box-sizing: border-box;
}

/* iOS Chrome (qui utilise WebKit comme Safari) : neutralise les widgets
   natifs pour <textarea> et <select> qui peuvent imposer une largeur
   intrinsèque dépassant le conteneur, en particulier dans une modale
   en flex layout. Sans ces règles, l'étape 2 du formulaire d'adhésion
   (qui contient un select et un textarea) déborde sur iPhone Chrome. */
.form-textarea,
.form-select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* Empêche le zoom auto iOS au focus (déclenché si font-size < 16px) */
  font-size: max(16px, 0.95rem);
}

.form-textarea {
  /* Force le wrapping correct du texte placeholder/contenu sur iOS */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Wrapper pour les champs mot de passe avec bouton afficher/masquer.
   Le wrapper est en position relative et contient l'input + le bouton œil
   en absolute, aligné à droite. On laisse de la place via padding-right
   sur l'input pour ne pas chevaucher le texte saisi. */
.password-input-wrap {
  position: relative;
  width: 100%;
}

.password-input-wrap .form-input {
  /* Place pour le bouton œil à droite, calculée pour ne pas tronquer le texte
     même quand le navigateur affiche son propre indicateur de caps-lock. */
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.55;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.password-toggle:hover,
.password-toggle:focus {
  opacity: 1;
  background: rgba(183, 144, 68, 0.08);
}

.password-toggle:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
}

/* L'icône œil-barré est masquée par défaut, et c'est l'œil ouvert qui est
   affiché. Quand on a cliqué pour afficher (data-shown=true), on inverse. */
.password-toggle .eye-open { display: block; }
.password-toggle .eye-closed { display: none; }
.password-toggle[data-shown="true"] .eye-open { display: none; }
.password-toggle[data-shown="true"] .eye-closed { display: block; }

/* Spécifique input type=date sur iOS Safari :
   - sans appearance:none, iOS impose une largeur intrinsèque via le widget
     natif qui peut dépasser le conteneur sur petits écrans
   - on garde -webkit-appearance: none pour neutraliser ce comportement
   - font-size minimum 16px évite le zoom automatique iOS au focus */
input[type="date"].form-input {
  -webkit-appearance: none;
  appearance: none;
  /* iOS Safari : 16px minimum pour empêcher le zoom auto au focus */
  font-size: max(16px, 0.95rem);
  /* Garantit que le champ ne dépasse jamais son parent même si le widget
     natif demande plus de place */
  display: block;
  width: 100%;
  max-width: 100%;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background-color: white;
}

.form-input:focus-visible, .form-textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(183, 144, 68, 0.25);
}

.form-textarea { resize: vertical; min-height: 140px; }
