/* ============================================
   SERVICES.CSS — Page Services spécifique
   Coach Brandon Fit — Dark Brutalist Theme
   ============================================ */

/* ============================================
   01 — HERO PAGE BANNER
   ============================================ */
.services-hero {
  min-height: 400px;
  background: #111111;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: flex-end;
  padding-top: 80px; /* hauteur navbar */
  position: relative;
  overflow: hidden;
}

/* Motif décoratif fond */
.services-hero::before {
  content: 'SERVICES';
  position: absolute;
  font-family: 'Anton', sans-serif;
  font-size: clamp(100px, 18vw, 260px);
  color: rgba(212, 255, 0, 0.03);
  right: -20px;
  bottom: -20px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: 4px;
  white-space: nowrap;
}

.services-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ============================================
   02 — BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  display: flex;
  align-items: center;
  color: var(--border-hard);
}

.breadcrumb-sep svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-current {
  color: var(--accent);
}

/* ============================================
   03 — HERO TITLE & SUBTITLE
   ============================================ */
.services-hero-title {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  margin: 8px 0 20px;
  letter-spacing: 1px;
}

.services-hero-subtitle {
  font-size: 18px;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ============================================
   04 — QUICK ANCHORS (LIENS RAPIDES)
   ============================================ */
.quick-anchors {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-anchor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-hard);
  color: var(--text-body);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.quick-anchor svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.quick-anchor:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 255, 0, 0.05);
}

/* ============================================
   05 — SERVICE DETAIL SECTION (LAYOUT GÉNÉRAL)
   ============================================ */
.service-detail-section {
  padding: 80px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Version inversée (image à droite) */
.service-detail-grid--reverse {
  direction: rtl;
}

.service-detail-grid--reverse > * {
  direction: ltr;
}

/* ============================================
   06 — IMAGE WRAPPER AVEC BADGE OVERLAY
   ============================================ */
.service-detail-media {
  position: relative;
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-hard);
}

.service-detail-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.service-img-wrapper:hover .service-detail-img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 0.6) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Badge position absolue sur l'image */
.service-img-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 20px;
  background: #050505;
  color: var(--text-main);
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--border-hard);
  z-index: 2;
}

.service-img-badge--accent {
  background: var(--accent);
  color: #050505;
  border-color: var(--accent);
}

/* ============================================
   07 — CONTENT : SERVICE TOP ROW (ICÔNE + LABEL)
   ============================================ */
.service-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  color: var(--accent);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   08 — POUR QUI CARD (SERVICE HYBRIDE)
   ============================================ */
.pour-qui-card {
  background: #0A0A0A;
  border: 1px solid var(--border-soft);
  padding: 20px 24px;
  margin: 28px 0;
}

.pour-qui-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pour-qui-label svg {
  width: 16px;
  height: 16px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border-hard);
  color: var(--text-body);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
}

.tag-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   09 — SERVICE CHECKLIST (LISTE ICÔNES)
   ============================================ */
.service-checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

.check-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.2);
  color: var(--accent);
  margin-top: 2px;
}

.check-icon svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   10 — SERVICE BUTTON ROW
   ============================================ */
.service-btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ============================================
   11 — HYROX STATIONS CARD (GRILLE 2×4)
   ============================================ */
.hyrox-stations-card {
  background: #0A0A0A;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
}

.hyrox-stations-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hyrox-stations-label svg {
  width: 16px;
  height: 16px;
}

.hyrox-stations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.station-tag {
  padding: 8px 14px;
  background: #111111;
  border: 1px solid var(--border-hard);
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}

.station-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.stations-note {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stations-note svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ============================================
   12 — HIGHLIGHT BOX (RÉSULTAT ATTENDU)
   ============================================ */
.highlight-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(212, 255, 0, 0.04);
  border: 1px solid rgba(212, 255, 0, 0.25);
  margin: 28px 0;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #050505;
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
}

.highlight-content {
  flex: 1;
}

.highlight-label {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.highlight-text {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   13 — FORMATS SECTION (GRID 2 CARDS)
   ============================================ */
.formats-section {
  padding: 80px 0;
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.format-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.format-card-img-wrapper {
  overflow: hidden;
  height: 280px;
  flex-shrink: 0;
}

.format-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
  transition: filter 0.5s ease, transform 0.5s ease;
  display: block;
}

.format-card:hover .format-card-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.format-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.format-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  color: var(--accent);
}

.format-icon svg {
  width: 24px;
  height: 24px;
}

.format-title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--text-main);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.format-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.format-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.format-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}

.format-checklist svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--accent);
  stroke-width: 2.5;
}

/* ============================================
   14 — RESERVATION STEPS (3 COLONNES)
   ============================================ */
.reservation-section {
  padding: 80px 0;
}

.resa-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 72px;
}

.resa-step {
  background: #111111;
  border: 1px solid var(--border-hard);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.resa-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.resa-step-number {
  font-family: 'Anton', sans-serif;
  font-size: 72px;
  color: rgba(212, 255, 0, 0.06);
  line-height: 1;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 2px;
  pointer-events: none;
  white-space: nowrap;
}

.resa-step-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.2);
  color: var(--accent);
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.resa-step-icon svg {
  width: 28px;
  height: 28px;
}

.resa-step-title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--text-main);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 2;
}

.resa-step-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.resa-step-arrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resa-step-arrow svg {
  width: 32px;
  height: 32px;
}

.resa-cta-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.resa-note {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ============================================
   15 — FAQ ACCORDION
   ============================================ */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-soft);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-question span:first-child {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover span:first-child {
  color: var(--accent);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--border-hard);
  color: var(--accent);
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #050505;
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

/* Accordion animation */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  padding-bottom: 24px;
  margin: 0;
}

/* ============================================
   16 — RESPONSIVE MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {

  /* Hero */
  .services-hero {
    min-height: auto;
    padding-top: 80px;
  }

  .services-hero-inner {
    padding: 48px 24px 40px;
  }

  .services-hero-title {
    font-size: clamp(40px, 10vw, 64px);
  }

  .quick-anchors {
    gap: 8px;
  }

  .quick-anchor {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Service detail grid → 1 colonne */
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Inverser : l'image remonte au-dessus */
  .service-detail-grid--reverse {
    direction: ltr;
  }

  .service-detail-grid--reverse .service-detail-media {
    order: -1;
  }

  .service-detail-img {
    height: 300px;
  }

  /* Checklist */
  .service-checklist li {
    font-size: 14px;
  }

  /* Btn row empilé */
  .service-btn-row {
    flex-direction: column;
  }

  .service-btn-row .btn-primary,
  .service-btn-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Formats → 1 colonne */
  .formats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Steps → colonne */
  .resa-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .resa-step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .resa-step {
    padding: 48px 24px 32px;
  }

  /* FAQ */
  .faq-question span:first-child {
    font-size: 15px;
  }

  /* Hyrox stations */
  .hyrox-stations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .station-tag {
    font-size: 12px;
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .quick-anchors {
    gap: 6px;
  }

  .quick-anchor span {
    display: none;
  }

  .hyrox-stations-grid {
    grid-template-columns: 1fr;
  }
}
