/* ============================================================
   Bruno Aouragh — Coach Sportif
   Thème : noir profond + or/bronze, typographie condensée
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --panel: #161513;
  --panel-2: #1c1a17;
  --line: #2a2824;
  --gold: #c9a24b;
  --gold-bright: #e0bd63;
  --gold-dark: #a17f34;
  --text: #ede9e2;
  --muted: #a49e93;
  --white: #ffffff;

  --font-display: "Anton", "Oswald", sans-serif;
  --font-head: "Oswald", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 14px;
  --maxw: 1160px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--maxw), 92%);
  margin-inline: auto;
}

.gold {
  color: var(--gold);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
  color: #17130a;
  box-shadow: 0 10px 24px rgba(201, 162, 75, 0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 162, 75, 0.4);
}
.btn-ghost {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost:hover {
  background: var(--gold);
  color: #17130a;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-first {
  color: var(--white);
}
.brand-last {
  color: var(--gold);
}

.nav-list {
  display: flex;
  gap: 1.7rem;
  list-style: none;
  align-items: center;
}
.nav-list a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.3em 0;
  position: relative;
  transition: color 0.2s;
}
.nav-list a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-list a:not(.nav-cta):hover {
  color: var(--gold);
}
.nav-list a:not(.nav-cta):hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--gold);
  color: #17130a !important;
  padding: 0.55em 1.2em !important;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--gold-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      1200px 600px at 70% 20%,
      rgba(201, 162, 75, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #0c0b09, #050505);
  padding-top: 68px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.015) 0 2px,
    transparent 2px 22px
  );
  pointer-events: none;
}
.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* Concentre les faisceaux au centre et les estompe vers les bords */
  -webkit-mask-image: radial-gradient(
    120% 90% at 50% 35%,
    #000 35%,
    transparent 78%
  );
  mask-image: radial-gradient(120% 90% at 50% 35%, #000 35%, transparent 78%);
}
.hero-beams svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.hero-title span {
  display: block;
}
.hero-title span:last-child {
  color: var(--gold);
}
.hero-sub {
  max-width: 46ch;
  color: var(--muted);
  margin: 1.6rem 0 2.2rem;
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}
.hero-badges li {
  display: flex;
  flex-direction: column;
}
.hero-badges strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.hero-badges span {
  color: var(--muted);
  font-size: 0.9rem;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.8rem;
  z-index: 2;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------------- Sections ---------------- */
.section {
  padding: 6rem 0;
  position: relative;
}
.section:nth-of-type(even) {
  background: var(--black-2);
}
.section-head {
  margin-bottom: 3rem;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-size: 0.82rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 0.6rem;
  color: var(--white);
}
.section-lead {
  color: var(--muted);
  max-width: 55ch;
  margin: 1rem auto 0;
}

/* ---------------- À propos ---------------- */
.apropos-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.apropos-text p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.apropos-text em {
  color: var(--gold);
  font-style: italic;
}
.apropos-text .btn {
  margin-top: 0.5rem;
}

.apropos-media {
  position: relative;
}
.apropos-media img {
  width: 100%;
  border-radius: var(--radius);
  /* Fondu progressif des bords vers le fond, pour une transition douce */
  -webkit-mask-image: radial-gradient(
    115% 115% at 50% 45%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(115% 115% at 50% 45%, #000 62%, transparent 100%);
  /* Ombre douce (halo sombre + touche dorée) plutôt qu'un liseré net */
  filter: drop-shadow(0 24px 55px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 40px rgba(201, 162, 75, 0.12));
}

.feature-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
}
.feature-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.6rem;
  color: var(--gold);
}
.feature-card h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------- Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 820px;
  margin-inline: auto;
}
.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold),
    var(--shadow);
  background: var(--panel-2);
}
.ribbon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--gold);
  color: #17130a;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  padding: 0.3em 0.8em;
  border-radius: 999px;
}
.price-card-head h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}
.price-tag .amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}
.price-tag .unit {
  color: var(--muted);
  font-size: 1rem;
}
.price-features {
  list-style: none;
  margin-bottom: 1.8rem;
  flex: 1;
}
.price-features li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  position: relative;
  padding-left: 1.6rem;
}
.price-features li::before {
  content: "✓";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.price-features li:last-child {
  border-bottom: 0;
}
.services-note {
  text-align: center;
  color: var(--muted);
  margin-top: 2.2rem;
}
.services-note strong {
  color: var(--text);
}

/* ---------------- Banderole partenaire (marquee) ---------------- */
.marquee {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    var(--gold-dark),
    var(--gold-bright),
    var(--gold-dark)
  );
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.25);
  padding: 0.7rem 0;
  cursor: pointer;
}
.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: inline-flex;
  align-items: center;
}
.marquee-item {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #17130a;
  font-size: 0.95rem;
  padding: 0 1.4rem;
}
.marquee-item strong {
  font-weight: 700;
}
.marquee-badge {
  background: #17130a;
  color: var(--gold-bright);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.12em 0.6em;
  margin: 0 0.15em;
}
.marquee-sep {
  color: rgba(23, 19, 10, 0.55);
  font-size: 0.85rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    justify-content: center;
    width: 100%;
  }
  .marquee-group:nth-child(2) {
    display: none;
  }
  .marquee {
    white-space: normal;
    text-align: center;
  }
}

/* ---------------- Galerie ---------------- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.tab {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.3em;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.9rem;
}
.tab:hover {
  color: var(--text);
  border-color: var(--gold-dark);
}
.tab.is-active {
  background: var(--gold);
  color: #17130a;
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 4 / 5;
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--text);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.4rem 1rem 0.9rem;
  font-size: 0.9rem;
}
.gallery-item.is-hidden {
  display: none;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--black);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8em 0.9em;
  font-family: var(--font-body);
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}
.field textarea {
  resize: vertical;
}
.form-status {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--gold);
  min-height: 1.2em;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.info-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.info-block h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.info-block p {
  color: var(--text);
}
.info-link {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.info-link:hover {
  border-color: var(--gold);
}
.hours {
  list-style: none;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.hours li:last-child {
  border-bottom: 0;
}
.hours li span:first-child {
  color: var(--gold);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hours li span:last-child {
  color: var(--muted);
  text-align: right;
}

.socials {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.socials--inline {
  flex-wrap: wrap;
}
.socials--inline a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.4em 1em;
  transition: 0.2s;
}
.socials--inline a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 360px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0;
}
.site-footer .socials a {
  color: var(--muted);
  transition:
    color 0.2s,
    transform 0.2s;
  display: inline-flex;
}
.site-footer .socials a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .apropos-media {
    max-width: 460px;
    margin-inline: auto;
  }
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .nav-list {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 6%;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-list.is-open {
    transform: translateY(0);
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    text-align: center;
    margin-top: 0.6rem;
  }
  .nav-toggle {
    display: flex;
  }
}
@media (max-width: 560px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-badges {
    gap: 1.4rem;
  }
  .section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto;
  }
}
