/* ===== Reset léger ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  color: #f4f4f4;
  background:
    linear-gradient(
      to bottom,
      #6e1423 0%,
      #4a0f1b 35%,
      #1a080d 70%,
      #000000 100%
    ),
    radial-gradient(
      circle at top,
      rgba(255,255,255,0.04),
      transparent 60%
    );
}

/* Texture légère au-dessus du dégradé */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.03), transparent 45%);
  opacity: 0.35;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem;
}

/* ===== Header / Nav ===== */
header {
  border-bottom: 1px solid rgba(230, 192, 106, 0.25);
  background: rgba(0, 0, 0, 0.95);
  position: sticky;
  top: 0;
  z-index: 100; /* un peu plus haut pour éviter les overlays */
}

.navbar {
  height: 64px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.brand:visited,
.brand:hover,
.brand:active,
.brand:focus {
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: 90px; /* tu gardes ta taille */
  width: auto;
  object-fit: contain;
}

.brand-name {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f5f1e8;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* IMPORTANT: caché sur desktop, affiché uniquement sur mobile */
.brand-title-mobile {
  display: none;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #f5f1e8;
  pointer-events: none;
}

/* Nav desktop */
.nav-main ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}

.nav-main a {
  text-decoration: none;
  color: #e5e0d6;
  font-size: 0.9rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav-main a:hover {
  color: #ffffff;
  border-bottom-color: #c9a24f;
}

.nav-main a.active {
  color: #ffffff;
  border-bottom-color: #e6c06a;
}

/* ===== Burger ===== */
/* IMPORTANT: caché sur desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  gap: 0.25rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;  /* 🔑 */
  z-index: 200;        /* 🔑 cliquable au-dessus */
  align-self: center;  /* 🔑 pas “abaissé” */
  line-height: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e6c06a;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.nav-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.nav-open span:nth-child(2) { opacity: 0; }
.nav-toggle.nav-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.2rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: #c9a24f;
  margin-bottom: 0.6rem;
}

.hero-text h1 {
  font-size: 2.35rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead {
  color: #d0cbc2;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

/* ===== Badges / Buttons ===== */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.badge {
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 192, 106, 0.4);
  color: #e6c06a;
  background: rgba(230, 192, 106, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.btn {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #c9a24f, #e6c06a);
  color: #000000;
  font-weight: 650;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(230, 192, 106, 0.5);
  color: #e6c06a;
}

.btn-ghost:hover {
  background: rgba(230, 192, 106, 0.08);
}

/* ===== Encadré hero ===== */
.hero-card {
  border-radius: 1.2rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, #151515, #0b0b0b);
  border: 1px solid rgba(230, 192, 106, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.hero-card h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: #d5d0c6;
}

.hero-card li::before {
  content: "• ";
  color: #c9a24f;
}

/* ===== Titres de section ===== */
.section-title {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.section-subtitle {
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  color: #bdb7ab;
  max-width: 44rem;
}

/* ===== Grille cartes ===== */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: linear-gradient(180deg, #131314, #0a0a0b);
  border-radius: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(230, 192, 106, 0.12);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.card .tagline {
  font-size: 0.8rem;
  color: #c9a24f;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.9rem;
  color: #d3cec4;
  line-height: 1.45;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid rgba(230, 192, 106, 0.18);
  padding: 1.3rem 0 1.6rem;
  font-size: 0.8rem;
  color: #a8a396;
  text-align: center;
  margin-top: 2rem;
}

/* ===== CALL TO ACTION (bas de page) ===== */
.cta-section {
  margin: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}

.cta-card {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 2rem 2.2rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(201, 162, 79, 0.18), rgba(0, 0, 0, 0.9));
  border: 1px solid rgba(230, 192, 106, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cta-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.cta-card p {
  font-size: 1rem;
  color: #d3cec4;
  max-width: 640px;
  margin: 0 auto 1.6rem;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Section À venir ===== */
.avenir-wrapper {
  position: relative;
  height: 220px;
  border-radius: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(201, 162, 79, 0.12), rgba(0, 0, 0, 0.9));
  border: 1px dashed rgba(230, 192, 106, 0.4);
  margin-top: 1.2rem;
}

.avenir-text {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(230, 192, 106, 0.85);
}

/* ===== Partenaires ===== */
.partner-card { text-align: center; }

.partner-logo {
  max-height: 80px;
  max-width: 140px;
  object-fit: contain;
  margin: 0 auto 0.8rem;
  display: block;
}

/* ===== CONTACT (format Atlantis) ===== */
.contact-section { margin: 3rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-card {
  background: linear-gradient(180deg, #141414, #0b0b0b);
  border-radius: 1.2rem;
  padding: 1.6rem;
  border: 1px solid rgba(230, 192, 106, 0.25);
}

.contact-card h3 { margin-bottom: 0.8rem; }

.contact-card label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
  color: #e5e0d6;
}

.contact-card input,
.contact-card textarea {
  margin-top: 0.35rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(230, 192, 106, 0.35);
  background: #0f0f0f;
  color: #ffffff;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder { color: #8f8a80; }

.contact-note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: #bdb7ab;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #d3cec4;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 64px;
    padding: 0 1rem;
  }

  /* Logo */
  .brand {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .brand-logo {
    height: 85px;
    width: auto;
  }

  .brand-name { display: none; }

  /* Titre centré mobile */
  .brand-title-mobile {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    color: #f5f1e8;
    pointer-events: none;
  }

  /* Burger */
  .nav-toggle {
    display: flex;        /* 🔑 seulement mobile */
    justify-self: end;
  }

  /* Menu déroulant */
  .nav-main {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid rgba(230, 192, 106, 0.2);
    z-index: 150;
  }

  .nav-main ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.6rem;
  }

  .nav-main.nav-open { display: block; }
}
/* ===== LIENS PROPRES – PAGE FICHES UNIQUEMENT ===== */
.fiches-page a,
.fiches-page a:visited,
.fiches-page a:hover,
.fiches-page a:active,
.fiches-page a:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

/* ===== FICHES – Ajustements MOBILE (moins agressif + centré) ===== */
@media (max-width: 640px) {

  /* Titre + sous-titre */
  .fiches-page .section-title {
    font-size: 1.55rem;
    line-height: 1.15;
    text-align: left; /* ou center si tu veux tout centrer */
  }

  .fiches-page .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 32rem;
  }

  /* Cadre "Aucune fiche / Rien à signaler" (ton block actuel) */
  .fiches-page .avenir-wrapper {
    height: auto;                 /* au lieu d'une hauteur fixe */
    padding: 1.2rem 1rem;         /* plus d'air */
    text-align: center;
  }

  .fiches-page .avenir-text {
    font-size: 1.25rem;           /* beaucoup moins agressif */
    line-height: 1.25;
    letter-spacing: 0.14em;       /* réduit */
    text-align: center;
    max-width: 22ch;              /* force une belle largeur */
    margin: 0 auto;
  }
}
/* Cartes fiches : bouton plus propre */
.fiches-page .card .hero-actions {
  margin-top: 0.9rem;
  
}
/* ===== FIX MOBILE : "Aucune fiche / Rien à signaler" centré et moins agressif ===== */
@media (max-width: 640px) {

  /* Le cadre */
  .fiches-page .avenir-wrapper {
    height: auto;
    padding: 1.2rem 1rem;
    text-align: center;
  }

  /* Le texte */
  .fiches-page .avenir-text {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.12em !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 26ch;
    white-space: normal;
  }
}

/* ===== BANNIÈRE SIGNATURE LEGACY (FULL WIDTH / RECTANGLE) ===== */
.banner-legacy {
  position: relative;
  overflow: hidden;

  width: 100%;
  margin: 2.2rem 0;
  border-radius: 0;

  /* hauteur maîtrisée */
  padding: 2.4rem 0;

  border-top: 1px solid rgba(230, 192, 106, 0.18);
  border-bottom: 1px solid rgba(230, 192, 106, 0.18);
}

/* Contenu centré */
.banner-legacy-inner {
  position: relative;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 2; /* au-dessus du logo */
}

/* Logo au centre (UNE SEULE FOIS) */
.banner-logo {
  position: absolute;
  top: 82%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 320px;
  height: auto;

  opacity: 0.18;
  pointer-events: none;
  z-index: 1;

  filter: drop-shadow(0 0 22px rgba(0,0,0,0.75));
}

/* Overlay sombre pour lisibilité */
.banner-legacy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(110, 20, 35, 0.55),
    rgba(0, 0, 0, 0.92)
  );
  z-index: 1; /* au-dessus du logo mais sous le texte */
}

/* Texte */
.banner-legacy-text {
  position: relative;
  z-index: 3; /* au-dessus de tout */
}

.banner-legacy-text h2 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0.06em;
}

.banner-legacy-text p {
  font-size: 0.95rem;
  color: #e5e0d6;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.45;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .banner-legacy {
    padding: 2rem 0;
    margin: 1.6rem 0;
  }

  .banner-legacy-inner {
    min-height: 150px;
  }

  .banner-logo {
    width: 240px;
    opacity: 0.22;
  }

  .banner-legacy-text h2 {
    font-size: 1.25rem;
    opacity: 0.80;
  }

  .banner-legacy-text p {
    font-size: 0.9rem;
  }
}
/* ===== Desktop (réduit la hauteur de bannière) ===== */
@media (min-width: 900px) {
  .banner-legacy {
    padding: 2.4rem 0;   /* au lieu de 2.4rem */
    margin: 1.8rem 0;
  }

  .banner-legacy-inner {
    min-height: 170px;   /* au lieu de 170px */
  }

  .banner-legacy-text h2 {
  opacity: 0.85;
}
  
  .banner-logo {
    width: 280px;        /* un poil moins gros sur PC */
  }
}
/* ===================================================== */
/* ===== FINE-TUNING MOBILE (PREMIUM) ===== */
/* ===================================================== */

@media (max-width: 640px) {

  /* ===== 1) TYPO MOBILE PLUS CALME ===== */
  .hero-text h1 {
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .section-title {
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .section-subtitle,
  .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* ===== 2) ESPACEMENTS MOBILE PLUS AÉRÉS ===== */
  .container {
    padding: 1.4rem 1.1rem;
  }

  .hero {
    gap: 1.25rem;
    margin-bottom: 1rem;
  }

  .card {
    padding: 1.05rem;
  }

  /* ===== 3) BOUTONS PLUS CONFORTABLES ===== */
  .btn {
    padding: 0.72rem 1.2rem;
    font-size: 0.95rem;
  }

  .btn:active {
    transform: translateY(1px);
  }

  /* ===== 4) CARTES PLUS PROFONDES ===== */
  .card,
  .hero-card,
  .contact-card {
    border: 1px solid rgba(230, 192, 106, 0.16);
    box-shadow: 0 14px 35px rgba(0,0,0,0.55);
  }
}

/* ===== 5) FOOTER SAFE-AREA IPHONE ===== */
footer {
  padding-bottom: calc(1.6rem + env(safe-area-inset-bottom));
}

.soiree-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile optimisation */
@media (max-width: 640px) {
  .soiree-wrapper {
    margin-top: 1.2rem;
  }
}
/* ===== IMAGE SOIRÉE ===== */

.event-image {
  margin-top: 1.5rem;
  text-align: center;
}

.event-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  display: block;
  margin: 0 auto;
}
.event-cta {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.agenda {
  margin-top: 3rem;
}

.agenda h2 {
  margin-bottom: 1.5rem;
}

.agenda-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(230,192,106,0.2);
  border-radius: 14px;
  margin-bottom: 1rem;
  align-items: center;
}

.agenda-date {
  font-weight: 700;
  color: #e6c06a;
  min-width: 80px;
}

.agenda-content h3 {
  margin: 0;
  font-size: 1rem;
}

.agenda-content p {
  margin: 0.3rem 0 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.agenda {
  margin-top: 3rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.archives {
  margin-top: 3rem;
}

.archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.archives-grid img {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.archives-grid img:hover {
  transform: scale(1.04);
}

.archives h2 { 
  margin-bottom: 1.5rem; 
}

.archives { 
  padding: 0 clamp(1rem, 4vw, 2rem);
  margin-top: 3rem; 
}

/* ===== ARCHIVES SLIDER ===== */
.archives{
  padding: 0 clamp(1rem, 4vw, 2rem);
  margin-top: 3rem;
}

.archives .section-title{
  margin-bottom: 1.2rem; /* espace titre -> affiches */
}

/* le “slider” */
.archives-slider{
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.6rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* masque visuel de la scrollbar */
  scrollbar-width: none;
}
.archives-slider::-webkit-scrollbar{
  display: none;
}

/* une carte affiche */
.archive-item{
  flex: 0 0 auto;
  width: min(70vw, 260px);        /* mobile large, desktop raisonnable */
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.archive-item img{
  width: 100%;
  aspect-ratio: 3 / 4;            /* format affiche */
  object-fit: cover;
  border-radius: 1.1rem;
  border: 1px solid rgba(230,192,106,0.22);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
  display: block;
}

/* mini label sous l’affiche (optionnel mais premium) */
.archive-caption{
  display: block;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: #d3cec4;
  opacity: 0.9;
  text-align: center;
}

/* Desktop: un peu plus grand */
@media (min-width: 900px){
  .archive-item{
    width: 280px;
  }
}
/* =========================
   HEADER / FOOTER EDHEC-LIKE
   Desktop only (mobile unchanged)
========================= */

/* Base */
.nav-desktop-right { display: none; }

/* Footer base */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(230,192,106,0.15);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.2rem 1.2rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.footer-social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230,192,106,0.22);
  background: rgba(0,0,0,0.35);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: #e6c06a;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e6c06a;
}

.footer-copy {
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
}

/* =========================
   DESKTOP HEADER (>= 900px)
========================= */
@media (min-width: 900px) {

  /* Header plus haut comme EDHEC */
  header .navbar {
    padding: 1.2rem 1.4rem;  /* augmente la hauteur */
    align-items: center;
  }

  /* Logo un peu plus grand */
  .brand-logo {
    height: 52px; /* ajuste si besoin */
    width: auto;
  }

  /* Titre dans la marque : mieux centré */
  .brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.22em;
  }

  /* On garde ton burger uniquement mobile */
  .nav-toggle { display: none; }
  .brand-title-mobile { display: none; }

  .nav-main-mobile { display: none; }

  /* On affiche le bloc desktop à droite */
  .nav-desktop-right {
    display: flex;
    align-items: center;
    gap: 2.2rem; /* même espace entre MENU et ICONES */
    margin-left: auto;
  }

  /* Menu desktop à gauche des icônes */
  .nav-main-desktop ul {
    display: flex;
    gap: 1.8rem;
    align-items: center;
  }

  .nav-main-desktop a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
  }

  .nav-main-desktop a:hover {
    color: #e6c06a;
  }

  /* Icônes à droite */
  .nav-social-desktop {
    display: flex;
    gap: 0.9rem;
    align-items: center;
  }

  .nav-social-desktop .nav-social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230,192,106,0.20);
    background: rgba(0,0,0,0.28);
  }

  .nav-social-desktop svg {
    width: 20px;
    height: 20px;
    fill: #e6c06a;
    opacity: 0.9;
  }
}

/* =========================
   MOBILE : pas d'icônes en haut
========================= */
@media (max-width: 899px) {
  .nav-social { display: none; }
}
/* ===== HEADER DESKTOP : logo lisible + placement propre ===== */
@media (min-width: 900px) {
  header .navbar {
    min-height: 84px;              /* header plus grand */
    padding: 16px 28px;
  }

  /* Le bloc brand (logo + LEGACY) */
  header .brand {
    display: flex;
    align-items: center;
    gap: 9px;                     /* espace logo/texte */
  }

  header .brand-logo {
    width: 140px;                   /* augmente la taille */
    height: 140px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); /* lisibilité sur fond sombre */
  }

  header .brand-name {
    font-size: 18px;               /* ajuste si besoin */
    letter-spacing: .18em;
    transform: translateY(1px);    /* micro-alignement visuel */
  }

  /* On cache le titre mobile sur desktop (si tu l’as encore) */
  header .brand-title-mobile { display: none !important; }
}

