/* ============================================
   RESULTATS.CSS — Page Résultats & Témoignages
   Coach Brandon Fit — Dark Brutalist
   ============================================ */

/* ============================================
   SECTION 1 — HERO BANNIÈRE
   ============================================ */
.resultats-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 80px; /* navbar height */
}

.resultats-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.resultats-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(20%) contrast(110%);
}

.resultats-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.75);
}

.resultats-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  width: 100%;
}

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

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

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

.breadcrumb-sep {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

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

/* Hero Title */
.resultats-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  margin: 0 0 12px;
  color: var(--text-main);
}

.resultats-hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  margin: 0;
  letter-spacing: 0.5px;
}

/* ============================================
   SECTION 2 — STATS CHIFFRES
   ============================================ */
.stats-section {
  padding: 80px 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-big-card {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 40px 32px;
}

.stat-big-num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.stat-stars {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.star-val {
  color: var(--accent);
}

.star-sym {
  font-size: 0.7em;
  color: var(--accent);
}

.stat-big-label {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-body);
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.5;
}

.stat-divider-v {
  width: 1px;
  height: 80px;
  background: var(--border-hard);
  flex-shrink: 0;
}

/* Counter digit */
.counter-val {
  display: inline;
}

/* ============================================
   SECTION 3 — AVANT / APRÈS
   ============================================ */
.avant-apres-section {
  padding: 80px 0;
}

.avant-apres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* BA Card */
.ba-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ba-split {
  display: flex;
  align-items: stretch;
  position: relative;
  min-height: 240px;
}

.ba-side {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #0A0A0A;
}

.ba-before {
  border-right: 1px solid var(--border-soft);
}

.ba-after {
  border-left: 1px solid var(--border-soft);
}

.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  background: rgba(5, 5, 5, 0.8);
  padding: 4px 10px;
  border: 1px solid var(--border-soft);
  text-transform: uppercase;
}

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

.ba-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ba-icon {
  width: 32px;
  height: 32px;
  color: var(--border-hard);
}

/* Arrow central */
.ba-arrow-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-arrow-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* BA Info bar */
.ba-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border-soft);
  background: #0D0D0D;
}

.ba-info strong {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  color: var(--text-main);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ba-info span {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* BA Note */
.ba-note {
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 32px;
  letter-spacing: 0.5px;
}

.ba-cta {
  text-align: center;
}

/* ============================================
   SECTION 4 — TÉMOIGNAGES
   ============================================ */
.temoignages-section {
  padding: 80px 0;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.temoignage-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Featured card with accent border */
.temoignage-featured {
  border-color: var(--accent) !important;
}

.temoignage-stars {
  display: flex;
  gap: 4px;
}

.star {
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

.temoignage-text {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
  font-style: italic;
  flex: 1;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.temoignage-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent);
  color: #050505;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.temoignage-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.temoignage-meta strong {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: var(--text-main);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.temoignage-meta span {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SECTION 5 — GALERIE MASONRY
   ============================================ */
.galerie-section {
  padding: 80px 0;
}

.galerie-masonry {
  columns: 3;
  column-gap: 16px;
}

.galerie-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  display: block;
}

.galerie-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.galerie-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(105%);
  transition: filter 0.4s ease, transform 0.5s ease;
  object-fit: cover;
}

.galerie-item:hover .galerie-img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.04);
}

.galerie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galerie-item:hover .galerie-overlay {
  opacity: 1;
}

.galerie-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  stroke-width: 1.5;
}

/* ============================================
   SECTION 6 — CTA FINAL
   ============================================ */
.cta-final-section {
  padding: 80px 0;
}

.cta-final-card {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  padding: 64px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-final-card::before {
  content: 'RÉSULTATS';
  position: absolute;
  font-family: 'Anton', sans-serif;
  font-size: 180px;
  color: rgba(212, 255, 0, 0.03);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.cta-final-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  margin: 8px 0 0;
  color: var(--text-main);
}

.cta-final-text {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border-hard);
  transition: opacity 0.2s ease;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-hard);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: border-color 0.2s, color 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-close i {
  width: 20px;
  height: 20px;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border-hard);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: border-color 0.2s, color 0.2s;
  z-index: 10000;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-prev i,
.lightbox-next i {
  width: 24px;
  height: 24px;
}

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  z-index: 10000;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--border-hard);
  padding-top: 64px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: 'Anton', sans-serif;
  font-size: 36px;
  color: var(--text-main);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-brand p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: var(--text-main);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

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

.footer-contact .btn-primary {
  margin-bottom: 20px;
  display: inline-flex;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   BURGER BUTTON (overrides pour resultats)
   ============================================ */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.burger-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000000;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-bottom: 1px solid var(--border-hard);
  z-index: 99;
}

.mobile-menu.open {
  max-height: 500px;
}

.mobile-menu ul {
  list-style: none;
  padding: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s;
}

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

.mobile-menu li:last-child a {
  border-bottom: none;
}

/* ============================================
   RESPONSIVE — TABLETTE (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .avant-apres-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .galerie-masonry {
    columns: 2;
  }
}

/* ============================================
   RESPONSIVE — TABLETTE / MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Navbar burger */
  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .resultats-hero {
    height: 280px;
  }

  .resultats-hero-title {
    font-size: clamp(28px, 8vw, 48px);
  }

  /* Stats */
  .stats-row {
    flex-direction: column;
    gap: 0;
  }

  .stat-divider-v {
    width: 80px;
    height: 1px;
    background: var(--border-hard);
  }

  .stat-big-card {
    padding: 32px 24px;
    width: 100%;
  }

  .stat-big-num {
    font-size: 56px;
  }

  /* Avant/après */
  .avant-apres-grid {
    grid-template-columns: 1fr;
  }

  .ba-split {
    min-height: 200px;
  }

  /* Témoignages */
  .temoignages-grid {
    grid-template-columns: 1fr;
  }

  /* Galerie */
  .galerie-masonry {
    columns: 1;
  }

  /* CTA Final */
  .cta-final-card {
    padding: 40px 24px;
  }

  .cta-final-card::before {
    font-size: 80px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Lightbox arrows */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================
   RESPONSIVE — PETIT MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .resultats-hero {
    height: 240px;
  }

  .ba-split {
    flex-direction: column;
    min-height: auto;
  }

  .ba-before {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }

  .ba-after {
    border-left: none;
    border-top: 1px solid var(--border-soft);
  }

  .ba-arrow-center {
    top: auto;
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(90deg);
  }

  .ba-side {
    min-height: 120px;
  }

  .temoignage-card {
    padding: 24px;
  }
}
