/* ============================
   SALON SPORT NATURE 2027
   CSS ACCUEIL — ssn-accueil.php uniquement
   ============================ */

/* ============================
   HERO CAROUSEL
   ============================ */
.hero {
  height: 100vh; min-height: 640px; position: relative;
  overflow: hidden; margin-top: 0;
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,46,82,0.85) 0%, rgba(0,46,82,0.4) 60%, rgba(15,123,103,0.3) 100%);
}

#silk-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 2rem; z-index: 10;
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(241,192,104,0.15); border: 1px solid rgba(241,192,104,0.4);
  padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 1.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-logo-wrap { margin-bottom: 1.5rem; text-align: center; }

.logo-img--hero {
  display: block; margin: 0 auto;
  height: 248px; max-width: 90vw;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.25));
}

.hero-slide-img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}

.hero-slogan {
  font-size: clamp(0.9rem, 2vw, 1.2rem); color: rgba(255,255,255,0.85);
  font-weight: 400; letter-spacing: 0.05em; margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-meta-item {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--white); font-size: 0.85rem; font-weight: 500;
}

.hero-meta-item i { color: var(--gold); }

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-nav {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 10;
}

.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active { background: var(--gold); transform: scale(1.3); }

.hero-scroll {
  position: absolute; bottom: 2rem; right: 3rem;
  color: rgba(255,255,255,0.6); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  writing-mode: vertical-rl; display: flex; align-items: center;
  gap: 0.75rem; cursor: pointer; z-index: 10;
}

.hero-scroll::after {
  content: ''; width: 1px; height: 40px; background: rgba(255,255,255,0.3);
}

.hero-scroll::before {
  content: ''; width: 1px; height: 40px; background: var(--gold);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%,100% { opacity:0; transform:scaleY(0) translateY(-100%); }
  50%      { opacity:1; transform:scaleY(1) translateY(0); }
}

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

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

/* ============================
   SECTION: PRÉSENTATION
   ============================ */
.presentation { background: var(--white); }

.presentation-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.presentation-text p {
  color: #445; line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem;
}

.presentation-image { position: relative; }

.img-deco {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 140px; height: 140px; background: var(--gold);
  border-radius: 4px; z-index: -1; opacity: 0.6;
}

.img-badge-overlay {
  position: absolute; bottom: 1.5rem; left: -1.5rem;
  background: var(--navy); color: var(--white); padding: 1rem 1.5rem;
  border-radius: 4px; box-shadow: var(--shadow-strong);
}

.img-badge-overlay .num {
  font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1;
}

.img-badge-overlay .lbl {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.8;
}

.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

.tag {
  padding: 0.3rem 0.9rem; background: var(--light-teal);
  color: var(--navy); font-size: 0.75rem; font-weight: 600;
  border-radius: 100px; letter-spacing: 0.05em;
}

/* ============================
   SECTION: ÉDITION COURANTE
   ============================ */
.edition {
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
}

.edition::before {
  content: ''; position: absolute; top: 0; right: 0; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(15,123,103,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.edition .section-label { color: var(--gold); }
.edition .section-title { color: var(--white); }

.edition-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.edition-text p {
  color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem;
}

.edition-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem;
}

.edition-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,0.05); padding: 1.25rem;
  border-radius: var(--radius); border-left: 3px solid var(--gold);
}

.edition-feature-icon {
  width: 36px; height: 36px; background: rgba(241,192,104,0.15);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; flex-shrink: 0;
}

.edition-feature-text strong {
  display: block; font-size: 0.85rem; color: var(--white); margin-bottom: 0.25rem;
}

.edition-feature-text span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ============================
   SECTION: CHIFFRES CLÉS
   ============================ */
.chiffres {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
}

.chiffres-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem;
}

.chiffre-card {
  background: var(--white); border-radius: 8px; padding: 2.5rem 2rem;
  text-align: center; box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--green); position: relative; overflow: hidden;
  transition: var(--transition);
}

