/* FitForme Manduel — Styles */

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

/* ===== VARIABLES ===== */
:root {
  --bg-deep: #07071a;
  --bg-surface: #0e0e2a;
  --bg-card: #141435;
  --cyan: #00e5ff;
  --purple: #a855f7;
  --pink: #ec4899;
  --text: #e2e8f0;
  --text-muted: #8892a8;
  --glow-cyan: 0 0 30px rgba(0, 229, 255, 0.3);
  --glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ===== GLOW LINE SEPARATOR ===== */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.2;
  margin: 0 auto;
  max-width: 1100px;
}

/* ===== SECTION BASE ===== */
section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Michroma', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 7, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Michroma', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--cyan);
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 7, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-overlay a {
  font-family: 'Michroma', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-overlay a:hover {
  color: var(--cyan);
}

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

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 229, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(168, 85, 247, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 460px;
  max-width: 85vw;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  box-shadow: var(--glow-cyan);
}

.hero h1 {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--cyan);
  border-radius: 50px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: var(--cyan);
  color: var(--bg-deep);
  box-shadow: var(--glow-cyan);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  z-index: 1;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 18px; }
}

/* ===== SECTION TEXT ===== */
.section-text {
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 1rem;
}

.section-text-small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== ACTIVITY CARDS ===== */
.activities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.activity-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity 0.4s;
}

.activity-card:hover::before { opacity: 1; }

.activity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.activity-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.12);
}

.activity-card:nth-child(2) .activity-icon {
  color: var(--purple);
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.12);
}

.activity-card:nth-child(3) .activity-icon {
  color: var(--pink);
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.12);
}

.activity-card:nth-child(4) .activity-icon {
  color: var(--purple);
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.12);
}

.activity-card h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.activity-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.gallery-large {
  grid-row: 1 / 3;
}

/* ===== HORAIRES & TARIFS ===== */
.schedule-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.schedule-slot {
  background: var(--bg-card);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.schedule-slot-days {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.schedule-slot-hours {
  font-family: 'Michroma', sans-serif;
  font-size: 1.1rem;
  color: var(--cyan);
}

.schedule-slot-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.schedule-slot-right {
  display: contents;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}


.price-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.price-label small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.price-amount {
  font-family: 'Michroma', sans-serif;
  font-size: 1.4rem;
  color: var(--cyan);
  white-space: nowrap;
}

.price-amount .currency {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
}

.price-amount span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.doc-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 10px;
  color: var(--purple);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.doc-btn:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--purple);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--purple), var(--pink));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.timeline-year {
  font-family: 'Michroma', sans-serif;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.timeline-item h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.12);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--cyan);
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.facebook-banner {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fb-text h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.fb-text p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.fb-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: #1877f2;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.fb-button:hover {
  background: #1565c0;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
}

/* ===== FOOTER ===== */
footer {
  margin-top: 4rem;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-brand {
  color: var(--cyan);
}

.footer-address {
  margin-top: 0.5rem;
}

.footer-legal {
  margin-top: 1rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* ===== MENTIONS LÉGALES ===== */
.legal-content h2 {
  font-family: 'Michroma', sans-serif;
  font-size: 0.9rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--cyan);
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-content a:hover {
  color: var(--cyan);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .activities {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-rows: 180px 180px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  nav {
    padding: 0.8rem 1.2rem;
  }

  .nav-logo img {
    height: 28px;
  }

  section {
    padding: 4rem 1.2rem;
  }

  .activities {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .activity-card {
    padding: 1.5rem 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-large {
    grid-row: auto;
  }

  .gallery-item {
    height: 200px;
  }

  .schedule-bar {
    grid-template-columns: 1fr;
  }

  .schedule-slot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
  }

  .schedule-slot-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 250px;
  }

  .facebook-banner {
    flex-direction: column;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-logo {
    width: 320px;
  }

  .hero p {
    font-size: 1rem;
  }

  .timeline {
    padding-left: 2.5rem;
  }

  .timeline-item::before {
    left: -2.5rem;
    width: 12px;
    height: 12px;
  }
}