/* ===== FIX MENU BURGER MOBILE (override safe) ===== */
@media (max-width: 640px) {
 .nav-main-mobile { display: none; }
 .nav-main-mobile.nav-open { display: block; }
}

/* ===== FIX logo desktop : descendre légèrement (sans changer la taille) ===== */
@media (min-width: 900px){
  header .brand {
    align-items: center;
  }

  header .brand-logo{
    position: relative;
    top: 15px;           /* ajuste: 4px / 6px / 8px selon ton goût */
  }
}

/* ===== Bouton simple "EDHEC-like" ===== */
.simple-cta{
  padding: 3rem 0 2.5rem;
  display: flex;
  justify-content: center;
}

/* ===== BOUTON "EDHEC-LIKE" (mobile + desktop) ===== */
.edhec-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  width: min(780px, 92%);
  margin: 2.2rem auto 0;
  padding: 1.05rem 1.6rem;

  border-radius: 999px;
  border: 2px solid rgba(230,192,106,0.85);
  background: rgba(0,0,0,0.55);

  color: #e6c06a;
  text-decoration: none !important; /* supprime le soulignement */
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;

  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.edhec-cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 640px){
  .edhec-cta{
    font-size: 1.05rem;
    padding: 1rem 1.3rem;
  }
}

/* Titre BIENVENUE avec traits */
.welcome-title{
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: #e6c06a;
}