.chiffre-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }

.chiffre-card::before {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 80px; height: 80px; background: var(--light-teal); border-radius: 50%; opacity: 0.3;
}

.chiffre-icon {
  width: 52px; height: 52px; background: var(--light-teal); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--green); font-size: 1.4rem;
}

.chiffre-num {
  font-size: 3.5rem; font-weight: 900; color: var(--navy); line-height: 1;
  display: flex; align-items: flex-start; justify-content: center; gap: 0.1rem;
}

.chiffre-num .suffix { font-size: 1.8rem; margin-top: 0.3rem; color: var(--green); }

.chiffre-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-teal); margin-top: 0.5rem;
}

/* ============================
   SECTION: PARTENAIRES
   ============================ */
.partenaires { background: var(--white); }
.partenaires .section-title { text-align: center; }
.partenaires .section-label { justify-content: center; }

.partners-track-wrapper {
  overflow: hidden; margin-top: 3rem; position: relative;
  transform: translateZ(0);
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0; background: linear-gradient(to right, white, transparent);
}

.partners-track-wrapper::after {
  right: 0; background: linear-gradient(to left, white, transparent);
}

.partners-track {
  display: flex; gap: 4rem; animation: scroll-left 30s linear infinite;
  width: max-content; backface-visibility: hidden;
}

.partners-track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.partner-logo {
  min-width: 160px; height: 120px; background: transparent;
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.75rem; font-weight: 700;
  color: var(--muted-teal); letter-spacing: 0.1em; text-transform: uppercase;
}

.partner-logo img {
  max-height: 100%;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}

/* ============================
   NEWSLETTER
   ============================ */
.newsletter-form {
  background: var(--navy); padding: 4rem; border-radius: 12px; color: var(--white);
  display: flex; align-items: center; gap: 3rem;
}

.newsletter-text { flex: 1; }

.newsletter-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }

.newsletter-text p { color: rgba(255,255,255,0.7); }

.newsletter-input-group { display: flex; gap: 0; flex: 1; }

.newsletter-input-group input {
  flex: 1; padding: 0.9rem 1.25rem; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px 0 0 4px; background: rgba(255,255,255,0.1);
  color: var(--white); font-family: var(--font-main); font-size: 0.9rem;
  outline: none;
}

.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-input-group button {
  padding: 0.9rem 1.5rem; background: var(--gold); color: var(--navy);
  font-family: var(--font-main); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; border-radius: 0 4px 4px 0;
  cursor: pointer; border: none; transition: var(--transition);
}

.newsletter-input-group button:hover { background: #e8b055; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1100px) {
  .chiffres-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .presentation-grid,
  .edition-grid { grid-template-columns: 1fr; }
  .edition-features { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .logo-img--hero { height: 150px; }
  .newsletter-form { padding: 2.5rem 1.5rem; gap: 1.5rem; }
  .chiffre-card { padding: 2rem 1.5rem; }
  .img-badge-overlay { display: none; }
  .img-deco { display: none; }
}

@media (max-width: 600px) {
  .logo-img--hero { height: 90px; }
  .hero-slogan { font-size: 0.85rem; }
  .hero-content { padding: 1rem; }
  .hero-scroll { display: none; }
  .hero-meta { flex-direction: column; gap: 0.5rem; }
  .hero-meta > .hero-meta-item:nth-child(2),
  .hero-meta > .hero-meta-item:nth-child(4) { display: none; }
  .hero-ctas { flex-direction: column; }
  .chiffres-grid { grid-template-columns: 1fr; }
  .chiffre-card { padding: 1.5rem 1rem; }
  .chiffre-num { font-size: 2.2rem; }
  .chiffre-num .suffix { font-size: 1.2rem; }
  .newsletter-form { padding: 1.5rem 1rem; gap: 1rem; }
  .newsletter-text h3 { font-size: 1.2rem; }
  .presentation-text p { font-size: 0.95rem; }
}
