/* ===========================
   Aixplore — Style
   =========================== */

:root {
  --green: #2ECB8B;
  --green-dark: #25a672;
  --black: #1A1A1A;
  --gray-900: #2d2d2d;
  --gray-600: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --bg: #fafafa;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Navigation
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo img {
  display: block;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  color: var(--gray-900);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--green);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===========================
   Hero
   =========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 203, 139, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 203, 139, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.hero__logo {
  width: 280px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease-out;
}

.hero__tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease-out 0.15s backwards;
}

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

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 203, 139, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ===========================
   Sections
   =========================== */

.section {
  padding: 100px 0;
}

.section__title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--black);
}

.section__subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===========================
   À propos
   =========================== */

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.about__text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--gray-900);
}

.about__text strong {
  color: var(--black);
}

.about__cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: italic;
  color: var(--green) !important;
  font-size: 1.1rem !important;
  margin-top: 8px;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.value__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.value h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ===========================
   Clubs
   =========================== */

.clubs {
  background: var(--bg);
}

.clubs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.club-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.club-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.club-card__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.club-card__name {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.club-card__desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  flex-grow: 1;
}

.club-card__badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* ===========================
   Galerie
   =========================== */

.gallery {
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--placeholder {
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-600);
}

.gallery__item--placeholder span {
  font-size: 2rem;
}

.gallery__item--placeholder p {
  font-size: 0.85rem;
}

/* ===========================
   Contact
   =========================== */

.contact {
  background: var(--bg);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-900);
}

.form__group input,
.form__group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--green);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-600);
  opacity: 0.6;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.contact__item span {
  font-size: 1.4rem;
}

.contact__item a {
  color: var(--gray-900);
}

.contact__item a:hover {
  color: var(--green);
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  opacity: 0.9;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  color: var(--white);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer__links a:hover {
  opacity: 1;
}

/* ===========================
   Scroll animations
   =========================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 24px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__logo {
    width: 200px;
  }

  .hero__tagline {
    font-size: 1.05rem;
  }

  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: 1.7rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clubs__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero__logo {
    width: 160px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