.welcome-title::before,
.welcome-title::after{
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: rgba(230,192,106,0.65);
  border-radius: 999px;
}

/* "BUREAU DES ÉLÈVES" old school (sans importer de police) */
.welcome-subtitle{
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.05rem;
  opacity: 0.9;
  color: rgba(245,241,232,0.92);
  margin-bottom: 1.15rem;
}

/* Mobile : pas de logo à droite */
@media (max-width: 640px){
  .hero-logo{ display: none; }

  /* garde BIENVENUE propre sur mobile */
  .welcome-title{
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
  }
  .welcome-subtitle{
    text-align: center;
  }
}

@media (min-width: 901px){

  /* On centre uniquement le bloc titre+CTA, pas toute la colonne */
  .hero-text{ text-align: left; }

  .welcome-title,
  .welcome-subtitle{
    text-align: center;
    width: 100%;
  }

  .hero-actions{
    justify-content: center;
  }

  /* La carte : à gauche + remonte visuellement */
  .hero-card{
    max-width: 560px;
    margin: 0;              /* IMPORTANT : supprime le centrage */
    margin-top: 0.8rem;     /* remonte (ajuste 0.4 / 0.6 / 1rem) */
  }

  /* Colonne droite : logo plus haut + plus à droite */
  .hero-visual{
    display: flex;
    justify-content: flex-end;  /* le pousse à droite */
    align-items: flex-start;
    padding-top: 0;             /* ajuste si besoin */
  }

  .hero-logo-big{
    width: min(420px, 100%);
    height: auto;
    margin-top: -10px;          /* le remonte (ajuste -5 / -15 / 0) */
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.55));
  }

  /* Optionnel : pour que la grille démarre bien en haut */
  .hero{
    align-items: start;
  }
}

