/* ══════════════════════════════════════════
   ASTT MANDUEL – Feuille de style
   ══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --white: #ffffff;
  --green-light: #7ed957;
  --green-mid: #5dbf34;
  --green-pale: #e8f9dc;
  --green-dark: #2d6e0f;
  --gray: #f4f4f2;
  --text: #1a1a1a;
  --muted: #6b7280;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2%;
  height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--green-light);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--text);
}
.logo span { color: var(--green-mid); }

nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

nav ul a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}

nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green-light);
  transition: width .3s ease;
}

nav ul a:hover { color: var(--green-mid); }
nav ul a:hover::after { width: 100%; }

.nav-cta {
  background: var(--green-light);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--green-mid) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  padding: 0 8px;
}

/* ══════════════════════════════════════════
   PANNEAUX DÉROULANTS
   ══════════════════════════════════════════ */
.panel {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: white;
  border-bottom: 3px solid var(--green-light);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  overflow-x: hidden;
  transition: max-height .6s ease;
  padding: 0 10%;
}

.panel-inner {
  padding: 3rem 0;
}

.panel-close-btn {
  display: block;
  margin: 0 auto 1.5rem;
  background: none;
  border: 2px solid var(--green-light);
  padding: 8px 24px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: background .2s;
}
.panel-close-btn:hover { background: var(--green-pale); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 70px;
  overflow: hidden;
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8% 20%;
}

.hero-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: fadeUp .6s ease both;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: 2px;
  animation: fadeUp .7s .1s ease both;
}
h1 .accent { color: var(--green-mid); }

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: fadeUp .7s .3s ease both;
}

.btn-primary {
  background: var(--green-light);
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(126,217,87,.35);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(126,217,87,.45);
}

.btn-outline {
  border: 2px solid var(--green-light);
  color: var(--text);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-outline:hover { background: var(--green-pale); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeUp .7s .4s ease both;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--green-mid);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   SECTIONS COMMUNES
   ══════════════════════════════════════════ */
section { padding: 6rem 10%; }

.section-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .75rem;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
  padding-left: 0;
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 550px;
}

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
#about {
  background: var(--gray);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.about-icon {
  font-size: 8rem;
  opacity: .2;
}

.about-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--green-mid);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 4px solid var(--green-light);
}
.value-item strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.value-item span { font-size: .8rem; color: var(--muted); }

/* ══════════════════════════════════════════
   ACTIVITÉS
   ══════════════════════════════════════════ */
#activites { background: var(--white); }

.act-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  border-radius: 20px;
  padding: 2rem;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }

.card-1 { background: var(--green-pale); }
.card-2 { background: var(--green-light); }
.card-3 { background: var(--green-pale); }

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: .75rem;
}
.card p { font-size: .9rem; color: var(--text); line-height: 1.7; opacity: .8; }

.card-deco {
  position: absolute;
  bottom: -20px; right: -20px;
  font-size: 5rem;
  opacity: .07;
}

/* ══════════════════════════════════════════
   HORAIRES
   ══════════════════════════════════════════ */
#horaires {
  background: var(--text);
  color: white;
}
#horaires .section-tag { color: var(--green-light); }
#horaires h2 { color: white; }
#horaires .section-intro { color: rgba(255,255,255,.6); }

.horaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.horaire-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(126,217,87,.2);
  border-radius: 16px;
  padding: 1.5rem;
  transition: background .2s, border-color .2s;
}
.horaire-card:hover {
  background: rgba(126,217,87,.1);
  border-color: var(--green-light);
}

.horaire-jour {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: .5rem;
}
.horaire-detail { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.7; }
.horaire-detail strong { color: white; }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
#contact {
  background: var(--gray);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: .9rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
}

.contact-detail-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.07);
}

.contact-form h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--green-light); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  width: 100%;
  background: var(--green-light);
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(126,217,87,.3);
}
.btn-submit:hover { background: var(--green-mid); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   INSCRIPTION
   ══════════════════════════════════════════ */
#inscription {
  background: var(--white);
  padding: 4rem 10%;
}

.inscription-box {
  max-width: 750px;
  margin: 0 auto;
  background: var(--green-pale);
  border-radius: 24px;
  padding: 2.5rem;
  border-left: 6px solid var(--green-mid);
}

.inscription-box ul {
  color: var(--muted);
  line-height: 2;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.inscription-cta {
  background: var(--green-mid);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  color: white;
  text-align: center;
}
.inscription-cta a {
  color: white;
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: var(--text);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 2rem 10%;
  font-size: .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
footer span { color: var(--green-light); }

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes swing {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 8% 8%; }
  #about { grid-template-columns: 1fr; }
  #contact { grid-template-columns: 1fr; gap: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .act-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* HAMBURGER */
  .hamburger { display: block; }

  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white;
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 2px solid var(--green-light);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    z-index: 98;
  }

  nav ul.open { display: flex; }

  nav ul a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-cta {
    display: inline-block;
    width: fit-content;
    margin-top: .5rem;
  }
}