* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0B1217;
  --bg-surface: rgba(18, 28, 26, 0.65);
  --green-primary: #1ED760;
  --teal-accent: #2BD4B6;
  --white-soft: #F2F4F2;
  --white-muted: rgba(242, 244, 242, 0.7);
  --border-light: rgba(30, 215, 96, 0.2);
  --radius-card: 2rem;
}

body {
  background: var(--bg-deep);
  font-family: 'Inter', sans-serif;
  color: var(--white-soft);
  line-height: 1.5;
  overflow-x: hidden;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 40% 30%, rgba(30, 215, 96, 0.08), transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(43, 212, 182, 0.08), transparent 50%);
  pointer-events: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  background: rgba(11, 18, 23, 0.65);
  backdrop-filter: blur(16px);
  border-radius: 3rem;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  gap: 1rem;
}

nav.scrolled {
  top: 0.5rem;
  background: rgba(11, 18, 23, 0.85);
  border-color: rgba(30, 215, 96, 0.35);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  background: var(--green-primary);
  border: none;
  padding: 0.55rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #0B1217;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,215,96,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
}

/* Logo juste sous la navbar */
.hero-logo {
  text-align: center;
  padding-top: 100px;   /* pour descendre sous la navbar fixe (environ 70px + marge) */
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-logo img {
  max-width: 600px;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(30,215,96,0.3));
}

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

/* Hero section (sans logo à l'intérieur) */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.hero-inner {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  background: rgba(30,215,96,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,215,96,0.3);
  border-radius: 3rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 600;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--green-primary), var(--teal-accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--white-muted);
  max-width: 540px;
  margin: 1.8rem auto;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 2rem;
  border-radius: 2.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-primary);
  color: #0B1217;
  box-shadow: 0 6px 18px rgba(30,215,96,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(30,215,96,0.45);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: white;
}

.btn-outline:hover {
  border-color: var(--green-primary);
  background: rgba(30,215,96,0.1);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Sections communes */
section {
  padding: 6rem 6vw;
  position: relative;
}

.section-header {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-primary);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--green-primary);
}

.section-title {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--teal-accent);
  font-weight: 400;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
}

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

.stat-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--green-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white-muted);
  margin-top: 0.3rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-tile {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(30,215,96,0.12);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: 0.3s;
}

.service-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(30,215,96,0.35);
  background: rgba(30,215,96,0.03);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-tile h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.service-tile p {
  color: var(--white-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Gallery */
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 1rem;
}

.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 3rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
  color: var(--white-muted);
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--green-primary);
  color: #0B1217;
  border-color: var(--green-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: white;
  font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Agenda */
.agenda-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-row {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(30,215,96,0.12);
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  transition: 0.2s;
}

.event-row:hover {
  border-color: rgba(30,215,96,0.35);
  transform: translateX(6px);
}

.event-date {
  background: rgba(30,215,96,0.12);
  border-radius: 1rem;
  padding: 0.3rem 1rem;
  text-align: center;
  min-width: 70px;
}

.event-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}

.event-tag {
  background: rgba(30,215,96,0.15);
  padding: 0.2rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 500;
}

/* Témoignages */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.testi-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(30,215,96,0.12);
  border-radius: 1.8rem;
  padding: 1.8rem;
  transition: 0.2s;
}

.testi-card:hover {
  border-color: rgba(30,215,96,0.3);
  transform: translateY(-4px);
}

.testi-stars {
  color: var(--green-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testi-text {
  font-style: italic;
  color: var(--white-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.input-modern {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  font-family: inherit;
  transition: 0.2s;
  margin-bottom: 1rem;
}

.input-modern:focus {
  outline: none;
  border-color: var(--green-primary);
  background: rgba(30,215,96,0.05);
}

textarea.input-modern {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(30,215,96,0.15);
  padding: 4rem 6vw 2rem;
  margin-top: 2rem;
}

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

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  color: var(--white-muted);
  text-decoration: none;
  transition: 0.2s;
}

.footer-grid a:hover {
  color: var(--green-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--white-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lb-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.lb-close:hover {
  background: rgba(255,255,255,0.2);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 880px) {
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 1rem;
    right: 1rem;
    background: #0B1217ee;
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid var(--border-light);
    z-index: 300;
  }

  nav.menu-open .nav-links li {
    width: 100%;
    text-align: center;
  }

  nav.menu-open .nav-cta {
    display: inline-block;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
  }

  .hero-logo {
    padding-top: 90px;
  }

  section {
    padding: 4rem 5vw;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

@media (max-width: 600px) {
  .event-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

/* Partenaires */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.partner-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    padding: 1rem;
    text-align: center;
    width: 150px;
    transition: 0.3s;
}
.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--green-primary);
    background: rgba(30,215,96,0.05);
}
.partner-card img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}
.partner-card p {
    font-size: 0.8rem;
    color: var(--white-muted);
    margin: 0;
}

}