@media (max-width: 900px){
  .hero-visual{ display:none; }
}


/* ===== FIX espace sous HERO (desktop uniquement) ===== */
@media (min-width: 901px){

  .hero{
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: auto;
  }

}

/* ===== FIX : supprimer l'espace entre HERO et BANNIÈRE (desktop only) ===== */
@media (min-width: 901px){
  .hero{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
  }

  .banner-legacy{
    margin-top: 0 !important;  /* c'est ça qui crée le gros "trou" */
  }
}

/* ===== DESKTOP HERO LAYOUT CLEAN (garde mobile intact) ===== */
@media (min-width: 901px){

  /* 1) Enlève le “padding bas” ajouté par .container sur le hero */
  .hero.container{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* 2) Le hero ne doit pas se centrer verticalement */
  .hero{
    align-items: start;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 3) La carte reste à gauche (pas centrée) */
  .hero-card{
    max-width: 560px;
    margin: 0;              /* pas de centrage */
    margin-top: 0.8rem;
  }

  /* 4) Logo colonne droite : vraiment à droite + plus haut */
  .hero-visual{
    display: flex;
    justify-content: flex-end;  /* à droite */
    align-items: flex-start;    /* en haut */
  }

  .hero-logo-big{
    width: min(420px, 100%);
    height: auto;
    margin-top: -35px;          /* remonte le logo : ajuste -20 / -50 */
  }

  /* 5) Supprime le “trou” avant la bannière */
  .banner-legacy{
    margin-top: 2.5 !important;
  }
}

/* ===== FIX GAP HERO -> BANNIÈRE (DESKTOP) ===== */
@media (min-width: 900px){

  /* ton <section class="hero container"> */
  .hero.container{
    padding-bottom: 0 !important;  /* enlève le padding du container */
    margin-bottom: 0 !important;
  }

  .banner-legacy{
    margin-top: 2 !important;      /* enlève la marge haute de la bannière */
  }

}

/* ===== Logo hero à droite : visuel remonte sans créer de vide (DESKTOP) ===== */
@media (min-width: 900px){

  .hero-visual{
    position: relative;
    min-height: 0;
  }

  .hero-logo-big{
    position: absolute;     /* sort du flow => ne crée plus de hauteur */
    right: 0;
    top: -70px;             /* remonte le logo (ajuste -20 / -60) */
    width: min(420px, 100%);
    height: auto;
  }

}




