:root {
  --bg-dark: #0a0e17;
  --bg-card: #121824;
  --gold: #2e7d32;        /* Kounye a se bèl vèt logo ou a (Vèt Prensipal) */
  --gold-light: #81c784;  /* Yon vèt ki pi klere pou bèl refleksyon ak ti tèks yo */
  --text-light: #f4f6f9;
  --text-muted: #8892b0;
  --border-color: rgba(46, 125, 50, 0.2); /* Liy yo ap pran refleksyon vèt la tou */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, .nav-logo {
  font-family: 'Cormorant Garamond', serif;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 10%;
  border-bottom: 1px solid var(--border-color);
}

.nav-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* ── BOUTON ANLÈ NAN NAVBAR LAN ── */
.nav-cta {
  background: linear-gradient(135deg, #1b5e20, var(--gold)); /* Vèt fose pase nan vèt logo a */
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  color: #0a0e17 !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* ── ANIMASYON HOVER LÈ SOURI AN PASE SOU LI ── */
.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.5);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0e17 !important;
}

/* Ti animasyon sou ikon papye a lè w pase sou li */
.nav-cta:hover i {
  transform: translateX(3px) translateY(-2px);
  transition: transform 0.3s ease;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

/* ── HERO SECTION ── */
#accueil {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10%;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15), transparent 50%);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-title strong {
  font-weight: 700;
  color: var(--gold);
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* ── BOUTON PRENSIPAL NAN HERO SECTION LAN (DÉCOUVRIR ALBA) ── */
.btn-primary {
  background: linear-gradient(135deg, #1b5e20, var(--gold)); /* Menm vèt djanm lan */
  color: #0a0e17;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.5);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.05);
}

.hero-stats {
  display: flex;
  gap: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── REVEAL SYSTEM ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTIONS STRUCTURE ── */
section {
  padding: 8rem 10%;
}

.section-tag {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 400;
}

.section-title strong {
  font-weight: 700;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0 2rem 0;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ── SECTION À PROPOS ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  height: 500px;
  background: linear-gradient(rgba(10, 14, 23, 0.4), rgba(10, 14, 23, 0.4)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?q=80&w=1470') center/cover;
  border: 1px solid var(--border-color);
  position: relative;
  border-radius: 8px;
}

.about-card-luxury {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  max-width: 320px;
  border-radius: 4px;
}

.about-card-luxury i {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.value-icon-box {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── SECTION MEMBRES ── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
}

.member-card:hover {
  border-color: var(--border-color);
  transform: translateY(-5px);
}

.member-avatar-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  padding: 5px;
  margin: 0 auto 1.5rem auto;
}

.member-avatar {
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0.1); /* Nou mete background ti wonn nan an vèt tou */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 1.3rem;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.member-role {
  color: var(--gold); /* Sa ap fòse li pran nouvo vèt la otomatikman */
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.member-dept {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── SECTION ÉVÉNEMENTS ── */
#evenements {
  background: rgba(18, 24, 36, 0.5);
}

.events-list-container {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-strip {
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: 1.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 4px 4px 0;
}

.event-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.event-date-box {
  text-align: center;
  min-width: 60px;
}

.ev-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}

.ev-month {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.event-details h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.event-details span {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-event-action {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
}

.event-strip:hover .btn-event-action {
  background: var(--gold);
  color: #0a0e17;
}

/* ── SECTION ACTUALITÉS ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.news-image-placeholder {
  height: 220px;
  background: linear-gradient(135deg, #161f33, #0f1522);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.2);
}

.news-body {
  padding: 2rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.news-category {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.news-date {
  color: var(--text-muted);
}

.news-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.news-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.news-card:hover .news-link {
  color: var(--gold);
  gap: 0.8rem;
}

/* ── SECTION GALERIE ── */
#galerie {
  background: rgba(18, 24, 36, 0.3);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.gallery-wrapper {
  position: relative;
  height: 350px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-img-alt {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.gallery-img-alt i {
  font-size: 3rem;
  color: var(--gold);
}

.gallery-img-alt span {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 23, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-overlay i {
  color: var(--gold);
  font-size: 2rem;
}

.gallery-wrapper:hover .gallery-overlay {
  opacity: 1;
}

/* ── SECTION CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-luxury-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.02);
  padding: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 4px;
}

.contact-luxury-icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-det h4 {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.contact-det p {
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-form-container {
  background: #111622;
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 3.5rem;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.form-flex-row {
  display: flex;
  gap: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.form-field input, .form-field select {
  background: #181f2f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.2rem;
  color: var(--text-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: #1c2437;
}

.btn-submit-premium {
  width: 100%;
  background: linear-gradient(135deg, #1b5e20, var(--gold)); /* Nouvo vèt djanm lan */
  border: none;
  padding: 1.2rem;
  color: #0a0e17;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
}

.btn-submit-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(46, 125, 50, 0.35);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  #navbar { padding: 1.5rem 5%; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: 0.4s;
  }
  .nav-links.open { right: 0; }
  .members-grid, .news-grid, .gallery-masonry { grid-template-columns: 1fr; }
  .form-flex-row { flex-direction: column; gap: 0; }
  .hero-title { font-size: 2.8rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
}

/* Stil pou Toast Notification an */
.toast-notif {
  position: fixed;
  bottom: 20px;
  right: -350px; /* Kache par défaut sou bò dwat */
  background: #121824;
  border-left: 5px solid #2e7d32; /* Liy vèt ALBA */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast-notif.show {
  right: 20px; /* Parèt sou ekran an */
}

.toast-icon {
  color: #81c784;
  font-size: 1.3rem;
}

.toast-message h4 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.toast-message p {
  margin: 2px 0 0 0;
  color: #8892b0;
  font-size: 0.85rem;
}

/* =========================================================================
   KÒD SA A AP KRAZE ANSIYEN REFLE LÒ A EPI METE BÈL TI VÈT PAL LA 
   ========================================================================= */

/* 1. Pou chanje banyè a (Banner / Hero) */
.hero, .banner, .hero-section {
  background: linear-gradient(135deg, #1b4332 0%, #081c15 100%) !important;
  border: 1px solid rgba(100, 255, 218, 0.2) !important;
  box-shadow: 0 10px 30px rgba(8, 28, 21, 0.5) !important;
}

/* 2. Pou ti tag "Excellence Académique Haïtienne" lan */
.hero-tag {
  background: rgba(46, 125, 50, 0.15) !important;
  color: #64ffda !important;
  border: 1px solid rgba(100, 255, 218, 0.3) !important;
}

/* 3. Pou chif statistik yo (50+, 1+, 3+) monte an vèt pal */
.stat-num {
  color: #64ffda !important;
  text-shadow: 0 0 15px rgba(100, 255, 218, 0.4) !important;
  font-weight: bold !important;
}

/* 4. Si te gen yon liy dekorasyon ki te an lò */
.decor-line, .title-underline {
  background: linear-gradient(90deg, #64ffda, #2e7d32) !important;
}

/* 5. Si bouton an te gen lonbraj lò, nou mete l an vèt */
.btn-submit, button[type="submit"] {
  background: linear-gradient(90deg, #2e7d32, #1b4332) !important;
  border: 1px solid #64ffda !important;
}

.btn-submit:hover, button[type="submit"]:hover {
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.4) !important;
  background: linear-gradient(90deg, #1b4332, #2e7d32) !important;
}

/* =========================================================================
   NAVBAR & RESPONSIVE MENU (ALBA / TRB 2026)
   ========================================================================= */

/* Hamburger Button */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
}
#hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #64ffda;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* --- TELEFÒN AK TABLÈT --- */
@media (max-width: 992px) {
  #hamburger { 
    display: flex; 
  }

  #navLinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Aliyen nòmal ak tèt paj la */
    left: 0;
    width: 100%;
    background-color: #081c15;
    padding: 15px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    z-index: 999;
    
    /* Sa yo anpeche bouton "Nous Joindre" lan kache */
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  #navLinks.active { 
    display: flex; 
  }

  #navLinks li {
    width: 100%;
    text-align: center;
    margin: 10px 0; /* Espas pi sere */
  }

  #navLinks a {
    font-size: 1.1rem;
    display: block;
    padding: 6px 0;
  }

  /* Bouton "Nous Joindre" sou telefòn */
  #navLinks .nav-cta {
    margin: 10px auto 5px auto;
    width: 85%;
    display: inline-block;
  }

  /* Animasyon Hamburger tounen X */
  #hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  #hamburger.active span:nth-child(2) { opacity: 0; }
  #hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}