/* ============================================
   TEAM ABDOMEN — CSS Spécifique
   Design: Dark Brutalist | Accent #D4FF00 (Volt)
   ============================================ */

/* ============================================
   SECTION 1 — HERO SPLIT
   ============================================ */
.ta-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-base);
  overflow: hidden;
  padding-top: 80px; /* navbar height */
}

/* Subtle grid pattern CSS */
.ta-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.ta-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Colonne texte */
.ta-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ta-hero-title {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.92;
  margin: 24px 0 20px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--text-main);
}

.ta-hero-sub {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 500;
  max-width: 500px;
}

.ta-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Colonne image */
.ta-hero-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ta-hero-img-frame {
  position: relative;
  border: 1px solid var(--accent);
  padding: 0;
  width: 100%;
  max-width: 500px;
}

.ta-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}

.ta-hero-img-frame:hover .ta-hero-img {
  filter: grayscale(0%);
}

.ta-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.85) 0%,
    rgba(5,5,5,0.1) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px;
  pointer-events: none;
}

.ta-hero-img-badge {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-base);
  border: 1px solid var(--accent);
  padding: 8px 18px;
  display: inline-block;
}

/* ============================================
   SECTION 2 — CONCEPT GRID
   ============================================ */
.ta-concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ta-concept-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ta-concept-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

/* Why cards — 3 en colonne */
.ta-concept-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ta-why-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
}

.ta-why-card strong {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ta-why-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.ta-why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  color: var(--text-body);
}

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

.ta-why-icon-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 255, 0, 0.05);
}

/* ============================================
   SECTION 3 — PROGRAMME GRID 3x2
   ============================================ */
.ta-prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ta-prog-bloc {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ta-prog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ta-prog-num {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  color: var(--border-hard);
  line-height: 1;
  letter-spacing: -1px;
}

.ta-prog-num-accent {
  color: var(--accent);
  font-size: 48px;
}

.ta-prog-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  color: var(--text-body);
}

.ta-prog-icon svg {
  width: 20px;
  height: 20px;
}

.ta-prog-icon-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 255, 0, 0.05);
}

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

.ta-prog-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}

/* Tags exercices */
.ta-prog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ta-prog-tags span {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
}

/* Card accent — nutrition */
.ta-prog-bloc-accent {
  border: 1px solid var(--accent);
  background: var(--bg-card);
  position: relative;
}

.ta-prog-bloc-accent .ta-prog-title {
  color: var(--accent);
}

.ta-prog-tags-accent span {
  border-color: rgba(212, 255, 0, 0.3);
  color: var(--accent);
  background: rgba(212, 255, 0, 0.06);
}

/* ============================================
   SECTION 4 — GALERIE 3 PHOTOS
   ============================================ */
.ta-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ta-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4/5;
}

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

.ta-gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.ta-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--accent);
}

.ta-gallery-item:hover .ta-gallery-overlay {
  opacity: 1;
}

/* ============================================
   SECTION 5 — CTA BG IMAGE
   ============================================ */
.ta-cta-section {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ta-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(30%) brightness(0.5);
  z-index: 0;
}

.ta-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.80);
  z-index: 1;
}

.ta-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ta-cta-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0;
}

.ta-cta-sub {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 580px;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   RESPONSIVE — 768px (mobile)
   ============================================ */
@media (max-width: 992px) {
  .ta-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 24px 64px;
  }

  .ta-hero-img-wrap {
    order: -1;
  }

  .ta-hero-img-frame {
    max-width: 100%;
  }

  .ta-hero-img {
    aspect-ratio: 16/9;
    object-position: center top;
  }

  .ta-concept-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ta-prog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ta-hero-inner {
    padding: 96px 24px 48px;
  }

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

  .ta-prog-grid {
    grid-template-columns: 1fr;
  }

  .ta-gallery-grid {
    grid-template-columns: 1fr;
  }

  .ta-gallery-item {
    aspect-ratio: 16/9;
  }

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

  .ta-cta-sub {
    font-size: 16px;
  }

  .ta-why-card {
    flex-direction: column;
    gap: 16px;
  }

  .ta-prog-bloc {
    padding: 24px 20px;
  }
}
