/* =========================================================
   OLYMPE Club de Sport — CSS v2
   Charte graphique officielle : #032525 · #F6A304 · #031315
   ========================================================= */

/* ---------- Variables — couleurs officielles charte ---------- */
:root {
  --orange: #f6a304; /* Orange officiel */
  --orange-dim: rgba(246, 163, 4, 0.13);
  --orange-glow: rgba(246, 163, 4, 0.3);

  --dark: #032525; /* Dark Green officiel */
  --dark-2: #031e1e; /* fond sections */
  --dark-3: #021515; /* fond cartes */
  --line: rgba(255, 255, 255, 0.09);

  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.38);

  --r: 12px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --max: 1160px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title .accent {
  color: var(--orange);
  font-style: italic;
}

.section-sub {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--dark);
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  background: #ffb320;
  box-shadow: 0 8px 32px var(--orange-glow);
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 16, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
/* Image / SVG wordmark officiel */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}
.nav-tag-soon {
  margin-left: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 50px;
  padding: 1px 7px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* Nav CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 16px;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-right .btn {
    display: none;
  }
  .nav-burger {
    display: flex;
    margin-left: auto;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--line);
    padding: 20px 28px 28px;
    gap: 4px;
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.footer-social a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.78rem;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HOME PAGE
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 16, 15, 0.3) 0%, rgba(7, 16, 15, 0.15) 50%, rgba(7, 16, 15, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 28px;
  max-width: 820px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 26px;
}
.hero-title .accent {
  color: var(--orange);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 22px;
}

.hero-offers {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ---------- Stats bar ---------- */
.stats-section {
  background: var(--dark-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 44px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
  transition: background 0.3s;
}
.stat-item:last-child {
  border-right: none;
}
.stat-item:hover {
  background: rgba(246, 163, 4, 0.05);
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.stat-num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
@media (max-width: 700px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }
  .stat-item {
    border-right: 1px solid var(--line);
  }
  .stat-item:last-child {
    border-right: none;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Section générique ---------- */
.section {
  padding: 110px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
}

/* ---------- About 2-col ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.about-visual-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 16, 15, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
}
.about-visual-tag strong {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 3px;
}
.about-visual-tag span {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-text {
}
.about-text .section-title {
  margin-bottom: 24px;
}

.quote-pull {
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  border-left: 3px solid var(--orange);
  padding: 8px 0 8px 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-text p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Services 3 cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}
@media (max-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: block;
  background: var(--dark-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service-card:hover {
  border-color: rgba(246, 163, 4, 0.35);
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(246, 163, 4, 0.12);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange);
  stroke-width: 1.8;
  fill: none;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p {
  font-size: 0.91rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
}
.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}
.service-card:hover .service-link {
  gap: 12px;
}

/* ---------- CTA section ---------- */
.cta-section {
  background: var(--dark-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
  text-align: center;
}
.cta-section .section-title {
  max-width: 620px;
  margin: 0 auto 16px;
}
.cta-section .section-sub {
  margin: 0 auto 36px;
  text-align: center;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
